Class UpdateCaseRequest.Builder (0.69.0)

public static final class UpdateCaseRequest.Builder extends GeneratedMessage.Builder<UpdateCaseRequest.Builder> implements UpdateCaseRequestOrBuilder

The request message for the UpdateCase endpoint

Protobuf type google.cloud.support.v2beta.UpdateCaseRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateCaseRequest build()
Returns
Type Description
UpdateCaseRequest

buildPartial()

public UpdateCaseRequest buildPartial()
Returns
Type Description
UpdateCaseRequest

clear()

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

clearCase()

public UpdateCaseRequest.Builder clearCase()

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCaseRequest.Builder

clearUpdateMask()

public UpdateCaseRequest.Builder clearUpdateMask()

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateCaseRequest.Builder

getCase()

public Case getCase()

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Case

The case.

getCaseBuilder()

public Case.Builder getCaseBuilder()

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Case.Builder

getCaseOrBuilder()

public CaseOrBuilder getCaseOrBuilder()

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CaseOrBuilder

getDefaultInstanceForType()

public UpdateCaseRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCaseRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCase()

public boolean hasCase()

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the case field is set.

hasUpdateMask()

public boolean hasUpdateMask()

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCase(Case value)

public UpdateCaseRequest.Builder mergeCase(Case value)

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Case
Returns
Type Description
UpdateCaseRequest.Builder

mergeFrom(UpdateCaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateCaseRequest.Builder mergeUpdateMask(FieldMask value)

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCaseRequest.Builder

setCase(Case value)

public UpdateCaseRequest.Builder setCase(Case value)

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Case
Returns
Type Description
UpdateCaseRequest.Builder

setCase(Case.Builder builderForValue)

public UpdateCaseRequest.Builder setCase(Case.Builder builderForValue)

Required. The case to update.

.google.cloud.support.v2beta.Case case = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Case.Builder
Returns
Type Description
UpdateCaseRequest.Builder

setUpdateMask(FieldMask value)

public UpdateCaseRequest.Builder setUpdateMask(FieldMask value)

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCaseRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

A list of attributes of the case that should be updated. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCaseRequest.Builder