Class TensorSliceProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TensorSliceProto.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<TensorSliceProto.Builder>
org.tensorflow.proto.TensorSliceProto.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, TensorSliceProtoOrBuilder
- Enclosing class:
TensorSliceProto
public static final class TensorSliceProto.Builder
extends GeneratedMessageV3.Builder<TensorSliceProto.Builder>
implements TensorSliceProtoOrBuilder
Can only be interpreted if you know the corresponding TensorShape.Protobuf type
tensorflow.TensorSliceProto-
Method Summary
Modifier and TypeMethodDescriptionaddAllExtent(Iterable<? extends TensorSliceProto.Extent> values) Extent of the slice in all tensor dimensions.addExtent(int index, TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.addExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.addExtent(TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.addExtent(TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.addExtentBuilder(int index) Extent of the slice in all tensor dimensions.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Extent of the slice in all tensor dimensions.clone()static final Descriptors.DescriptorgetExtent(int index) Extent of the slice in all tensor dimensions.getExtentBuilder(int index) Extent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.intExtent of the slice in all tensor dimensions.Extent of the slice in all tensor dimensions.getExtentOrBuilder(int index) Extent of the slice in all tensor dimensions.List<? extends TensorSliceProto.ExtentOrBuilder> Extent of the slice in all tensor dimensions.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(TensorSliceProto other) final TensorSliceProto.BuildermergeUnknownFields(UnknownFieldSet unknownFields) removeExtent(int index) Extent of the slice in all tensor dimensions.setExtent(int index, TensorSliceProto.Extent value) Extent of the slice in all tensor dimensions.setExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions.setField(Descriptors.FieldDescriptor field, Object value) setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) final TensorSliceProto.BuildersetUnknownFields(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
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<TensorSliceProto.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<TensorSliceProto.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
setRepeatedField
public TensorSliceProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<TensorSliceProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeFrom
public TensorSliceProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<TensorSliceProto.Builder>- Throws:
IOException
-
getExtentList
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;- Specified by:
getExtentListin interfaceTensorSliceProtoOrBuilder
-
getExtentCount
public int getExtentCount()Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;- Specified by:
getExtentCountin interfaceTensorSliceProtoOrBuilder
-
getExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;- Specified by:
getExtentin interfaceTensorSliceProtoOrBuilder
-
setExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
setExtent
public TensorSliceProto.Builder setExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addExtent
public TensorSliceProto.Builder addExtent(int index, TensorSliceProto.Extent.Builder builderForValue) Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addAllExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
clearExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
removeExtent
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
getExtentBuilder
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
getExtentOrBuilder
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;- Specified by:
getExtentOrBuilderin interfaceTensorSliceProtoOrBuilder
-
getExtentOrBuilderList
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1;- Specified by:
getExtentOrBuilderListin interfaceTensorSliceProtoOrBuilder
-
addExtentBuilder
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
addExtentBuilder
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
getExtentBuilderList
Extent of the slice in all tensor dimensions. Must have one entry for each of the dimension of the tensor that this slice belongs to. The order of sizes is the same as the order of dimensions in the TensorShape.
repeated .tensorflow.TensorSliceProto.Extent extent = 1; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<TensorSliceProto.Builder>
-