public static final class OnnxMl.TensorShapeProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder> implements OnnxMl.TensorShapeProtoOrBuilder
Defines a tensor shape. A dimension can be either an integer value or a symbolic variable. A symbolic variable represents an unknown dimension.Protobuf type
onnx.TensorShapeProto| Modifier and Type | Method and Description |
|---|---|
OnnxMl.TensorShapeProto.Builder |
addAllDim(java.lang.Iterable<? extends OnnxMl.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(int index,
OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(int index,
OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addDim(OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TensorShapeProto |
build() |
OnnxMl.TensorShapeProto |
buildPartial() |
OnnxMl.TensorShapeProto.Builder |
clear() |
OnnxMl.TensorShapeProto.Builder |
clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TensorShapeProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TensorShapeProto.Builder |
clone() |
OnnxMl.TensorShapeProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OnnxMl.TensorShapeProto.Dimension |
getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Dimension.Builder |
getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
java.util.List<OnnxMl.TensorShapeProto.Dimension.Builder> |
getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
int |
getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
java.util.List<OnnxMl.TensorShapeProto.Dimension> |
getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.DimensionOrBuilder |
getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
java.util.List<? extends OnnxMl.TensorShapeProto.DimensionOrBuilder> |
getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
OnnxMl.TensorShapeProto.Builder |
mergeFrom(OnnxMl.TensorShapeProto other) |
OnnxMl.TensorShapeProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TensorShapeProto.Builder |
removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setDim(int index,
OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setDim(int index,
OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxMl.TensorShapeProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TensorShapeProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
OnnxMl.TensorShapeProto.Builder |
setUnknownFields(com.google.protobuf.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.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OnnxMl.TensorShapeProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TensorShapeProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TensorShapeProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder mergeFrom(OnnxMl.TensorShapeProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public OnnxMl.TensorShapeProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.TensorShapeProto.Builder>java.io.IOExceptionpublic java.util.List<OnnxMl.TensorShapeProto.Dimension> getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimList in interface OnnxMl.TensorShapeProtoOrBuilderpublic int getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimCount in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Dimension getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDim in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Builder setDim(int index, OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder setDim(int index, OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(int index, OnnxMl.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addDim(int index, OnnxMl.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder addAllDim(java.lang.Iterable<? extends OnnxMl.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Builder removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Dimension.Builder getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.DimensionOrBuilder getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimOrBuilder in interface OnnxMl.TensorShapeProtoOrBuilderpublic java.util.List<? extends OnnxMl.TensorShapeProto.DimensionOrBuilder> getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;getDimOrBuilderList in interface OnnxMl.TensorShapeProtoOrBuilderpublic OnnxMl.TensorShapeProto.Dimension.Builder addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public OnnxMl.TensorShapeProto.Dimension.Builder addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;public java.util.List<OnnxMl.TensorShapeProto.Dimension.Builder> getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;public final OnnxMl.TensorShapeProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>public final OnnxMl.TensorShapeProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Builder>