Package com.daml.ledger.api.v1
Class PackageServiceOuterClass.ListPackagesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
- com.daml.ledger.api.v1.PackageServiceOuterClass.ListPackagesRequest.Builder
-
- All Implemented Interfaces:
PackageServiceOuterClass.ListPackagesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PackageServiceOuterClass.ListPackagesRequest
public static final class PackageServiceOuterClass.ListPackagesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder> implements PackageServiceOuterClass.ListPackagesRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.ListPackagesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PackageServiceOuterClass.ListPackagesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PackageServiceOuterClass.ListPackagesRequest
build()
PackageServiceOuterClass.ListPackagesRequest
buildPartial()
PackageServiceOuterClass.ListPackagesRequest.Builder
clear()
PackageServiceOuterClass.ListPackagesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PackageServiceOuterClass.ListPackagesRequest.Builder
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.PackageServiceOuterClass.ListPackagesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PackageServiceOuterClass.ListPackagesRequest.Builder
clone()
PackageServiceOuterClass.ListPackagesRequest
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()
PackageServiceOuterClass.ListPackagesRequest.Builder
mergeFrom(PackageServiceOuterClass.ListPackagesRequest other)
PackageServiceOuterClass.ListPackagesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PackageServiceOuterClass.ListPackagesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
PackageServiceOuterClass.ListPackagesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PackageServiceOuterClass.ListPackagesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PackageServiceOuterClass.ListPackagesRequest.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.PackageServiceOuterClass.ListPackagesRequest.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.PackageServiceOuterClass.ListPackagesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
clear
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
getDefaultInstanceForType
public PackageServiceOuterClass.ListPackagesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PackageServiceOuterClass.ListPackagesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PackageServiceOuterClass.ListPackagesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
setField
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
clearField
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
clearOneof
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
setRepeatedField
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
addRepeatedField
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesRequest.Builder mergeFrom(PackageServiceOuterClass.ListPackagesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesRequest.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<PackageServiceOuterClass.ListPackagesRequest.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 described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfacePackageServiceOuterClass.ListPackagesRequestOrBuilder
- 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 described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfacePackageServiceOuterClass.ListPackagesRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public PackageServiceOuterClass.ListPackagesRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public PackageServiceOuterClass.ListPackagesRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public PackageServiceOuterClass.ListPackagesRequest.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 described 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 PackageServiceOuterClass.ListPackagesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
mergeUnknownFields
public final PackageServiceOuterClass.ListPackagesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesRequest.Builder>
-
-