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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
clear
public CommonMessages.DataClayObjectMetaData.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
getDefaultInstanceForType
public CommonMessages.DataClayObjectMetaData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonMessages.DataClayObjectMetaData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonMessages.DataClayObjectMetaData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonMessages.DataClayObjectMetaData.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
setField
public CommonMessages.DataClayObjectMetaData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
clearField
public CommonMessages.DataClayObjectMetaData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
clearOneof
public CommonMessages.DataClayObjectMetaData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
addRepeatedField
public CommonMessages.DataClayObjectMetaData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeFrom
public CommonMessages.DataClayObjectMetaData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeFrom
public CommonMessages.DataClayObjectMetaData.Builder mergeFrom(CommonMessages.DataClayObjectMetaData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonMessages.DataClayObjectMetaData.Builder>- Throws:
IOException
-
getOidsCount
public int getOidsCount()
Description copied from interface:CommonMessages.DataClayObjectMetaDataOrBuildermap<int32, string> oids = 1;- Specified by:
getOidsCountin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsOids
public boolean containsOids(int key)
map<int32, string> oids = 1;- Specified by:
containsOidsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOids
@Deprecated public Map<Integer,String> getOids()
Deprecated.UsegetOidsMap()instead.- Specified by:
getOidsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsMap
public Map<Integer,String> getOidsMap()
map<int32, string> oids = 1;- Specified by:
getOidsMapin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsOrDefault
public String getOidsOrDefault(int key, String defaultValue)
map<int32, string> oids = 1;- Specified by:
getOidsOrDefaultin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getOidsOrThrow
public String getOidsOrThrow(int key)
map<int32, string> oids = 1;- Specified by:
getOidsOrThrowin 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.DataClayObjectMetaDataOrBuildermap<int32, string> classids = 2;- Specified by:
getClassidsCountin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsClassids
public boolean containsClassids(int key)
map<int32, string> classids = 2;- Specified by:
containsClassidsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassids
@Deprecated public Map<Integer,String> getClassids()
Deprecated.UsegetClassidsMap()instead.- Specified by:
getClassidsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsMap
public Map<Integer,String> getClassidsMap()
map<int32, string> classids = 2;- Specified by:
getClassidsMapin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsOrDefault
public String getClassidsOrDefault(int key, String defaultValue)
map<int32, string> classids = 2;- Specified by:
getClassidsOrDefaultin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getClassidsOrThrow
public String getClassidsOrThrow(int key)
map<int32, string> classids = 2;- Specified by:
getClassidsOrThrowin 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.DataClayObjectMetaDataOrBuildermap<int32, string> hints = 3;- Specified by:
getHintsCountin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
containsHints
public boolean containsHints(int key)
map<int32, string> hints = 3;- Specified by:
containsHintsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHints
@Deprecated public Map<Integer,String> getHints()
Deprecated.UsegetHintsMap()instead.- Specified by:
getHintsin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsMap
public Map<Integer,String> getHintsMap()
map<int32, string> hints = 3;- Specified by:
getHintsMapin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsOrDefault
public String getHintsOrDefault(int key, String defaultValue)
map<int32, string> hints = 3;- Specified by:
getHintsOrDefaultin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder
-
getHintsOrThrow
public String getHintsOrThrow(int key)
map<int32, string> hints = 3;- Specified by:
getHintsOrThrowin 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:
getNumRefsin 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:
getOrigObjectIDin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- The origObjectID.
-
getOrigObjectIDBytes
public com.google.protobuf.ByteString getOrigObjectIDBytes()
string origObjectID = 5;- Specified by:
getOrigObjectIDBytesin 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:
getRootLocationin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- The rootLocation.
-
getRootLocationBytes
public com.google.protobuf.ByteString getRootLocationBytes()
string rootLocation = 6;- Specified by:
getRootLocationBytesin 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:
getOriginLocationin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- The originLocation.
-
getOriginLocationBytes
public com.google.protobuf.ByteString getOriginLocationBytes()
string originLocation = 7;- Specified by:
getOriginLocationBytesin 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:
getReplicaLocationsListin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- A list containing the replicaLocations.
-
getReplicaLocationsCount
public int getReplicaLocationsCount()
repeated string replicaLocations = 8;- Specified by:
getReplicaLocationsCountin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- The count of replicaLocations.
-
getReplicaLocations
public String getReplicaLocations(int index)
repeated string replicaLocations = 8;- Specified by:
getReplicaLocationsin 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:
getReplicaLocationsBytesin 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:
getAliasin interfaceCommonMessages.DataClayObjectMetaDataOrBuilder- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 9;- Specified by:
getAliasBytesin 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:
getIsReadOnlyin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
mergeUnknownFields
public final CommonMessages.DataClayObjectMetaData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.DataClayObjectMetaData.Builder>
-
-