Class EscalateCaseRequest (0.1.0)

public final class EscalateCaseRequest extends GeneratedMessageV3 implements EscalateCaseRequestOrBuilder

The request message for the EscalateCase endpoint.

Protobuf type google.cloud.support.v2.EscalateCaseRequest

Static Fields

ESCALATION_FIELD_NUMBER

public static final int ESCALATION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EscalateCaseRequest getDefaultInstance()
Returns
TypeDescription
EscalateCaseRequest

getDescriptor()

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

newBuilder()

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

newBuilder(EscalateCaseRequest prototype)

public static EscalateCaseRequest.Builder newBuilder(EscalateCaseRequest prototype)
Parameter
NameDescription
prototypeEscalateCaseRequest
Returns
TypeDescription
EscalateCaseRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EscalateCaseRequest getDefaultInstanceForType()
Returns
TypeDescription
EscalateCaseRequest

getEscalation()

public Escalation getEscalation()

The escalation object to be sent with the escalation request.

.google.cloud.support.v2.Escalation escalation = 2;

Returns
TypeDescription
Escalation

The escalation.

getEscalationOrBuilder()

public EscalationOrBuilder getEscalationOrBuilder()

The escalation object to be sent with the escalation request.

.google.cloud.support.v2.Escalation escalation = 2;

Returns
TypeDescription
EscalationOrBuilder

getName()

public String getName()

Required. The fully qualified name of the Case resource to be escalated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The fully qualified name of the Case resource to be escalated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<EscalateCaseRequest> getParserForType()
Returns
TypeDescription
Parser<EscalateCaseRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEscalation()

public boolean hasEscalation()

The escalation object to be sent with the escalation request.

.google.cloud.support.v2.Escalation escalation = 2;

Returns
TypeDescription
boolean

Whether the escalation field is set.

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 EscalateCaseRequest.Builder newBuilderForType()
Returns
TypeDescription
EscalateCaseRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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