Package com.google.cloud.support.v2beta
Class Case.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Case.Builder>
com.google.cloud.support.v2beta.Case.Builder
- All Implemented Interfaces:
CaseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Case
public static final class Case.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Case.Builder>
implements CaseOrBuilder
A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time. A case is parented by a Google Cloud organization or project. Organizations are identified by a number, so the name of a case parented by an organization would look like this: ``` organizations/123/cases/456 ``` Projects have two unique identifiers, an ID and a number, and they look like this: ``` projects/abc/cases/456 ``` ``` projects/123/cases/456 ``` You can use either of them when calling the API. To learn more about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).Protobuf type
google.cloud.support.v2beta.Case-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubscriberEmailAddresses(Iterable<String> values) The email addresses to receive updates on this case.The email addresses to receive updates on this case.addSubscriberEmailAddressesBytes(com.google.protobuf.ByteString value) The email addresses to receive updates on this case.build()clear()The issue classification applicable to this case.A user-supplied email address to send case update notifications for.Output only.The user who created the case.A broad description of the issue.The short summary of the issue reported in this case.Whether the case is currently escalated.The language the user has requested to receive support in.Identifier.The priority of this case.Output only.The email addresses to receive updates on this case.Whether this case was created for internal API testing and should not be acted on by the support team.The timezone of the user who created the support case.Output only.The issue classification applicable to this case.The issue classification applicable to this case.The issue classification applicable to this case.A user-supplied email address to send case update notifications for.com.google.protobuf.ByteStringA user-supplied email address to send case update notifications for.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The user who created the case.The user who created the case.The user who created the case.A broad description of the issue.com.google.protobuf.ByteStringA broad description of the issue.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe short summary of the issue reported in this case.com.google.protobuf.ByteStringThe short summary of the issue reported in this case.booleanWhether the case is currently escalated.The language the user has requested to receive support in.com.google.protobuf.ByteStringThe language the user has requested to receive support in.getName()Identifier.com.google.protobuf.ByteStringIdentifier.The priority of this case.intThe priority of this case.getState()Output only.intOutput only.getSubscriberEmailAddresses(int index) The email addresses to receive updates on this case.com.google.protobuf.ByteStringgetSubscriberEmailAddressesBytes(int index) The email addresses to receive updates on this case.intThe email addresses to receive updates on this case.com.google.protobuf.ProtocolStringListThe email addresses to receive updates on this case.booleanWhether this case was created for internal API testing and should not be acted on by the support team.The timezone of the user who created the support case.com.google.protobuf.ByteStringThe timezone of the user who created the support case.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanThe issue classification applicable to this case.booleanOutput only.booleanThe user who created the case.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe issue classification applicable to this case.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeCreator(Actor value) The user who created the case.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.The issue classification applicable to this case.setClassification(CaseClassification.Builder builderForValue) The issue classification applicable to this case.setContactEmail(String value) A user-supplied email address to send case update notifications for.setContactEmailBytes(com.google.protobuf.ByteString value) A user-supplied email address to send case update notifications for.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCreator(Actor value) The user who created the case.setCreator(Actor.Builder builderForValue) The user who created the case.setDescription(String value) A broad description of the issue.setDescriptionBytes(com.google.protobuf.ByteString value) A broad description of the issue.setDisplayName(String value) The short summary of the issue reported in this case.setDisplayNameBytes(com.google.protobuf.ByteString value) The short summary of the issue reported in this case.setEscalated(boolean value) Whether the case is currently escalated.setLanguageCode(String value) The language the user has requested to receive support in.setLanguageCodeBytes(com.google.protobuf.ByteString value) The language the user has requested to receive support in.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setPriority(Case.Priority value) The priority of this case.setPriorityValue(int value) The priority of this case.setState(Case.State value) Output only.setStateValue(int value) Output only.setSubscriberEmailAddresses(int index, String value) The email addresses to receive updates on this case.setTestCase(boolean value) Whether this case was created for internal API testing and should not be acted on by the support team.setTimeZone(String value) The timezone of the user who created the support case.setTimeZoneBytes(com.google.protobuf.ByteString value) The timezone of the user who created the support case.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Case.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Case.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Case.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Case.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Case.Builder>- Throws:
IOException
-
getName
Identifier. The resource name for the case.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceCaseOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name for the case.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceCaseOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The resource name for the case.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The resource name for the case.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The resource name for the case.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
The short summary of the issue reported in this case.
string display_name = 2;- Specified by:
getDisplayNamein interfaceCaseOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The short summary of the issue reported in this case.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceCaseOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The short summary of the issue reported in this case.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The short summary of the issue reported in this case.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The short summary of the issue reported in this case.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
A broad description of the issue.
string description = 3;- Specified by:
getDescriptionin interfaceCaseOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A broad description of the issue.
string description = 3;- Specified by:
getDescriptionBytesin interfaceCaseOrBuilder- Returns:
- The bytes for description.
-
setDescription
A broad description of the issue.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A broad description of the issue.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A broad description of the issue.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasClassification
public boolean hasClassification()The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4;- Specified by:
hasClassificationin interfaceCaseOrBuilder- Returns:
- Whether the classification field is set.
-
getClassification
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4;- Specified by:
getClassificationin interfaceCaseOrBuilder- Returns:
- The classification.
-
setClassification
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4; -
setClassification
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4; -
mergeClassification
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4; -
clearClassification
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4; -
getClassificationBuilder
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4; -
getClassificationOrBuilder
The issue classification applicable to this case.
.google.cloud.support.v2beta.CaseClassification classification = 4;- Specified by:
getClassificationOrBuilderin interfaceCaseOrBuilder
-
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;- Specified by:
getTimeZonein interfaceCaseOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.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;- Specified by:
getTimeZoneBytesin interfaceCaseOrBuilder- Returns:
- The bytes for timeZone.
-
setTimeZone
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;- Parameters:
value- The timeZone to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setTimeZoneBytes
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;- Parameters:
value- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
getSubscriberEmailAddressesList
public com.google.protobuf.ProtocolStringList getSubscriberEmailAddressesList()The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Specified by:
getSubscriberEmailAddressesListin interfaceCaseOrBuilder- Returns:
- A list containing the subscriberEmailAddresses.
-
getSubscriberEmailAddressesCount
public int getSubscriberEmailAddressesCount()The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Specified by:
getSubscriberEmailAddressesCountin interfaceCaseOrBuilder- Returns:
- The count of subscriberEmailAddresses.
-
getSubscriberEmailAddresses
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Specified by:
getSubscriberEmailAddressesin interfaceCaseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subscriberEmailAddresses at the given index.
-
getSubscriberEmailAddressesBytes
public com.google.protobuf.ByteString getSubscriberEmailAddressesBytes(int index) The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Specified by:
getSubscriberEmailAddressesBytesin interfaceCaseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subscriberEmailAddresses at the given index.
-
setSubscriberEmailAddresses
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
index- The index to set the value at.value- The subscriberEmailAddresses to set.- Returns:
- This builder for chaining.
-
addSubscriberEmailAddresses
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
value- The subscriberEmailAddresses to add.- Returns:
- This builder for chaining.
-
addAllSubscriberEmailAddresses
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
values- The subscriberEmailAddresses to add.- Returns:
- This builder for chaining.
-
clearSubscriberEmailAddresses
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Returns:
- This builder for chaining.
-
addSubscriberEmailAddressesBytes
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
value- The bytes of the subscriberEmailAddresses to add.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. The current status of the support case.
.google.cloud.support.v2beta.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceCaseOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current status of the support case.
.google.cloud.support.v2beta.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current status of the support case.
.google.cloud.support.v2beta.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCaseOrBuilder- Returns:
- The state.
-
setState
Output only. The current status of the support case.
.google.cloud.support.v2beta.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current status of the support case.
.google.cloud.support.v2beta.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCaseOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCaseOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCaseOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceCaseOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCaseOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCaseOrBuilder
-
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.v2beta.Actor creator = 15;- Specified by:
hasCreatorin interfaceCaseOrBuilder- Returns:
- Whether the creator field is set.
-
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.v2beta.Actor creator = 15;- Specified by:
getCreatorin interfaceCaseOrBuilder- Returns:
- The creator.
-
setCreator
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.v2beta.Actor creator = 15; -
setCreator
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.v2beta.Actor creator = 15; -
mergeCreator
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.v2beta.Actor creator = 15; -
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.v2beta.Actor creator = 15; -
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.v2beta.Actor creator = 15; -
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.v2beta.Actor creator = 15;- Specified by:
getCreatorOrBuilderin interfaceCaseOrBuilder
-
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;- Specified by:
getContactEmailin interfaceCaseOrBuilder- Returns:
- The contactEmail.
-
getContactEmailBytes
public com.google.protobuf.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;- Specified by:
getContactEmailBytesin interfaceCaseOrBuilder- Returns:
- The bytes for contactEmail.
-
setContactEmail
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;- Parameters:
value- The contactEmail to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setContactEmailBytes
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;- Parameters:
value- The bytes for contactEmail to set.- Returns:
- This builder for chaining.
-
getEscalated
public boolean getEscalated()Whether the case is currently escalated.
bool escalated = 17;- Specified by:
getEscalatedin interfaceCaseOrBuilder- Returns:
- The escalated.
-
setEscalated
Whether the case is currently escalated.
bool escalated = 17;- Parameters:
value- The escalated to set.- Returns:
- This builder for chaining.
-
clearEscalated
Whether the case is currently escalated.
bool escalated = 17;- Returns:
- This builder for chaining.
-
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;- Specified by:
getTestCasein interfaceCaseOrBuilder- Returns:
- The testCase.
-
setTestCase
Whether this case was created for internal API testing and should not be acted on by the support team.
bool test_case = 19;- Parameters:
value- The testCase to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getLanguageCodein interfaceCaseOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.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;- Specified by:
getLanguageCodeBytesin interfaceCaseOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLanguageCodeBytes
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;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getPriorityValue
public int getPriorityValue()The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Specified by:
getPriorityValuein interfaceCaseOrBuilder- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Parameters:
value- The enum numeric value on the wire for priority to set.- Returns:
- This builder for chaining.
-
getPriority
The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Specified by:
getPriorityin interfaceCaseOrBuilder- Returns:
- The priority.
-
setPriority
The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Returns:
- This builder for chaining.
-