Class InstallationState.Builder

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

public static final class InstallationState.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder> implements InstallationStateOrBuilder
 Describes stage and necessary actions to be taken by the
 user to complete the installation. Used for GitHub and GitHub Enterprise
 based connections.
 
Protobuf type google.cloud.developerconnect.v1.InstallationState
  • 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<InstallationState.Builder>
    • clear

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

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

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

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

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

      public InstallationState.Builder mergeFrom(InstallationState other)
    • isInitialized

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

      public InstallationState.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<InstallationState.Builder>
      Throws:
      IOException
    • getStageValue

      public int getStageValue()
       Output only. Current step of the installation process.
       
      .google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStageValue in interface InstallationStateOrBuilder
      Returns:
      The enum numeric value on the wire for stage.
    • setStageValue

      public InstallationState.Builder setStageValue(int value)
       Output only. Current step of the installation process.
       
      .google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for stage to set.
      Returns:
      This builder for chaining.
    • getStage

      public InstallationState.Stage getStage()
       Output only. Current step of the installation process.
       
      .google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStage in interface InstallationStateOrBuilder
      Returns:
      The stage.
    • setStage

       Output only. Current step of the installation process.
       
      .google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The stage to set.
      Returns:
      This builder for chaining.
    • clearStage

      public InstallationState.Builder clearStage()
       Output only. Current step of the installation process.
       
      .google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       Output only. Message of what the user should do next to continue the
       installation. Empty string if the installation is already complete.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessage in interface InstallationStateOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Output only. Message of what the user should do next to continue the
       installation. Empty string if the installation is already complete.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessageBytes in interface InstallationStateOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public InstallationState.Builder setMessage(String value)
       Output only. Message of what the user should do next to continue the
       installation. Empty string if the installation is already complete.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public InstallationState.Builder clearMessage()
       Output only. Message of what the user should do next to continue the
       installation. Empty string if the installation is already complete.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public InstallationState.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Output only. Message of what the user should do next to continue the
       installation. Empty string if the installation is already complete.
       
      string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getActionUri

      public String getActionUri()
       Output only. Link to follow for next action. Empty string if the
       installation is already complete.
       
      string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getActionUri in interface InstallationStateOrBuilder
      Returns:
      The actionUri.
    • getActionUriBytes

      public com.google.protobuf.ByteString getActionUriBytes()
       Output only. Link to follow for next action. Empty string if the
       installation is already complete.
       
      string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getActionUriBytes in interface InstallationStateOrBuilder
      Returns:
      The bytes for actionUri.
    • setActionUri

      public InstallationState.Builder setActionUri(String value)
       Output only. Link to follow for next action. Empty string if the
       installation is already complete.
       
      string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The actionUri to set.
      Returns:
      This builder for chaining.
    • clearActionUri

      public InstallationState.Builder clearActionUri()
       Output only. Link to follow for next action. Empty string if the
       installation is already complete.
       
      string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setActionUriBytes

      public InstallationState.Builder setActionUriBytes(com.google.protobuf.ByteString value)
       Output only. Link to follow for next action. Empty string if the
       installation is already complete.
       
      string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for actionUri to set.
      Returns:
      This builder for chaining.