java.lang.Object
com.google.protobuf.AbstractMessageLite<ContractLoginfo,ContractLoginfo.Builder>
com.google.protobuf.GeneratedMessageLite<ContractLoginfo,ContractLoginfo.Builder>
com.hedera.hashgraph.sdk.proto.ContractLoginfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ContractLoginfoOrBuilder
@Generated
public final class ContractLoginfo
extends com.google.protobuf.GeneratedMessageLite<ContractLoginfo,ContractLoginfo.Builder>
implements ContractLoginfoOrBuilder
* EVM log data for a contract call.<br/> The EVM log information produced by a smart contract function call. Each contract function call MAY return zero or more log events.Protobuf type
proto.ContractLoginfo-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* EVM log data for a contract call.<br/> The EVM log information produced by a smart contract function call.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.ByteStringgetBloom()* A bloom filter.<br/> This filter applies to this log entry and indexes the contract log data in the full data of the Ethereum block.<br/> EIP-7668 proposes to remove bloom filters as they are quite low value in practice and separate indexing services are more effective.* A contract identifier.<br/> This refers to the contract that generated this log entry.com.google.protobuf.ByteStringgetData()* Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words.static ContractLoginfocom.google.protobuf.ByteStringgetTopic(int index) * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).int* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).List<com.google.protobuf.ByteString> * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word).boolean* A contract identifier.<br/> This refers to the contract that generated this log entry.static ContractLoginfo.Builderstatic ContractLoginfo.BuildernewBuilder(ContractLoginfo prototype) static ContractLoginfoparseDelimitedFrom(InputStream input) static ContractLoginfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContractLoginfoparseFrom(byte[] data) static ContractLoginfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContractLoginfoparseFrom(com.google.protobuf.ByteString data) static ContractLoginfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContractLoginfoparseFrom(com.google.protobuf.CodedInputStream input) static ContractLoginfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContractLoginfoparseFrom(InputStream input) static ContractLoginfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContractLoginfoparseFrom(ByteBuffer data) static ContractLoginfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ContractLoginfo> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
CONTRACTID_FIELD_NUMBER
public static final int CONTRACTID_FIELD_NUMBER- See Also:
-
BLOOM_FIELD_NUMBER
public static final int BLOOM_FIELD_NUMBER- See Also:
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasContractID
public boolean hasContractID()* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1;- Specified by:
hasContractIDin interfaceContractLoginfoOrBuilder- Returns:
- Whether the contractID field is set.
-
getContractID
* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1;- Specified by:
getContractIDin interfaceContractLoginfoOrBuilder- Returns:
- The contractID.
-
getBloom
public com.google.protobuf.ByteString getBloom()* A bloom filter.<br/> This filter applies to this log entry and indexes the contract log data in the full data of the Ethereum block.<br/> EIP-7668 proposes to remove bloom filters as they are quite low value in practice and separate indexing services are more effective.
bytes bloom = 2;- Specified by:
getBloomin interfaceContractLoginfoOrBuilder- Returns:
- The bloom.
-
getTopicList
* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Specified by:
getTopicListin interfaceContractLoginfoOrBuilder- Returns:
- A list containing the topic.
-
getTopicCount
public int getTopicCount()* A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Specified by:
getTopicCountin interfaceContractLoginfoOrBuilder- Returns:
- The count of topic.
-
getTopic
public com.google.protobuf.ByteString getTopic(int index) * A list of the "topics" in this log entry.<br/> The EVM permits up to 4 topics, each of which is 32 bytes (one EVM word). <p> The first "topic" is special, and MUST contain the keccak256 hash of the event signature, if the event is not anonymous.
repeated bytes topic = 3;- Specified by:
getTopicin interfaceContractLoginfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The topic at the given index.
-
getData
public com.google.protobuf.ByteString getData()* Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words. The content of that data is determined by the smart contract code.<br/>
bytes data = 4;- Specified by:
getDatain interfaceContractLoginfoOrBuilder- Returns:
- The data.
-
parseFrom
public static ContractLoginfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContractLoginfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContractLoginfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContractLoginfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContractLoginfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContractLoginfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ContractLoginfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ContractLoginfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ContractLoginfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ContractLoginfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<ContractLoginfo,ContractLoginfo.Builder>
-
getDefaultInstance
-
parser
-