public static final class FunctionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder> implements FunctionSpecOrBuilder
Represents `FunctionSpec` used in `Function`. This represents a function that has been wrapped as a TensorFlow `Function`.Protobuf type
tensorflow.FunctionSpec
Modifier and Type | Method and Description |
---|---|
FunctionSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionSpec |
build() |
FunctionSpec |
buildPartial() |
FunctionSpec.Builder |
clear() |
FunctionSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FunctionSpec.Builder |
clearFullargspec()
Full arg spec from inspect.getfullargspec().
|
FunctionSpec.Builder |
clearInputSignature()
The input signature, if specified.
|
FunctionSpec.Builder |
clearIsMethod()
Whether this represents a class method.
|
FunctionSpec.Builder |
clearJitCompile()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6; |
FunctionSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionSpec.Builder |
clone() |
FunctionSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
StructuredValue |
getFullargspec()
Full arg spec from inspect.getfullargspec().
|
StructuredValue.Builder |
getFullargspecBuilder()
Full arg spec from inspect.getfullargspec().
|
StructuredValueOrBuilder |
getFullargspecOrBuilder()
Full arg spec from inspect.getfullargspec().
|
StructuredValue |
getInputSignature()
The input signature, if specified.
|
StructuredValue.Builder |
getInputSignatureBuilder()
The input signature, if specified.
|
StructuredValueOrBuilder |
getInputSignatureOrBuilder()
The input signature, if specified.
|
boolean |
getIsMethod()
Whether this represents a class method.
|
FunctionSpec.JitCompile |
getJitCompile()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6; |
int |
getJitCompileValue()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6; |
boolean |
hasFullargspec()
Full arg spec from inspect.getfullargspec().
|
boolean |
hasInputSignature()
The input signature, if specified.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FunctionSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionSpec.Builder |
mergeFrom(FunctionSpec other) |
FunctionSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
FunctionSpec.Builder |
mergeFullargspec(StructuredValue value)
Full arg spec from inspect.getfullargspec().
|
FunctionSpec.Builder |
mergeInputSignature(StructuredValue value)
The input signature, if specified.
|
FunctionSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FunctionSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionSpec.Builder |
setFullargspec(StructuredValue.Builder builderForValue)
Full arg spec from inspect.getfullargspec().
|
FunctionSpec.Builder |
setFullargspec(StructuredValue value)
Full arg spec from inspect.getfullargspec().
|
FunctionSpec.Builder |
setInputSignature(StructuredValue.Builder builderForValue)
The input signature, if specified.
|
FunctionSpec.Builder |
setInputSignature(StructuredValue value)
The input signature, if specified.
|
FunctionSpec.Builder |
setIsMethod(boolean value)
Whether this represents a class method.
|
FunctionSpec.Builder |
setJitCompile(FunctionSpec.JitCompile value)
.tensorflow.FunctionSpec.JitCompile jit_compile = 6; |
FunctionSpec.Builder |
setJitCompileValue(int value)
.tensorflow.FunctionSpec.JitCompile jit_compile = 6; |
FunctionSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FunctionSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FunctionSpec build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FunctionSpec buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FunctionSpec.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder mergeFrom(FunctionSpec other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public FunctionSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FunctionSpec.Builder>
IOException
public boolean hasFullargspec()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
hasFullargspec
in interface FunctionSpecOrBuilder
public StructuredValue getFullargspec()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
getFullargspec
in interface FunctionSpecOrBuilder
public FunctionSpec.Builder setFullargspec(StructuredValue value)
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
public FunctionSpec.Builder setFullargspec(StructuredValue.Builder builderForValue)
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
public FunctionSpec.Builder mergeFullargspec(StructuredValue value)
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
public FunctionSpec.Builder clearFullargspec()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
public StructuredValue.Builder getFullargspecBuilder()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
public StructuredValueOrBuilder getFullargspecOrBuilder()
Full arg spec from inspect.getfullargspec().
.tensorflow.StructuredValue fullargspec = 1;
getFullargspecOrBuilder
in interface FunctionSpecOrBuilder
public boolean getIsMethod()
Whether this represents a class method.
bool is_method = 2;
getIsMethod
in interface FunctionSpecOrBuilder
public FunctionSpec.Builder setIsMethod(boolean value)
Whether this represents a class method.
bool is_method = 2;
public FunctionSpec.Builder clearIsMethod()
Whether this represents a class method.
bool is_method = 2;
public boolean hasInputSignature()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
hasInputSignature
in interface FunctionSpecOrBuilder
public StructuredValue getInputSignature()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
getInputSignature
in interface FunctionSpecOrBuilder
public FunctionSpec.Builder setInputSignature(StructuredValue value)
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
public FunctionSpec.Builder setInputSignature(StructuredValue.Builder builderForValue)
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
public FunctionSpec.Builder mergeInputSignature(StructuredValue value)
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
public FunctionSpec.Builder clearInputSignature()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
public StructuredValue.Builder getInputSignatureBuilder()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
public StructuredValueOrBuilder getInputSignatureOrBuilder()
The input signature, if specified.
.tensorflow.StructuredValue input_signature = 5;
getInputSignatureOrBuilder
in interface FunctionSpecOrBuilder
public int getJitCompileValue()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6;
getJitCompileValue
in interface FunctionSpecOrBuilder
public FunctionSpec.Builder setJitCompileValue(int value)
.tensorflow.FunctionSpec.JitCompile jit_compile = 6;
public FunctionSpec.JitCompile getJitCompile()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6;
getJitCompile
in interface FunctionSpecOrBuilder
public FunctionSpec.Builder setJitCompile(FunctionSpec.JitCompile value)
.tensorflow.FunctionSpec.JitCompile jit_compile = 6;
public FunctionSpec.Builder clearJitCompile()
.tensorflow.FunctionSpec.JitCompile jit_compile = 6;
public final FunctionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
public final FunctionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionSpec.Builder>
Copyright © 2015–2022. All rights reserved.