Class DataserviceMessages.GetRetainedReferencesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.GetRetainedReferencesResponse.Builder>
-
- es.bsc.dataclay.communication.grpc.messages.dataservice.DataserviceMessages.GetRetainedReferencesResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DataserviceMessages.GetRetainedReferencesResponseOrBuilder
,Cloneable
- Enclosing class:
- DataserviceMessages.GetRetainedReferencesResponse
public static final class DataserviceMessages.GetRetainedReferencesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.GetRetainedReferencesResponse.Builder> implements DataserviceMessages.GetRetainedReferencesResponseOrBuilder
Protobuf typedataclay.communication.grpc.dataservice.GetRetainedReferencesResponse
-
-
Method Summary
-
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.GetRetainedReferencesResponse.Builder>
-
clear
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
getDefaultInstanceForType
public DataserviceMessages.GetRetainedReferencesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataserviceMessages.GetRetainedReferencesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataserviceMessages.GetRetainedReferencesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
setField
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
clearField
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
clearOneof
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
setRepeatedField
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
addRepeatedField
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
mergeFrom
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
mergeFrom
public DataserviceMessages.GetRetainedReferencesResponse.Builder mergeFrom(DataserviceMessages.GetRetainedReferencesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataserviceMessages.GetRetainedReferencesResponse.Builder>
-
mergeFrom
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
- Throws:
IOException
-
getRetainedReferencesList
public com.google.protobuf.ProtocolStringList getRetainedReferencesList()
repeated string retainedReferences = 1;
- Specified by:
getRetainedReferencesList
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Returns:
- A list containing the retainedReferences.
-
getRetainedReferencesCount
public int getRetainedReferencesCount()
repeated string retainedReferences = 1;
- Specified by:
getRetainedReferencesCount
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Returns:
- The count of retainedReferences.
-
getRetainedReferences
public String getRetainedReferences(int index)
repeated string retainedReferences = 1;
- Specified by:
getRetainedReferences
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The retainedReferences at the given index.
-
getRetainedReferencesBytes
public com.google.protobuf.ByteString getRetainedReferencesBytes(int index)
repeated string retainedReferences = 1;
- Specified by:
getRetainedReferencesBytes
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the retainedReferences at the given index.
-
setRetainedReferences
public DataserviceMessages.GetRetainedReferencesResponse.Builder setRetainedReferences(int index, String value)
repeated string retainedReferences = 1;
- Parameters:
index
- The index to set the value at.value
- The retainedReferences to set.- Returns:
- This builder for chaining.
-
addRetainedReferences
public DataserviceMessages.GetRetainedReferencesResponse.Builder addRetainedReferences(String value)
repeated string retainedReferences = 1;
- Parameters:
value
- The retainedReferences to add.- Returns:
- This builder for chaining.
-
addAllRetainedReferences
public DataserviceMessages.GetRetainedReferencesResponse.Builder addAllRetainedReferences(Iterable<String> values)
repeated string retainedReferences = 1;
- Parameters:
values
- The retainedReferences to add.- Returns:
- This builder for chaining.
-
clearRetainedReferences
public DataserviceMessages.GetRetainedReferencesResponse.Builder clearRetainedReferences()
repeated string retainedReferences = 1;
- Returns:
- This builder for chaining.
-
addRetainedReferencesBytes
public DataserviceMessages.GetRetainedReferencesResponse.Builder addRetainedReferencesBytes(com.google.protobuf.ByteString value)
repeated string retainedReferences = 1;
- Parameters:
value
- The bytes of the retainedReferences to add.- Returns:
- This builder for chaining.
-
hasExcInfo
public boolean hasExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
- Specified by:
hasExcInfo
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Returns:
- Whether the excInfo field is set.
-
getExcInfo
public CommonMessages.ExceptionInfo getExcInfo()
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
- Specified by:
getExcInfo
in interfaceDataserviceMessages.GetRetainedReferencesResponseOrBuilder
- Returns:
- The excInfo.
-
setExcInfo
public DataserviceMessages.GetRetainedReferencesResponse.Builder setExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
setExcInfo
public DataserviceMessages.GetRetainedReferencesResponse.Builder setExcInfo(CommonMessages.ExceptionInfo.Builder builderForValue)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
mergeExcInfo
public DataserviceMessages.GetRetainedReferencesResponse.Builder mergeExcInfo(CommonMessages.ExceptionInfo value)
.dataclay.communication.grpc.common.ExceptionInfo excInfo = 2;
-
clearExcInfo
public DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponseOrBuilder
-
setUnknownFields
public final DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
mergeUnknownFields
public final DataserviceMessages.GetRetainedReferencesResponse.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.GetRetainedReferencesResponse.Builder>
-
-