Interface OperatorDefinitionOrBuilder (0.9.0)

public interface OperatorDefinitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes(int index)

public abstract OperatorDefinition.AttributeDefinition getAttributes(int index)

Declares the attributes.

repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.AttributeDefinition

getAttributesCount()

public abstract int getAttributesCount()

Declares the attributes.

repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;

Returns
Type Description
int

getAttributesList()

public abstract List<OperatorDefinition.AttributeDefinition> getAttributesList()

Declares the attributes.

repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;

Returns
Type Description
List<AttributeDefinition>

getAttributesOrBuilder(int index)

public abstract OperatorDefinition.AttributeDefinitionOrBuilder getAttributesOrBuilder(int index)

Declares the attributes.

repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.AttributeDefinitionOrBuilder

getAttributesOrBuilderList()

public abstract List<? extends OperatorDefinition.AttributeDefinitionOrBuilder> getAttributesOrBuilderList()

Declares the attributes.

repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OperatorDefinition.AttributeDefinitionOrBuilder>

getDescription()

public abstract String getDescription()

Full description of the operator.

string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Full description of the operator.

string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getInputArgs(int index)

public abstract OperatorDefinition.ArgumentDefinition getInputArgs(int index)

Declares input arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.ArgumentDefinition

getInputArgsCount()

public abstract int getInputArgsCount()

Declares input arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;

Returns
Type Description
int

getInputArgsList()

public abstract List<OperatorDefinition.ArgumentDefinition> getInputArgsList()

Declares input arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;

Returns
Type Description
List<ArgumentDefinition>

getInputArgsOrBuilder(int index)

public abstract OperatorDefinition.ArgumentDefinitionOrBuilder getInputArgsOrBuilder(int index)

Declares input arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.ArgumentDefinitionOrBuilder

getInputArgsOrBuilderList()

public abstract List<? extends OperatorDefinition.ArgumentDefinitionOrBuilder> getInputArgsOrBuilderList()

Declares input arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinitionOrBuilder>

getOperator()

public abstract String getOperator()

The name of this operator.

Tentatively A-Z*, e.g., BboxCounter, PetDetector, PetDetector1.

string operator = 1;

Returns
Type Description
String

The operator.

getOperatorBytes()

public abstract ByteString getOperatorBytes()

The name of this operator.

Tentatively A-Z*, e.g., BboxCounter, PetDetector, PetDetector1.

string operator = 1;

Returns
Type Description
ByteString

The bytes for operator.

getOutputArgs(int index)

public abstract OperatorDefinition.ArgumentDefinition getOutputArgs(int index)

Declares output arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.ArgumentDefinition

getOutputArgsCount()

public abstract int getOutputArgsCount()

Declares output arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;

Returns
Type Description
int

getOutputArgsList()

public abstract List<OperatorDefinition.ArgumentDefinition> getOutputArgsList()

Declares output arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;

Returns
Type Description
List<ArgumentDefinition>

getOutputArgsOrBuilder(int index)

public abstract OperatorDefinition.ArgumentDefinitionOrBuilder getOutputArgsOrBuilder(int index)

Declares output arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;

Parameter
Name Description
index int
Returns
Type Description
OperatorDefinition.ArgumentDefinitionOrBuilder

getOutputArgsOrBuilderList()

public abstract List<? extends OperatorDefinition.ArgumentDefinitionOrBuilder> getOutputArgsOrBuilderList()

Declares output arguments.

repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinitionOrBuilder>

getResources()

public abstract ResourceSpecification getResources()

The resources for running the operator.

.google.cloud.visionai.v1.ResourceSpecification resources = 5;

Returns
Type Description
ResourceSpecification

The resources.

getResourcesOrBuilder()

public abstract ResourceSpecificationOrBuilder getResourcesOrBuilder()

The resources for running the operator.

.google.cloud.visionai.v1.ResourceSpecification resources = 5;

Returns
Type Description
ResourceSpecificationOrBuilder

getShortDescription()

public abstract String getShortDescription()

Short description of the operator.

string short_description = 6;

Returns
Type Description
String

The shortDescription.

getShortDescriptionBytes()

public abstract ByteString getShortDescriptionBytes()

Short description of the operator.

string short_description = 6;

Returns
Type Description
ByteString

The bytes for shortDescription.

hasResources()

public abstract boolean hasResources()

The resources for running the operator.

.google.cloud.visionai.v1.ResourceSpecification resources = 5;

Returns
Type Description
boolean

Whether the resources field is set.