Class ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearName()

Name of the input binding, unique within the processor.

string name = 1;

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder
Overrides

clearResourceType()

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

This builder for chaining.

clone()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for configTypeUri.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the input binding, unique within the processor.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the input binding, unique within the processor.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getResourceTypeCase()

public ProcessorIOSpec.InstanceResourceInputBindingSpec.ResourceTypeCase getResourceTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the resourceTypeUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessorIOSpec.InstanceResourceInputBindingSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The configTypeUri to set.

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

The bytes for configTypeUri to set.

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The resourceTypeUri to set.

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

The bytes for resourceTypeUri to set.

Returns
TypeDescription
ProcessorIOSpec.InstanceResourceInputBindingSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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