Class Case.Builder (0.21.0)

public static final class Case.Builder extends GeneratedMessageV3.Builder<Case.Builder> implements CaseOrBuilder

A support case.

Protobuf type google.cloud.support.v2.Case

Implements

CaseOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSubscriberEmailAddresses(Iterable<String> values)

public Case.Builder addAllSubscriberEmailAddresses(Iterable<String> values)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameter
NameDescription
valuesIterable<String>

The subscriberEmailAddresses to add.

Returns
TypeDescription
Case.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSubscriberEmailAddresses(String value)

public Case.Builder addSubscriberEmailAddresses(String value)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameter
NameDescription
valueString

The subscriberEmailAddresses to add.

Returns
TypeDescription
Case.Builder

This builder for chaining.

addSubscriberEmailAddressesBytes(ByteString value)

public Case.Builder addSubscriberEmailAddressesBytes(ByteString value)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameter
NameDescription
valueByteString

The bytes of the subscriberEmailAddresses to add.

Returns
TypeDescription
Case.Builder

This builder for chaining.

build()

public Case build()
Returns
TypeDescription
Case

buildPartial()

public Case buildPartial()
Returns
TypeDescription
Case

clear()

public Case.Builder clear()
Returns
TypeDescription
Case.Builder
Overrides

clearClassification()

public Case.Builder clearClassification()

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Returns
TypeDescription
Case.Builder

clearContactEmail()

public Case.Builder clearContactEmail()

A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

string contact_email = 35;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearCreateTime()

public Case.Builder clearCreateTime()

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Case.Builder

clearCreator()

public Case.Builder clearCreator()

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Returns
TypeDescription
Case.Builder

clearDescription()

public Case.Builder clearDescription()

A broad description of the issue.

string description = 3;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearDisplayName()

public Case.Builder clearDisplayName()

The short summary of the issue reported in this case.

string display_name = 2;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearEscalated()

public Case.Builder clearEscalated()

Whether the case is currently escalated.

bool escalated = 17;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Case.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Case.Builder
Overrides

clearLanguageCode()

public Case.Builder clearLanguageCode()

The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., "en", "zh-CN", "zh-TW", "ja", "ko"). If no language or an unsupported language is specified, this field defaults to English (en).

Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

string language_code = 23;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearName()

public Case.Builder clearName()

The resource name for the case.

string name = 1;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPriority()

public Case.Builder clearPriority()

The priority of this case.

.google.cloud.support.v2.Case.Priority priority = 32;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearState()

public Case.Builder clearState()

Output only. The current status of the support case.

.google.cloud.support.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearSubscriberEmailAddresses()

public Case.Builder clearSubscriberEmailAddresses()

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearTestCase()

public Case.Builder clearTestCase()

Whether this case was created for internal API testing and should not be acted on by the support team.

bool test_case = 19;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearTimeZone()

public Case.Builder clearTimeZone()

The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

string time_zone = 8;

Returns
TypeDescription
Case.Builder

This builder for chaining.

clearUpdateTime()

public Case.Builder clearUpdateTime()

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Case.Builder

clone()

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

getClassification()

public CaseClassification getClassification()

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Returns
TypeDescription
CaseClassification

The classification.

getClassificationBuilder()

public CaseClassification.Builder getClassificationBuilder()

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Returns
TypeDescription
CaseClassification.Builder

getClassificationOrBuilder()

public CaseClassificationOrBuilder getClassificationOrBuilder()

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Returns
TypeDescription
CaseClassificationOrBuilder

getContactEmail()

public String getContactEmail()

A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

string contact_email = 35;

Returns
TypeDescription
String

The contactEmail.

getContactEmailBytes()

public ByteString getContactEmailBytes()

A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

string contact_email = 35;

Returns
TypeDescription
ByteString

The bytes for contactEmail.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCreator()

public Actor getCreator()

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Returns
TypeDescription
Actor

The creator.

getCreatorBuilder()

public Actor.Builder getCreatorBuilder()

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Returns
TypeDescription
Actor.Builder

