public static final class Client.ContractInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder> implements Client.ContractInfoOrBuilder
acs0Protobuf type
ContractInfo| 限定符和类型 | 方法和说明 |
|---|---|
Client.ContractInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Client.ContractInfo |
build() |
Client.ContractInfo |
buildPartial() |
Client.ContractInfo.Builder |
clear() |
Client.ContractInfo.Builder |
clearAuthor()
The author of the contract, this is the person who deployed the contract.
|
Client.ContractInfo.Builder |
clearCategory()
The category of contract code(0: C#).
|
Client.ContractInfo.Builder |
clearCodeHash()
The hash of the contract code.
|
Client.ContractInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Client.ContractInfo.Builder |
clearIsSystemContract()
Whether it is a system contract.
|
Client.ContractInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Client.ContractInfo.Builder |
clearSerialNumber()
The serial number of the contract.
|
Client.ContractInfo.Builder |
clearVersion()
The version of the current contract.
|
Client.ContractInfo.Builder |
clone() |
Client.Address |
getAuthor()
The author of the contract, this is the person who deployed the contract.
|
Client.Address.Builder |
getAuthorBuilder()
The author of the contract, this is the person who deployed the contract.
|
Client.AddressOrBuilder |
getAuthorOrBuilder()
The author of the contract, this is the person who deployed the contract.
|
int |
getCategory()
The category of contract code(0: C#).
|
Client.Hash |
getCodeHash()
The hash of the contract code.
|
Client.Hash.Builder |
getCodeHashBuilder()
The hash of the contract code.
|
Client.HashOrBuilder |
getCodeHashOrBuilder()
The hash of the contract code.
|
Client.ContractInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsSystemContract()
Whether it is a system contract.
|
long |
getSerialNumber()
The serial number of the contract.
|
int |
getVersion()
The version of the current contract.
|
boolean |
hasAuthor()
The author of the contract, this is the person who deployed the contract.
|
boolean |
hasCodeHash()
The hash of the contract code.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Client.ContractInfo.Builder |
mergeAuthor(Client.Address value)
The author of the contract, this is the person who deployed the contract.
|
Client.ContractInfo.Builder |
mergeCodeHash(Client.Hash value)
The hash of the contract code.
|
Client.ContractInfo.Builder |
mergeFrom(Client.ContractInfo other) |
Client.ContractInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Client.ContractInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Client.ContractInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Client.ContractInfo.Builder |
setAuthor(Client.Address.Builder builderForValue)
The author of the contract, this is the person who deployed the contract.
|
Client.ContractInfo.Builder |
setAuthor(Client.Address value)
The author of the contract, this is the person who deployed the contract.
|
Client.ContractInfo.Builder |
setCategory(int value)
The category of contract code(0: C#).
|
Client.ContractInfo.Builder |
setCodeHash(Client.Hash.Builder builderForValue)
The hash of the contract code.
|
Client.ContractInfo.Builder |
setCodeHash(Client.Hash value)
The hash of the contract code.
|
Client.ContractInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Client.ContractInfo.Builder |
setIsSystemContract(boolean value)
Whether it is a system contract.
|
Client.ContractInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Client.ContractInfo.Builder |
setSerialNumber(long value)
The serial number of the contract.
|
Client.ContractInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Client.ContractInfo.Builder |
setVersion(int value)
The version of the current contract.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Client.ContractInfo build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Client.ContractInfo buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Client.ContractInfo.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder mergeFrom(Client.ContractInfo other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public Client.ContractInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Client.ContractInfo.Builder>IOExceptionpublic long getSerialNumber()
The serial number of the contract.
int64 serial_number = 1;getSerialNumber 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setSerialNumber(long value)
The serial number of the contract.
int64 serial_number = 1;value - The serialNumber to set.public Client.ContractInfo.Builder clearSerialNumber()
The serial number of the contract.
int64 serial_number = 1;public boolean hasAuthor()
The author of the contract, this is the person who deployed the contract.
.Address author = 2;hasAuthor 在接口中 Client.ContractInfoOrBuilderpublic Client.Address getAuthor()
The author of the contract, this is the person who deployed the contract.
.Address author = 2;getAuthor 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setAuthor(Client.Address value)
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public Client.ContractInfo.Builder setAuthor(Client.Address.Builder builderForValue)
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public Client.ContractInfo.Builder mergeAuthor(Client.Address value)
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public Client.ContractInfo.Builder clearAuthor()
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public Client.Address.Builder getAuthorBuilder()
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public Client.AddressOrBuilder getAuthorOrBuilder()
The author of the contract, this is the person who deployed the contract.
.Address author = 2;public int getCategory()
The category of contract code(0: C#).
sint32 category = 3;getCategory 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setCategory(int value)
The category of contract code(0: C#).
sint32 category = 3;value - The category to set.public Client.ContractInfo.Builder clearCategory()
The category of contract code(0: C#).
sint32 category = 3;public boolean hasCodeHash()
The hash of the contract code.
.Hash code_hash = 4;hasCodeHash 在接口中 Client.ContractInfoOrBuilderpublic Client.Hash getCodeHash()
The hash of the contract code.
.Hash code_hash = 4;getCodeHash 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setCodeHash(Client.Hash value)
The hash of the contract code.
.Hash code_hash = 4;public Client.ContractInfo.Builder setCodeHash(Client.Hash.Builder builderForValue)
The hash of the contract code.
.Hash code_hash = 4;public Client.ContractInfo.Builder mergeCodeHash(Client.Hash value)
The hash of the contract code.
.Hash code_hash = 4;public Client.ContractInfo.Builder clearCodeHash()
The hash of the contract code.
.Hash code_hash = 4;public Client.Hash.Builder getCodeHashBuilder()
The hash of the contract code.
.Hash code_hash = 4;public Client.HashOrBuilder getCodeHashOrBuilder()
The hash of the contract code.
.Hash code_hash = 4;public boolean getIsSystemContract()
Whether it is a system contract.
bool is_system_contract = 5;getIsSystemContract 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setIsSystemContract(boolean value)
Whether it is a system contract.
bool is_system_contract = 5;value - The isSystemContract to set.public Client.ContractInfo.Builder clearIsSystemContract()
Whether it is a system contract.
bool is_system_contract = 5;public int getVersion()
The version of the current contract.
int32 version = 6;getVersion 在接口中 Client.ContractInfoOrBuilderpublic Client.ContractInfo.Builder setVersion(int value)
The version of the current contract.
int32 version = 6;value - The version to set.public Client.ContractInfo.Builder clearVersion()
The version of the current contract.
int32 version = 6;public final Client.ContractInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>public final Client.ContractInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Client.ContractInfo.Builder>Copyright © 2020. All rights reserved.