类 LedgerProto.GetLedgersResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
org.bdware.bdledger.api.grpc.pb.LedgerProto.GetLedgersResponse.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,LedgerProto.GetLedgersResponseOrBuilder
public static final class LedgerProto.GetLedgersResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
implements LedgerProto.GetLedgersResponseOrBuilder
Protobuf type
bdware.bdledger.api.GetLedgersResponse
-
方法概要
修饰符和类型方法说明addAllLedgers(Iterable<String> values)
repeated string ledgers = 1;
addLedgers(String value)
repeated string ledgers = 1;
addLedgersBytes(com.google.protobuf.ByteString value)
repeated string ledgers = 1;
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
build()
clear()
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
repeated string ledgers = 1;
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clone()
static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getLedgers(int index)
repeated string ledgers = 1;
com.google.protobuf.ByteString
getLedgersBytes(int index)
repeated string ledgers = 1;
int
repeated string ledgers = 1;
com.google.protobuf.ProtocolStringList
repeated string ledgers = 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)
setLedgers(int index, String value)
repeated string ledgers = 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<LedgerProto.GetLedgersResponse.Builder>
-
clear
- 指定者:
clear
在接口中com.google.protobuf.Message.Builder
- 指定者:
clear
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clear
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.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<LedgerProto.GetLedgersResponse.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<LedgerProto.GetLedgersResponse.Builder>
-
setField
public LedgerProto.GetLedgersResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
clearField
public LedgerProto.GetLedgersResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
clearOneof
public LedgerProto.GetLedgersResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearOneof
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
setRepeatedField
public LedgerProto.GetLedgersResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- 指定者:
setRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
addRepeatedField
public LedgerProto.GetLedgersResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
addRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
mergeFrom
- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<LedgerProto.GetLedgersResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized
在接口中com.google.protobuf.MessageLiteOrBuilder
- 覆盖:
isInitialized
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
mergeFrom
public LedgerProto.GetLedgersResponse.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<LedgerProto.GetLedgersResponse.Builder>
- 抛出:
IOException
-
getLedgersList
public com.google.protobuf.ProtocolStringList getLedgersList()repeated string ledgers = 1;
- 指定者:
getLedgersList
在接口中LedgerProto.GetLedgersResponseOrBuilder
- 返回:
- A list containing the ledgers.
-
getLedgersCount
public int getLedgersCount()repeated string ledgers = 1;
- 指定者:
getLedgersCount
在接口中LedgerProto.GetLedgersResponseOrBuilder
- 返回:
- The count of ledgers.
-
getLedgers
repeated string ledgers = 1;
- 指定者:
getLedgers
在接口中LedgerProto.GetLedgersResponseOrBuilder
- 参数:
index
- The index of the element to return.- 返回:
- The ledgers at the given index.
-
getLedgersBytes
public com.google.protobuf.ByteString getLedgersBytes(int index)repeated string ledgers = 1;
- 指定者:
getLedgersBytes
在接口中LedgerProto.GetLedgersResponseOrBuilder
- 参数:
index
- The index of the value to return.- 返回:
- The bytes of the ledgers at the given index.
-
setLedgers
repeated string ledgers = 1;
- 参数:
index
- The index to set the value at.value
- The ledgers to set.- 返回:
- This builder for chaining.
-
addLedgers
repeated string ledgers = 1;
- 参数:
value
- The ledgers to add.- 返回:
- This builder for chaining.
-
addAllLedgers
repeated string ledgers = 1;
- 参数:
values
- The ledgers to add.- 返回:
- This builder for chaining.
-
clearLedgers
repeated string ledgers = 1;
- 返回:
- This builder for chaining.
-
addLedgersBytes
public LedgerProto.GetLedgersResponse.Builder addLedgersBytes(com.google.protobuf.ByteString value)repeated string ledgers = 1;
- 参数:
value
- The bytes of the ledgers to add.- 返回:
- This builder for chaining.
-
setUnknownFields
public final LedgerProto.GetLedgersResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-
mergeUnknownFields
public final LedgerProto.GetLedgersResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.GetLedgersResponse.Builder>
-