Package com.daml.ledger.api.v1.admin
Class PackageManagementServiceOuterClass.PackageDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
- com.daml.ledger.api.v1.admin.PackageManagementServiceOuterClass.PackageDetails.Builder
-
- All Implemented Interfaces:
PackageManagementServiceOuterClass.PackageDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PackageManagementServiceOuterClass.PackageDetails
public static final class PackageManagementServiceOuterClass.PackageDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder> implements PackageManagementServiceOuterClass.PackageDetailsOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.PackageDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(PackageManagementServiceOuterClass.PackageDetails other)
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
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 value)
Indicates since when the package is known to the backing participant.PackageManagementServiceOuterClass.PackageDetails.Builder
setKnownSince(com.google.protobuf.Timestamp.Builder builderForValue)
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)
-
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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
clear
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
getDefaultInstanceForType
public PackageManagementServiceOuterClass.PackageDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PackageManagementServiceOuterClass.PackageDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PackageManagementServiceOuterClass.PackageDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
setField
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
clearField
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
clearOneof
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
setRepeatedField
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
addRepeatedField
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
mergeFrom
public PackageManagementServiceOuterClass.PackageDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
mergeFrom
public PackageManagementServiceOuterClass.PackageDetails.Builder mergeFrom(PackageManagementServiceOuterClass.PackageDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
mergeFrom
public PackageManagementServiceOuterClass.PackageDetails.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<PackageManagementServiceOuterClass.PackageDetails.Builder>
- Throws:
java.io.IOException
-
getPackageId
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"];
- Specified by:
getPackageId
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The packageId.
-
getPackageIdBytes
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"];
- Specified by:
getPackageIdBytes
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The bytes for packageId.
-
setPackageId
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"];
- Parameters:
value
- The packageId to set.- Returns:
- This builder for chaining.
-
clearPackageId
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"];
- Returns:
- This builder for chaining.
-
setPackageIdBytes
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"];
- Parameters:
value
- The bytes for packageId to set.- Returns:
- This builder for chaining.
-
getPackageSize
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"];
- Specified by:
getPackageSize
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The packageSize.
-
setPackageSize
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"];
- Parameters:
value
- The packageSize to set.- Returns:
- This builder for chaining.
-
clearPackageSize
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"];
- Returns:
- This builder for chaining.
-
hasKnownSince
public boolean hasKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
- Specified by:
hasKnownSince
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- Whether the knownSince field is set.
-
getKnownSince
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"];
- Specified by:
getKnownSince
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The knownSince.
-
setKnownSince
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"];
-
setKnownSince
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"];
-
mergeKnownSince
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"];
-
clearKnownSince
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"];
-
getKnownSinceBuilder
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"];
-
getKnownSinceOrBuilder
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"];
- Specified by:
getKnownSinceOrBuilder
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
-
getSourceDescription
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"];
- Specified by:
getSourceDescription
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The sourceDescription.
-
getSourceDescriptionBytes
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"];
- Specified by:
getSourceDescriptionBytes
in interfacePackageManagementServiceOuterClass.PackageDetailsOrBuilder
- Returns:
- The bytes for sourceDescription.
-
setSourceDescription
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"];
- Parameters:
value
- The sourceDescription to set.- Returns:
- This builder for chaining.
-
clearSourceDescription
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"];
- Returns:
- This builder for chaining.
-
setSourceDescriptionBytes
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"];
- Parameters:
value
- The bytes for sourceDescription to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PackageManagementServiceOuterClass.PackageDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
mergeUnknownFields
public final PackageManagementServiceOuterClass.PackageDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageManagementServiceOuterClass.PackageDetails.Builder>
-
-