Package org.tensorflow.distruntime
Class MakeCallableRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
- org.tensorflow.distruntime.MakeCallableRequest.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,MakeCallableRequestOrBuilder
- Enclosing class:
- MakeCallableRequest
public static final class MakeCallableRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder> implements MakeCallableRequestOrBuilder
Protobuf typetensorflow.MakeCallableRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MakeCallableRequest.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MakeCallableRequestbuild()MakeCallableRequestbuildPartial()MakeCallableRequest.Builderclear()MakeCallableRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)MakeCallableRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)MakeCallableRequest.BuilderclearOptions()Options that define the behavior of the created callable.MakeCallableRequest.BuilderclearSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.MakeCallableRequest.Builderclone()MakeCallableRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()CallableOptionsgetOptions()Options that define the behavior of the created callable.CallableOptions.BuildergetOptionsBuilder()Options that define the behavior of the created callable.CallableOptionsOrBuildergetOptionsOrBuilder()Options that define the behavior of the created callable.StringgetSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.booleanhasOptions()Options that define the behavior of the created callable.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MakeCallableRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)MakeCallableRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)MakeCallableRequest.BuildermergeFrom(MakeCallableRequest other)MakeCallableRequest.BuildermergeOptions(CallableOptions value)Options that define the behavior of the created callable.MakeCallableRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)MakeCallableRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MakeCallableRequest.BuildersetOptions(CallableOptions value)Options that define the behavior of the created callable.MakeCallableRequest.BuildersetOptions(CallableOptions.Builder builderForValue)Options that define the behavior of the created callable.MakeCallableRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MakeCallableRequest.BuildersetSessionHandle(String value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.MakeCallableRequest.BuildersetSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.MakeCallableRequest.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.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 org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
clear
public MakeCallableRequest.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
getDefaultInstanceForType
public MakeCallableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MakeCallableRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MakeCallableRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MakeCallableRequest.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
setField
public MakeCallableRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
clearField
public MakeCallableRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
clearOneof
public MakeCallableRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
setRepeatedField
public MakeCallableRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
addRepeatedField
public MakeCallableRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
mergeFrom
public MakeCallableRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MakeCallableRequest.Builder>
-
mergeFrom
public MakeCallableRequest.Builder mergeFrom(MakeCallableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
mergeFrom
public MakeCallableRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MakeCallableRequest.Builder>- Throws:
IOException
-
getSessionHandle
public String getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Specified by:
getSessionHandlein interfaceMakeCallableRequestOrBuilder- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Specified by:
getSessionHandleBytesin interfaceMakeCallableRequestOrBuilder- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public MakeCallableRequest.Builder setSessionHandle(String value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Parameters:
value- The sessionHandle to set.- Returns:
- This builder for chaining.
-
clearSessionHandle
public MakeCallableRequest.Builder clearSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Returns:
- This builder for chaining.
-
setSessionHandleBytes
public MakeCallableRequest.Builder setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Parameters:
value- The bytes for sessionHandle to set.- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;- Specified by:
hasOptionsin interfaceMakeCallableRequestOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public CallableOptions getOptions()
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;- Specified by:
getOptionsin interfaceMakeCallableRequestOrBuilder- Returns:
- The options.
-
setOptions
public MakeCallableRequest.Builder setOptions(CallableOptions value)
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;
-
setOptions
public MakeCallableRequest.Builder setOptions(CallableOptions.Builder builderForValue)
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;
-
mergeOptions
public MakeCallableRequest.Builder mergeOptions(CallableOptions value)
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;
-
clearOptions
public MakeCallableRequest.Builder clearOptions()
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;
-
getOptionsBuilder
public CallableOptions.Builder getOptionsBuilder()
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;
-
getOptionsOrBuilder
public CallableOptionsOrBuilder getOptionsOrBuilder()
Options that define the behavior of the created callable.
.tensorflow.CallableOptions options = 2;- Specified by:
getOptionsOrBuilderin interfaceMakeCallableRequestOrBuilder
-
setUnknownFields
public final MakeCallableRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
mergeUnknownFields
public final MakeCallableRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MakeCallableRequest.Builder>
-
-