public static final class PackageManagementServiceOuterClass.PackageDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder> implements PackageManagementServiceOuterClass.PackageDetailsOrBuilder
com.daml.ledger.api.v1.admin.PackageDetails
Modifier and Type | Method and Description |
---|---|
PackageManagementServiceOuterClass.PackageDetails.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageManagementServiceOuterClass.PackageDetails |
build() |
PackageManagementServiceOuterClass.PackageDetails |
buildPartial() |
PackageManagementServiceOuterClass.PackageDetails.Builder |
clear() |
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearKnownSince()
Indicates since when the package is known to the backing participant.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearPackageId()
The identity of the DAML-LF package.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearPackageSize()
Size of the package in bytes.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
clearSourceDescription()
Description provided by the backing participant describing where
it got the package from.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
clone() |
PackageManagementServiceOuterClass.PackageDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getKnownSince()
Indicates since when the package is known to the backing participant.
|
com.google.protobuf.Timestamp.Builder |
getKnownSinceBuilder()
Indicates since when the package is known to the backing participant.
|
com.google.protobuf.TimestampOrBuilder |
getKnownSinceOrBuilder()
Indicates since when the package is known to the backing participant.
|
java.lang.String |
getPackageId()
The identity of the DAML-LF package.
|
com.google.protobuf.ByteString |
getPackageIdBytes()
The identity of the DAML-LF package.
|
long |
getPackageSize()
Size of the package in bytes.
|
java.lang.String |
getSourceDescription()
Description provided by the backing participant describing where
it got the package from.
|
com.google.protobuf.ByteString |
getSourceDescriptionBytes()
Description provided by the backing participant describing where
it got the package from.
|
boolean |
hasKnownSince()
Indicates since when the package is known to the backing participant.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PackageManagementServiceOuterClass.PackageDetails.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
mergeFrom(com.google.protobuf.Message other) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
mergeFrom(PackageManagementServiceOuterClass.PackageDetails other) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
mergeKnownSince(com.google.protobuf.Timestamp value)
Indicates since when the package is known to the backing participant.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
setKnownSince(com.google.protobuf.Timestamp.Builder builderForValue)
Indicates since when the package is known to the backing participant.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setKnownSince(com.google.protobuf.Timestamp value)
Indicates since when the package is known to the backing participant.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setPackageId(java.lang.String value)
The identity of the DAML-LF package.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setPackageIdBytes(com.google.protobuf.ByteString value)
The identity of the DAML-LF package.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setPackageSize(long value)
Size of the package in bytes.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PackageManagementServiceOuterClass.PackageDetails.Builder |
setSourceDescription(java.lang.String value)
Description provided by the backing participant describing where
it got the package from.
|
PackageManagementServiceOuterClass.PackageDetails.Builder |
setSourceDescriptionBytes(com.google.protobuf.ByteString value)
Description provided by the backing participant describing where
it got the package from.
|
PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PackageManagementServiceOuterClass.PackageDetails build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PackageManagementServiceOuterClass.PackageDetails buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.Builder mergeFrom(PackageManagementServiceOuterClass.PackageDetails other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
java.io.IOException
public java.lang.String getPackageId()
The identity of the DAML-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1[json_name = "packageId"];
getPackageId
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public com.google.protobuf.ByteString getPackageIdBytes()
The identity of the DAML-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1[json_name = "packageId"];
getPackageIdBytes
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public PackageManagementServiceOuterClass.PackageDetails.Builder setPackageId(java.lang.String value)
The identity of the DAML-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1[json_name = "packageId"];
public PackageManagementServiceOuterClass.PackageDetails.Builder clearPackageId()
The identity of the DAML-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1[json_name = "packageId"];
public PackageManagementServiceOuterClass.PackageDetails.Builder setPackageIdBytes(com.google.protobuf.ByteString value)
The identity of the DAML-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1[json_name = "packageId"];
public long getPackageSize()
Size of the package in bytes. The size of the package is given by the size of the ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
uint64 package_size = 2[json_name = "packageSize"];
getPackageSize
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public PackageManagementServiceOuterClass.PackageDetails.Builder setPackageSize(long value)
Size of the package in bytes. The size of the package is given by the size of the ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
uint64 package_size = 2[json_name = "packageSize"];
public PackageManagementServiceOuterClass.PackageDetails.Builder clearPackageSize()
Size of the package in bytes. The size of the package is given by the size of the ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
uint64 package_size = 2[json_name = "packageSize"];
public boolean hasKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
hasKnownSince
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public com.google.protobuf.Timestamp getKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
getKnownSince
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public PackageManagementServiceOuterClass.PackageDetails.Builder setKnownSince(com.google.protobuf.Timestamp value)
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
public PackageManagementServiceOuterClass.PackageDetails.Builder setKnownSince(com.google.protobuf.Timestamp.Builder builderForValue)
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
public PackageManagementServiceOuterClass.PackageDetails.Builder mergeKnownSince(com.google.protobuf.Timestamp value)
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
public PackageManagementServiceOuterClass.PackageDetails.Builder clearKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
public com.google.protobuf.Timestamp.Builder getKnownSinceBuilder()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
public com.google.protobuf.TimestampOrBuilder getKnownSinceOrBuilder()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3[json_name = "knownSince"];
getKnownSinceOrBuilder
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public java.lang.String getSourceDescription()
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4[json_name = "sourceDescription"];
getSourceDescription
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public com.google.protobuf.ByteString getSourceDescriptionBytes()
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4[json_name = "sourceDescription"];
getSourceDescriptionBytes
in interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
public PackageManagementServiceOuterClass.PackageDetails.Builder setSourceDescription(java.lang.String value)
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4[json_name = "sourceDescription"];
public PackageManagementServiceOuterClass.PackageDetails.Builder clearSourceDescription()
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4[json_name = "sourceDescription"];
public PackageManagementServiceOuterClass.PackageDetails.Builder setSourceDescriptionBytes(com.google.protobuf.ByteString value)
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4[json_name = "sourceDescription"];
public final PackageManagementServiceOuterClass.PackageDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
public final PackageManagementServiceOuterClass.PackageDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>