Package onnx
Class OnnxMl.TensorShapeProto.Dimension.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
- onnx.OnnxMl.TensorShapeProto.Dimension.Builder
-
- All Implemented Interfaces:
Cloneable,OnnxMl.TensorShapeProto.DimensionOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- OnnxMl.TensorShapeProto.Dimension
public static final class OnnxMl.TensorShapeProto.Dimension.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder> implements OnnxMl.TensorShapeProto.DimensionOrBuilder
Protobuf typeonnx.TensorShapeProto.Dimension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnnxMl.TensorShapeProto.Dimension.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.TensorShapeProto.Dimensionbuild()OnnxMl.TensorShapeProto.DimensionbuildPartial()OnnxMl.TensorShapeProto.Dimension.Builderclear()OnnxMl.TensorShapeProto.Dimension.BuilderclearDenotation()Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.OnnxMl.TensorShapeProto.Dimension.BuilderclearDimParam()namespace ShapeOnnxMl.TensorShapeProto.Dimension.BuilderclearDimValue()int64 dim_value = 1;OnnxMl.TensorShapeProto.Dimension.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)OnnxMl.TensorShapeProto.Dimension.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)OnnxMl.TensorShapeProto.Dimension.BuilderclearValue()OnnxMl.TensorShapeProto.Dimension.Builderclone()OnnxMl.TensorShapeProto.DimensiongetDefaultInstanceForType()StringgetDenotation()Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.org.nd4j.shade.protobuf.ByteStringgetDenotationBytes()Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDimParam()namespace Shapeorg.nd4j.shade.protobuf.ByteStringgetDimParamBytes()namespace ShapelonggetDimValue()int64 dim_value = 1;OnnxMl.TensorShapeProto.Dimension.ValueCasegetValueCase()booleanhasDimParam()namespace ShapebooleanhasDimValue()int64 dim_value = 1;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OnnxMl.TensorShapeProto.Dimension.BuildermergeFrom(OnnxMl.TensorShapeProto.Dimension other)OnnxMl.TensorShapeProto.Dimension.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)OnnxMl.TensorShapeProto.Dimension.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)OnnxMl.TensorShapeProto.Dimension.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxMl.TensorShapeProto.Dimension.BuildersetDenotation(String value)Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.OnnxMl.TensorShapeProto.Dimension.BuildersetDenotationBytes(org.nd4j.shade.protobuf.ByteString value)Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor.OnnxMl.TensorShapeProto.Dimension.BuildersetDimParam(String value)namespace ShapeOnnxMl.TensorShapeProto.Dimension.BuildersetDimParamBytes(org.nd4j.shade.protobuf.ByteString value)namespace ShapeOnnxMl.TensorShapeProto.Dimension.BuildersetDimValue(long value)int64 dim_value = 1;OnnxMl.TensorShapeProto.Dimension.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.TensorShapeProto.Dimension.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OnnxMl.TensorShapeProto.Dimension.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
clear
public OnnxMl.TensorShapeProto.Dimension.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
getDefaultInstanceForType
public OnnxMl.TensorShapeProto.Dimension getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.TensorShapeProto.Dimension build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.TensorShapeProto.Dimension buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.TensorShapeProto.Dimension.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
setField
public OnnxMl.TensorShapeProto.Dimension.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
clearField
public OnnxMl.TensorShapeProto.Dimension.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
clearOneof
public OnnxMl.TensorShapeProto.Dimension.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
setRepeatedField
public OnnxMl.TensorShapeProto.Dimension.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
addRepeatedField
public OnnxMl.TensorShapeProto.Dimension.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public OnnxMl.TensorShapeProto.Dimension.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public OnnxMl.TensorShapeProto.Dimension.Builder mergeFrom(OnnxMl.TensorShapeProto.Dimension other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public OnnxMl.TensorShapeProto.Dimension.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>- Throws:
IOException
-
getValueCase
public OnnxMl.TensorShapeProto.Dimension.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder
-
clearValue
public OnnxMl.TensorShapeProto.Dimension.Builder clearValue()
-
hasDimValue
public boolean hasDimValue()
int64 dim_value = 1;- Specified by:
hasDimValuein interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- Whether the dimValue field is set.
-
getDimValue
public long getDimValue()
int64 dim_value = 1;- Specified by:
getDimValuein interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- The dimValue.
-
setDimValue
public OnnxMl.TensorShapeProto.Dimension.Builder setDimValue(long value)
int64 dim_value = 1;- Parameters:
value- The dimValue to set.- Returns:
- This builder for chaining.
-
clearDimValue
public OnnxMl.TensorShapeProto.Dimension.Builder clearDimValue()
int64 dim_value = 1;- Returns:
- This builder for chaining.
-
hasDimParam
public boolean hasDimParam()
namespace Shape
string dim_param = 2;- Specified by:
hasDimParamin interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- Whether the dimParam field is set.
-
getDimParam
public String getDimParam()
namespace Shape
string dim_param = 2;- Specified by:
getDimParamin interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- The dimParam.
-
getDimParamBytes
public org.nd4j.shade.protobuf.ByteString getDimParamBytes()
namespace Shape
string dim_param = 2;- Specified by:
getDimParamBytesin interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- The bytes for dimParam.
-
setDimParam
public OnnxMl.TensorShapeProto.Dimension.Builder setDimParam(String value)
namespace Shape
string dim_param = 2;- Parameters:
value- The dimParam to set.- Returns:
- This builder for chaining.
-
clearDimParam
public OnnxMl.TensorShapeProto.Dimension.Builder clearDimParam()
namespace Shape
string dim_param = 2;- Returns:
- This builder for chaining.
-
setDimParamBytes
public OnnxMl.TensorShapeProto.Dimension.Builder setDimParamBytes(org.nd4j.shade.protobuf.ByteString value)
namespace Shape
string dim_param = 2;- Parameters:
value- The bytes for dimParam to set.- Returns:
- This builder for chaining.
-
getDenotation
public String getDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;- Specified by:
getDenotationin interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- The denotation.
-
getDenotationBytes
public org.nd4j.shade.protobuf.ByteString getDenotationBytes()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;- Specified by:
getDenotationBytesin interfaceOnnxMl.TensorShapeProto.DimensionOrBuilder- Returns:
- The bytes for denotation.
-
setDenotation
public OnnxMl.TensorShapeProto.Dimension.Builder setDenotation(String value)
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;- Parameters:
value- The denotation to set.- Returns:
- This builder for chaining.
-
clearDenotation
public OnnxMl.TensorShapeProto.Dimension.Builder clearDenotation()
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;- Returns:
- This builder for chaining.
-
setDenotationBytes
public OnnxMl.TensorShapeProto.Dimension.Builder setDenotationBytes(org.nd4j.shade.protobuf.ByteString value)
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. Refer to https://github.com/onnx/onnx/blob/main/docs/DimensionDenotation.md#denotation-definition for pre-defined dimension denotations.
string denotation = 3;- Parameters:
value- The bytes for denotation to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OnnxMl.TensorShapeProto.Dimension.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
mergeUnknownFields
public final OnnxMl.TensorShapeProto.Dimension.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TensorShapeProto.Dimension.Builder>
-
-