Package tensorflow
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>
tensorflow.SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder
- Enclosing class:
SavedObjectGraphOuterClass.SavedBareConcreteFunction
public static final class SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder
extends com.google.protobuf.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.addArgumentKeywordsBytes(com.google.protobuf.ByteString value) A sequence of unique strings, one per Tensor argument.addRepeatedField(com.google.protobuf.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.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The spec of the function that this ConcreteFunction is traced from.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()longThe prefix of `argument_keywords` which may be identified by position.getArgumentKeywords(int index) A sequence of unique strings, one per Tensor argument.com.google.protobuf.ByteStringgetArgumentKeywordsBytes(int index) A sequence of unique strings, one per Tensor argument.intA sequence of unique strings, one per Tensor argument.com.google.protobuf.ProtocolStringListA sequence of unique strings, one per Tensor argument.Identifies a SavedConcreteFunction.com.google.protobuf.ByteStringIdentifies a SavedConcreteFunction.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The spec of the function that this ConcreteFunction is traced from.mergeUnknownFields(com.google.protobuf.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.setConcreteFunctionNameBytes(com.google.protobuf.ByteString value) Identifies a SavedConcreteFunction.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(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
setField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
clearField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
clearOneof
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
setRepeatedField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
addRepeatedField
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>- Throws:
IOException
-
getConcreteFunctionName
Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Specified by:
getConcreteFunctionNamein interfaceSavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder- Returns:
- The concreteFunctionName.
-
getConcreteFunctionNameBytes
public com.google.protobuf.ByteString 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(com.google.protobuf.ByteString value) Identifies a SavedConcreteFunction.
string concrete_function_name = 1;- Parameters:
value- The bytes for concreteFunctionName to set.- Returns:
- This builder for chaining.
-
getArgumentKeywordsList
public com.google.protobuf.ProtocolStringList 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
public com.google.protobuf.ByteString getArgumentKeywordsBytes(int index) 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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-
mergeUnknownFields
public final SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedBareConcreteFunction.Builder>
-