Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetLedgerEndRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
- com.daml.ledger.api.v1.TransactionServiceOuterClass.GetLedgerEndRequest.Builder
-
- All Implemented Interfaces:
TransactionServiceOuterClass.GetLedgerEndRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TransactionServiceOuterClass.GetLedgerEndRequest
public static final class TransactionServiceOuterClass.GetLedgerEndRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder> implements TransactionServiceOuterClass.GetLedgerEndRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetLedgerEndRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionServiceOuterClass.GetLedgerEndRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionServiceOuterClass.GetLedgerEndRequest
build()
TransactionServiceOuterClass.GetLedgerEndRequest
buildPartial()
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
clear()
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetLedgerEndRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
clone()
TransactionServiceOuterClass.GetLedgerEndRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
mergeFrom(TransactionServiceOuterClass.GetLedgerEndRequest other)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetLedgerEndRequest.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetLedgerEndRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TransactionServiceOuterClass.GetLedgerEndRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
clear
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetLedgerEndRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetLedgerEndRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetLedgerEndRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
setField
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
clearField
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
setRepeatedField
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
addRepeatedField
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder mergeFrom(TransactionServiceOuterClass.GetLedgerEndRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
- Throws:
java.io.IOException
-
getLedgerId
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfaceTransactionServiceOuterClass.GetLedgerEndRequestOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfaceTransactionServiceOuterClass.GetLedgerEndRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public TransactionServiceOuterClass.GetLedgerEndRequest.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionServiceOuterClass.GetLedgerEndRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetLedgerEndRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndRequest.Builder>
-
-