Class ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder (0.14.1)

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

Protobuf type google.events.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

build()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec build()
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec

buildPartial()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec buildPartial()
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec

clear()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

clearName()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearName()

Name of the output binding, unique within the processor.

string name = 1;

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

clone()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder clone()
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

getDefaultInstanceForType()

public ProcessorIOSpec.InstanceResourceOutputBindingSpec getDefaultInstanceForType()
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The explicit.

getName()

public String getName()

Name of the output binding, unique within the processor.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the output binding, unique within the processor.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getResourceTypeUri()

public String getResourceTypeUri()

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Returns
TypeDescription
String

The resourceTypeUri.

getResourceTypeUriBytes()

public ByteString getResourceTypeUriBytes()

The resource type uri of the acceptable output resource.

string resource_type_uri = 2;

Returns
TypeDescription
ByteString

The bytes for resourceTypeUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessorIOSpec.InstanceResourceOutputBindingSpec other)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(ProcessorIOSpec.InstanceResourceOutputBindingSpec other)
Parameter
NameDescription
otherProcessorIOSpec.InstanceResourceOutputBindingSpec
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The explicit to set.

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceTypeUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceTypeUri to set.

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceOutputBindingSpec.Builder
Overrides