public static final class TensorShapeProto.Dim.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder> implements TensorShapeProto.DimOrBuilder
One dimension of the tensor.Protobuf type
tensorflow.TensorShapeProto.Dim| Modifier and Type | Method and Description |
|---|---|
TensorShapeProto.Dim.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
TensorShapeProto.Dim |
build() |
TensorShapeProto.Dim |
buildPartial() |
TensorShapeProto.Dim.Builder |
clear() |
TensorShapeProto.Dim.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
TensorShapeProto.Dim.Builder |
clearName()
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Dim.Builder |
clearSize()
Size of the tensor in that dimension.
|
TensorShapeProto.Dim.Builder |
clone() |
TensorShapeProto.Dim |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Optional name of the tensor dimension.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Optional name of the tensor dimension.
|
long |
getSize()
Size of the tensor in that dimension.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorShapeProto.Dim.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
TensorShapeProto.Dim.Builder |
mergeFrom(TensorShapeProto.Dim other) |
TensorShapeProto.Dim.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
TensorShapeProto.Dim.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
TensorShapeProto.Dim.Builder |
setName(String value)
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
Optional name of the tensor dimension.
|
TensorShapeProto.Dim.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorShapeProto.Dim.Builder |
setSize(long value)
Size of the tensor in that dimension.
|
TensorShapeProto.Dim.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic TensorShapeProto.Dim build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic TensorShapeProto.Dim buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic TensorShapeProto.Dim.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(TensorShapeProto.Dim other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public TensorShapeProto.Dim.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<TensorShapeProto.Dim.Builder>IOExceptionpublic long getSize()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;getSize in interface TensorShapeProto.DimOrBuilderpublic TensorShapeProto.Dim.Builder setSize(long value)
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;public TensorShapeProto.Dim.Builder clearSize()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;public String getName()
Optional name of the tensor dimension.
string name = 2;getName in interface TensorShapeProto.DimOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
Optional name of the tensor dimension.
string name = 2;getNameBytes in interface TensorShapeProto.DimOrBuilderpublic TensorShapeProto.Dim.Builder setName(String value)
Optional name of the tensor dimension.
string name = 2;public TensorShapeProto.Dim.Builder clearName()
Optional name of the tensor dimension.
string name = 2;public TensorShapeProto.Dim.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
Optional name of the tensor dimension.
string name = 2;public final TensorShapeProto.Dim.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>public final TensorShapeProto.Dim.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<TensorShapeProto.Dim.Builder>Copyright © 2018. All rights reserved.