Package onnx
Class Onnx.OperatorSetIdProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder>
-
- onnx.Onnx.OperatorSetIdProto.Builder
-
- All Implemented Interfaces:
Cloneable
,Onnx.OperatorSetIdProtoOrBuilder
,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.OperatorSetIdProto
public static final class Onnx.OperatorSetIdProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.OperatorSetIdProto.Builder> implements Onnx.OperatorSetIdProtoOrBuilder
Operator Sets OperatorSets are uniquely identified by a (domain, opset_version) pair.
Protobuf typeonnx.OperatorSetIdProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.OperatorSetIdProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.OperatorSetIdProto
build()
Onnx.OperatorSetIdProto
buildPartial()
Onnx.OperatorSetIdProto.Builder
clear()
Onnx.OperatorSetIdProto.Builder
clearDomain()
The domain of the operator set being identified.Onnx.OperatorSetIdProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.OperatorSetIdProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.OperatorSetIdProto.Builder
clearVersion()
The version of the operator set being identified.Onnx.OperatorSetIdProto.Builder
clone()
Onnx.OperatorSetIdProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDomain()
The domain of the operator set being identified.org.nd4j.shade.protobuf.ByteString
getDomainBytes()
The domain of the operator set being identified.long
getVersion()
The version of the operator set being identified.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.OperatorSetIdProto.Builder
mergeFrom(Onnx.OperatorSetIdProto other)
Onnx.OperatorSetIdProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.OperatorSetIdProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.OperatorSetIdProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.OperatorSetIdProto.Builder
setDomain(String value)
The domain of the operator set being identified.Onnx.OperatorSetIdProto.Builder
setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain of the operator set being identified.Onnx.OperatorSetIdProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.OperatorSetIdProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.OperatorSetIdProto.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.OperatorSetIdProto.Builder
setVersion(long value)
The version of the operator set being identified.-
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.OperatorSetIdProto.Builder>
-
clear
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
getDefaultInstanceForType
public Onnx.OperatorSetIdProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.OperatorSetIdProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.OperatorSetIdProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
setField
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
clearField
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
clearOneof
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
setRepeatedField
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
addRepeatedField
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
mergeFrom
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
mergeFrom
public Onnx.OperatorSetIdProto.Builder mergeFrom(Onnx.OperatorSetIdProto 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.OperatorSetIdProto.Builder>
-
mergeFrom
public Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
- Throws:
IOException
-
getDomain
public String getDomain()
The domain of the operator set being identified. The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. This field MUST be present in this version of the IR when referring to any other operator set.
string domain = 1;
- Specified by:
getDomain
in interfaceOnnx.OperatorSetIdProtoOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public org.nd4j.shade.protobuf.ByteString getDomainBytes()
The domain of the operator set being identified. The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. This field MUST be present in this version of the IR when referring to any other operator set.
string domain = 1;
- Specified by:
getDomainBytes
in interfaceOnnx.OperatorSetIdProtoOrBuilder
- Returns:
- The bytes for domain.
-
setDomain
public Onnx.OperatorSetIdProto.Builder setDomain(String value)
The domain of the operator set being identified. The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. This field MUST be present in this version of the IR when referring to any other operator set.
string domain = 1;
- Parameters:
value
- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public Onnx.OperatorSetIdProto.Builder clearDomain()
The domain of the operator set being identified. The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. This field MUST be present in this version of the IR when referring to any other operator set.
string domain = 1;
- Returns:
- This builder for chaining.
-
setDomainBytes
public Onnx.OperatorSetIdProto.Builder setDomainBytes(org.nd4j.shade.protobuf.ByteString value)
The domain of the operator set being identified. The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. This field MUST be present in this version of the IR when referring to any other operator set.
string domain = 1;
- Parameters:
value
- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getVersion
public long getVersion()
The version of the operator set being identified. This field MUST be present in this version of the IR.
int64 version = 2;
- Specified by:
getVersion
in interfaceOnnx.OperatorSetIdProtoOrBuilder
- Returns:
- The version.
-
setVersion
public Onnx.OperatorSetIdProto.Builder setVersion(long value)
The version of the operator set being identified. This field MUST be present in this version of the IR.
int64 version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public Onnx.OperatorSetIdProto.Builder clearVersion()
The version of the operator set being identified. This field MUST be present in this version of the IR.
int64 version = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
mergeUnknownFields
public final Onnx.OperatorSetIdProto.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.OperatorSetIdProto.Builder>
-
-