Class UnitOperationCondition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UnitOperationCondition.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Builder
All Implemented Interfaces:
UnitOperationConditionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UnitOperationCondition

public static final class UnitOperationCondition.Builder extends com.google.protobuf.GeneratedMessage.Builder<UnitOperationCondition.Builder> implements UnitOperationConditionOrBuilder
 UnitOperationCondition describes the status of an Unit Operation.
 UnitOperationCondition is individual components that contribute to an overall
 state.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition
  • 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<UnitOperationCondition.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<UnitOperationCondition.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<UnitOperationCondition.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UnitOperationCondition.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<UnitOperationCondition.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
       Required. Status of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStatusValue in interface UnitOperationConditionOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public UnitOperationCondition.Builder setStatusValue(int value)
       Required. Status of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public UnitOperationCondition.Status getStatus()
       Required. Status of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStatus in interface UnitOperationConditionOrBuilder
      Returns:
      The status.
    • setStatus

       Required. Status of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public UnitOperationCondition.Builder clearStatus()
       Required. Status of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status status = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       Required. Type of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTypeValue in interface UnitOperationConditionOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public UnitOperationCondition.Builder setTypeValue(int value)
       Required. Type of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public UnitOperationCondition.Type getType()
       Required. Type of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getType in interface UnitOperationConditionOrBuilder
      Returns:
      The type.
    • setType

       Required. Type of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public UnitOperationCondition.Builder clearType()
       Required. Type of the condition.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasLastTransitionTime

      public boolean hasLastTransitionTime()
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasLastTransitionTime in interface UnitOperationConditionOrBuilder
      Returns:
      Whether the lastTransitionTime field is set.
    • getLastTransitionTime

      public com.google.protobuf.Timestamp getLastTransitionTime()
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLastTransitionTime in interface UnitOperationConditionOrBuilder
      Returns:
      The lastTransitionTime.
    • setLastTransitionTime

      public UnitOperationCondition.Builder setLastTransitionTime(com.google.protobuf.Timestamp value)
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
    • setLastTransitionTime

      public UnitOperationCondition.Builder setLastTransitionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeLastTransitionTime

      public UnitOperationCondition.Builder mergeLastTransitionTime(com.google.protobuf.Timestamp value)
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearLastTransitionTime

      public UnitOperationCondition.Builder clearLastTransitionTime()
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
    • getLastTransitionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastTransitionTimeBuilder()
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
    • getLastTransitionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder()
       Required. Last time the condition transited from one status to another.
       
      .google.protobuf.Timestamp last_transition_time = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLastTransitionTimeOrBuilder in interface UnitOperationConditionOrBuilder
    • getMessage

      public String getMessage()
       Required. Human readable message indicating details about the last
       transition.
       
      string message = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMessage in interface UnitOperationConditionOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Required. Human readable message indicating details about the last
       transition.
       
      string message = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMessageBytes in interface UnitOperationConditionOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public UnitOperationCondition.Builder setMessage(String value)
       Required. Human readable message indicating details about the last
       transition.
       
      string message = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public UnitOperationCondition.Builder clearMessage()
       Required. Human readable message indicating details about the last
       transition.
       
      string message = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public UnitOperationCondition.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Required. Human readable message indicating details about the last
       transition.
       
      string message = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getReason

      public String getReason()
       Required. Brief reason for the condition's last transition.
       
      string reason = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getReason in interface UnitOperationConditionOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       Required. Brief reason for the condition's last transition.
       
      string reason = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getReasonBytes in interface UnitOperationConditionOrBuilder
      Returns:
      The bytes for reason.
    • setReason

      public UnitOperationCondition.Builder setReason(String value)
       Required. Brief reason for the condition's last transition.
       
      string reason = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

      public UnitOperationCondition.Builder clearReason()
       Required. Brief reason for the condition's last transition.
       
      string reason = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setReasonBytes

      public UnitOperationCondition.Builder setReasonBytes(com.google.protobuf.ByteString value)
       Required. Brief reason for the condition's last transition.
       
      string reason = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for reason to set.
      Returns:
      This builder for chaining.