Class Escalation.Builder (0.29.0)

public static final class Escalation.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Escalation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Escalation.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Escalation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Escalation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Escalation.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Escalation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Escalation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Escalation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Escalation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Escalation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Escalation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Escalation.Builder
Overrides