Class ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder (0.16.0)

public static final class ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder extends GeneratedMessageV3.Builder<ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder> implements ProcessorIOSpec.InstanceResourceInputBindingSpecOrBuilder

Message for instance resource channel specification. External resources are virtual nodes which are not expressed in the application graph. Each processor expresses its out-graph spec, so customer is able to override the external source or destinations to the

Protobuf type google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearConfigTypeUri()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearConfigTypeUri()

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearName()

Name of the input binding, unique within the processor.

string name = 1;

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceType()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearResourceType()
Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

clearResourceTypeUri()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearResourceTypeUri()

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

clone()

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

getConfigTypeUri()

public String getConfigTypeUri()

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Returns
Type Description
String

The configTypeUri.

getConfigTypeUriBytes()

public ByteString getConfigTypeUriBytes()

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Returns
Type Description
ByteString

The bytes for configTypeUri.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getName()

public String getName()

Name of the input binding, unique within the processor.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the input binding, unique within the processor.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getResourceTypeCase()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.ResourceTypeCase getResourceTypeCase()
Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.ResourceTypeCase

getResourceTypeUri()

public String getResourceTypeUri()

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Returns
Type Description
String

The resourceTypeUri.

getResourceTypeUriBytes()

public ByteString getResourceTypeUriBytes()

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Returns
Type Description
ByteString

The bytes for resourceTypeUri.

hasConfigTypeUri()

public boolean hasConfigTypeUri()

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Returns
Type Description
boolean

Whether the configTypeUri field is set.

hasResourceTypeUri()

public boolean hasResourceTypeUri()

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Returns
Type Description
boolean

Whether the resourceTypeUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessorIOSpec.InstanceResourceInputBindingSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfigTypeUri(String value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setConfigTypeUri(String value)

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Parameter
Name Description
value String

The configTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setConfigTypeUriBytes(ByteString value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setConfigTypeUriBytes(ByteString value)

The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation

string config_type_uri = 2;

Parameter
Name Description
value ByteString

The bytes for configTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setName(String value)

Name of the input binding, unique within the processor.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setNameBytes(ByteString value)

Name of the input binding, unique within the processor.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

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

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

setResourceTypeUri(String value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setResourceTypeUri(String value)

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Parameter
Name Description
value String

The resourceTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setResourceTypeUriBytes(ByteString value)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder setResourceTypeUriBytes(ByteString value)

The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset

string resource_type_uri = 3;

Parameter
Name Description
value ByteString

The bytes for resourceTypeUri to set.

Returns
Type Description
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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