Class EscalateCaseRequest.Builder (0.32.0)

public static final class EscalateCaseRequest.Builder extends GeneratedMessageV3.Builder<EscalateCaseRequest.Builder> implements EscalateCaseRequestOrBuilder

The request message for the EscalateCase endpoint.

Protobuf type google.cloud.support.v2.EscalateCaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EscalateCaseRequest build()
Returns
Type Description
EscalateCaseRequest

buildPartial()

public EscalateCaseRequest buildPartial()
Returns
Type Description
EscalateCaseRequest

clear()

public EscalateCaseRequest.Builder clear()
Returns
Type Description
EscalateCaseRequest.Builder
Overrides

clearEscalation()

public EscalateCaseRequest.Builder clearEscalation()

The escalation object to be sent with the escalation request.

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

Returns
Type Description
EscalateCaseRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public EscalateCaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EscalateCaseRequest.Builder
Overrides

clearName()

public EscalateCaseRequest.Builder clearName()

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
Type Description
EscalateCaseRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EscalateCaseRequest getDefaultInstanceForType()
Returns
Type Description
EscalateCaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEscalation()

public Escalation getEscalation()

The escalation object to be sent with the escalation request.

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

Returns
Type Description
Escalation

The escalation.

getEscalationBuilder()

public Escalation.Builder getEscalationBuilder()

The escalation object to be sent with the escalation request.

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

Returns
Type Description
Escalation.Builder

getEscalationOrBuilder()

public EscalationOrBuilder getEscalationOrBuilder()

The escalation object to be sent with the escalation request.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

hasEscalation()

public boolean hasEscalation()

The escalation object to be sent with the escalation request.

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

Returns
Type Description
boolean

Whether the escalation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEscalation(Escalation value)

public EscalateCaseRequest.Builder mergeEscalation(Escalation value)

The escalation object to be sent with the escalation request.

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

Parameter
Name Description
value Escalation
Returns
Type Description
EscalateCaseRequest.Builder

mergeFrom(EscalateCaseRequest other)

public EscalateCaseRequest.Builder mergeFrom(EscalateCaseRequest other)
Parameter
Name Description
other EscalateCaseRequest
Returns
Type Description
EscalateCaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EscalateCaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EscalateCaseRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EscalateCaseRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EscalateCaseRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEscalation(Escalation value)

public EscalateCaseRequest.Builder setEscalation(Escalation value)

The escalation object to be sent with the escalation request.

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

Parameter
Name Description
value Escalation
Returns
Type Description
EscalateCaseRequest.Builder

setEscalation(Escalation.Builder builderForValue)

public EscalateCaseRequest.Builder setEscalation(Escalation.Builder builderForValue)

The escalation object to be sent with the escalation request.

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

Parameter
Name Description
builderForValue Escalation.Builder
Returns
Type Description
EscalateCaseRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EscalateCaseRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EscalateCaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EscalateCaseRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EscalateCaseRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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