public static final class Instance.OutputResource.Builder extends GeneratedMessage.Builder<Instance.OutputResource.Builder> implements Instance.OutputResourceOrBuilderMessage of output resource used in one application instance.
Protobuf type google.cloud.visionai.v1.Instance.OutputResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.OutputResource.BuilderImplements
Instance.OutputResourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
booleanThe autogen to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.OutputResource.Builder |
This builder for chaining. |
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 |
booleanThe 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 |
StringThe 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 |
StringThe 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 |
ByteStringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for producerNode to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.OutputResource.Builder |
This builder for chaining. |