Class AppHubService.Builder

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

public static final class AppHubService.Builder extends com.google.protobuf.GeneratedMessage.Builder<AppHubService.Builder> implements AppHubServiceOrBuilder
 AppHubService represents the App Hub Service.
 
Protobuf type google.cloud.developerconnect.v1.AppHubService
  • 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<AppHubService.Builder>
    • clear

      public AppHubService.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<AppHubService.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<AppHubService.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AppHubService.Builder mergeFrom(AppHubService other)
    • isInitialized

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

      public AppHubService.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<AppHubService.Builder>
      Throws:
      IOException
    • getApphubService

      public String getApphubService()
       Required. Output only. Immutable. The name of the App Hub Service.
       Format:
       `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
       
      string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApphubService in interface AppHubServiceOrBuilder
      Returns:
      The apphubService.
    • getApphubServiceBytes

      public com.google.protobuf.ByteString getApphubServiceBytes()
       Required. Output only. Immutable. The name of the App Hub Service.
       Format:
       `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
       
      string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApphubServiceBytes in interface AppHubServiceOrBuilder
      Returns:
      The bytes for apphubService.
    • setApphubService

      public AppHubService.Builder setApphubService(String value)
       Required. Output only. Immutable. The name of the App Hub Service.
       Format:
       `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
       
      string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The apphubService to set.
      Returns:
      This builder for chaining.
    • clearApphubService

      public AppHubService.Builder clearApphubService()
       Required. Output only. Immutable. The name of the App Hub Service.
       Format:
       `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
       
      string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setApphubServiceBytes

      public AppHubService.Builder setApphubServiceBytes(com.google.protobuf.ByteString value)
       Required. Output only. Immutable. The name of the App Hub Service.
       Format:
       `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
       
      string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for apphubService to set.
      Returns:
      This builder for chaining.
    • getCriticality

      public String getCriticality()
       Output only. The criticality of the App Hub Service.
       
      string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCriticality in interface AppHubServiceOrBuilder
      Returns:
      The criticality.
    • getCriticalityBytes

      public com.google.protobuf.ByteString getCriticalityBytes()
       Output only. The criticality of the App Hub Service.
       
      string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCriticalityBytes in interface AppHubServiceOrBuilder
      Returns:
      The bytes for criticality.
    • setCriticality

      public AppHubService.Builder setCriticality(String value)
       Output only. The criticality of the App Hub Service.
       
      string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The criticality to set.
      Returns:
      This builder for chaining.
    • clearCriticality

      public AppHubService.Builder clearCriticality()
       Output only. The criticality of the App Hub Service.
       
      string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCriticalityBytes

      public AppHubService.Builder setCriticalityBytes(com.google.protobuf.ByteString value)
       Output only. The criticality of the App Hub Service.
       
      string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for criticality to set.
      Returns:
      This builder for chaining.
    • getEnvironment

      public String getEnvironment()
       Output only. The environment of the App Hub Service.
       
      string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEnvironment in interface AppHubServiceOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      public com.google.protobuf.ByteString getEnvironmentBytes()
       Output only. The environment of the App Hub Service.
       
      string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEnvironmentBytes in interface AppHubServiceOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      public AppHubService.Builder setEnvironment(String value)
       Output only. The environment of the App Hub Service.
       
      string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The environment to set.
      Returns:
      This builder for chaining.
    • clearEnvironment

      public AppHubService.Builder clearEnvironment()
       Output only. The environment of the App Hub Service.
       
      string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEnvironmentBytes

      public AppHubService.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
       Output only. The environment of the App Hub Service.
       
      string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for environment to set.
      Returns:
      This builder for chaining.