Class CommonMessages.DataClayObjectMetaData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
- es.bsc.dataclay.communication.grpc.messages.common.CommonMessages.DataClayObjectMetaData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CommonMessages.DataClayObjectMetaDataOrBuilder
,Cloneable
- Enclosing class:
- CommonMessages.DataClayObjectMetaData
public static final class CommonMessages.DataClayObjectMetaData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder> implements CommonMessages.DataClayObjectMetaDataOrBuilder
Protobuf typedataclay.communication.grpc.common.DataClayObjectMetaData
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
clear
public CommonMessages.DataClayObjectMetaData.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<CommonMessages.DataClayObjectMetaData.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<CommonMessages.DataClayObjectMetaData.Builder>
-
getDefaultInstanceForType
public CommonMessages.DataClayObjectMetaData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonMessages.DataClayObjectMetaData build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonMessages.DataClayObjectMetaData buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonMessages.DataClayObjectMetaData.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<CommonMessages.DataClayObjectMetaData.Builder>
-
setField
public CommonMessages.DataClayObjectMetaData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
clearField
public CommonMessages.DataClayObjectMetaData.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<CommonMessages.DataClayObjectMetaData.Builder>
-
clearOneof
public CommonMessages.DataClayObjectMetaData.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<CommonMessages.DataClayObjectMetaData.Builder>
-
setRepeatedField
public CommonMessages.DataClayObjectMetaData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
addRepeatedField
public CommonMessages.DataClayObjectMetaData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeFrom
public CommonMessages.DataClayObjectMetaData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeFrom
public CommonMessages.DataClayObjectMetaData.Builder mergeFrom(CommonMessages.DataClayObjectMetaData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeFrom
public CommonMessages.DataClayObjectMetaData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<CommonMessages.DataClayObjectMetaData.Builder>
- Throws:
IOException
-
getOidsCount
public int getOidsCount()
Description copied from interface:CommonMessages.DataClayObjectMetaDataOrBuilder
map<int32, string> oids = 1;
- Specified by:
getOidsCount
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsOids
public boolean containsOids(int key)
map<int32, string> oids = 1;
- Specified by:
containsOids
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOids
@Deprecated public Map<Integer,String> getOids()
Deprecated.UsegetOidsMap()
instead.- Specified by:
getOids
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsMap
public Map<Integer,String> getOidsMap()
map<int32, string> oids = 1;
- Specified by:
getOidsMap
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsOrDefault
public String getOidsOrDefault(int key, String defaultValue)
map<int32, string> oids = 1;
- Specified by:
getOidsOrDefault
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsOrThrow
public String getOidsOrThrow(int key)
map<int32, string> oids = 1;
- Specified by:
getOidsOrThrow
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
clearOids
public CommonMessages.DataClayObjectMetaData.Builder clearOids()
-
removeOids
public CommonMessages.DataClayObjectMetaData.Builder removeOids(int key)
map<int32, string> oids = 1;
-
getMutableOids
@Deprecated public Map<Integer,String> getMutableOids()
Deprecated.Use alternate mutation accessors instead.
-
putOids
public CommonMessages.DataClayObjectMetaData.Builder putOids(int key, String value)
map<int32, string> oids = 1;
-
putAllOids
public CommonMessages.DataClayObjectMetaData.Builder putAllOids(Map<Integer,String> values)
map<int32, string> oids = 1;
-
getClassidsCount
public int getClassidsCount()
Description copied from interface:CommonMessages.DataClayObjectMetaDataOrBuilder
map<int32, string> classids = 2;
- Specified by:
getClassidsCount
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsClassids
public boolean containsClassids(int key)
map<int32, string> classids = 2;
- Specified by:
containsClassids
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassids
@Deprecated public Map<Integer,String> getClassids()
Deprecated.UsegetClassidsMap()
instead.- Specified by:
getClassids
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsMap
public Map<Integer,String> getClassidsMap()
map<int32, string> classids = 2;
- Specified by:
getClassidsMap
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsOrDefault
public String getClassidsOrDefault(int key, String defaultValue)
map<int32, string> classids = 2;
- Specified by:
getClassidsOrDefault
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsOrThrow
public String getClassidsOrThrow(int key)
map<int32, string> classids = 2;
- Specified by:
getClassidsOrThrow
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
clearClassids
public CommonMessages.DataClayObjectMetaData.Builder clearClassids()
-
removeClassids
public CommonMessages.DataClayObjectMetaData.Builder removeClassids(int key)
map<int32, string> classids = 2;
-
getMutableClassids
@Deprecated public Map<Integer,String> getMutableClassids()
Deprecated.Use alternate mutation accessors instead.
-
putClassids
public CommonMessages.DataClayObjectMetaData.Builder putClassids(int key, String value)
map<int32, string> classids = 2;
-
putAllClassids
public CommonMessages.DataClayObjectMetaData.Builder putAllClassids(Map<Integer,String> values)
map<int32, string> classids = 2;
-
getHintsCount
public int getHintsCount()
Description copied from interface:CommonMessages.DataClayObjectMetaDataOrBuilder
map<int32, string> hints = 3;
- Specified by:
getHintsCount
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsHints
public boolean containsHints(int key)
map<int32, string> hints = 3;
- Specified by:
containsHints
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHints
@Deprecated public Map<Integer,String> getHints()
Deprecated.UsegetHintsMap()
instead.- Specified by:
getHints
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsMap
public Map<Integer,String> getHintsMap()
map<int32, string> hints = 3;
- Specified by:
getHintsMap
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsOrDefault
public String getHintsOrDefault(int key, String defaultValue)
map<int32, string> hints = 3;
- Specified by:
getHintsOrDefault
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsOrThrow
public String getHintsOrThrow(int key)
map<int32, string> hints = 3;
- Specified by:
getHintsOrThrow
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
clearHints
public CommonMessages.DataClayObjectMetaData.Builder clearHints()
-
removeHints
public CommonMessages.DataClayObjectMetaData.Builder removeHints(int key)
map<int32, string> hints = 3;
-
getMutableHints
@Deprecated public Map<Integer,String> getMutableHints()
Deprecated.Use alternate mutation accessors instead.
-
putHints
public CommonMessages.DataClayObjectMetaData.Builder putHints(int key, String value)
map<int32, string> hints = 3;
-
putAllHints
public CommonMessages.DataClayObjectMetaData.Builder putAllHints(Map<Integer,String> values)
map<int32, string> hints = 3;
-
getNumRefs
public int getNumRefs()
int32 numRefs = 4;
- Specified by:
getNumRefs
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The numRefs.
-
setNumRefs
public CommonMessages.DataClayObjectMetaData.Builder setNumRefs(int value)
int32 numRefs = 4;
- Parameters:
value
- The numRefs to set.- Returns:
- This builder for chaining.
-
clearNumRefs
public CommonMessages.DataClayObjectMetaData.Builder clearNumRefs()
int32 numRefs = 4;
- Returns:
- This builder for chaining.
-
getOrigObjectID
public String getOrigObjectID()
string origObjectID = 5;
- Specified by:
getOrigObjectID
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The origObjectID.
-
getOrigObjectIDBytes
public com.google.protobuf.ByteString getOrigObjectIDBytes()
string origObjectID = 5;
- Specified by:
getOrigObjectIDBytes
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The bytes for origObjectID.
-
setOrigObjectID
public CommonMessages.DataClayObjectMetaData.Builder setOrigObjectID(String value)
string origObjectID = 5;
- Parameters:
value
- The origObjectID to set.- Returns:
- This builder for chaining.
-
clearOrigObjectID
public CommonMessages.DataClayObjectMetaData.Builder clearOrigObjectID()
string origObjectID = 5;
- Returns:
- This builder for chaining.
-
setOrigObjectIDBytes
public CommonMessages.DataClayObjectMetaData.Builder setOrigObjectIDBytes(com.google.protobuf.ByteString value)
string origObjectID = 5;
- Parameters:
value
- The bytes for origObjectID to set.- Returns:
- This builder for chaining.
-
getRootLocation
public String getRootLocation()
string rootLocation = 6;
- Specified by:
getRootLocation
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The rootLocation.
-
getRootLocationBytes
public com.google.protobuf.ByteString getRootLocationBytes()
string rootLocation = 6;
- Specified by:
getRootLocationBytes
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The bytes for rootLocation.
-
setRootLocation
public CommonMessages.DataClayObjectMetaData.Builder setRootLocation(String value)
string rootLocation = 6;
- Parameters:
value
- The rootLocation to set.- Returns:
- This builder for chaining.
-
clearRootLocation
public CommonMessages.DataClayObjectMetaData.Builder clearRootLocation()
string rootLocation = 6;
- Returns:
- This builder for chaining.
-
setRootLocationBytes
public CommonMessages.DataClayObjectMetaData.Builder setRootLocationBytes(com.google.protobuf.ByteString value)
string rootLocation = 6;
- Parameters:
value
- The bytes for rootLocation to set.- Returns:
- This builder for chaining.
-
getOriginLocation
public String getOriginLocation()
string originLocation = 7;
- Specified by:
getOriginLocation
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The originLocation.
-
getOriginLocationBytes
public com.google.protobuf.ByteString getOriginLocationBytes()
string originLocation = 7;
- Specified by:
getOriginLocationBytes
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The bytes for originLocation.
-
setOriginLocation
public CommonMessages.DataClayObjectMetaData.Builder setOriginLocation(String value)
string originLocation = 7;
- Parameters:
value
- The originLocation to set.- Returns:
- This builder for chaining.
-
clearOriginLocation
public CommonMessages.DataClayObjectMetaData.Builder clearOriginLocation()
string originLocation = 7;
- Returns:
- This builder for chaining.
-
setOriginLocationBytes
public CommonMessages.DataClayObjectMetaData.Builder setOriginLocationBytes(com.google.protobuf.ByteString value)
string originLocation = 7;
- Parameters:
value
- The bytes for originLocation to set.- Returns:
- This builder for chaining.
-
getReplicaLocationsList
public com.google.protobuf.ProtocolStringList getReplicaLocationsList()
repeated string replicaLocations = 8;
- Specified by:
getReplicaLocationsList
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- A list containing the replicaLocations.
-
getReplicaLocationsCount
public int getReplicaLocationsCount()
repeated string replicaLocations = 8;
- Specified by:
getReplicaLocationsCount
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The count of replicaLocations.
-
getReplicaLocations
public String getReplicaLocations(int index)
repeated string replicaLocations = 8;
- Specified by:
getReplicaLocations
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The replicaLocations at the given index.
-
getReplicaLocationsBytes
public com.google.protobuf.ByteString getReplicaLocationsBytes(int index)
repeated string replicaLocations = 8;
- Specified by:
getReplicaLocationsBytes
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the replicaLocations at the given index.
-
setReplicaLocations
public CommonMessages.DataClayObjectMetaData.Builder setReplicaLocations(int index, String value)
repeated string replicaLocations = 8;
- Parameters:
index
- The index to set the value at.value
- The replicaLocations to set.- Returns:
- This builder for chaining.
-
addReplicaLocations
public CommonMessages.DataClayObjectMetaData.Builder addReplicaLocations(String value)
repeated string replicaLocations = 8;
- Parameters:
value
- The replicaLocations to add.- Returns:
- This builder for chaining.
-
addAllReplicaLocations
public CommonMessages.DataClayObjectMetaData.Builder addAllReplicaLocations(Iterable<String> values)
repeated string replicaLocations = 8;
- Parameters:
values
- The replicaLocations to add.- Returns:
- This builder for chaining.
-
clearReplicaLocations
public CommonMessages.DataClayObjectMetaData.Builder clearReplicaLocations()
repeated string replicaLocations = 8;
- Returns:
- This builder for chaining.
-
addReplicaLocationsBytes
public CommonMessages.DataClayObjectMetaData.Builder addReplicaLocationsBytes(com.google.protobuf.ByteString value)
repeated string replicaLocations = 8;
- Parameters:
value
- The bytes of the replicaLocations to add.- Returns:
- This builder for chaining.
-
getAlias
public String getAlias()
string alias = 9;
- Specified by:
getAlias
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 9;
- Specified by:
getAliasBytes
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The bytes for alias.
-
setAlias
public CommonMessages.DataClayObjectMetaData.Builder setAlias(String value)
string alias = 9;
- Parameters:
value
- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
public CommonMessages.DataClayObjectMetaData.Builder clearAlias()
string alias = 9;
- Returns:
- This builder for chaining.
-
setAliasBytes
public CommonMessages.DataClayObjectMetaData.Builder setAliasBytes(com.google.protobuf.ByteString value)
string alias = 9;
- Parameters:
value
- The bytes for alias to set.- Returns:
- This builder for chaining.
-
getIsReadOnly
public boolean getIsReadOnly()
bool isReadOnly = 10;
- Specified by:
getIsReadOnly
in interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
- Returns:
- The isReadOnly.
-
setIsReadOnly
public CommonMessages.DataClayObjectMetaData.Builder setIsReadOnly(boolean value)
bool isReadOnly = 10;
- Parameters:
value
- The isReadOnly to set.- Returns:
- This builder for chaining.
-
clearIsReadOnly
public CommonMessages.DataClayObjectMetaData.Builder clearIsReadOnly()
bool isReadOnly = 10;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonMessages.DataClayObjectMetaData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeUnknownFields
public final CommonMessages.DataClayObjectMetaData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
-