public static final class OnnxMl.TypeProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder> implements OnnxMl.TypeProtoOrBuilder
Types The standard ONNX data types.Protobuf type
onnx.TypeProto| Modifier and Type | Method and Description |
|---|---|
OnnxMl.TypeProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TypeProto |
build() |
OnnxMl.TypeProto |
buildPartial() |
OnnxMl.TypeProto.Builder |
clear() |
OnnxMl.TypeProto.Builder |
clearDenotation()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
OnnxMl.TypeProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TypeProto.Builder |
clearMapType()
The type of a map.
|
OnnxMl.TypeProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TypeProto.Builder |
clearOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Builder |
clearSequenceType()
The type of a sequence.
|
OnnxMl.TypeProto.Builder |
clearSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Builder |
clearTensorType()
The type of a tensor.
|
OnnxMl.TypeProto.Builder |
clearValue() |
OnnxMl.TypeProto.Builder |
clone() |
OnnxMl.TypeProto |
getDefaultInstanceForType() |
java.lang.String |
getDenotation()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
com.google.protobuf.ByteString |
getDenotationBytes()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OnnxMl.TypeProto.Map |
getMapType()
The type of a map.
|
OnnxMl.TypeProto.Map.Builder |
getMapTypeBuilder()
The type of a map.
|
OnnxMl.TypeProto.MapOrBuilder |
getMapTypeOrBuilder()
The type of a map.
|
OnnxMl.TypeProto.Opaque |
getOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Opaque.Builder |
getOpaqueTypeBuilder()
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.OpaqueOrBuilder |
getOpaqueTypeOrBuilder()
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Sequence |
getSequenceType()
The type of a sequence.
|
OnnxMl.TypeProto.Sequence.Builder |
getSequenceTypeBuilder()
The type of a sequence.
|
OnnxMl.TypeProto.SequenceOrBuilder |
getSequenceTypeOrBuilder()
The type of a sequence.
|
OnnxMl.TypeProto.SparseTensor |
getSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.SparseTensor.Builder |
getSparseTensorTypeBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.SparseTensorOrBuilder |
getSparseTensorTypeOrBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Tensor |
getTensorType()
The type of a tensor.
|
OnnxMl.TypeProto.Tensor.Builder |
getTensorTypeBuilder()
The type of a tensor.
|
OnnxMl.TypeProto.TensorOrBuilder |
getTensorTypeOrBuilder()
The type of a tensor.
|
OnnxMl.TypeProto.ValueCase |
getValueCase() |
boolean |
hasDenotation()
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
boolean |
hasMapType()
The type of a map.
|
boolean |
hasOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7; |
boolean |
hasSequenceType()
The type of a sequence.
|
boolean |
hasSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
boolean |
hasTensorType()
The type of a tensor.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.TypeProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TypeProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
OnnxMl.TypeProto.Builder |
mergeFrom(OnnxMl.TypeProto other) |
OnnxMl.TypeProto.Builder |
mergeMapType(OnnxMl.TypeProto.Map value)
The type of a map.
|
OnnxMl.TypeProto.Builder |
mergeOpaqueType(OnnxMl.TypeProto.Opaque value)
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Builder |
mergeSequenceType(OnnxMl.TypeProto.Sequence value)
The type of a sequence.
|
OnnxMl.TypeProto.Builder |
mergeSparseTensorType(OnnxMl.TypeProto.SparseTensor value)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Builder |
mergeTensorType(OnnxMl.TypeProto.Tensor value)
The type of a tensor.
|
OnnxMl.TypeProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TypeProto.Builder |
setDenotation(java.lang.String value)
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
OnnxMl.TypeProto.Builder |
setDenotationBytes(com.google.protobuf.ByteString value)
An optional denotation can be used to denote the whole
type with a standard semantic description as to what is
stored inside.
|
OnnxMl.TypeProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.TypeProto.Builder |
setMapType(OnnxMl.TypeProto.Map.Builder builderForValue)
The type of a map.
|
OnnxMl.TypeProto.Builder |
setMapType(OnnxMl.TypeProto.Map value)
The type of a map.
|
OnnxMl.TypeProto.Builder |
setOpaqueType(OnnxMl.TypeProto.Opaque.Builder builderForValue)
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Builder |
setOpaqueType(OnnxMl.TypeProto.Opaque value)
.onnx.TypeProto.Opaque opaque_type = 7; |
OnnxMl.TypeProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
OnnxMl.TypeProto.Builder |
setSequenceType(OnnxMl.TypeProto.Sequence.Builder builderForValue)
The type of a sequence.
|
OnnxMl.TypeProto.Builder |
setSequenceType(OnnxMl.TypeProto.Sequence value)
The type of a sequence.
|
OnnxMl.TypeProto.Builder |
setSparseTensorType(OnnxMl.TypeProto.SparseTensor.Builder builderForValue)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Builder |
setSparseTensorType(OnnxMl.TypeProto.SparseTensor value)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8; |
OnnxMl.TypeProto.Builder |
setTensorType(OnnxMl.TypeProto.Tensor.Builder builderForValue)
The type of a tensor.
|
OnnxMl.TypeProto.Builder |
setTensorType(OnnxMl.TypeProto.Tensor value)
The type of a tensor.
|
OnnxMl.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto.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.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OnnxMl.TypeProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TypeProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder>public OnnxMl.TypeProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder>public OnnxMl.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto.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.TypeProto.Builder>public OnnxMl.TypeProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.TypeProto.Builder>public OnnxMl.TypeProto.Builder mergeFrom(OnnxMl.TypeProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder>public OnnxMl.TypeProto.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.TypeProto.Builder>java.io.IOExceptionpublic OnnxMl.TypeProto.ValueCase getValueCase()
getValueCase in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder clearValue()
public boolean hasTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;hasTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Tensor getTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;getTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setTensorType(OnnxMl.TypeProto.Tensor value)
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;public OnnxMl.TypeProto.Builder setTensorType(OnnxMl.TypeProto.Tensor.Builder builderForValue)
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;public OnnxMl.TypeProto.Builder mergeTensorType(OnnxMl.TypeProto.Tensor value)
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;public OnnxMl.TypeProto.Builder clearTensorType()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;public OnnxMl.TypeProto.Tensor.Builder getTensorTypeBuilder()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;public OnnxMl.TypeProto.TensorOrBuilder getTensorTypeOrBuilder()
The type of a tensor.
.onnx.TypeProto.Tensor tensor_type = 1;getTensorTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;hasSequenceType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Sequence getSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;getSequenceType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setSequenceType(OnnxMl.TypeProto.Sequence value)
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;public OnnxMl.TypeProto.Builder setSequenceType(OnnxMl.TypeProto.Sequence.Builder builderForValue)
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;public OnnxMl.TypeProto.Builder mergeSequenceType(OnnxMl.TypeProto.Sequence value)
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;public OnnxMl.TypeProto.Builder clearSequenceType()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;public OnnxMl.TypeProto.Sequence.Builder getSequenceTypeBuilder()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;public OnnxMl.TypeProto.SequenceOrBuilder getSequenceTypeOrBuilder()
The type of a sequence.
.onnx.TypeProto.Sequence sequence_type = 4;getSequenceTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;hasMapType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Map getMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;getMapType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setMapType(OnnxMl.TypeProto.Map value)
The type of a map.
.onnx.TypeProto.Map map_type = 5;public OnnxMl.TypeProto.Builder setMapType(OnnxMl.TypeProto.Map.Builder builderForValue)
The type of a map.
.onnx.TypeProto.Map map_type = 5;public OnnxMl.TypeProto.Builder mergeMapType(OnnxMl.TypeProto.Map value)
The type of a map.
.onnx.TypeProto.Map map_type = 5;public OnnxMl.TypeProto.Builder clearMapType()
The type of a map.
.onnx.TypeProto.Map map_type = 5;public OnnxMl.TypeProto.Map.Builder getMapTypeBuilder()
The type of a map.
.onnx.TypeProto.Map map_type = 5;public OnnxMl.TypeProto.MapOrBuilder getMapTypeOrBuilder()
The type of a map.
.onnx.TypeProto.Map map_type = 5;getMapTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;hasSparseTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.SparseTensor getSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;getSparseTensorType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setSparseTensorType(OnnxMl.TypeProto.SparseTensor value)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;public OnnxMl.TypeProto.Builder setSparseTensorType(OnnxMl.TypeProto.SparseTensor.Builder builderForValue)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;public OnnxMl.TypeProto.Builder mergeSparseTensorType(OnnxMl.TypeProto.SparseTensor value)
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;public OnnxMl.TypeProto.Builder clearSparseTensorType()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;public OnnxMl.TypeProto.SparseTensor.Builder getSparseTensorTypeBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;public OnnxMl.TypeProto.SparseTensorOrBuilder getSparseTensorTypeOrBuilder()
.onnx.TypeProto.SparseTensor sparse_tensor_type = 8;getSparseTensorTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;hasOpaqueType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Opaque getOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;getOpaqueType in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setOpaqueType(OnnxMl.TypeProto.Opaque value)
.onnx.TypeProto.Opaque opaque_type = 7;public OnnxMl.TypeProto.Builder setOpaqueType(OnnxMl.TypeProto.Opaque.Builder builderForValue)
.onnx.TypeProto.Opaque opaque_type = 7;public OnnxMl.TypeProto.Builder mergeOpaqueType(OnnxMl.TypeProto.Opaque value)
.onnx.TypeProto.Opaque opaque_type = 7;public OnnxMl.TypeProto.Builder clearOpaqueType()
.onnx.TypeProto.Opaque opaque_type = 7;public OnnxMl.TypeProto.Opaque.Builder getOpaqueTypeBuilder()
.onnx.TypeProto.Opaque opaque_type = 7;public OnnxMl.TypeProto.OpaqueOrBuilder getOpaqueTypeOrBuilder()
.onnx.TypeProto.Opaque opaque_type = 7;getOpaqueTypeOrBuilder in interface OnnxMl.TypeProtoOrBuilderpublic boolean hasDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;hasDenotation in interface OnnxMl.TypeProtoOrBuilderpublic java.lang.String getDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;getDenotation in interface OnnxMl.TypeProtoOrBuilderpublic com.google.protobuf.ByteString getDenotationBytes()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;getDenotationBytes in interface OnnxMl.TypeProtoOrBuilderpublic OnnxMl.TypeProto.Builder setDenotation(java.lang.String value)
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;value - The denotation to set.public OnnxMl.TypeProto.Builder clearDenotation()
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;public OnnxMl.TypeProto.Builder setDenotationBytes(com.google.protobuf.ByteString value)
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. Refer to https://github.com/onnx/onnx/blob/master/docs/TypeDenotation.md#type-denotation-definition for pre-defined type denotations.
optional string denotation = 6;value - The bytes for denotation to set.public final OnnxMl.TypeProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder>public final OnnxMl.TypeProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Builder>