Class SignalZoneStateRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SignalZoneStateRequest.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.Builder
All Implemented Interfaces:
SignalZoneStateRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SignalZoneStateRequest

public static final class SignalZoneStateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SignalZoneStateRequest.Builder> implements SignalZoneStateRequestOrBuilder
 A request to signal the state of a zone.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest
  • 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<SignalZoneStateRequest.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<SignalZoneStateRequest.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<SignalZoneStateRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SignalZoneStateRequest.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<SignalZoneStateRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The name of the zone.
       Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface SignalZoneStateRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the zone.
       Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface SignalZoneStateRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SignalZoneStateRequest.Builder setName(String value)
       Required. The name of the zone.
       Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SignalZoneStateRequest.Builder clearName()
       Required. The name of the zone.
       Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public SignalZoneStateRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the zone.
       Format: `projects/{project}/locations/{location}/zones/{zone}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface SignalZoneStateRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface SignalZoneStateRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public SignalZoneStateRequest.Builder setRequestId(String value)
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public SignalZoneStateRequest.Builder clearRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public SignalZoneStateRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getStateSignalValue

      public int getStateSignalValue()
       Optional. The state signal to send for this zone. Either state_signal or
       provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignal state_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStateSignalValue in interface SignalZoneStateRequestOrBuilder
      Returns:
      The enum numeric value on the wire for stateSignal.
    • setStateSignalValue

      public SignalZoneStateRequest.Builder setStateSignalValue(int value)
       Optional. The state signal to send for this zone. Either state_signal or
       provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignal state_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for stateSignal to set.
      Returns:
      This builder for chaining.
    • getStateSignal

      public SignalZoneStateRequest.StateSignal getStateSignal()
       Optional. The state signal to send for this zone. Either state_signal or
       provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignal state_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStateSignal in interface SignalZoneStateRequestOrBuilder
      Returns:
      The stateSignal.
    • setStateSignal

       Optional. The state signal to send for this zone. Either state_signal or
       provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignal state_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The stateSignal to set.
      Returns:
      This builder for chaining.
    • clearStateSignal

      public SignalZoneStateRequest.Builder clearStateSignal()
       Optional. The state signal to send for this zone. Either state_signal or
       provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.StateSignal state_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getProvisioningStateSignalValue

      public int getProvisioningStateSignalValue()
       Optional. The provisioning state signal to send for this zone. Either
       state_signal or provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignal provisioning_state_signal = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProvisioningStateSignalValue in interface SignalZoneStateRequestOrBuilder
      Returns:
      The enum numeric value on the wire for provisioningStateSignal.
    • setProvisioningStateSignalValue

      public SignalZoneStateRequest.Builder setProvisioningStateSignalValue(int value)
       Optional. The provisioning state signal to send for this zone. Either
       state_signal or provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignal provisioning_state_signal = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for provisioningStateSignal to set.
      Returns:
      This builder for chaining.
    • getProvisioningStateSignal

      public SignalZoneStateRequest.ProvisioningStateSignal getProvisioningStateSignal()
       Optional. The provisioning state signal to send for this zone. Either
       state_signal or provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignal provisioning_state_signal = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProvisioningStateSignal in interface SignalZoneStateRequestOrBuilder
      Returns:
      The provisioningStateSignal.
    • setProvisioningStateSignal

       Optional. The provisioning state signal to send for this zone. Either
       state_signal or provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignal provisioning_state_signal = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The provisioningStateSignal to set.
      Returns:
      This builder for chaining.
    • clearProvisioningStateSignal

      public SignalZoneStateRequest.Builder clearProvisioningStateSignal()
       Optional. The provisioning state signal to send for this zone. Either
       state_signal or provisioning_state_signal must be set, but not both.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest.ProvisioningStateSignal provisioning_state_signal = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getStep

      public String getStep()
       Optional. The step being executed. Provides a finer grained status when the
       state_signal is FACTORY_TURNUP_CHECKS_STARTED or
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string step = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStep in interface SignalZoneStateRequestOrBuilder
      Returns:
      The step.
    • getStepBytes

      public com.google.protobuf.ByteString getStepBytes()
       Optional. The step being executed. Provides a finer grained status when the
       state_signal is FACTORY_TURNUP_CHECKS_STARTED or
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string step = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStepBytes in interface SignalZoneStateRequestOrBuilder
      Returns:
      The bytes for step.
    • setStep

      public SignalZoneStateRequest.Builder setStep(String value)
       Optional. The step being executed. Provides a finer grained status when the
       state_signal is FACTORY_TURNUP_CHECKS_STARTED or
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string step = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The step to set.
      Returns:
      This builder for chaining.
    • clearStep

      public SignalZoneStateRequest.Builder clearStep()
       Optional. The step being executed. Provides a finer grained status when the
       state_signal is FACTORY_TURNUP_CHECKS_STARTED or
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string step = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setStepBytes

      public SignalZoneStateRequest.Builder setStepBytes(com.google.protobuf.ByteString value)
       Optional. The step being executed. Provides a finer grained status when the
       state_signal is FACTORY_TURNUP_CHECKS_STARTED or
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string step = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for step to set.
      Returns:
      This builder for chaining.
    • getDetails

      public String getDetails()
       Optional. Additional details, such as an error message when state_signal is
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string details = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDetails in interface SignalZoneStateRequestOrBuilder
      Returns:
      The details.
    • getDetailsBytes

      public com.google.protobuf.ByteString getDetailsBytes()
       Optional. Additional details, such as an error message when state_signal is
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string details = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDetailsBytes in interface SignalZoneStateRequestOrBuilder
      Returns:
      The bytes for details.
    • setDetails

      public SignalZoneStateRequest.Builder setDetails(String value)
       Optional. Additional details, such as an error message when state_signal is
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string details = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • clearDetails

      public SignalZoneStateRequest.Builder clearDetails()
       Optional. Additional details, such as an error message when state_signal is
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string details = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDetailsBytes

      public SignalZoneStateRequest.Builder setDetailsBytes(com.google.protobuf.ByteString value)
       Optional. Additional details, such as an error message when state_signal is
       FACTORY_TURNUP_CHECKS_FAILED.
       
      string details = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for details to set.
      Returns:
      This builder for chaining.