Package org.platanios.tensorflow.proto
Class SavedObjectGraphOuterClass.FunctionSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
- org.platanios.tensorflow.proto.SavedObjectGraphOuterClass.FunctionSpec.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
,SavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Enclosing class:
- SavedObjectGraphOuterClass.FunctionSpec
public static final class SavedObjectGraphOuterClass.FunctionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder> implements SavedObjectGraphOuterClass.FunctionSpecOrBuilder
Represents `FunctionSpec` used in `Function`. This represents a function that has been wrapped as a TensorFlow `Function`.
Protobuf typeorg.platanios.tensorflow.proto.FunctionSpec
-
-
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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
clear
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
getDefaultInstanceForType
public SavedObjectGraphOuterClass.FunctionSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SavedObjectGraphOuterClass.FunctionSpec build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SavedObjectGraphOuterClass.FunctionSpec buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
setField
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
clearField
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
clearOneof
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
setRepeatedField
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
addRepeatedField
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.FunctionSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.FunctionSpec.Builder mergeFrom(SavedObjectGraphOuterClass.FunctionSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.FunctionSpec.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<SavedObjectGraphOuterClass.FunctionSpec.Builder>
- Throws:
java.io.IOException
-
hasFullargspec
public boolean hasFullargspec()
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
- Specified by:
hasFullargspec
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Returns:
- Whether the fullargspec field is set.
-
getFullargspec
public Struct.StructuredValue getFullargspec()
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
- Specified by:
getFullargspec
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Returns:
- The fullargspec.
-
setFullargspec
public SavedObjectGraphOuterClass.FunctionSpec.Builder setFullargspec(Struct.StructuredValue value)
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
-
setFullargspec
public SavedObjectGraphOuterClass.FunctionSpec.Builder setFullargspec(Struct.StructuredValue.Builder builderForValue)
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
-
mergeFullargspec
public SavedObjectGraphOuterClass.FunctionSpec.Builder mergeFullargspec(Struct.StructuredValue value)
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
-
clearFullargspec
public SavedObjectGraphOuterClass.FunctionSpec.Builder clearFullargspec()
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
-
getFullargspecBuilder
public Struct.StructuredValue.Builder getFullargspecBuilder()
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
-
getFullargspecOrBuilder
public Struct.StructuredValueOrBuilder getFullargspecOrBuilder()
Full arg spec from inspect.getfullargspec().
.org.platanios.tensorflow.proto.StructuredValue fullargspec = 1;
- Specified by:
getFullargspecOrBuilder
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
-
getIsMethod
public boolean getIsMethod()
Whether this represents a class method.
bool is_method = 2;
- Specified by:
getIsMethod
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Returns:
- The isMethod.
-
setIsMethod
public SavedObjectGraphOuterClass.FunctionSpec.Builder setIsMethod(boolean value)
Whether this represents a class method.
bool is_method = 2;
- Parameters:
value
- The isMethod to set.- Returns:
- This builder for chaining.
-
clearIsMethod
public SavedObjectGraphOuterClass.FunctionSpec.Builder clearIsMethod()
Whether this represents a class method.
bool is_method = 2;
- Returns:
- This builder for chaining.
-
hasInputSignature
public boolean hasInputSignature()
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
- Specified by:
hasInputSignature
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Returns:
- Whether the inputSignature field is set.
-
getInputSignature
public Struct.StructuredValue getInputSignature()
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
- Specified by:
getInputSignature
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
- Returns:
- The inputSignature.
-
setInputSignature
public SavedObjectGraphOuterClass.FunctionSpec.Builder setInputSignature(Struct.StructuredValue value)
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
-
setInputSignature
public SavedObjectGraphOuterClass.FunctionSpec.Builder setInputSignature(Struct.StructuredValue.Builder builderForValue)
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
-
mergeInputSignature
public SavedObjectGraphOuterClass.FunctionSpec.Builder mergeInputSignature(Struct.StructuredValue value)
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
-
clearInputSignature
public SavedObjectGraphOuterClass.FunctionSpec.Builder clearInputSignature()
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
-
getInputSignatureBuilder
public Struct.StructuredValue.Builder getInputSignatureBuilder()
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
-
getInputSignatureOrBuilder
public Struct.StructuredValueOrBuilder getInputSignatureOrBuilder()
The input signature, if specified.
.org.platanios.tensorflow.proto.StructuredValue input_signature = 5;
- Specified by:
getInputSignatureOrBuilder
in interfaceSavedObjectGraphOuterClass.FunctionSpecOrBuilder
-
setUnknownFields
public final SavedObjectGraphOuterClass.FunctionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
mergeUnknownFields
public final SavedObjectGraphOuterClass.FunctionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.FunctionSpec.Builder>
-
-