public static final class PackageServiceOuterClass.GetPackageResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageResponse.Builder> implements PackageServiceOuterClass.GetPackageResponseOrBuilder
com.daml.ledger.api.v1.GetPackageResponse
Modifier and Type | Method and Description |
---|---|
PackageServiceOuterClass.GetPackageResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageResponse |
build() |
PackageServiceOuterClass.GetPackageResponse |
buildPartial() |
PackageServiceOuterClass.GetPackageResponse.Builder |
clear() |
PackageServiceOuterClass.GetPackageResponse.Builder |
clearArchivePayload()
Contains a ``daml_lf`` ArchivePayload.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PackageServiceOuterClass.GetPackageResponse.Builder |
clearHash()
The hash of the archive payload, can also used as a ``package_id``.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
clearHashFunction()
The hash function we use to calculate the hash.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PackageServiceOuterClass.GetPackageResponse.Builder |
clone() |
com.google.protobuf.ByteString |
getArchivePayload()
Contains a ``daml_lf`` ArchivePayload.
|
PackageServiceOuterClass.GetPackageResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getHash()
The hash of the archive payload, can also used as a ``package_id``.
|
com.google.protobuf.ByteString |
getHashBytes()
The hash of the archive payload, can also used as a ``package_id``.
|
PackageServiceOuterClass.HashFunction |
getHashFunction()
The hash function we use to calculate the hash.
|
int |
getHashFunctionValue()
The hash function we use to calculate the hash.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PackageServiceOuterClass.GetPackageResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackageServiceOuterClass.GetPackageResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
PackageServiceOuterClass.GetPackageResponse.Builder |
mergeFrom(PackageServiceOuterClass.GetPackageResponse other) |
PackageServiceOuterClass.GetPackageResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PackageServiceOuterClass.GetPackageResponse.Builder |
setArchivePayload(com.google.protobuf.ByteString value)
Contains a ``daml_lf`` ArchivePayload.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageResponse.Builder |
setHash(java.lang.String value)
The hash of the archive payload, can also used as a ``package_id``.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
setHashBytes(com.google.protobuf.ByteString value)
The hash of the archive payload, can also used as a ``package_id``.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
setHashFunction(PackageServiceOuterClass.HashFunction value)
The hash function we use to calculate the hash.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
setHashFunctionValue(int value)
The hash function we use to calculate the hash.
|
PackageServiceOuterClass.GetPackageResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PackageServiceOuterClass.GetPackageResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.GetPackageResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.Builder mergeFrom(PackageServiceOuterClass.GetPackageResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageResponse.Builder>
public PackageServiceOuterClass.GetPackageResponse.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.GetPackageResponse.Builder>
java.io.IOException
public int getHashFunctionValue()
The hash function we use to calculate the hash. Required
.com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
getHashFunctionValue
in interface PackageServiceOuterClass.GetPackageResponseOrBuilder
public PackageServiceOuterClass.GetPackageResponse.Builder setHashFunctionValue(int value)
The hash function we use to calculate the hash. Required
.com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
value
- The enum numeric value on the wire for hashFunction to set.public PackageServiceOuterClass.HashFunction getHashFunction()
The hash function we use to calculate the hash. Required
.com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
getHashFunction
in interface PackageServiceOuterClass.GetPackageResponseOrBuilder
public PackageServiceOuterClass.GetPackageResponse.Builder setHashFunction(PackageServiceOuterClass.HashFunction value)
The hash function we use to calculate the hash. Required
.com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
value
- The hashFunction to set.public PackageServiceOuterClass.GetPackageResponse.Builder clearHashFunction()
The hash function we use to calculate the hash. Required
.com.daml.ledger.api.v1.HashFunction hash_function = 1 [json_name = "hashFunction"];
public com.google.protobuf.ByteString getArchivePayload()
Contains a ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
bytes archive_payload = 2 [json_name = "archivePayload"];
getArchivePayload
in interface PackageServiceOuterClass.GetPackageResponseOrBuilder
public PackageServiceOuterClass.GetPackageResponse.Builder setArchivePayload(com.google.protobuf.ByteString value)
Contains a ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
bytes archive_payload = 2 [json_name = "archivePayload"];
value
- The archivePayload to set.public PackageServiceOuterClass.GetPackageResponse.Builder clearArchivePayload()
Contains a ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
bytes archive_payload = 2 [json_name = "archivePayload"];
public java.lang.String getHash()
The hash of the archive payload, can also used as a ``package_id``. Must be a valid PackageIdString (as described in ``value.proto``). Required
string hash = 3 [json_name = "hash"];
getHash
in interface PackageServiceOuterClass.GetPackageResponseOrBuilder
public com.google.protobuf.ByteString getHashBytes()
The hash of the archive payload, can also used as a ``package_id``. Must be a valid PackageIdString (as described in ``value.proto``). Required
string hash = 3 [json_name = "hash"];
getHashBytes
in interface PackageServiceOuterClass.GetPackageResponseOrBuilder
public PackageServiceOuterClass.GetPackageResponse.Builder setHash(java.lang.String value)
The hash of the archive payload, can also used as a ``package_id``. Must be a valid PackageIdString (as described in ``value.proto``). Required
string hash = 3 [json_name = "hash"];
value
- The hash to set.public PackageServiceOuterClass.GetPackageResponse.Builder clearHash()
The hash of the archive payload, can also used as a ``package_id``. Must be a valid PackageIdString (as described in ``value.proto``). Required
string hash = 3 [json_name = "hash"];
public PackageServiceOuterClass.GetPackageResponse.Builder setHashBytes(com.google.protobuf.ByteString value)
The hash of the archive payload, can also used as a ``package_id``. Must be a valid PackageIdString (as described in ``value.proto``). Required
string hash = 3 [json_name = "hash"];
value
- The bytes for hash to set.public final PackageServiceOuterClass.GetPackageResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageResponse.Builder>
public final PackageServiceOuterClass.GetPackageResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageResponse.Builder>