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