Class Escalation.Builder (0.69.0)

public static final class Escalation.Builder extends GeneratedMessage.Builder<Escalation.Builder> implements EscalationOrBuilder

An escalation of a support case.

Protobuf type google.cloud.support.v2.Escalation

Implements

EscalationOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Escalation build()
Returns
Type Description
Escalation

buildPartial()

public Escalation buildPartial()
Returns
Type Description
Escalation

clear()

public Escalation.Builder clear()
Returns
Type Description
Escalation.Builder
Overrides

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
Type Description
Escalation.Builder

This builder for chaining.

clearReason()

public Escalation.Builder clearReason()

Required. The reason why the Case is being escalated.

.google.cloud.support.v2.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Escalation.Builder

This builder for chaining.

getDefaultInstanceForType()

public Escalation getDefaultInstanceForType()
Returns
Type Description
Escalation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The justification.

getJustificationBytes()

public 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];

Returns
Type Description
ByteString

The bytes for justification.

getReason()

public Escalation.Reason getReason()

Required. The reason why the Case is being escalated.

.google.cloud.support.v2.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Escalation.Reason

The reason.

getReasonValue()

public int getReasonValue()

Required. The reason why the Case is being escalated.

.google.cloud.support.v2.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for reason.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Escalation other)

public Escalation.Builder mergeFrom(Escalation other)
Parameter
Name Description
other Escalation
Returns
Type Description
Escalation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Escalation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Escalation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Escalation.Builder
Overrides

setJustification(String value)

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];

Parameter
Name Description
value String

The justification to set.

Returns
Type Description
Escalation.Builder

This builder for chaining.

setJustificationBytes(ByteString value)

public Escalation.Builder setJustificationBytes(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];

Parameter
Name Description
value ByteString

The bytes for justification to set.

Returns
Type Description
Escalation.Builder

This builder for chaining.

setReason(Escalation.Reason value)

public Escalation.Builder setReason(Escalation.Reason value)

Required. The reason why the Case is being escalated.

.google.cloud.support.v2.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Escalation.Reason

The reason to set.

Returns
Type Description
Escalation.Builder

This builder for chaining.

setReasonValue(int value)

public Escalation.Builder setReasonValue(int value)

Required. The reason why the Case is being escalated.

.google.cloud.support.v2.Escalation.Reason reason = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for reason to set.

Returns
Type Description
Escalation.Builder

This builder for chaining.