Package com.daml.ledger.api.v1
Class LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
- com.daml.ledger.api.v1.LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder
-
- All Implemented Interfaces:
LedgerIdentityServiceOuterClass.GetLedgerIdentityResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse
public static final class LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder> implements LedgerIdentityServiceOuterClass.GetLedgerIdentityResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetLedgerIdentityResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
clear
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
getDefaultInstanceForType
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
setField
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
clearField
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
clearOneof
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
setRepeatedField
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
addRepeatedField
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
mergeFrom
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
mergeFrom
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder mergeFrom(LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
mergeFrom
public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.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<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
- Throws:
java.io.IOException
-
getLedgerId
@Deprecated public java.lang.String getLedgerId()
Deprecated.The ID of the ledger exposed by the server. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId", deprecated = true];
- Specified by:
getLedgerId
in interfaceLedgerIdentityServiceOuterClass.GetLedgerIdentityResponseOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
@Deprecated public com.google.protobuf.ByteString getLedgerIdBytes()
Deprecated.The ID of the ledger exposed by the server. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId", deprecated = true];
- Specified by:
getLedgerIdBytes
in interfaceLedgerIdentityServiceOuterClass.GetLedgerIdentityResponseOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
@Deprecated public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder setLedgerId(java.lang.String value)
Deprecated.The ID of the ledger exposed by the server. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId", deprecated = true];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
@Deprecated public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder clearLedgerId()
Deprecated.The ID of the ledger exposed by the server. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId", deprecated = true];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
@Deprecated public LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Deprecated.The ID of the ledger exposed by the server. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId", deprecated = true];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
mergeUnknownFields
public final LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse.Builder>
-
-