public static final class UpdateCaseRequest.Builder extends GeneratedMessageV3.Builder<UpdateCaseRequest.Builder> implements UpdateCaseRequestOrBuilder
The request message for the UpdateCase endpoint
Protobuf type google.cloud.support.v2.UpdateCaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCaseRequest build()
buildPartial()
public UpdateCaseRequest buildPartial()
clear()
public UpdateCaseRequest.Builder clear()
Overrides
clearCase()
public UpdateCaseRequest.Builder clearCase()
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCaseRequest.Builder clearUpdateMask()
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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;
clone()
public UpdateCaseRequest.Builder clone()
Overrides
getCase()
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Case | The case.
|
getCaseBuilder()
public Case.Builder getCaseBuilder()
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
getCaseOrBuilder()
public CaseOrBuilder getCaseOrBuilder()
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCaseRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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 object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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;
hasCase()
Required. The case object to update.
.google.cloud.support.v2.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 object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCase(Case value)
public UpdateCaseRequest.Builder mergeCase(Case value)
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Case
|
mergeFrom(UpdateCaseRequest other)
public UpdateCaseRequest.Builder mergeFrom(UpdateCaseRequest other)
public UpdateCaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCaseRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCaseRequest.Builder mergeUpdateMask(FieldMask value)
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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;
setCase(Case value)
public UpdateCaseRequest.Builder setCase(Case value)
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Case
|
setCase(Case.Builder builderForValue)
public UpdateCaseRequest.Builder setCase(Case.Builder builderForValue)
Required. The case object to update.
.google.cloud.support.v2.Case case = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateCaseRequest.Builder setUpdateMask(FieldMask value)
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
A list of attributes of the case object that should be updated
as part of this request. Supported values are priority
, display_name
,
and subscriber_email_addresses
. If no fields are specified, all supported
fields are updated.
WARNING: 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
|