public static final class OperatorDefinition.AttributeDefinition extends GeneratedMessageV3 implements OperatorDefinition.AttributeDefinitionOrBuilder
Defines an attribute of an operator.
Protobuf type google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTRIBUTE_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEFAULT_VALUE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OperatorDefinition.AttributeDefinition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OperatorDefinition.AttributeDefinition.Builder newBuilder()
newBuilder(OperatorDefinition.AttributeDefinition prototype)
public static OperatorDefinition.AttributeDefinition.Builder newBuilder(OperatorDefinition.AttributeDefinition prototype)
public static OperatorDefinition.AttributeDefinition parseDelimitedFrom(InputStream input)
public static OperatorDefinition.AttributeDefinition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OperatorDefinition.AttributeDefinition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OperatorDefinition.AttributeDefinition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OperatorDefinition.AttributeDefinition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OperatorDefinition.AttributeDefinition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OperatorDefinition.AttributeDefinition parseFrom(CodedInputStream input)
public static OperatorDefinition.AttributeDefinition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OperatorDefinition.AttributeDefinition parseFrom(InputStream input)
public static OperatorDefinition.AttributeDefinition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OperatorDefinition.AttributeDefinition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OperatorDefinition.AttributeDefinition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OperatorDefinition.AttributeDefinition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttribute()
public String getAttribute()
The name of the attribute.
Tentatively a-z?, e.g., max_frames_per_video,
resize_height.
string attribute = 1;
Returns |
Type |
Description |
String |
The attribute.
|
getAttributeBytes()
public ByteString getAttributeBytes()
The name of the attribute.
Tentatively a-z?, e.g., max_frames_per_video,
resize_height.
string attribute = 1;
Returns |
Type |
Description |
ByteString |
The bytes for attribute.
|
getDefaultInstanceForType()
public OperatorDefinition.AttributeDefinition getDefaultInstanceForType()
getDefaultValue()
public AttributeValue getDefaultValue()
The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;
getDefaultValueOrBuilder()
public AttributeValueOrBuilder getDefaultValueOrBuilder()
The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;
getParserForType()
public Parser<OperatorDefinition.AttributeDefinition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getType()
The type of this attribute.
See attribute_value.proto for possibilities.
string type = 2;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
The type of this attribute.
See attribute_value.proto for possibilities.
string type = 2;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
hasDefaultValue()
public boolean hasDefaultValue()
The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;
Returns |
Type |
Description |
boolean |
Whether the defaultValue field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OperatorDefinition.AttributeDefinition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OperatorDefinition.AttributeDefinition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OperatorDefinition.AttributeDefinition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides