类 QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
org.bdware.bdledger.api.grpc.pb.QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
public static final class QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
implements QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
Protobuf type
bdware.bdledger.api.GetTransactionByBlockHashAndIndexRequest
-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
build()
clear()
bytes block_hash = 2;
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
uint32 index = 3;
string ledger = 1;
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clone()
com.google.protobuf.ByteString
bytes block_hash = 2;
static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getIndex()
uint32 index = 3;
string ledger = 1;
com.google.protobuf.ByteString
string ledger = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
boolean
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
mergeFrom(com.google.protobuf.Message other)
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setBlockHash(com.google.protobuf.ByteString value)
bytes block_hash = 2;
setIndex(int value)
uint32 index = 3;
string ledger = 1;
setLedgerBytes(com.google.protobuf.ByteString value)
string ledger = 1;
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
clear
- 指定者:
clear
在接口中com.google.protobuf.Message.Builder
- 指定者:
clear
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clear
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType
在接口中com.google.protobuf.Message.Builder
- 指定者:
getDescriptorForType
在接口中com.google.protobuf.MessageOrBuilder
- 覆盖:
getDescriptorForType
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageLiteOrBuilder
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build
在接口中com.google.protobuf.Message.Builder
- 指定者:
build
在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial
在接口中com.google.protobuf.Message.Builder
- 指定者:
buildPartial
在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone
在接口中com.google.protobuf.Message.Builder
- 指定者:
clone
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clone
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
setField
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setField
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
clearField
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearField
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
clearOneof
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearOneof
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
setRepeatedField
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- 指定者:
setRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
addRepeatedField
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
addRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
mergeFrom
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized
在接口中com.google.protobuf.MessageLiteOrBuilder
- 覆盖:
isInitialized
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
mergeFrom
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 指定者:
mergeFrom
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
- 抛出:
IOException
-
getLedger
string ledger = 1;
- 指定者:
getLedger
在接口中QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
- 返回:
- The ledger.
-
getLedgerBytes
public com.google.protobuf.ByteString getLedgerBytes()string ledger = 1;
- 指定者:
getLedgerBytes
在接口中QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
- 返回:
- The bytes for ledger.
-
setLedger
string ledger = 1;
- 参数:
value
- The ledger to set.- 返回:
- This builder for chaining.
-
clearLedger
string ledger = 1;
- 返回:
- This builder for chaining.
-
setLedgerBytes
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder setLedgerBytes(com.google.protobuf.ByteString value)string ledger = 1;
- 参数:
value
- The bytes for ledger to set.- 返回:
- This builder for chaining.
-
getBlockHash
public com.google.protobuf.ByteString getBlockHash()bytes block_hash = 2;
- 指定者:
getBlockHash
在接口中QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
- 返回:
- The blockHash.
-
setBlockHash
public QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder setBlockHash(com.google.protobuf.ByteString value)bytes block_hash = 2;
- 参数:
value
- The blockHash to set.- 返回:
- This builder for chaining.
-
clearBlockHash
bytes block_hash = 2;
- 返回:
- This builder for chaining.
-
getIndex
public int getIndex()uint32 index = 3;
- 指定者:
getIndex
在接口中QueryProto.GetTransactionByBlockHashAndIndexRequestOrBuilder
- 返回:
- The index.
-
setIndex
uint32 index = 3;
- 参数:
value
- The index to set.- 返回:
- This builder for chaining.
-
clearIndex
uint32 index = 3;
- 返回:
- This builder for chaining.
-
setUnknownFields
public final QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-
mergeUnknownFields
public final QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetTransactionByBlockHashAndIndexRequest.Builder>
-