Package onnx
Class Onnx.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<Onnx.TensorShapeProto.Dimension.Builder>
-
- onnx.Onnx.TensorShapeProto.Dimension.Builder
-
- All Implemented Interfaces:
Cloneable
,Onnx.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:
- Onnx.TensorShapeProto.Dimension
public static final class Onnx.TensorShapeProto.Dimension.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder> implements Onnx.TensorShapeProto.DimensionOrBuilder
Protobuf typeonnx.TensorShapeProto.Dimension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.TensorShapeProto.Dimension.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.TensorShapeProto.Dimension
build()
Onnx.TensorShapeProto.Dimension
buildPartial()
Onnx.TensorShapeProto.Dimension.Builder
clear()
Onnx.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.Onnx.TensorShapeProto.Dimension.Builder
clearDimParam()
namespace ShapeOnnx.TensorShapeProto.Dimension.Builder
clearDimValue()
int64 dim_value = 1;
Onnx.TensorShapeProto.Dimension.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.TensorShapeProto.Dimension.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.TensorShapeProto.Dimension.Builder
clearValue()
Onnx.TensorShapeProto.Dimension.Builder
clone()
Onnx.TensorShapeProto.Dimension
getDefaultInstanceForType()
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.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.static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDimParam()
namespace Shapeorg.nd4j.shade.protobuf.ByteString
getDimParamBytes()
namespace Shapelong
getDimValue()
int64 dim_value = 1;
Onnx.TensorShapeProto.Dimension.ValueCase
getValueCase()
boolean
hasDimParam()
namespace Shapeboolean
hasDimValue()
int64 dim_value = 1;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.TensorShapeProto.Dimension.Builder
mergeFrom(Onnx.TensorShapeProto.Dimension other)
Onnx.TensorShapeProto.Dimension.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.TensorShapeProto.Dimension.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.TensorShapeProto.Dimension.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.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.Onnx.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.Onnx.TensorShapeProto.Dimension.Builder
setDimParam(String value)
namespace ShapeOnnx.TensorShapeProto.Dimension.Builder
setDimParamBytes(org.nd4j.shade.protobuf.ByteString value)
namespace ShapeOnnx.TensorShapeProto.Dimension.Builder
setDimValue(long value)
int64 dim_value = 1;
Onnx.TensorShapeProto.Dimension.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.TensorShapeProto.Dimension.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.TensorShapeProto.Dimension.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
clear
public Onnx.TensorShapeProto.Dimension.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
getDefaultInstanceForType
public Onnx.TensorShapeProto.Dimension getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.TensorShapeProto.Dimension build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.TensorShapeProto.Dimension buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.TensorShapeProto.Dimension.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
setField
public Onnx.TensorShapeProto.Dimension.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
clearField
public Onnx.TensorShapeProto.Dimension.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
clearOneof
public Onnx.TensorShapeProto.Dimension.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
setRepeatedField
public Onnx.TensorShapeProto.Dimension.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
addRepeatedField
public Onnx.TensorShapeProto.Dimension.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public Onnx.TensorShapeProto.Dimension.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public Onnx.TensorShapeProto.Dimension.Builder mergeFrom(Onnx.TensorShapeProto.Dimension other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
mergeFrom
public Onnx.TensorShapeProto.Dimension.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.TensorShapeProto.Dimension.Builder>
- Throws:
IOException
-
getValueCase
public Onnx.TensorShapeProto.Dimension.ValueCase getValueCase()
- Specified by:
getValueCase
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
-
clearValue
public Onnx.TensorShapeProto.Dimension.Builder clearValue()
-
hasDimValue
public boolean hasDimValue()
int64 dim_value = 1;
- Specified by:
hasDimValue
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- Whether the dimValue field is set.
-
getDimValue
public long getDimValue()
int64 dim_value = 1;
- Specified by:
getDimValue
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- The dimValue.
-
setDimValue
public Onnx.TensorShapeProto.Dimension.Builder setDimValue(long value)
int64 dim_value = 1;
- Parameters:
value
- The dimValue to set.- Returns:
- This builder for chaining.
-
clearDimValue
public Onnx.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:
hasDimParam
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- Whether the dimParam field is set.
-
getDimParam
public String getDimParam()
namespace Shape
string dim_param = 2;
- Specified by:
getDimParam
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- The dimParam.
-
getDimParamBytes
public org.nd4j.shade.protobuf.ByteString getDimParamBytes()
namespace Shape
string dim_param = 2;
- Specified by:
getDimParamBytes
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- The bytes for dimParam.
-
setDimParam
public Onnx.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 Onnx.TensorShapeProto.Dimension.Builder clearDimParam()
namespace Shape
string dim_param = 2;
- Returns:
- This builder for chaining.
-
setDimParamBytes
public Onnx.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:
getDenotation
in interfaceOnnx.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:
getDenotationBytes
in interfaceOnnx.TensorShapeProto.DimensionOrBuilder
- Returns:
- The bytes for denotation.
-
setDenotation
public Onnx.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 Onnx.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 Onnx.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 Onnx.TensorShapeProto.Dimension.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
mergeUnknownFields
public final Onnx.TensorShapeProto.Dimension.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TensorShapeProto.Dimension.Builder>
-
-