Class DataserviceMessages.NewReplicaResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.NewReplicaResponse.Builder>
-
- es.bsc.dataclay.communication.grpc.messages.dataservice.DataserviceMessages.NewReplicaResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DataserviceMessages.NewReplicaResponseOrBuilder
,Cloneable
- Enclosing class:
- DataserviceMessages.NewReplicaResponse
public static final class DataserviceMessages.NewReplicaResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.NewReplicaResponse.Builder> implements DataserviceMessages.NewReplicaResponseOrBuilder
Protobuf typedataclay.communication.grpc.dataservice.NewReplicaResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataserviceMessages.NewReplicaResponse.Builder
addAllReplicatedObjects(Iterable<String> values)
repeated string replicatedObjects = 1;
DataserviceMessages.NewReplicaResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataserviceMessages.NewReplicaResponse.Builder
addReplicatedObjects(String value)
repeated string replicatedObjects = 1;
DataserviceMessages.NewReplicaResponse.Builder
addReplicatedObjectsBytes(com.google.protobuf.ByteString value)
repeated string replicatedObjects = 1;
DataserviceMessages.NewReplicaResponse
build()
DataserviceMessages.NewReplicaResponse
buildPartial()
DataserviceMessages.NewReplicaResponse.Builder
clear()
DataserviceMessages.NewReplicaResponse.Builder
clearExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
DataserviceMessages.NewReplicaResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataserviceMessages.NewReplicaResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataserviceMessages.NewReplicaResponse.Builder
clearReplicatedObjects()
repeated string replicatedObjects = 1;
DataserviceMessages.NewReplicaResponse.Builder
clone()
DataserviceMessages.NewReplicaResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CommonMessages.ExceptionInfo
getExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
CommonMessages.ExceptionInfo.Builder
getExcInfoBuilder()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
CommonMessages.ExceptionInfoOrBuilder
getExcInfoOrBuilder()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
String
getReplicatedObjects(int index)
repeated string replicatedObjects = 1;
com.google.protobuf.ByteString
getReplicatedObjectsBytes(int index)
repeated string replicatedObjects = 1;
int
getReplicatedObjectsCount()
repeated string replicatedObjects = 1;
com.google.protobuf.ProtocolStringList
getReplicatedObjectsList()
repeated string replicatedObjects = 1;
boolean
hasExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DataserviceMessages.NewReplicaResponse.Builder
mergeExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
DataserviceMessages.NewReplicaResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataserviceMessages.NewReplicaResponse.Builder
mergeFrom(com.google.protobuf.Message other)
DataserviceMessages.NewReplicaResponse.Builder
mergeFrom(DataserviceMessages.NewReplicaResponse other)
DataserviceMessages.NewReplicaResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataserviceMessages.NewReplicaResponse.Builder
setExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
DataserviceMessages.NewReplicaResponse.Builder
setExcInfo(CommonMessages.ExceptionInfo.Builder builderForValue)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
DataserviceMessages.NewReplicaResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataserviceMessages.NewReplicaResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataserviceMessages.NewReplicaResponse.Builder
setReplicatedObjects(int index, String value)
repeated string replicatedObjects = 1;
DataserviceMessages.NewReplicaResponse.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<DataserviceMessages.NewReplicaResponse.Builder>
-
clear
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
getDefaultInstanceForType
public DataserviceMessages.NewReplicaResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataserviceMessages.NewReplicaResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataserviceMessages.NewReplicaResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
setField
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
clearField
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
clearOneof
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
setRepeatedField
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
addRepeatedField
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
mergeFrom
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
mergeFrom
public DataserviceMessages.NewReplicaResponse.Builder mergeFrom(DataserviceMessages.NewReplicaResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.NewReplicaResponse.Builder>
-
mergeFrom
public DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
- Throws:
IOException
-
getReplicatedObjectsList
public com.google.protobuf.ProtocolStringList getReplicatedObjectsList()
repeated string replicatedObjects = 1;
- Specified by:
getReplicatedObjectsList
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Returns:
- A list containing the replicatedObjects.
-
getReplicatedObjectsCount
public int getReplicatedObjectsCount()
repeated string replicatedObjects = 1;
- Specified by:
getReplicatedObjectsCount
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Returns:
- The count of replicatedObjects.
-
getReplicatedObjects
public String getReplicatedObjects(int index)
repeated string replicatedObjects = 1;
- Specified by:
getReplicatedObjects
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The replicatedObjects at the given index.
-
getReplicatedObjectsBytes
public com.google.protobuf.ByteString getReplicatedObjectsBytes(int index)
repeated string replicatedObjects = 1;
- Specified by:
getReplicatedObjectsBytes
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the replicatedObjects at the given index.
-
setReplicatedObjects
public DataserviceMessages.NewReplicaResponse.Builder setReplicatedObjects(int index, String value)
repeated string replicatedObjects = 1;
- Parameters:
index
- The index to set the value at.value
- The replicatedObjects to set.- Returns:
- This builder for chaining.
-
addReplicatedObjects
public DataserviceMessages.NewReplicaResponse.Builder addReplicatedObjects(String value)
repeated string replicatedObjects = 1;
- Parameters:
value
- The replicatedObjects to add.- Returns:
- This builder for chaining.
-
addAllReplicatedObjects
public DataserviceMessages.NewReplicaResponse.Builder addAllReplicatedObjects(Iterable<String> values)
repeated string replicatedObjects = 1;
- Parameters:
values
- The replicatedObjects to add.- Returns:
- This builder for chaining.
-
clearReplicatedObjects
public DataserviceMessages.NewReplicaResponse.Builder clearReplicatedObjects()
repeated string replicatedObjects = 1;
- Returns:
- This builder for chaining.
-
addReplicatedObjectsBytes
public DataserviceMessages.NewReplicaResponse.Builder addReplicatedObjectsBytes(com.google.protobuf.ByteString value)
repeated string replicatedObjects = 1;
- Parameters:
value
- The bytes of the replicatedObjects to add.- Returns:
- This builder for chaining.
-
hasExcInfo
public boolean hasExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
- Specified by:
hasExcInfo
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Returns:
- Whether the excInfo field is set.
-
getExcInfo
public CommonMessages.ExceptionInfo getExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
- Specified by:
getExcInfo
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
- Returns:
- The excInfo.
-
setExcInfo
public DataserviceMessages.NewReplicaResponse.Builder setExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
setExcInfo
public DataserviceMessages.NewReplicaResponse.Builder setExcInfo(CommonMessages.ExceptionInfo.Builder builderForValue)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
mergeExcInfo
public DataserviceMessages.NewReplicaResponse.Builder mergeExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
clearExcInfo
public DataserviceMessages.NewReplicaResponse.Builder clearExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
getExcInfoBuilder
public CommonMessages.ExceptionInfo.Builder getExcInfoBuilder()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
getExcInfoOrBuilder
public CommonMessages.ExceptionInfoOrBuilder getExcInfoOrBuilder()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
- Specified by:
getExcInfoOrBuilder
in interfaceDataserviceMessages.NewReplicaResponseOrBuilder
-
setUnknownFields
public final DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
mergeUnknownFields
public final DataserviceMessages.NewReplicaResponse.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.NewReplicaResponse.Builder>
-
-