Package org.platanios.tensorflow.proto
Class RunStepResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
- org.platanios.tensorflow.proto.RunStepResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,RunStepResponseOrBuilder
- Enclosing class:
- RunStepResponse
public static final class RunStepResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder> implements RunStepResponseOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.RunStepResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunStepResponse.Builder
addAllTensor(java.lang.Iterable<? extends NamedTensorProto> values)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RunStepResponse.Builder
addTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
addTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
addTensor(NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
addTensor(NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.Builder
addTensorBuilder()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.Builder
addTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse
build()
RunStepResponse
buildPartial()
RunStepResponse.Builder
clear()
RunStepResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RunStepResponse.Builder
clearMetadata()
Returned metadata if requested in the options.RunStepResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RunStepResponse.Builder
clearStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.Builder
clearStatusErrorMessage()
string status_error_message = 4;
RunStepResponse.Builder
clearTensor()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
clone()
RunStepResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RunMetadata
getMetadata()
Returned metadata if requested in the options.RunMetadata.Builder
getMetadataBuilder()
Returned metadata if requested in the options.RunMetadataOrBuilder
getMetadataOrBuilder()
Returned metadata if requested in the options.Code
getStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.int
getStatusCodeValue()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.java.lang.String
getStatusErrorMessage()
string status_error_message = 4;
com.google.protobuf.ByteString
getStatusErrorMessageBytes()
string status_error_message = 4;
NamedTensorProto
getTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProto.Builder
getTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.java.util.List<NamedTensorProto.Builder>
getTensorBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.int
getTensorCount()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.java.util.List<NamedTensorProto>
getTensorList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.NamedTensorProtoOrBuilder
getTensorOrBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.java.util.List<? extends NamedTensorProtoOrBuilder>
getTensorOrBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.boolean
hasMetadata()
Returned metadata if requested in the options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunStepResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunStepResponse.Builder
mergeFrom(com.google.protobuf.Message other)
RunStepResponse.Builder
mergeFrom(RunStepResponse other)
RunStepResponse.Builder
mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.RunStepResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RunStepResponse.Builder
removeTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RunStepResponse.Builder
setMetadata(RunMetadata value)
Returned metadata if requested in the options.RunStepResponse.Builder
setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.RunStepResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
RunStepResponse.Builder
setStatusCode(Code value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.Builder
setStatusCodeValue(int value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.RunStepResponse.Builder
setStatusErrorMessage(java.lang.String value)
string status_error_message = 4;
RunStepResponse.Builder
setStatusErrorMessageBytes(com.google.protobuf.ByteString value)
string status_error_message = 4;
RunStepResponse.Builder
setTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.Builder
setTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.RunStepResponse.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<RunStepResponse.Builder>
-
clear
public RunStepResponse.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<RunStepResponse.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<RunStepResponse.Builder>
-
getDefaultInstanceForType
public RunStepResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RunStepResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RunStepResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RunStepResponse.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<RunStepResponse.Builder>
-
setField
public RunStepResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
clearField
public RunStepResponse.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<RunStepResponse.Builder>
-
clearOneof
public RunStepResponse.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<RunStepResponse.Builder>
-
setRepeatedField
public RunStepResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
addRepeatedField
public RunStepResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.Builder mergeFrom(RunStepResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
mergeFrom
public RunStepResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<RunStepResponse.Builder>
- Throws:
java.io.IOException
-
getTensorList
public java.util.List<NamedTensorProto> getTensorList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
- Specified by:
getTensorList
in interfaceRunStepResponseOrBuilder
-
getTensorCount
public int getTensorCount()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
- Specified by:
getTensorCount
in interfaceRunStepResponseOrBuilder
-
getTensor
public NamedTensorProto getTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
- Specified by:
getTensor
in interfaceRunStepResponseOrBuilder
-
setTensor
public RunStepResponse.Builder setTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
setTensor
public RunStepResponse.Builder setTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addTensor
public RunStepResponse.Builder addTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addAllTensor
public RunStepResponse.Builder addAllTensor(java.lang.Iterable<? extends NamedTensorProto> values)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
clearTensor
public RunStepResponse.Builder clearTensor()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
removeTensor
public RunStepResponse.Builder removeTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
getTensorBuilder
public NamedTensorProto.Builder getTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
getTensorOrBuilder
public NamedTensorProtoOrBuilder getTensorOrBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
- Specified by:
getTensorOrBuilder
in interfaceRunStepResponseOrBuilder
-
getTensorOrBuilderList
public java.util.List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
- Specified by:
getTensorOrBuilderList
in interfaceRunStepResponseOrBuilder
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
getTensorBuilderList
public java.util.List<NamedTensorProto.Builder> getTensorBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.
repeated .org.platanios.tensorflow.proto.NamedTensorProto tensor = 1;
-
hasMetadata
public boolean hasMetadata()
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
- Specified by:
hasMetadata
in interfaceRunStepResponseOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public RunMetadata getMetadata()
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
- Specified by:
getMetadata
in interfaceRunStepResponseOrBuilder
- Returns:
- The metadata.
-
setMetadata
public RunStepResponse.Builder setMetadata(RunMetadata value)
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
-
setMetadata
public RunStepResponse.Builder setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
-
mergeMetadata
public RunStepResponse.Builder mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
-
clearMetadata
public RunStepResponse.Builder clearMetadata()
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
-
getMetadataBuilder
public RunMetadata.Builder getMetadataBuilder()
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
-
getMetadataOrBuilder
public RunMetadataOrBuilder getMetadataOrBuilder()
Returned metadata if requested in the options.
.org.platanios.tensorflow.proto.RunMetadata metadata = 2;
- Specified by:
getMetadataOrBuilder
in interfaceRunStepResponseOrBuilder
-
getStatusCodeValue
public int getStatusCodeValue()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.org.platanios.tensorflow.proto.error.Code status_code = 3;
- Specified by:
getStatusCodeValue
in interfaceRunStepResponseOrBuilder
- Returns:
- The enum numeric value on the wire for statusCode.
-
setStatusCodeValue
public RunStepResponse.Builder setStatusCodeValue(int value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.org.platanios.tensorflow.proto.error.Code status_code = 3;
- Parameters:
value
- The enum numeric value on the wire for statusCode to set.- Returns:
- This builder for chaining.
-
getStatusCode
public Code getStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.org.platanios.tensorflow.proto.error.Code status_code = 3;
- Specified by:
getStatusCode
in interfaceRunStepResponseOrBuilder
- Returns:
- The statusCode.
-
setStatusCode
public RunStepResponse.Builder setStatusCode(Code value)
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.org.platanios.tensorflow.proto.error.Code status_code = 3;
- Parameters:
value
- The statusCode to set.- Returns:
- This builder for chaining.
-
clearStatusCode
public RunStepResponse.Builder clearStatusCode()
If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.
.org.platanios.tensorflow.proto.error.Code status_code = 3;
- Returns:
- This builder for chaining.
-
getStatusErrorMessage
public java.lang.String getStatusErrorMessage()
string status_error_message = 4;
- Specified by:
getStatusErrorMessage
in interfaceRunStepResponseOrBuilder
- Returns:
- The statusErrorMessage.
-
getStatusErrorMessageBytes
public com.google.protobuf.ByteString getStatusErrorMessageBytes()
string status_error_message = 4;
- Specified by:
getStatusErrorMessageBytes
in interfaceRunStepResponseOrBuilder
- Returns:
- The bytes for statusErrorMessage.
-
setStatusErrorMessage
public RunStepResponse.Builder setStatusErrorMessage(java.lang.String value)
string status_error_message = 4;
- Parameters:
value
- The statusErrorMessage to set.- Returns:
- This builder for chaining.
-
clearStatusErrorMessage
public RunStepResponse.Builder clearStatusErrorMessage()
string status_error_message = 4;
- Returns:
- This builder for chaining.
-
setStatusErrorMessageBytes
public RunStepResponse.Builder setStatusErrorMessageBytes(com.google.protobuf.ByteString value)
string status_error_message = 4;
- Parameters:
value
- The bytes for statusErrorMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunStepResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
mergeUnknownFields
public final RunStepResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunStepResponse.Builder>
-
-