Class FixedLenFeatureProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FixedLenFeatureProto.Builder>
com.google.protobuf.GeneratedMessage.Builder<FixedLenFeatureProto.Builder>
org.tensorflow.proto.FixedLenFeatureProto.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, FixedLenFeatureProtoOrBuilder
- Enclosing class:
FixedLenFeatureProto
public static final class FixedLenFeatureProto.Builder
extends GeneratedMessage.Builder<FixedLenFeatureProto.Builder>
implements FixedLenFeatureProtoOrBuilder
Protobuf type
tensorflow.FixedLenFeatureProto-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().tensorflow.TensorProto default_value = 3;.tensorflow.DataType dtype = 1;.tensorflow.TensorShapeProto shape = 2;string values_output_tensor_name = 4;.tensorflow.TensorProto default_value = 3;.tensorflow.TensorProto default_value = 3;.tensorflow.TensorProto default_value = 3;static final Descriptors.DescriptorgetDtype().tensorflow.DataType dtype = 1;int.tensorflow.DataType dtype = 1;getShape().tensorflow.TensorShapeProto shape = 2;.tensorflow.TensorShapeProto shape = 2;.tensorflow.TensorShapeProto shape = 2;string values_output_tensor_name = 4;string values_output_tensor_name = 4;boolean.tensorflow.TensorProto default_value = 3;booleanhasShape().tensorflow.TensorShapeProto shape = 2;protected GeneratedMessage.FieldAccessorTablefinal booleanmergeDefaultValue(TensorProto value) .tensorflow.TensorProto default_value = 3;mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(FixedLenFeatureProto other) mergeShape(TensorShapeProto value) .tensorflow.TensorShapeProto shape = 2;setDefaultValue(TensorProto value) .tensorflow.TensorProto default_value = 3;setDefaultValue(TensorProto.Builder builderForValue) .tensorflow.TensorProto default_value = 3;.tensorflow.DataType dtype = 1;setDtypeValue(int value) .tensorflow.DataType dtype = 1;setShape(TensorShapeProto value) .tensorflow.TensorShapeProto shape = 2;setShape(TensorShapeProto.Builder builderForValue) .tensorflow.TensorShapeProto shape = 2;setValuesOutputTensorName(String value) string values_output_tensor_name = 4;string values_output_tensor_name = 4;Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<FixedLenFeatureProto.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<FixedLenFeatureProto.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<FixedLenFeatureProto.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
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<FixedLenFeatureProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<FixedLenFeatureProto.Builder>
-
mergeFrom
public FixedLenFeatureProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<FixedLenFeatureProto.Builder>- Throws:
IOException
-
getDtypeValue
public int getDtypeValue().tensorflow.DataType dtype = 1;- Specified by:
getDtypeValuein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
.tensorflow.DataType dtype = 1;- Parameters:
value- The enum numeric value on the wire for dtype to set.- Returns:
- This builder for chaining.
-
getDtype
.tensorflow.DataType dtype = 1;- Specified by:
getDtypein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The dtype.
-
setDtype
.tensorflow.DataType dtype = 1;- Parameters:
value- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
.tensorflow.DataType dtype = 1;- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape().tensorflow.TensorShapeProto shape = 2;- Specified by:
hasShapein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
.tensorflow.TensorShapeProto shape = 2;- Specified by:
getShapein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The shape.
-
setShape
.tensorflow.TensorShapeProto shape = 2; -
setShape
.tensorflow.TensorShapeProto shape = 2; -
mergeShape
.tensorflow.TensorShapeProto shape = 2; -
clearShape
.tensorflow.TensorShapeProto shape = 2; -
getShapeBuilder
.tensorflow.TensorShapeProto shape = 2; -
getShapeOrBuilder
.tensorflow.TensorShapeProto shape = 2;- Specified by:
getShapeOrBuilderin interfaceFixedLenFeatureProtoOrBuilder
-
hasDefaultValue
public boolean hasDefaultValue().tensorflow.TensorProto default_value = 3;- Specified by:
hasDefaultValuein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
.tensorflow.TensorProto default_value = 3;- Specified by:
getDefaultValuein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The defaultValue.
-
setDefaultValue
.tensorflow.TensorProto default_value = 3; -
setDefaultValue
.tensorflow.TensorProto default_value = 3; -
mergeDefaultValue
.tensorflow.TensorProto default_value = 3; -
clearDefaultValue
.tensorflow.TensorProto default_value = 3; -
getDefaultValueBuilder
.tensorflow.TensorProto default_value = 3; -
getDefaultValueOrBuilder
.tensorflow.TensorProto default_value = 3;- Specified by:
getDefaultValueOrBuilderin interfaceFixedLenFeatureProtoOrBuilder
-
getValuesOutputTensorName
string values_output_tensor_name = 4;- Specified by:
getValuesOutputTensorNamein interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The valuesOutputTensorName.
-
getValuesOutputTensorNameBytes
string values_output_tensor_name = 4;- Specified by:
getValuesOutputTensorNameBytesin interfaceFixedLenFeatureProtoOrBuilder- Returns:
- The bytes for valuesOutputTensorName.
-
setValuesOutputTensorName
string values_output_tensor_name = 4;- Parameters:
value- The valuesOutputTensorName to set.- Returns:
- This builder for chaining.
-
clearValuesOutputTensorName
string values_output_tensor_name = 4;- Returns:
- This builder for chaining.
-
setValuesOutputTensorNameBytes
string values_output_tensor_name = 4;- Parameters:
value- The bytes for valuesOutputTensorName to set.- Returns:
- This builder for chaining.
-