Class Instance.OutputResource (0.10.0)

public static final class Instance.OutputResource extends GeneratedMessageV3 implements Instance.OutputResourceOrBuilder

Message of output resource used in one application instance.

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

Static Fields

AUTOGEN_FIELD_NUMBER

public static final int AUTOGEN_FIELD_NUMBER
Field Value
Type Description
int

IS_TEMPORARY_FIELD_NUMBER

public static final int IS_TEMPORARY_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_RESOURCE_BINDING_FIELD_NUMBER

public static final int OUTPUT_RESOURCE_BINDING_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_RESOURCE_FIELD_NUMBER

public static final int OUTPUT_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCER_NODE_FIELD_NUMBER

public static final int PRODUCER_NODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.OutputResource getDefaultInstance()
Returns
Type Description
Instance.OutputResource

getDescriptor()

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

newBuilder()

public static Instance.OutputResource.Builder newBuilder()
Returns
Type Description
Instance.OutputResource.Builder

newBuilder(Instance.OutputResource prototype)

public static Instance.OutputResource.Builder newBuilder(Instance.OutputResource prototype)
Parameter
Name Description
prototype Instance.OutputResource
Returns
Type Description
Instance.OutputResource.Builder

parseDelimitedFrom(InputStream input)

public static Instance.OutputResource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.OutputResource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.OutputResource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.OutputResource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.OutputResource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.OutputResource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.OutputResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.OutputResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.OutputResource> parser()
Returns
Type Description
Parser<OutputResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<Instance.OutputResource> getParserForType()
Returns
Type Description
Parser<OutputResource>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.OutputResource.Builder newBuilderForType()
Returns
Type Description
Instance.OutputResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.OutputResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.OutputResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.OutputResource.Builder toBuilder()
Returns
Type Description
Instance.OutputResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException