Class Instance.OutputResource.Builder

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

public static final class Instance.OutputResource.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder> implements Instance.OutputResourceOrBuilder
 Message of output resource used in one application instance.
 
Protobuf type google.cloud.visionai.v1.Instance.OutputResource
  • 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.Builder<Instance.OutputResource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
    • getDefaultInstanceForType

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

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

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

      public Instance.OutputResource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.OutputResource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.OutputResource.Builder>
    • mergeFrom

      public Instance.OutputResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.OutputResource.Builder>
      Throws:
      IOException
    • 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.
    • setOutputResource

      public Instance.OutputResource.Builder setOutputResource(String value)
       The output resource name for the current application instance.
       
      string output_resource = 1;
      Parameters:
      value - The outputResource to set.
      Returns:
      This builder for chaining.
    • clearOutputResource

      public Instance.OutputResource.Builder clearOutputResource()
       The output resource name for the current application instance.
       
      string output_resource = 1;
      Returns:
      This builder for chaining.
    • setOutputResourceBytes

      public Instance.OutputResource.Builder setOutputResourceBytes(com.google.protobuf.ByteString value)
       The output resource name for the current application instance.
       
      string output_resource = 1;
      Parameters:
      value - The bytes for outputResource to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProducerNode

      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;
      Parameters:
      value - The producerNode to set.
      Returns:
      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:
      This builder for chaining.
    • setProducerNodeBytes

      public Instance.OutputResource.Builder setProducerNodeBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for producerNode to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOutputResourceBinding

      public Instance.OutputResource.Builder setOutputResourceBinding(String value)
       The specific output resource binding which produces the current
       OutputResource.
       
      string output_resource_binding = 4;
      Parameters:
      value - The outputResourceBinding to set.
      Returns:
      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:
      This builder for chaining.
    • setOutputResourceBindingBytes

      public Instance.OutputResource.Builder setOutputResourceBindingBytes(com.google.protobuf.ByteString value)
       The specific output resource binding which produces the current
       OutputResource.
       
      string output_resource_binding = 4;
      Parameters:
      value - The bytes for outputResourceBinding to set.
      Returns:
      This builder for chaining.
    • 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.
    • setIsTemporary

      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];
      Parameters:
      value - The isTemporary to set.
      Returns:
      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:
      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];
      Specified by:
      getAutogen in interface Instance.OutputResourceOrBuilder
      Returns:
      The autogen.
    • setAutogen

      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];
      Parameters:
      value - The autogen to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.