Class SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
org.tensorflow.proto.SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
- Enclosing class:
SavedObjectGraphOuterClass.SavedBareConcreteFunction
public static final class SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
extends GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
implements SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
Protobuf type
tensorflow.SavedBareConcreteFunction-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgumentKeywords(Iterable<String> values) A sequence of unique strings, one per Tensor argument.addArgumentKeywords(String value) A sequence of unique strings, one per Tensor argument.A sequence of unique strings, one per Tensor argument.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The prefix of `argument_keywords` which may be identified by position.A sequence of unique strings, one per Tensor argument.Identifies a SavedConcreteFunction.The spec of the function that this ConcreteFunction is traced from.clone()longThe prefix of `argument_keywords` which may be identified by position.getArgumentKeywords(int index) A sequence of unique strings, one per Tensor argument.getArgumentKeywordsBytes(int index) A sequence of unique strings, one per Tensor argument.intA sequence of unique strings, one per Tensor argument.A sequence of unique strings, one per Tensor argument.Identifies a SavedConcreteFunction.Identifies a SavedConcreteFunction.static final Descriptors.DescriptorThe spec of the function that this ConcreteFunction is traced from.The spec of the function that this ConcreteFunction is traced from.The spec of the function that this ConcreteFunction is traced from.booleanThe spec of the function that this ConcreteFunction is traced from.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) The spec of the function that this ConcreteFunction is traced from.mergeUnknownFields(UnknownFieldSet unknownFields) setAllowedPositionalArguments(long value) The prefix of `argument_keywords` which may be identified by position.setArgumentKeywords(int index, String value) A sequence of unique strings, one per Tensor argument.setConcreteFunctionName(String value) Identifies a SavedConcreteFunction.Identifies a SavedConcreteFunction.setField(Descriptors.FieldDescriptor field, Object value) The spec of the function that this ConcreteFunction is traced from.setFunctionSpec(SavedObjectGraphOuterClass.FunctionSpec.Builder builderForValue) The spec of the function that this ConcreteFunction is traced from.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
setField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
clearField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
clearOneof
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
setRepeatedField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
addRepeatedField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>- Throws:
IOException
-
getConcreteFunctionName
Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Specified by:
getConcreteFunctionNamein interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The concreteFunctionName.
-
getConcreteFunctionNameBytes
Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Specified by:
getConcreteFunctionNameBytesin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The bytes for concreteFunctionName.
-
setConcreteFunctionName
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setConcreteFunctionName(String value) Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Parameters:
value- The concreteFunctionName to set.- Returns:
- This builder for chaining.
-
clearConcreteFunctionName
Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Returns:
- This builder for chaining.
-
setConcreteFunctionNameBytes
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setConcreteFunctionNameBytes(ByteString value) Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Parameters:
value- The bytes for concreteFunctionName to set.- Returns:
- This builder for chaining.
-
getArgumentKeywordsList
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Specified by:
getArgumentKeywordsListin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- A list containing the argumentKeywords.
-
getArgumentKeywordsCount
public int getArgumentKeywordsCount()A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Specified by:
getArgumentKeywordsCountin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The count of argumentKeywords.
-
getArgumentKeywords
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Specified by:
getArgumentKeywordsin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The argumentKeywords at the given index.
-
getArgumentKeywordsBytes
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Specified by:
getArgumentKeywordsBytesin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the argumentKeywords at the given index.
-
setArgumentKeywords
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setArgumentKeywords(int index, String value) A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
index- The index to set the value at.value- The argumentKeywords to set.- Returns:
- This builder for chaining.
-
addArgumentKeywords
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder addArgumentKeywords(String value) A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
value- The argumentKeywords to add.- Returns:
- This builder for chaining.
-
addAllArgumentKeywords
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder addAllArgumentKeywords(Iterable<String> values) A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
values- The argumentKeywords to add.- Returns:
- This builder for chaining.
-
clearArgumentKeywords
A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Returns:
- This builder for chaining.
-
addArgumentKeywordsBytes
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder addArgumentKeywordsBytes(ByteString value) A sequence of unique strings, one per Tensor argument.
repeated string argument_keywords = 2;- Parameters:
value- The bytes of the argumentKeywords to add.- Returns:
- This builder for chaining.
-
getAllowedPositionalArguments
public long getAllowedPositionalArguments()The prefix of `argument_keywords` which may be identified by position.
int64 allowed_positional_arguments = 3;- Specified by:
getAllowedPositionalArgumentsin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The allowedPositionalArguments.
-
setAllowedPositionalArguments
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setAllowedPositionalArguments(long value) The prefix of `argument_keywords` which may be identified by position.
int64 allowed_positional_arguments = 3;- Parameters:
value- The allowedPositionalArguments to set.- Returns:
- This builder for chaining.
-
clearAllowedPositionalArguments
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder clearAllowedPositionalArguments()The prefix of `argument_keywords` which may be identified by position.
int64 allowed_positional_arguments = 3;- Returns:
- This builder for chaining.
-
hasFunctionSpec
public boolean hasFunctionSpec()The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;- Specified by:
hasFunctionSpecin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- Whether the functionSpec field is set.
-
getFunctionSpec
The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;- Specified by:
getFunctionSpecin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The functionSpec.
-
setFunctionSpec
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setFunctionSpec(SavedObjectGraphOuterClass.FunctionSpec value) The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4; -
setFunctionSpec
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setFunctionSpec(SavedObjectGraphOuterClass.FunctionSpec.Builder builderForValue) The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4; -
mergeFunctionSpec
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeFunctionSpec(SavedObjectGraphOuterClass.FunctionSpec value) The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4; -
clearFunctionSpec
The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4; -
getFunctionSpecBuilder
The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4; -
getFunctionSpecOrBuilder
The spec of the function that this ConcreteFunction is traced from. This allows the ConcreteFunction to be called with nest structure inputs. This field may not be populated. If this field is absent, the concrete function can only be called with flat inputs. TODO(b/169361281): support calling saved ConcreteFunction with structured inputs in C++ SavedModel API.
.tensorflow.FunctionSpec function_spec = 4;- Specified by:
getFunctionSpecOrBuilderin interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
-
setUnknownFields
public final SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeUnknownFields
public final SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-