Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ContractLoginfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractLoginfo,ContractLoginfo.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractLoginfo,ContractLoginfo.Builder>
com.hedera.hashgraph.sdk.proto.ContractLoginfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ContractLoginfoOrBuilder,Cloneable
- Enclosing class:
ContractLoginfo
public static final class ContractLoginfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllTopic(Iterable<? extends com.google.protobuf.ByteString> values) * 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).addTopic(com.google.protobuf.ByteString value) * 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).* 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.* Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words.* 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).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.com.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.mergeContractID(ContractID value) * A contract identifier.<br/> This refers to the contract that generated this log entry.setBloom(com.google.protobuf.ByteString value) * 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.setContractID(ContractID value) * A contract identifier.<br/> This refers to the contract that generated this log entry.setContractID(ContractID.Builder builderForValue) * A contract identifier.<br/> This refers to the contract that generated this log entry.setData(com.google.protobuf.ByteString value) * Event data for this log entry.<br/> This is binary data consisting of an arbitrary number of 256 bit (32 byte) words.setTopic(int index, com.google.protobuf.ByteString value) * 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).Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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.
-
setContractID
* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1; -
setContractID
* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1; -
mergeContractID
* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1; -
clearContractID
* A contract identifier.<br/> This refers to the contract that generated this log entry.
.proto.ContractID contractID = 1; -
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.
-
setBloom
* 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;- Parameters:
value- The bloom to set.- Returns:
- This builder for chaining.
-
clearBloom
* 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;- Returns:
- This builder for chaining.
-
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.
-
setTopic
* 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;- Parameters:
value- The topic to set.- Returns:
- This builder for chaining.
-
addTopic
* 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;- Parameters:
value- The topic to add.- Returns:
- This builder for chaining.
-
addAllTopic
public ContractLoginfo.Builder addAllTopic(Iterable<? extends com.google.protobuf.ByteString> values) * 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;- Parameters:
values- The topic to add.- Returns:
- This builder for chaining.
-
clearTopic
* 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;- Returns:
- This builder for chaining.
-
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.
-
setData
* 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;- Parameters:
value- The data to set.- Returns:
- This builder for chaining.
-
clearData
* 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;- Returns:
- This builder for chaining.
-