Class Instance.OutputResource.Builder (0.11.0)

public static final class Instance.OutputResource.Builder extends GeneratedMessageV3.Builder<Instance.OutputResource.Builder> implements Instance.OutputResourceOrBuilder

Message of output resource used in one application instance.

Protobuf type google.cloud.visionai.v1.Instance.OutputResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Instance.OutputResource build()
Returns
Type Description
Instance.OutputResource

buildPartial()

public Instance.OutputResource buildPartial()
Returns
Type Description
Instance.OutputResource

clear()

public Instance.OutputResource.Builder clear()
Returns
Type Description
Instance.OutputResource.Builder
Overrides

clearAutogen()

public Instance.OutputResource.Builder clearAutogen()

Output only. Whether the output resource is created automatically by the Vision AI App Platform.

bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Instance.OutputResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.OutputResource.Builder
Overrides

clearIsTemporary()

public Instance.OutputResource.Builder clearIsTemporary()

Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.

bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.OutputResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.OutputResource.Builder
Overrides

clearOutputResource()

public Instance.OutputResource.Builder clearOutputResource()

The output resource name for the current application instance.

string output_resource = 1;

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

clearOutputResourceBinding()

public Instance.OutputResource.Builder clearOutputResourceBinding()

The specific output resource binding which produces the current OutputResource.

string output_resource_binding = 4;

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

clearProducerNode()

public Instance.OutputResource.Builder clearProducerNode()

The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting

string producer_node = 2;

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

clone()

public Instance.OutputResource.Builder clone()
Returns
Type Description
Instance.OutputResource.Builder
Overrides

getAutogen()

public boolean getAutogen()

Output only. Whether the output resource is created automatically by the Vision AI App Platform.

bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The autogen.

getDefaultInstanceForType()

public Instance.OutputResource getDefaultInstanceForType()
Returns
Type Description
Instance.OutputResource

getDescriptorForType()

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

getIsTemporary()

public boolean getIsTemporary()

Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.

bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isTemporary.

getOutputResource()

public String getOutputResource()

The output resource name for the current application instance.

string output_resource = 1;

Returns
Type Description
String

The outputResource.

getOutputResourceBinding()

public String getOutputResourceBinding()

The specific output resource binding which produces the current OutputResource.

string output_resource_binding = 4;

Returns
Type Description
String

The outputResourceBinding.

getOutputResourceBindingBytes()

public ByteString getOutputResourceBindingBytes()

The specific output resource binding which produces the current OutputResource.

string output_resource_binding = 4;

Returns
Type Description
ByteString

The bytes for outputResourceBinding.

getOutputResourceBytes()

public ByteString getOutputResourceBytes()

The output resource name for the current application instance.

string output_resource = 1;

Returns
Type Description
ByteString

The bytes for outputResource.

getProducerNode()

public String getProducerNode()

The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting

string producer_node = 2;

Returns
Type Description
String

The producerNode.

getProducerNodeBytes()

public ByteString getProducerNodeBytes()

The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting

string producer_node = 2;

Returns
Type Description
ByteString

The bytes for producerNode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.OutputResource other)

public Instance.OutputResource.Builder mergeFrom(Instance.OutputResource other)
Parameter
Name Description
other Instance.OutputResource
Returns
Type Description
Instance.OutputResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Instance.OutputResource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Instance.OutputResource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.OutputResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.OutputResource.Builder
Overrides

setAutogen(boolean value)

public Instance.OutputResource.Builder setAutogen(boolean value)

Output only. Whether the output resource is created automatically by the Vision AI App Platform.

bool autogen = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The autogen to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsTemporary(boolean value)

public Instance.OutputResource.Builder setIsTemporary(boolean value)

Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application.

bool is_temporary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isTemporary to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setOutputResource(String value)

public Instance.OutputResource.Builder setOutputResource(String value)

The output resource name for the current application instance.

string output_resource = 1;

Parameter
Name Description
value String

The outputResource to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setOutputResourceBinding(String value)

public Instance.OutputResource.Builder setOutputResourceBinding(String value)

The specific output resource binding which produces the current OutputResource.

string output_resource_binding = 4;

Parameter
Name Description
value String

The outputResourceBinding to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setOutputResourceBindingBytes(ByteString value)

public Instance.OutputResource.Builder setOutputResourceBindingBytes(ByteString value)

The specific output resource binding which produces the current OutputResource.

string output_resource_binding = 4;

Parameter
Name Description
value ByteString

The bytes for outputResourceBinding to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setOutputResourceBytes(ByteString value)

public Instance.OutputResource.Builder setOutputResourceBytes(ByteString value)

The output resource name for the current application instance.

string output_resource = 1;

Parameter
Name Description
value ByteString

The bytes for outputResource to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setProducerNode(String value)

public Instance.OutputResource.Builder setProducerNode(String value)

The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting

string producer_node = 2;

Parameter
Name Description
value String

The producerNode to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

setProducerNodeBytes(ByteString value)

public Instance.OutputResource.Builder setProducerNodeBytes(ByteString value)

The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting

string producer_node = 2;

Parameter
Name Description
value ByteString

The bytes for producerNode to set.

Returns
Type Description
Instance.OutputResource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.OutputResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.OutputResource.Builder
Overrides