Class PSCAutomationConfig.Builder

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

public static final class PSCAutomationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PSCAutomationConfig.Builder> implements PSCAutomationConfigOrBuilder
 PSC config that is used to automatically create PSC endpoints in the user
 projects.
 
Protobuf type google.cloud.aiplatform.v1.PSCAutomationConfig
  • 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<PSCAutomationConfig.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<PSCAutomationConfig.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<PSCAutomationConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public PSCAutomationConfig.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<PSCAutomationConfig.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       Required. Project id used to create forwarding rule.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectId in interface PSCAutomationConfigOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Required. Project id used to create forwarding rule.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectIdBytes in interface PSCAutomationConfigOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public PSCAutomationConfig.Builder setProjectId(String value)
       Required. Project id used to create forwarding rule.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public PSCAutomationConfig.Builder clearProjectId()
       Required. Project id used to create forwarding rule.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public PSCAutomationConfig.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Required. Project id used to create forwarding rule.
       
      string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getNetwork

      public String getNetwork()
       Required. The full name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
       [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
       `projects/{project}/global/networks/{network}`.
       
      string network = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetwork in interface PSCAutomationConfigOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Required. The full name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
       [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
       `projects/{project}/global/networks/{network}`.
       
      string network = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNetworkBytes in interface PSCAutomationConfigOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

      public PSCAutomationConfig.Builder setNetwork(String value)
       Required. The full name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
       [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
       `projects/{project}/global/networks/{network}`.
       
      string network = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public PSCAutomationConfig.Builder clearNetwork()
       Required. The full name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
       [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
       `projects/{project}/global/networks/{network}`.
       
      string network = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public PSCAutomationConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Required. The full name of the Google Compute Engine
       [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
       [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
       `projects/{project}/global/networks/{network}`.
       
      string network = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • getIpAddress

      public String getIpAddress()
       Output only. IP address rule created by the PSC service automation.
       
      string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIpAddress in interface PSCAutomationConfigOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       Output only. IP address rule created by the PSC service automation.
       
      string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIpAddressBytes in interface PSCAutomationConfigOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public PSCAutomationConfig.Builder setIpAddress(String value)
       Output only. IP address rule created by the PSC service automation.
       
      string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public PSCAutomationConfig.Builder clearIpAddress()
       Output only. IP address rule created by the PSC service automation.
       
      string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public PSCAutomationConfig.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
       Output only. IP address rule created by the PSC service automation.
       
      string ip_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.
    • getForwardingRule

      public String getForwardingRule()
       Output only. Forwarding rule created by the PSC service automation.
       
      string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getForwardingRule in interface PSCAutomationConfigOrBuilder
      Returns:
      The forwardingRule.
    • getForwardingRuleBytes

      public com.google.protobuf.ByteString getForwardingRuleBytes()
       Output only. Forwarding rule created by the PSC service automation.
       
      string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getForwardingRuleBytes in interface PSCAutomationConfigOrBuilder
      Returns:
      The bytes for forwardingRule.
    • setForwardingRule

      public PSCAutomationConfig.Builder setForwardingRule(String value)
       Output only. Forwarding rule created by the PSC service automation.
       
      string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The forwardingRule to set.
      Returns:
      This builder for chaining.
    • clearForwardingRule

      public PSCAutomationConfig.Builder clearForwardingRule()
       Output only. Forwarding rule created by the PSC service automation.
       
      string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setForwardingRuleBytes

      public PSCAutomationConfig.Builder setForwardingRuleBytes(com.google.protobuf.ByteString value)
       Output only. Forwarding rule created by the PSC service automation.
       
      string forwarding_rule = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for forwardingRule to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The state of the PSC service automation.
       
      .google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface PSCAutomationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public PSCAutomationConfig.Builder setStateValue(int value)
       Output only. The state of the PSC service automation.
       
      .google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public PSCAutomationState getState()
       Output only. The state of the PSC service automation.
       
      .google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface PSCAutomationConfigOrBuilder
      Returns:
      The state.
    • setState

       Output only. The state of the PSC service automation.
       
      .google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public PSCAutomationConfig.Builder clearState()
       Output only. The state of the PSC service automation.
       
      .google.cloud.aiplatform.v1.PSCAutomationState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getErrorMessage

      public String getErrorMessage()
       Output only. Error message if the PSC service automation failed.
       
      string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessage in interface PSCAutomationConfigOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       Output only. Error message if the PSC service automation failed.
       
      string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorMessageBytes in interface PSCAutomationConfigOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public PSCAutomationConfig.Builder setErrorMessage(String value)
       Output only. Error message if the PSC service automation failed.
       
      string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public PSCAutomationConfig.Builder clearErrorMessage()
       Output only. Error message if the PSC service automation failed.
       
      string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public PSCAutomationConfig.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       Output only. Error message if the PSC service automation failed.
       
      string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.