public static final class OnnxProto3.TensorShapeProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder> implements OnnxProto3.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 |
---|---|
OnnxProto3.TensorShapeProto.Builder |
addAllDim(Iterable<? extends OnnxProto3.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
addDim(int index,
OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
addDim(int index,
OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
addDim(OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
addDim(OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Dimension.Builder |
addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Dimension.Builder |
addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxProto3.TensorShapeProto |
build() |
OnnxProto3.TensorShapeProto |
buildPartial() |
OnnxProto3.TensorShapeProto.Builder |
clear() |
OnnxProto3.TensorShapeProto.Builder |
clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
OnnxProto3.TensorShapeProto.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
OnnxProto3.TensorShapeProto.Builder |
clone() |
OnnxProto3.TensorShapeProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
OnnxProto3.TensorShapeProto.Dimension |
getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Dimension.Builder |
getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<OnnxProto3.TensorShapeProto.Dimension.Builder> |
getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
int |
getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<OnnxProto3.TensorShapeProto.Dimension> |
getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.DimensionOrBuilder |
getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
List<? extends OnnxProto3.TensorShapeProto.DimensionOrBuilder> |
getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxProto3.TensorShapeProto.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
OnnxProto3.TensorShapeProto.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
OnnxProto3.TensorShapeProto.Builder |
mergeFrom(OnnxProto3.TensorShapeProto other) |
OnnxProto3.TensorShapeProto.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
OnnxProto3.TensorShapeProto.Builder |
removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
setDim(int index,
OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
setDim(int index,
OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1; |
OnnxProto3.TensorShapeProto.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxProto3.TensorShapeProto.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxProto3.TensorShapeProto.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public OnnxProto3.TensorShapeProto build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public OnnxProto3.TensorShapeProto buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public OnnxProto3.TensorShapeProto.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder mergeFrom(OnnxProto3.TensorShapeProto other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public OnnxProto3.TensorShapeProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxProto3.TensorShapeProto.Builder>
IOException
public List<OnnxProto3.TensorShapeProto.Dimension> getDimList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimList
in interface OnnxProto3.TensorShapeProtoOrBuilder
public int getDimCount()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimCount
in interface OnnxProto3.TensorShapeProtoOrBuilder
public OnnxProto3.TensorShapeProto.Dimension getDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDim
in interface OnnxProto3.TensorShapeProtoOrBuilder
public OnnxProto3.TensorShapeProto.Builder setDim(int index, OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder setDim(int index, OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder addDim(OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder addDim(int index, OnnxProto3.TensorShapeProto.Dimension value)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder addDim(OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder addDim(int index, OnnxProto3.TensorShapeProto.Dimension.Builder builderForValue)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder addAllDim(Iterable<? extends OnnxProto3.TensorShapeProto.Dimension> values)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder clearDim()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Builder removeDim(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Dimension.Builder getDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.DimensionOrBuilder getDimOrBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimOrBuilder
in interface OnnxProto3.TensorShapeProtoOrBuilder
public List<? extends OnnxProto3.TensorShapeProto.DimensionOrBuilder> getDimOrBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
getDimOrBuilderList
in interface OnnxProto3.TensorShapeProtoOrBuilder
public OnnxProto3.TensorShapeProto.Dimension.Builder addDimBuilder()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public OnnxProto3.TensorShapeProto.Dimension.Builder addDimBuilder(int index)
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public List<OnnxProto3.TensorShapeProto.Dimension.Builder> getDimBuilderList()
repeated .onnx.TensorShapeProto.Dimension dim = 1;
public final OnnxProto3.TensorShapeProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
public final OnnxProto3.TensorShapeProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxProto3.TensorShapeProto.Builder>
Copyright © 2018. All rights reserved.