Class Case.Builder (0.27.0)

See more code actions.
public static final class Case.Builder extends GeneratedMessageV3.Builder<Case.Builder> implements CaseOrBuilder

A support case.

Protobuf type google.cloud.support.v2.Case

CaseOrBuilder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Returns
Type Description
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
Name Description
values Iterable<String>

The subscriberEmailAddresses to add.

Returns
Type Description
Case.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Case.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The subscriberEmailAddresses to add.

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

The bytes of the subscriberEmailAddresses to add.

Returns
Type Description
Case.Builder

This builder for chaining.

build()

public Case build()
Returns
Type Description
Case

buildPartial()

public Case buildPartial()
Returns
Type Description
Case

clear()

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

clearClassification()

public Case.Builder clearClassification()

The issue classification applicable to this case.

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

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

clearDescription()

public Case.Builder clearDescription()

A broad description of the issue.

string description = 3;

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

This builder for chaining.

clearEscalated()

public Case.Builder clearEscalated()

Whether the case is currently escalated.

bool escalated = 17;

Returns
Type Description
Case.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Case.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Case.Builder

This builder for chaining.

clearName()

public Case.Builder clearName()

The resource name for the case.

string name = 1;

Returns
Type Description
Case.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPriority()

public Case.Builder clearPriority()

The priority of this case.

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

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

clone()

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

getClassification()

public CaseClassification getClassification()

The issue classification applicable to this case.

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

Returns
Type Description
CaseClassification

The classification.

getClassificationBuilder()

public CaseClassification.Builder getClassificationBuilder()

The issue classification applicable to this case.

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

Returns
Type Description
CaseClassification.Builder

getClassificationOrBuilder()

public CaseClassificationOrBuilder getClassificationOrBuilder()

The issue classification applicable to this case.

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

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

getDefaultInstanceForType()

public Case getDefaultInstanceForType()
Returns
Type Description
Case

getDescription()

public String getDescription()

A broad description of the issue.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A broad description of the issue.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The short summary of the issue reported in this case.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The short summary of the issue reported in this case.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getEscalated()

public boolean getEscalated()

Whether the case is currently escalated.

bool escalated = 17;

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

The bytes for languageCode.

getName()

public String getName()

The resource name for the case.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name for the case.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPriority()

public Case.Priority getPriority()

The priority of this case.

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

Returns
Type Description
Case.Priority

The priority.

getPriorityValue()

public int getPriorityValue()

The priority of this case.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

hasClassification()

public boolean hasClassification()

The issue classification applicable to this case.

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

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value CaseClassification
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Actor
Returns
Type Description
Case.Builder

mergeFrom(Case other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Case.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value CaseClassification
Returns
Type Description
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
Name Description
builderForValue CaseClassification.Builder
Returns
Type Description
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
Name Description
value String

The contactEmail to set.

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

The bytes for contactEmail to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value Actor
Returns
Type Description
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
Name Description
builderForValue Actor.Builder
Returns
Type Description
Case.Builder

setDescription(String value)

public Case.Builder setDescription(String value)

A broad description of the issue.

string description = 3;

Parameter
Name Description
value String

The description to set.

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

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

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

The bytes for displayName to set.

Returns
Type Description
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
Name Description
value boolean

The escalated to set.

Returns
Type Description
Case.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Case.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The languageCode to set.

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

The bytes for languageCode to set.

Returns
Type Description
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
Name Description
value String

The name to set.

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

The bytes for name to set.

Returns
Type Description
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
Name Description
value Case.Priority

The priority to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Case.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The subscriberEmailAddresses to set.

Returns
Type Description
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
Name Description
value boolean

The testCase to set.

Returns
Type Description
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
Name Description
value String

The timeZone to set.

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

The bytes for timeZone to set.

Returns
Type Description
Case.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Case.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Case.Builder