Class Escalation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Escalation.Builder>
com.google.cloud.support.v2beta.Escalation.Builder
All Implemented Interfaces:
EscalationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Escalation

public static final class Escalation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Escalation.Builder> implements EscalationOrBuilder
 An escalation of a support case.
 
Protobuf type google.cloud.support.v2beta.Escalation
  • 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<Escalation.Builder>
    • clear

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

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

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

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

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

      public Escalation.Builder mergeFrom(Escalation other)
    • isInitialized

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

      public Escalation.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<Escalation.Builder>
      Throws:
      IOException
    • getReasonValue

      public int getReasonValue()
       Required. The reason why the Case is being escalated.
       
      .google.cloud.support.v2beta.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getReasonValue in interface EscalationOrBuilder
      Returns:
      The enum numeric value on the wire for reason.
    • setReasonValue

      public Escalation.Builder setReasonValue(int value)
       Required. The reason why the Case is being escalated.
       
      .google.cloud.support.v2beta.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for reason to set.
      Returns:
      This builder for chaining.
    • getReason

      public Escalation.Reason getReason()
       Required. The reason why the Case is being escalated.
       
      .google.cloud.support.v2beta.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getReason in interface EscalationOrBuilder
      Returns:
      The reason.
    • setReason

      public Escalation.Builder setReason(Escalation.Reason value)
       Required. The reason why the Case is being escalated.
       
      .google.cloud.support.v2beta.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

      public Escalation.Builder clearReason()
       Required. The reason why the Case is being escalated.
       
      .google.cloud.support.v2beta.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getJustification

      public String getJustification()
       Required. A free text description to accompany the `reason` field above.
       Provides additional context on why the case is being escalated.
       
      string justification = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJustification in interface EscalationOrBuilder
      Returns:
      The justification.
    • getJustificationBytes

      public com.google.protobuf.ByteString getJustificationBytes()
       Required. A free text description to accompany the `reason` field above.
       Provides additional context on why the case is being escalated.
       
      string justification = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJustificationBytes in interface EscalationOrBuilder
      Returns:
      The bytes for justification.
    • setJustification

      public Escalation.Builder setJustification(String value)
       Required. A free text description to accompany the `reason` field above.
       Provides additional context on why the case is being escalated.
       
      string justification = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The justification to set.
      Returns:
      This builder for chaining.
    • clearJustification

      public Escalation.Builder clearJustification()
       Required. A free text description to accompany the `reason` field above.
       Provides additional context on why the case is being escalated.
       
      string justification = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setJustificationBytes

      public Escalation.Builder setJustificationBytes(com.google.protobuf.ByteString value)
       Required. A free text description to accompany the `reason` field above.
       Provides additional context on why the case is being escalated.
       
      string justification = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for justification to set.
      Returns:
      This builder for chaining.