Class Escalation.Builder (0.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Escalation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Escalation.Builder
Overrides

build()

public Escalation build()
Returns
TypeDescription
Escalation

buildPartial()

public Escalation buildPartial()
Returns
TypeDescription
Escalation

clear()

public Escalation.Builder clear()
Returns
TypeDescription
Escalation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Escalation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Escalation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Escalation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Escalation.Builder

This builder for chaining.

clone()

public Escalation.Builder clone()
Returns
TypeDescription
Escalation.Builder
Overrides

getDefaultInstanceForType()

public Escalation getDefaultInstanceForType()
Returns
TypeDescription
Escalation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for reason.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Escalation other)

public Escalation.Builder mergeFrom(Escalation other)
Parameter
NameDescription
otherEscalation
Returns
TypeDescription
Escalation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Escalation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Escalation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Escalation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Escalation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Escalation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Escalation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The justification to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for justification to set.

Returns
TypeDescription
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
NameDescription
valueEscalation.Reason

The reason to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Escalation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Escalation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Escalation.Builder
Overrides