Class CommonMessages.MetaDataInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.MetaDataInfo.Builder>
-
- es.bsc.dataclay.communication.grpc.messages.common.CommonMessages.MetaDataInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CommonMessages.MetaDataInfoOrBuilder
,Cloneable
- Enclosing class:
- CommonMessages.MetaDataInfo
public static final class CommonMessages.MetaDataInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.MetaDataInfo.Builder> implements CommonMessages.MetaDataInfoOrBuilder
Protobuf typedataclay.communication.grpc.common.MetaDataInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonMessages.MetaDataInfo.Builder
addAllLocations(Iterable<String> values)
repeated string locations = 5;
CommonMessages.MetaDataInfo.Builder
addLocations(String value)
repeated string locations = 5;
CommonMessages.MetaDataInfo.Builder
addLocationsBytes(com.google.protobuf.ByteString value)
repeated string locations = 5;
CommonMessages.MetaDataInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommonMessages.MetaDataInfo
build()
CommonMessages.MetaDataInfo
buildPartial()
CommonMessages.MetaDataInfo.Builder
clear()
CommonMessages.MetaDataInfo.Builder
clearAlias()
string alias = 6;
CommonMessages.MetaDataInfo.Builder
clearDatasetID()
string datasetID = 3;
CommonMessages.MetaDataInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommonMessages.MetaDataInfo.Builder
clearIsReadOnly()
bool isReadOnly = 2;
CommonMessages.MetaDataInfo.Builder
clearLocations()
repeated string locations = 5;
CommonMessages.MetaDataInfo.Builder
clearMetaclassID()
string metaclassID = 4;
CommonMessages.MetaDataInfo.Builder
clearObjectID()
string objectID = 1;
CommonMessages.MetaDataInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommonMessages.MetaDataInfo.Builder
clearOwnerID()
string ownerID = 7;
CommonMessages.MetaDataInfo.Builder
clone()
String
getAlias()
string alias = 6;
com.google.protobuf.ByteString
getAliasBytes()
string alias = 6;
String
getDatasetID()
string datasetID = 3;
com.google.protobuf.ByteString
getDatasetIDBytes()
string datasetID = 3;
CommonMessages.MetaDataInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsReadOnly()
bool isReadOnly = 2;
String
getLocations(int index)
repeated string locations = 5;
com.google.protobuf.ByteString
getLocationsBytes(int index)
repeated string locations = 5;
int
getLocationsCount()
repeated string locations = 5;
com.google.protobuf.ProtocolStringList
getLocationsList()
repeated string locations = 5;
String
getMetaclassID()
string metaclassID = 4;
com.google.protobuf.ByteString
getMetaclassIDBytes()
string metaclassID = 4;
String
getObjectID()
string objectID = 1;
com.google.protobuf.ByteString
getObjectIDBytes()
string objectID = 1;
String
getOwnerID()
string ownerID = 7;
com.google.protobuf.ByteString
getOwnerIDBytes()
string ownerID = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommonMessages.MetaDataInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommonMessages.MetaDataInfo.Builder
mergeFrom(com.google.protobuf.Message other)
CommonMessages.MetaDataInfo.Builder
mergeFrom(CommonMessages.MetaDataInfo other)
CommonMessages.MetaDataInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommonMessages.MetaDataInfo.Builder
setAlias(String value)
string alias = 6;
CommonMessages.MetaDataInfo.Builder
setAliasBytes(com.google.protobuf.ByteString value)
string alias = 6;
CommonMessages.MetaDataInfo.Builder
setDatasetID(String value)
string datasetID = 3;
CommonMessages.MetaDataInfo.Builder
setDatasetIDBytes(com.google.protobuf.ByteString value)
string datasetID = 3;
CommonMessages.MetaDataInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommonMessages.MetaDataInfo.Builder
setIsReadOnly(boolean value)
bool isReadOnly = 2;
CommonMessages.MetaDataInfo.Builder
setLocations(int index, String value)
repeated string locations = 5;
CommonMessages.MetaDataInfo.Builder
setMetaclassID(String value)
string metaclassID = 4;
CommonMessages.MetaDataInfo.Builder
setMetaclassIDBytes(com.google.protobuf.ByteString value)
string metaclassID = 4;
CommonMessages.MetaDataInfo.Builder
setObjectID(String value)
string objectID = 1;
CommonMessages.MetaDataInfo.Builder
setObjectIDBytes(com.google.protobuf.ByteString value)
string objectID = 1;
CommonMessages.MetaDataInfo.Builder
setOwnerID(String value)
string ownerID = 7;
CommonMessages.MetaDataInfo.Builder
setOwnerIDBytes(com.google.protobuf.ByteString value)
string ownerID = 7;
CommonMessages.MetaDataInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CommonMessages.MetaDataInfo.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<CommonMessages.MetaDataInfo.Builder>
-
clear
public CommonMessages.MetaDataInfo.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.MetaDataInfo.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.MetaDataInfo.Builder>
-
getDefaultInstanceForType
public CommonMessages.MetaDataInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonMessages.MetaDataInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonMessages.MetaDataInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
setField
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
clearField
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
clearOneof
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
setRepeatedField
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
addRepeatedField
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
mergeFrom
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
mergeFrom
public CommonMessages.MetaDataInfo.Builder mergeFrom(CommonMessages.MetaDataInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonMessages.MetaDataInfo.Builder>
-
mergeFrom
public CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
- Throws:
IOException
-
getObjectID
public String getObjectID()
string objectID = 1;
- Specified by:
getObjectID
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The objectID.
-
getObjectIDBytes
public com.google.protobuf.ByteString getObjectIDBytes()
string objectID = 1;
- Specified by:
getObjectIDBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The bytes for objectID.
-
setObjectID
public CommonMessages.MetaDataInfo.Builder setObjectID(String value)
string objectID = 1;
- Parameters:
value
- The objectID to set.- Returns:
- This builder for chaining.
-
clearObjectID
public CommonMessages.MetaDataInfo.Builder clearObjectID()
string objectID = 1;
- Returns:
- This builder for chaining.
-
setObjectIDBytes
public CommonMessages.MetaDataInfo.Builder setObjectIDBytes(com.google.protobuf.ByteString value)
string objectID = 1;
- Parameters:
value
- The bytes for objectID to set.- Returns:
- This builder for chaining.
-
getIsReadOnly
public boolean getIsReadOnly()
bool isReadOnly = 2;
- Specified by:
getIsReadOnly
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The isReadOnly.
-
setIsReadOnly
public CommonMessages.MetaDataInfo.Builder setIsReadOnly(boolean value)
bool isReadOnly = 2;
- Parameters:
value
- The isReadOnly to set.- Returns:
- This builder for chaining.
-
clearIsReadOnly
public CommonMessages.MetaDataInfo.Builder clearIsReadOnly()
bool isReadOnly = 2;
- Returns:
- This builder for chaining.
-
getDatasetID
public String getDatasetID()
string datasetID = 3;
- Specified by:
getDatasetID
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The datasetID.
-
getDatasetIDBytes
public com.google.protobuf.ByteString getDatasetIDBytes()
string datasetID = 3;
- Specified by:
getDatasetIDBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The bytes for datasetID.
-
setDatasetID
public CommonMessages.MetaDataInfo.Builder setDatasetID(String value)
string datasetID = 3;
- Parameters:
value
- The datasetID to set.- Returns:
- This builder for chaining.
-
clearDatasetID
public CommonMessages.MetaDataInfo.Builder clearDatasetID()
string datasetID = 3;
- Returns:
- This builder for chaining.
-
setDatasetIDBytes
public CommonMessages.MetaDataInfo.Builder setDatasetIDBytes(com.google.protobuf.ByteString value)
string datasetID = 3;
- Parameters:
value
- The bytes for datasetID to set.- Returns:
- This builder for chaining.
-
getMetaclassID
public String getMetaclassID()
string metaclassID = 4;
- Specified by:
getMetaclassID
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The metaclassID.
-
getMetaclassIDBytes
public com.google.protobuf.ByteString getMetaclassIDBytes()
string metaclassID = 4;
- Specified by:
getMetaclassIDBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The bytes for metaclassID.
-
setMetaclassID
public CommonMessages.MetaDataInfo.Builder setMetaclassID(String value)
string metaclassID = 4;
- Parameters:
value
- The metaclassID to set.- Returns:
- This builder for chaining.
-
clearMetaclassID
public CommonMessages.MetaDataInfo.Builder clearMetaclassID()
string metaclassID = 4;
- Returns:
- This builder for chaining.
-
setMetaclassIDBytes
public CommonMessages.MetaDataInfo.Builder setMetaclassIDBytes(com.google.protobuf.ByteString value)
string metaclassID = 4;
- Parameters:
value
- The bytes for metaclassID to set.- Returns:
- This builder for chaining.
-
getLocationsList
public com.google.protobuf.ProtocolStringList getLocationsList()
repeated string locations = 5;
- Specified by:
getLocationsList
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- A list containing the locations.
-
getLocationsCount
public int getLocationsCount()
repeated string locations = 5;
- Specified by:
getLocationsCount
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The count of locations.
-
getLocations
public String getLocations(int index)
repeated string locations = 5;
- Specified by:
getLocations
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
public com.google.protobuf.ByteString getLocationsBytes(int index)
repeated string locations = 5;
- Specified by:
getLocationsBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
setLocations
public CommonMessages.MetaDataInfo.Builder setLocations(int index, String value)
repeated string locations = 5;
- Parameters:
index
- The index to set the value at.value
- The locations to set.- Returns:
- This builder for chaining.
-
addLocations
public CommonMessages.MetaDataInfo.Builder addLocations(String value)
repeated string locations = 5;
- Parameters:
value
- The locations to add.- Returns:
- This builder for chaining.
-
addAllLocations
public CommonMessages.MetaDataInfo.Builder addAllLocations(Iterable<String> values)
repeated string locations = 5;
- Parameters:
values
- The locations to add.- Returns:
- This builder for chaining.
-
clearLocations
public CommonMessages.MetaDataInfo.Builder clearLocations()
repeated string locations = 5;
- Returns:
- This builder for chaining.
-
addLocationsBytes
public CommonMessages.MetaDataInfo.Builder addLocationsBytes(com.google.protobuf.ByteString value)
repeated string locations = 5;
- Parameters:
value
- The bytes of the locations to add.- Returns:
- This builder for chaining.
-
getAlias
public String getAlias()
string alias = 6;
- Specified by:
getAlias
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 6;
- Specified by:
getAliasBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The bytes for alias.
-
setAlias
public CommonMessages.MetaDataInfo.Builder setAlias(String value)
string alias = 6;
- Parameters:
value
- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
public CommonMessages.MetaDataInfo.Builder clearAlias()
string alias = 6;
- Returns:
- This builder for chaining.
-
setAliasBytes
public CommonMessages.MetaDataInfo.Builder setAliasBytes(com.google.protobuf.ByteString value)
string alias = 6;
- Parameters:
value
- The bytes for alias to set.- Returns:
- This builder for chaining.
-
getOwnerID
public String getOwnerID()
string ownerID = 7;
- Specified by:
getOwnerID
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The ownerID.
-
getOwnerIDBytes
public com.google.protobuf.ByteString getOwnerIDBytes()
string ownerID = 7;
- Specified by:
getOwnerIDBytes
in interfaceCommonMessages.MetaDataInfoOrBuilder
- Returns:
- The bytes for ownerID.
-
setOwnerID
public CommonMessages.MetaDataInfo.Builder setOwnerID(String value)
string ownerID = 7;
- Parameters:
value
- The ownerID to set.- Returns:
- This builder for chaining.
-
clearOwnerID
public CommonMessages.MetaDataInfo.Builder clearOwnerID()
string ownerID = 7;
- Returns:
- This builder for chaining.
-
setOwnerIDBytes
public CommonMessages.MetaDataInfo.Builder setOwnerIDBytes(com.google.protobuf.ByteString value)
string ownerID = 7;
- Parameters:
value
- The bytes for ownerID to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
mergeUnknownFields
public final CommonMessages.MetaDataInfo.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.MetaDataInfo.Builder>
-
-