Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetLedgerEndResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndResponse.Builder>
-
- com.daml.ledger.api.v1.TransactionServiceOuterClass.GetLedgerEndResponse.Builder
-
- All Implemented Interfaces:
TransactionServiceOuterClass.GetLedgerEndResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TransactionServiceOuterClass.GetLedgerEndResponse
public static final class TransactionServiceOuterClass.GetLedgerEndResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndResponse.Builder> implements TransactionServiceOuterClass.GetLedgerEndResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetLedgerEndResponse
-
-
Method Summary
-
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.GetLedgerEndResponse.Builder>
-
clear
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetLedgerEndResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetLedgerEndResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetLedgerEndResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
setField
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
clearField
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
setRepeatedField
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
addRepeatedField
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndResponse.Builder mergeFrom(TransactionServiceOuterClass.GetLedgerEndResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetLedgerEndResponse.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
- Throws:
java.io.IOException
-
hasOffset
public boolean hasOffset()
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
- Specified by:
hasOffset
in interfaceTransactionServiceOuterClass.GetLedgerEndResponseOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public LedgerOffsetOuterClass.LedgerOffset getOffset()
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
- Specified by:
getOffset
in interfaceTransactionServiceOuterClass.GetLedgerEndResponseOrBuilder
- Returns:
- The offset.
-
setOffset
public TransactionServiceOuterClass.GetLedgerEndResponse.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset value)
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
-
setOffset
public TransactionServiceOuterClass.GetLedgerEndResponse.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
-
mergeOffset
public TransactionServiceOuterClass.GetLedgerEndResponse.Builder mergeOffset(LedgerOffsetOuterClass.LedgerOffset value)
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
-
clearOffset
public TransactionServiceOuterClass.GetLedgerEndResponse.Builder clearOffset()
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
-
getOffsetBuilder
public LedgerOffsetOuterClass.LedgerOffset.Builder getOffsetBuilder()
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
-
getOffsetOrBuilder
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getOffsetOrBuilder()
The absolute offset of the current ledger end.
.com.daml.ledger.api.v1.LedgerOffset offset = 1 [json_name = "offset"];
- Specified by:
getOffsetOrBuilder
in interfaceTransactionServiceOuterClass.GetLedgerEndResponseOrBuilder
-
setUnknownFields
public final TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetLedgerEndResponse.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.GetLedgerEndResponse.Builder>
-
-