Package com.daml.ledger.api.v1
Class ValueOuterClass.Identifier.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Identifier.Builder>
-
- com.daml.ledger.api.v1.ValueOuterClass.Identifier.Builder
-
- All Implemented Interfaces:
ValueOuterClass.IdentifierOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ValueOuterClass.Identifier
public static final class ValueOuterClass.Identifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Identifier.Builder> implements ValueOuterClass.IdentifierOrBuilder
Unique identifier of an entity.
Protobuf typecom.daml.ledger.api.v1.Identifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueOuterClass.Identifier.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Identifier
build()
ValueOuterClass.Identifier
buildPartial()
ValueOuterClass.Identifier.Builder
clear()
ValueOuterClass.Identifier.Builder
clearEntityName()
The dot-separated name of the entity (e.g.ValueOuterClass.Identifier.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ValueOuterClass.Identifier.Builder
clearModuleName()
The dot-separated module name of the identifier.ValueOuterClass.Identifier.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ValueOuterClass.Identifier.Builder
clearPackageId()
The identifier of the Daml package that contains the entity.ValueOuterClass.Identifier.Builder
clone()
ValueOuterClass.Identifier
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEntityName()
The dot-separated name of the entity (e.g.com.google.protobuf.ByteString
getEntityNameBytes()
The dot-separated name of the entity (e.g.java.lang.String
getModuleName()
The dot-separated module name of the identifier.com.google.protobuf.ByteString
getModuleNameBytes()
The dot-separated module name of the identifier.java.lang.String
getPackageId()
The identifier of the Daml package that contains the entity.com.google.protobuf.ByteString
getPackageIdBytes()
The identifier of the Daml package that contains the entity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ValueOuterClass.Identifier.Builder
mergeFrom(ValueOuterClass.Identifier other)
ValueOuterClass.Identifier.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ValueOuterClass.Identifier.Builder
mergeFrom(com.google.protobuf.Message other)
ValueOuterClass.Identifier.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.Identifier.Builder
setEntityName(java.lang.String value)
The dot-separated name of the entity (e.g.ValueOuterClass.Identifier.Builder
setEntityNameBytes(com.google.protobuf.ByteString value)
The dot-separated name of the entity (e.g.ValueOuterClass.Identifier.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Identifier.Builder
setModuleName(java.lang.String value)
The dot-separated module name of the identifier.ValueOuterClass.Identifier.Builder
setModuleNameBytes(com.google.protobuf.ByteString value)
The dot-separated module name of the identifier.ValueOuterClass.Identifier.Builder
setPackageId(java.lang.String value)
The identifier of the Daml package that contains the entity.ValueOuterClass.Identifier.Builder
setPackageIdBytes(com.google.protobuf.ByteString value)
The identifier of the Daml package that contains the entity.ValueOuterClass.Identifier.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
clear
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
getDefaultInstanceForType
public ValueOuterClass.Identifier getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueOuterClass.Identifier build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueOuterClass.Identifier buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
setField
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
clearField
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
clearOneof
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
setRepeatedField
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
addRepeatedField
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
-
mergeFrom
public ValueOuterClass.Identifier.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Identifier.Builder>
-
mergeFrom
public ValueOuterClass.Identifier.Builder mergeFrom(ValueOuterClass.Identifier other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Identifier.Builder>
-
mergeFrom
public ValueOuterClass.Identifier.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<ValueOuterClass.Identifier.Builder>
- Throws:
java.io.IOException
-
getPackageId
public java.lang.String getPackageId()
The identifier of the Daml package that contains the entity. Must be a valid PackageIdString. Required
string package_id = 1 [json_name = "packageId"];
- Specified by:
getPackageId
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The packageId.
-
getPackageIdBytes
public com.google.protobuf.ByteString getPackageIdBytes()
The identifier of the Daml package that contains the entity. Must be a valid PackageIdString. Required
string package_id = 1 [json_name = "packageId"];
- Specified by:
getPackageIdBytes
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The bytes for packageId.
-
setPackageId
public ValueOuterClass.Identifier.Builder setPackageId(java.lang.String value)
The identifier of the Daml package that contains the entity. Must be a valid PackageIdString. Required
string package_id = 1 [json_name = "packageId"];
- Parameters:
value
- The packageId to set.- Returns:
- This builder for chaining.
-
clearPackageId
public ValueOuterClass.Identifier.Builder clearPackageId()
The identifier of the Daml package that contains the entity. Must be a valid PackageIdString. Required
string package_id = 1 [json_name = "packageId"];
- Returns:
- This builder for chaining.
-
setPackageIdBytes
public ValueOuterClass.Identifier.Builder setPackageIdBytes(com.google.protobuf.ByteString value)
The identifier of the Daml package that contains the entity. Must be a valid PackageIdString. Required
string package_id = 1 [json_name = "packageId"];
- Parameters:
value
- The bytes for packageId to set.- Returns:
- This builder for chaining.
-
getModuleName
public java.lang.String getModuleName()
The dot-separated module name of the identifier. Required
string module_name = 3 [json_name = "moduleName"];
- Specified by:
getModuleName
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()
The dot-separated module name of the identifier. Required
string module_name = 3 [json_name = "moduleName"];
- Specified by:
getModuleNameBytes
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The bytes for moduleName.
-
setModuleName
public ValueOuterClass.Identifier.Builder setModuleName(java.lang.String value)
The dot-separated module name of the identifier. Required
string module_name = 3 [json_name = "moduleName"];
- Parameters:
value
- The moduleName to set.- Returns:
- This builder for chaining.
-
clearModuleName
public ValueOuterClass.Identifier.Builder clearModuleName()
The dot-separated module name of the identifier. Required
string module_name = 3 [json_name = "moduleName"];
- Returns:
- This builder for chaining.
-
setModuleNameBytes
public ValueOuterClass.Identifier.Builder setModuleNameBytes(com.google.protobuf.ByteString value)
The dot-separated module name of the identifier. Required
string module_name = 3 [json_name = "moduleName"];
- Parameters:
value
- The bytes for moduleName to set.- Returns:
- This builder for chaining.
-
getEntityName
public java.lang.String getEntityName()
The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 4 [json_name = "entityName"];
- Specified by:
getEntityName
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The entityName.
-
getEntityNameBytes
public com.google.protobuf.ByteString getEntityNameBytes()
The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 4 [json_name = "entityName"];
- Specified by:
getEntityNameBytes
in interfaceValueOuterClass.IdentifierOrBuilder
- Returns:
- The bytes for entityName.
-
setEntityName
public ValueOuterClass.Identifier.Builder setEntityName(java.lang.String value)
The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 4 [json_name = "entityName"];
- Parameters:
value
- The entityName to set.- Returns:
- This builder for chaining.
-
clearEntityName
public ValueOuterClass.Identifier.Builder clearEntityName()
The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 4 [json_name = "entityName"];
- Returns:
- This builder for chaining.
-
setEntityNameBytes
public ValueOuterClass.Identifier.Builder setEntityNameBytes(com.google.protobuf.ByteString value)
The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 4 [json_name = "entityName"];
- Parameters:
value
- The bytes for entityName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ValueOuterClass.Identifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Identifier.Builder>
-
mergeUnknownFields
public final ValueOuterClass.Identifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Identifier.Builder>
-
-