public static final class PackageServiceOuterClass.GetPackageRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder> implements PackageServiceOuterClass.GetPackageRequestOrBuilder
com.daml.ledger.api.v1.GetPackageRequest
Modifier and Type | Method and Description |
---|---|
PackageServiceOuterClass.GetPackageRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageRequest |
build() |
PackageServiceOuterClass.GetPackageRequest |
buildPartial() |
PackageServiceOuterClass.GetPackageRequest.Builder |
clear() |
PackageServiceOuterClass.GetPackageRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PackageServiceOuterClass.GetPackageRequest.Builder |
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PackageServiceOuterClass.GetPackageRequest.Builder |
clearPackageId()
The ID of the requested package.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
clone() |
PackageServiceOuterClass.GetPackageRequest |
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.GetPackageRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackageServiceOuterClass.GetPackageRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
PackageServiceOuterClass.GetPackageRequest.Builder |
mergeFrom(PackageServiceOuterClass.GetPackageRequest other) |
PackageServiceOuterClass.GetPackageRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PackageServiceOuterClass.GetPackageRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageRequest.Builder |
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
setPackageId(java.lang.String value)
The ID of the requested package.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
setPackageIdBytes(com.google.protobuf.ByteString value)
The ID of the requested package.
|
PackageServiceOuterClass.GetPackageRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PackageServiceOuterClass.GetPackageRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.GetPackageRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.GetPackageRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder mergeFrom(PackageServiceOuterClass.GetPackageRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public PackageServiceOuterClass.GetPackageRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
java.io.IOException
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``). Required
string ledger_id = 1 [json_name = "ledgerId"];
getLedgerId
in interface PackageServiceOuterClass.GetPackageRequestOrBuilder
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``). Required
string ledger_id = 1 [json_name = "ledgerId"];
getLedgerIdBytes
in interface PackageServiceOuterClass.GetPackageRequestOrBuilder
public PackageServiceOuterClass.GetPackageRequest.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``). Required
string ledger_id = 1 [json_name = "ledgerId"];
value
- The ledgerId to set.public PackageServiceOuterClass.GetPackageRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Required
string ledger_id = 1 [json_name = "ledgerId"];
public PackageServiceOuterClass.GetPackageRequest.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``). Required
string ledger_id = 1 [json_name = "ledgerId"];
value
- The bytes for ledgerId to set.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"];
getPackageId
in interface PackageServiceOuterClass.GetPackageRequestOrBuilder
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"];
getPackageIdBytes
in interface PackageServiceOuterClass.GetPackageRequestOrBuilder
public PackageServiceOuterClass.GetPackageRequest.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"];
value
- The packageId to set.public PackageServiceOuterClass.GetPackageRequest.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"];
public PackageServiceOuterClass.GetPackageRequest.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"];
value
- The bytes for packageId to set.public final PackageServiceOuterClass.GetPackageRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>
public final PackageServiceOuterClass.GetPackageRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageRequest.Builder>