Class Instance.OutputResource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.Instance.OutputResource
All Implemented Interfaces:
Instance.OutputResourceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Instance

public static final class Instance.OutputResource extends com.google.protobuf.GeneratedMessage implements Instance.OutputResourceOrBuilder
 Message of output resource used in one application instance.
 
Protobuf type google.cloud.visionai.v1.Instance.OutputResource
See Also:
  • Field Details

    • OUTPUT_RESOURCE_FIELD_NUMBER

      public static final int OUTPUT_RESOURCE_FIELD_NUMBER
      See Also:
    • PRODUCER_NODE_FIELD_NUMBER

      public static final int PRODUCER_NODE_FIELD_NUMBER
      See Also:
    • OUTPUT_RESOURCE_BINDING_FIELD_NUMBER

      public static final int OUTPUT_RESOURCE_BINDING_FIELD_NUMBER
      See Also:
    • IS_TEMPORARY_FIELD_NUMBER

      public static final int IS_TEMPORARY_FIELD_NUMBER
      See Also:
    • AUTOGEN_FIELD_NUMBER

      public static final int AUTOGEN_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOutputResource

      public String getOutputResource()
       The output resource name for the current application instance.
       
      string output_resource = 1;
      Specified by:
      getOutputResource in interface Instance.OutputResourceOrBuilder
      Returns:
      The outputResource.
    • getOutputResourceBytes

      public com.google.protobuf.ByteString getOutputResourceBytes()
       The output resource name for the current application instance.
       
      string output_resource = 1;
      Specified by:
      getOutputResourceBytes in interface Instance.OutputResourceOrBuilder
      Returns:
      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;
      Specified by:
      getProducerNode in interface Instance.OutputResourceOrBuilder
      Returns:
      The producerNode.
    • getProducerNodeBytes

      public com.google.protobuf.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;
      Specified by:
      getProducerNodeBytes in interface Instance.OutputResourceOrBuilder
      Returns:
      The bytes for producerNode.
    • getOutputResourceBinding

      public String getOutputResourceBinding()
       The specific output resource binding which produces the current
       OutputResource.
       
      string output_resource_binding = 4;
      Specified by:
      getOutputResourceBinding in interface Instance.OutputResourceOrBuilder
      Returns:
      The outputResourceBinding.
    • getOutputResourceBindingBytes

      public com.google.protobuf.ByteString getOutputResourceBindingBytes()
       The specific output resource binding which produces the current
       OutputResource.
       
      string output_resource_binding = 4;
      Specified by:
      getOutputResourceBindingBytes in interface Instance.OutputResourceOrBuilder
      Returns:
      The bytes for outputResourceBinding.
    • 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];
      Specified by:
      getIsTemporary in interface Instance.OutputResourceOrBuilder
      Returns:
      The isTemporary.
    • 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];
      Specified by:
      getAutogen in interface Instance.OutputResourceOrBuilder
      Returns:
      The autogen.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Instance.OutputResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Instance.OutputResource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance.OutputResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Instance.OutputResource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Instance.OutputResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance.OutputResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance.OutputResource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Instance.OutputResource.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Instance.OutputResource.Builder newBuilder()
    • newBuilder

      public static Instance.OutputResource.Builder newBuilder(Instance.OutputResource prototype)
    • toBuilder

      public Instance.OutputResource.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Instance.OutputResource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Instance.OutputResource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Instance.OutputResource> parser()
    • getParserForType

      public com.google.protobuf.Parser<Instance.OutputResource> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Instance.OutputResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder