Class DataserviceMessages.DiskCollectRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
- es.bsc.dataclay.communication.grpc.messages.dataservice.DataserviceMessages.DiskCollectRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DataserviceMessages.DiskCollectRequestOrBuilder
,Cloneable
- Enclosing class:
- DataserviceMessages.DiskCollectRequest
public static final class DataserviceMessages.DiskCollectRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder> implements DataserviceMessages.DiskCollectRequestOrBuilder
Protobuf typedataclay.communication.grpc.dataservice.DiskCollectRequest
-
-
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<DataserviceMessages.DiskCollectRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
clear
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
getDefaultInstanceForType
public DataserviceMessages.DiskCollectRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataserviceMessages.DiskCollectRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataserviceMessages.DiskCollectRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
setField
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
clearField
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
clearOneof
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
setRepeatedField
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
addRepeatedField
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
-
mergeFrom
public DataserviceMessages.DiskCollectRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
mergeFrom
public DataserviceMessages.DiskCollectRequest.Builder mergeFrom(DataserviceMessages.DiskCollectRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
mergeFrom
public DataserviceMessages.DiskCollectRequest.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<DataserviceMessages.DiskCollectRequest.Builder>
- Throws:
IOException
-
getEpochNodeID
public String getEpochNodeID()
string epochNodeID = 1;
- Specified by:
getEpochNodeID
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- The epochNodeID.
-
getEpochNodeIDBytes
public com.google.protobuf.ByteString getEpochNodeIDBytes()
string epochNodeID = 1;
- Specified by:
getEpochNodeIDBytes
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- The bytes for epochNodeID.
-
setEpochNodeID
public DataserviceMessages.DiskCollectRequest.Builder setEpochNodeID(String value)
string epochNodeID = 1;
- Parameters:
value
- The epochNodeID to set.- Returns:
- This builder for chaining.
-
clearEpochNodeID
public DataserviceMessages.DiskCollectRequest.Builder clearEpochNodeID()
string epochNodeID = 1;
- Returns:
- This builder for chaining.
-
setEpochNodeIDBytes
public DataserviceMessages.DiskCollectRequest.Builder setEpochNodeIDBytes(com.google.protobuf.ByteString value)
string epochNodeID = 1;
- Parameters:
value
- The bytes for epochNodeID to set.- Returns:
- This builder for chaining.
-
getRingPathList
public com.google.protobuf.ProtocolStringList getRingPathList()
repeated string ringPath = 2;
- Specified by:
getRingPathList
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- A list containing the ringPath.
-
getRingPathCount
public int getRingPathCount()
repeated string ringPath = 2;
- Specified by:
getRingPathCount
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- The count of ringPath.
-
getRingPath
public String getRingPath(int index)
repeated string ringPath = 2;
- Specified by:
getRingPath
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ringPath at the given index.
-
getRingPathBytes
public com.google.protobuf.ByteString getRingPathBytes(int index)
repeated string ringPath = 2;
- Specified by:
getRingPathBytes
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ringPath at the given index.
-
setRingPath
public DataserviceMessages.DiskCollectRequest.Builder setRingPath(int index, String value)
repeated string ringPath = 2;
- Parameters:
index
- The index to set the value at.value
- The ringPath to set.- Returns:
- This builder for chaining.
-
addRingPath
public DataserviceMessages.DiskCollectRequest.Builder addRingPath(String value)
repeated string ringPath = 2;
- Parameters:
value
- The ringPath to add.- Returns:
- This builder for chaining.
-
addAllRingPath
public DataserviceMessages.DiskCollectRequest.Builder addAllRingPath(Iterable<String> values)
repeated string ringPath = 2;
- Parameters:
values
- The ringPath to add.- Returns:
- This builder for chaining.
-
clearRingPath
public DataserviceMessages.DiskCollectRequest.Builder clearRingPath()
repeated string ringPath = 2;
- Returns:
- This builder for chaining.
-
addRingPathBytes
public DataserviceMessages.DiskCollectRequest.Builder addRingPathBytes(com.google.protobuf.ByteString value)
repeated string ringPath = 2;
- Parameters:
value
- The bytes of the ringPath to add.- Returns:
- This builder for chaining.
-
getCandidatesList
public com.google.protobuf.ProtocolStringList getCandidatesList()
repeated string candidates = 3;
- Specified by:
getCandidatesList
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- A list containing the candidates.
-
getCandidatesCount
public int getCandidatesCount()
repeated string candidates = 3;
- Specified by:
getCandidatesCount
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Returns:
- The count of candidates.
-
getCandidates
public String getCandidates(int index)
repeated string candidates = 3;
- Specified by:
getCandidates
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The candidates at the given index.
-
getCandidatesBytes
public com.google.protobuf.ByteString getCandidatesBytes(int index)
repeated string candidates = 3;
- Specified by:
getCandidatesBytes
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the candidates at the given index.
-
setCandidates
public DataserviceMessages.DiskCollectRequest.Builder setCandidates(int index, String value)
repeated string candidates = 3;
- Parameters:
index
- The index to set the value at.value
- The candidates to set.- Returns:
- This builder for chaining.
-
addCandidates
public DataserviceMessages.DiskCollectRequest.Builder addCandidates(String value)
repeated string candidates = 3;
- Parameters:
value
- The candidates to add.- Returns:
- This builder for chaining.
-
addAllCandidates
public DataserviceMessages.DiskCollectRequest.Builder addAllCandidates(Iterable<String> values)
repeated string candidates = 3;
- Parameters:
values
- The candidates to add.- Returns:
- This builder for chaining.
-
clearCandidates
public DataserviceMessages.DiskCollectRequest.Builder clearCandidates()
repeated string candidates = 3;
- Returns:
- This builder for chaining.
-
addCandidatesBytes
public DataserviceMessages.DiskCollectRequest.Builder addCandidatesBytes(com.google.protobuf.ByteString value)
repeated string candidates = 3;
- Parameters:
value
- The bytes of the candidates to add.- Returns:
- This builder for chaining.
-
getRefsToUpdateCount
public int getRefsToUpdateCount()
Description copied from interface:DataserviceMessages.DiskCollectRequestOrBuilder
map<string, int32> refsToUpdate = 4;
- Specified by:
getRefsToUpdateCount
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
containsRefsToUpdate
public boolean containsRefsToUpdate(String key)
map<string, int32> refsToUpdate = 4;
- Specified by:
containsRefsToUpdate
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
getRefsToUpdate
@Deprecated public Map<String,Integer> getRefsToUpdate()
Deprecated.UsegetRefsToUpdateMap()
instead.- Specified by:
getRefsToUpdate
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
getRefsToUpdateMap
public Map<String,Integer> getRefsToUpdateMap()
map<string, int32> refsToUpdate = 4;
- Specified by:
getRefsToUpdateMap
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
getRefsToUpdateOrDefault
public int getRefsToUpdateOrDefault(String key, int defaultValue)
map<string, int32> refsToUpdate = 4;
- Specified by:
getRefsToUpdateOrDefault
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
getRefsToUpdateOrThrow
public int getRefsToUpdateOrThrow(String key)
map<string, int32> refsToUpdate = 4;
- Specified by:
getRefsToUpdateOrThrow
in interfaceDataserviceMessages.DiskCollectRequestOrBuilder
-
clearRefsToUpdate
public DataserviceMessages.DiskCollectRequest.Builder clearRefsToUpdate()
-
removeRefsToUpdate
public DataserviceMessages.DiskCollectRequest.Builder removeRefsToUpdate(String key)
map<string, int32> refsToUpdate = 4;
-
getMutableRefsToUpdate
@Deprecated public Map<String,Integer> getMutableRefsToUpdate()
Deprecated.Use alternate mutation accessors instead.
-
putRefsToUpdate
public DataserviceMessages.DiskCollectRequest.Builder putRefsToUpdate(String key, int value)
map<string, int32> refsToUpdate = 4;
-
putAllRefsToUpdate
public DataserviceMessages.DiskCollectRequest.Builder putAllRefsToUpdate(Map<String,Integer> values)
map<string, int32> refsToUpdate = 4;
-
setUnknownFields
public final DataserviceMessages.DiskCollectRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
mergeUnknownFields
public final DataserviceMessages.DiskCollectRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.DiskCollectRequest.Builder>
-
-