Package com.google.cloud.visionai.v1
Interface OperatorDefinition.AttributeDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperatorDefinition.AttributeDefinition,OperatorDefinition.AttributeDefinition.Builder
- Enclosing class:
- OperatorDefinition
public static interface OperatorDefinition.AttributeDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the attribute.com.google.protobuf.ByteStringThe name of the attribute.The default value for the attribute.The default value for the attribute.getType()The type of this attribute.com.google.protobuf.ByteStringThe type of this attribute.booleanThe default value for the attribute.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAttribute
String getAttribute()The name of the attribute. Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., max_frames_per_video, resize_height.
string attribute = 1;- Returns:
- The attribute.
-
getAttributeBytes
com.google.protobuf.ByteString getAttributeBytes()The name of the attribute. Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., max_frames_per_video, resize_height.
string attribute = 1;- Returns:
- The bytes for attribute.
-
getType
String getType()The type of this attribute. See attribute_value.proto for possibilities.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of this attribute. See attribute_value.proto for possibilities.
string type = 2;- Returns:
- The bytes for type.
-
hasDefaultValue
boolean hasDefaultValue()The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
AttributeValue getDefaultValue()The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
AttributeValueOrBuilder getDefaultValueOrBuilder()The default value for the attribute.
.google.cloud.visionai.v1.AttributeValue default_value = 3;
-