getCreatorOrBuilder()

public ActorOrBuilder getCreatorOrBuilder()

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Returns
TypeDescription
ActorOrBuilder

getDefaultInstanceForType()

public Case getDefaultInstanceForType()
Returns
TypeDescription
Case

getDescription()

public String getDescription()

A broad description of the issue.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A broad description of the issue.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The short summary of the issue reported in this case.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The short summary of the issue reported in this case.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEscalated()

public boolean getEscalated()

Whether the case is currently escalated.

bool escalated = 17;

Returns
TypeDescription
boolean

The escalated.

getLanguageCode()

public String getLanguageCode()

The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., "en", "zh-CN", "zh-TW", "ja", "ko"). If no language or an unsupported language is specified, this field defaults to English (en).

Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

string language_code = 23;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., "en", "zh-CN", "zh-TW", "ja", "ko"). If no language or an unsupported language is specified, this field defaults to English (en).

Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

string language_code = 23;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getName()

public String getName()

The resource name for the case.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name for the case.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPriority()

public Case.Priority getPriority()

The priority of this case.

.google.cloud.support.v2.Case.Priority priority = 32;

Returns
TypeDescription
Case.Priority

The priority.

getPriorityValue()

public int getPriorityValue()

The priority of this case.

.google.cloud.support.v2.Case.Priority priority = 32;

Returns
TypeDescription
int

The enum numeric value on the wire for priority.

getState()

public Case.State getState()

Output only. The current status of the support case.

.google.cloud.support.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Case.State

The state.

getStateValue()

public int getStateValue()

Output only. The current status of the support case.

.google.cloud.support.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSubscriberEmailAddresses(int index)

public String getSubscriberEmailAddresses(int index)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The subscriberEmailAddresses at the given index.

getSubscriberEmailAddressesBytes(int index)

public ByteString getSubscriberEmailAddressesBytes(int index)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subscriberEmailAddresses at the given index.

getSubscriberEmailAddressesCount()

public int getSubscriberEmailAddressesCount()

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Returns
TypeDescription
int

The count of subscriberEmailAddresses.

getSubscriberEmailAddressesList()

public ProtocolStringList getSubscriberEmailAddressesList()

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Returns
TypeDescription
ProtocolStringList

A list containing the subscriberEmailAddresses.

getTestCase()

public boolean getTestCase()

Whether this case was created for internal API testing and should not be acted on by the support team.

bool test_case = 19;

Returns
TypeDescription
boolean

The testCase.

getTimeZone()

public String getTimeZone()

The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

string time_zone = 8;

Returns
TypeDescription
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

string time_zone = 8;

Returns
TypeDescription
ByteString

The bytes for timeZone.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasClassification()

public boolean hasClassification()

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Returns
TypeDescription
boolean

Whether the classification field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCreator()

public boolean hasCreator()

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Returns
TypeDescription
boolean

Whether the creator field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeClassification(CaseClassification value)

public Case.Builder mergeClassification(CaseClassification value)

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Parameter
NameDescription
valueCaseClassification
Returns
TypeDescription
Case.Builder

mergeCreateTime(Timestamp value)

public Case.Builder mergeCreateTime(Timestamp value)

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Case.Builder

mergeCreator(Actor value)

public Case.Builder mergeCreator(Actor value)

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Parameter
NameDescription
valueActor
Returns
TypeDescription
Case.Builder

mergeFrom(Case other)

public Case.Builder mergeFrom(Case other)
Parameter
NameDescription
otherCase
Returns
TypeDescription
Case.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Case.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Case.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Case.Builder mergeUpdateTime(Timestamp value)

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Case.Builder

setClassification(CaseClassification value)

public Case.Builder setClassification(CaseClassification value)

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Parameter
NameDescription
valueCaseClassification
Returns
TypeDescription
Case.Builder

setClassification(CaseClassification.Builder builderForValue)

public Case.Builder setClassification(CaseClassification.Builder builderForValue)

The issue classification applicable to this case.

.google.cloud.support.v2.CaseClassification classification = 4;

Parameter
NameDescription
builderForValueCaseClassification.Builder
Returns
TypeDescription
Case.Builder

setContactEmail(String value)

public Case.Builder setContactEmail(String value)

A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

string contact_email = 35;

Parameter
NameDescription
valueString

The contactEmail to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setContactEmailBytes(ByteString value)

public Case.Builder setContactEmailBytes(ByteString value)

A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

string contact_email = 35;

Parameter
NameDescription
valueByteString

The bytes for contactEmail to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Case.Builder setCreateTime(Timestamp value)

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Case.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Case.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time this case was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Case.Builder

setCreator(Actor value)

public Case.Builder setCreator(Actor value)

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Parameter
NameDescription
valueActor
Returns
TypeDescription
Case.Builder

setCreator(Actor.Builder builderForValue)

public Case.Builder setCreator(Actor.Builder builderForValue)

The user who created the case.

Note: The name and email will be obfuscated if the case was created by Google Support.

.google.cloud.support.v2.Actor creator = 15;

Parameter
NameDescription
builderForValueActor.Builder
Returns
TypeDescription
Case.Builder

setDescription(String value)

public Case.Builder setDescription(String value)

A broad description of the issue.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Case.Builder setDescriptionBytes(ByteString value)

A broad description of the issue.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setDisplayName(String value)

public Case.Builder setDisplayName(String value)

The short summary of the issue reported in this case.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Case.Builder setDisplayNameBytes(ByteString value)

The short summary of the issue reported in this case.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setEscalated(boolean value)

public Case.Builder setEscalated(boolean value)

Whether the case is currently escalated.

bool escalated = 17;

Parameter
NameDescription
valueboolean

The escalated to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public Case.Builder setLanguageCode(String value)

The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., "en", "zh-CN", "zh-TW", "ja", "ko"). If no language or an unsupported language is specified, this field defaults to English (en).

Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

string language_code = 23;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Case.Builder setLanguageCodeBytes(ByteString value)

The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., "en", "zh-CN", "zh-TW", "ja", "ko"). If no language or an unsupported language is specified, this field defaults to English (en).

Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

string language_code = 23;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setName(String value)

public Case.Builder setName(String value)

The resource name for the case.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Case.Builder setNameBytes(ByteString value)

The resource name for the case.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setPriority(Case.Priority value)

public Case.Builder setPriority(Case.Priority value)

The priority of this case.

.google.cloud.support.v2.Case.Priority priority = 32;

Parameter
NameDescription
valueCase.Priority

The priority to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setPriorityValue(int value)

public Case.Builder setPriorityValue(int value)

The priority of this case.

.google.cloud.support.v2.Case.Priority priority = 32;

Parameter
NameDescription
valueint

The enum numeric value on the wire for priority to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

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

public Case.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Case.Builder
Overrides

setState(Case.State value)

public Case.Builder setState(Case.State value)

Output only. The current status of the support case.

.google.cloud.support.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCase.State

The state to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setStateValue(int value)

public Case.Builder setStateValue(int value)

Output only. The current status of the support case.

.google.cloud.support.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setSubscriberEmailAddresses(int index, String value)

public Case.Builder setSubscriberEmailAddresses(int index, String value)

The email addresses to receive updates on this case.

repeated string subscriber_email_addresses = 9;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The subscriberEmailAddresses to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setTestCase(boolean value)

public Case.Builder setTestCase(boolean value)

Whether this case was created for internal API testing and should not be acted on by the support team.

bool test_case = 19;

Parameter
NameDescription
valueboolean

The testCase to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setTimeZone(String value)

public Case.Builder setTimeZone(String value)

The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

string time_zone = 8;

Parameter
NameDescription
valueString

The timeZone to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public Case.Builder setTimeZoneBytes(ByteString value)

The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

string time_zone = 8;

Parameter
NameDescription
valueByteString

The bytes for timeZone to set.

Returns
TypeDescription
Case.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Case.Builder setUpdateTime(Timestamp value)

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Case.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Case.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time this case was last updated.

.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Case.Builder