public static final class OnnxMl.ValueInfoProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder> implements OnnxMl.ValueInfoProtoOrBuilder
Defines information on value, including the name, the type, and the shape of the value.Protobuf type
onnx.ValueInfoProto| Modifier and Type | Method and Description |
|---|---|
OnnxMl.ValueInfoProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.ValueInfoProto |
build() |
OnnxMl.ValueInfoProto |
buildPartial() |
OnnxMl.ValueInfoProto.Builder |
clear() |
OnnxMl.ValueInfoProto.Builder |
clearDocString()
A human-readable documentation for this value.
|
OnnxMl.ValueInfoProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.ValueInfoProto.Builder |
clearName()
This field MUST be present in this version of the IR.
|
OnnxMl.ValueInfoProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.ValueInfoProto.Builder |
clearType()
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.ValueInfoProto.Builder |
clone() |
OnnxMl.ValueInfoProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getDocString()
A human-readable documentation for this value.
|
com.google.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this value.
|
java.lang.String |
getName()
This field MUST be present in this version of the IR.
|
com.google.protobuf.ByteString |
getNameBytes()
This field MUST be present in this version of the IR.
|
OnnxMl.TypeProto |
getType()
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.TypeProto.Builder |
getTypeBuilder()
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.TypeProtoOrBuilder |
getTypeOrBuilder()
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
boolean |
hasDocString()
A human-readable documentation for this value.
|
boolean |
hasName()
This field MUST be present in this version of the IR.
|
boolean |
hasType()
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.ValueInfoProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.ValueInfoProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
OnnxMl.ValueInfoProto.Builder |
mergeFrom(OnnxMl.ValueInfoProto other) |
OnnxMl.ValueInfoProto.Builder |
mergeType(OnnxMl.TypeProto value)
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.ValueInfoProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.ValueInfoProto.Builder |
setDocString(java.lang.String value)
A human-readable documentation for this value.
|
OnnxMl.ValueInfoProto.Builder |
setDocStringBytes(com.google.protobuf.ByteString value)
A human-readable documentation for this value.
|
OnnxMl.ValueInfoProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
OnnxMl.ValueInfoProto.Builder |
setName(java.lang.String value)
This field MUST be present in this version of the IR.
|
OnnxMl.ValueInfoProto.Builder |
setNameBytes(com.google.protobuf.ByteString value)
This field MUST be present in this version of the IR.
|
OnnxMl.ValueInfoProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
OnnxMl.ValueInfoProto.Builder |
setType(OnnxMl.TypeProto.Builder builderForValue)
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.ValueInfoProto.Builder |
setType(OnnxMl.TypeProto value)
This field MUST be present in this version of the IR for
inputs and outputs of the top-level graph.
|
OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.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.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OnnxMl.ValueInfoProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.ValueInfoProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OnnxMl.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.Builder mergeFrom(OnnxMl.ValueInfoProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>public OnnxMl.ValueInfoProto.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.ValueInfoProto.Builder>java.io.IOExceptionpublic boolean hasName()
This field MUST be present in this version of the IR.
optional string name = 1;hasName in interface OnnxMl.ValueInfoProtoOrBuilderpublic java.lang.String getName()
This field MUST be present in this version of the IR.
optional string name = 1;getName in interface OnnxMl.ValueInfoProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
This field MUST be present in this version of the IR.
optional string name = 1;getNameBytes in interface OnnxMl.ValueInfoProtoOrBuilderpublic OnnxMl.ValueInfoProto.Builder setName(java.lang.String value)
This field MUST be present in this version of the IR.
optional string name = 1;value - The name to set.public OnnxMl.ValueInfoProto.Builder clearName()
This field MUST be present in this version of the IR.
optional string name = 1;public OnnxMl.ValueInfoProto.Builder setNameBytes(com.google.protobuf.ByteString value)
This field MUST be present in this version of the IR.
optional string name = 1;value - The bytes for name to set.public boolean hasType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;hasType in interface OnnxMl.ValueInfoProtoOrBuilderpublic OnnxMl.TypeProto getType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;getType in interface OnnxMl.ValueInfoProtoOrBuilderpublic OnnxMl.ValueInfoProto.Builder setType(OnnxMl.TypeProto value)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;public OnnxMl.ValueInfoProto.Builder setType(OnnxMl.TypeProto.Builder builderForValue)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;public OnnxMl.ValueInfoProto.Builder mergeType(OnnxMl.TypeProto value)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;public OnnxMl.ValueInfoProto.Builder clearType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;public OnnxMl.TypeProto.Builder getTypeBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;public OnnxMl.TypeProtoOrBuilder getTypeOrBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
optional .onnx.TypeProto type = 2;getTypeOrBuilder in interface OnnxMl.ValueInfoProtoOrBuilderpublic boolean hasDocString()
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;hasDocString in interface OnnxMl.ValueInfoProtoOrBuilderpublic java.lang.String getDocString()
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;getDocString in interface OnnxMl.ValueInfoProtoOrBuilderpublic com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;getDocStringBytes in interface OnnxMl.ValueInfoProtoOrBuilderpublic OnnxMl.ValueInfoProto.Builder setDocString(java.lang.String value)
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;value - The docString to set.public OnnxMl.ValueInfoProto.Builder clearDocString()
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;public OnnxMl.ValueInfoProto.Builder setDocStringBytes(com.google.protobuf.ByteString value)
A human-readable documentation for this value. Markdown is allowed.
optional string doc_string = 3;value - The bytes for docString to set.public final OnnxMl.ValueInfoProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>public final OnnxMl.ValueInfoProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>