Class EscalateCaseRequest.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EscalateCaseRequest build()
Returns
TypeDescription
EscalateCaseRequest

buildPartial()

public EscalateCaseRequest buildPartial()
Returns
TypeDescription
EscalateCaseRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EscalateCaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EscalateCaseRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public EscalateCaseRequest getDefaultInstanceForType()
Returns
TypeDescription
EscalateCaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getEscalationBuilder()

public Escalation.Builder getEscalationBuilder()

The escalation object to be sent with the escalation request.

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

Returns
TypeDescription
Escalation.Builder

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEscalation
Returns
TypeDescription
EscalateCaseRequest.Builder

mergeFrom(EscalateCaseRequest other)

public EscalateCaseRequest.Builder mergeFrom(EscalateCaseRequest other)
Parameter
NameDescription
otherEscalateCaseRequest
Returns
TypeDescription
EscalateCaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EscalateCaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEscalation
Returns
TypeDescription
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
NameDescription
builderForValueEscalation.Builder
Returns
TypeDescription
EscalateCaseRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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