Class ApplicationInstance.Builder

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

public static final class ApplicationInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApplicationInstance.Builder> implements ApplicationInstanceOrBuilder
 Message for creating a Instance.
 
Protobuf type google.cloud.visionai.v1.ApplicationInstance
  • 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<ApplicationInstance.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<ApplicationInstance.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<ApplicationInstance.Builder>
    • getDefaultInstanceForType

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

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

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

      public ApplicationInstance.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<ApplicationInstance.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<ApplicationInstance.Builder>
    • mergeFrom

      public ApplicationInstance.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<ApplicationInstance.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
       Required. Id of the requesting object.
       
      string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceId in interface ApplicationInstanceOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       Required. Id of the requesting object.
       
      string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceIdBytes in interface ApplicationInstanceOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public ApplicationInstance.Builder setInstanceId(String value)
       Required. Id of the requesting object.
       
      string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public ApplicationInstance.Builder clearInstanceId()
       Required. Id of the requesting object.
       
      string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public ApplicationInstance.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       Required. Id of the requesting object.
       
      string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • hasInstance

      public boolean hasInstance()
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInstance in interface ApplicationInstanceOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public Instance getInstance()
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstance in interface ApplicationInstanceOrBuilder
      Returns:
      The instance.
    • setInstance

      public ApplicationInstance.Builder setInstance(Instance value)
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
    • setInstance

      public ApplicationInstance.Builder setInstance(Instance.Builder builderForValue)
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeInstance

      public ApplicationInstance.Builder mergeInstance(Instance value)
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearInstance

      public ApplicationInstance.Builder clearInstance()
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstanceBuilder

      public Instance.Builder getInstanceBuilder()
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
    • getInstanceOrBuilder

      public InstanceOrBuilder getInstanceOrBuilder()
       Required. The resource being created.
       
      .google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceOrBuilder in interface ApplicationInstanceOrBuilder