Class Escalation (0.12.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
TypeDescription
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Escalation getDefaultInstance()
Returns
TypeDescription
Escalation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Escalation.Builder newBuilder()
Returns
TypeDescription
Escalation.Builder

newBuilder(Escalation prototype)

public static Escalation.Builder newBuilder(Escalation prototype)
Parameter
NameDescription
prototypeEscalation
Returns
TypeDescription
Escalation.Builder

parseDelimitedFrom(InputStream input)

public static Escalation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Escalation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Escalation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Escalation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Escalation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Escalation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Escalation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Escalation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Escalation> parser()
Returns
TypeDescription
Parser<Escalation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Escalation getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<Escalation> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Escalation.Builder newBuilderForType()
Returns
TypeDescription
Escalation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Escalation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Escalation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Escalation.Builder toBuilder()
Returns
TypeDescription
Escalation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException