Class SignalZoneStateRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest
All Implemented Interfaces:
SignalZoneStateRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SignalZoneStateRequest extends com.google.protobuf.GeneratedMessage implements SignalZoneStateRequestOrBuilder
 A request to signal the state of a zone.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SignalZoneStateRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • REQUEST_ID_FIELD_NUMBER

      public static final int REQUEST_ID_FIELD_NUMBER
      See Also:
    • STATE_SIGNAL_FIELD_NUMBER

      public static final int STATE_SIGNAL_FIELD_NUMBER
      See Also:
    • PROVISIONING_STATE_SIGNAL_FIELD_NUMBER

      public static final int PROVISIONING_STATE_SIGNAL_FIELD_NUMBER
      See Also:
    • STEP_FIELD_NUMBER

      public static final int STEP_FIELD_NUMBER
      See Also:
    • DETAILS_FIELD_NUMBER

      public static final int DETAILS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SignalZoneStateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SignalZoneStateRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SignalZoneStateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SignalZoneStateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static SignalZoneStateRequest.Builder newBuilder()
    • newBuilder

      public static SignalZoneStateRequest.Builder newBuilder(SignalZoneStateRequest prototype)
    • toBuilder

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

      protected SignalZoneStateRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SignalZoneStateRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SignalZoneStateRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<SignalZoneStateRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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