Class ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder (0.11.0)

public static final class ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder extends GeneratedMessageV3.Builder<ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder> implements ProcessorIOSpec.InstanceResourceOutputBindingSpecOrBuilder

Protobuf type google.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

build()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec build()
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec

buildPartial()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec buildPartial()
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec

clear()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clear()
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

clearExplicit()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearExplicit()

Whether the output resource needs to be explicitly set in the instance. If it is false, the processor will automatically generate it if required.

bool explicit = 3;

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

clearName()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearName()

Name of the output binding, unique within the processor.

string name = 1;

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

clearResourceTypeUri()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearResourceTypeUri()

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clone()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clone()
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

getDefaultInstanceForType()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec getDefaultInstanceForType()
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExplicit()

public boolean getExplicit()

Whether the output resource needs to be explicitly set in the instance. If it is false, the processor will automatically generate it if required.

bool explicit = 3;

Returns
Type Description
boolean

The explicit.

getName()

public String getName()

Name of the output binding, unique within the processor.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the output binding, unique within the processor.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getResourceTypeUri()

public String getResourceTypeUri()

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Returns
Type Description
String

The resourceTypeUri.

getResourceTypeUriBytes()

public ByteString getResourceTypeUriBytes()

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Returns
Type Description
ByteString

The bytes for resourceTypeUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessorIOSpec.InstanceResourceOutputBindingSpec other)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(ProcessorIOSpec.InstanceResourceOutputBindingSpec other)
Parameter
Name Description
other ProcessorIOSpec.InstanceResourceOutputBindingSpec
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

setExplicit(boolean value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setExplicit(boolean value)

Whether the output resource needs to be explicitly set in the instance. If it is false, the processor will automatically generate it if required.

bool explicit = 3;

Parameter
Name Description
value boolean

The explicit to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

setName(String value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setName(String value)

Name of the output binding, unique within the processor.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setNameBytes(ByteString value)

Name of the output binding, unique within the processor.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

setResourceTypeUri(String value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setResourceTypeUri(String value)

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Parameter
Name Description
value String

The resourceTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setResourceTypeUriBytes(ByteString value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setResourceTypeUriBytes(ByteString value)

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Parameter
Name Description
value ByteString

The bytes for resourceTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides