Class Escalation (0.37.0)

public final class Escalation extends GeneratedMessageV3 implements EscalationOrBuilder

An escalation of a support case.

Protobuf type google.cloud.support.v2.Escalation

Implements

EscalationOrBuilder

Static Fields

JUSTIFICATION_FIELD_NUMBER

public static final int JUSTIFICATION_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Escalation getDefaultInstance()
Returns
Type Description
Escalation

getDescriptor()

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

newBuilder()

public static Escalation.Builder newBuilder()
Returns
Type Description
Escalation.Builder

newBuilder(Escalation prototype)

public static Escalation.Builder newBuilder(Escalation prototype)
Parameter
Name Description
prototype Escalation
Returns
Type Description
Escalation.Builder

parseDelimitedFrom(InputStream input)

public static Escalation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Escalation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Escalation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Escalation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Escalation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Escalation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Escalation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Escalation> parser()
Returns
Type Description
Parser<Escalation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Escalation getDefaultInstanceForType()
Returns
Type Description
Escalation

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.

getParserForType()

public Parser<Escalation> getParserForType()
Returns
Type Description
Parser<Escalation>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Escalation.Builder newBuilderForType()
Returns
Type Description
Escalation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Escalation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Escalation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Escalation.Builder toBuilder()
Returns
Type Description
Escalation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException