Package com.google.cloud.support.v2
Interface CaseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Case,Case.Builder
public interface CaseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CaseClassificationgetClassification()The issue classification applicable to this case.CaseClassificationOrBuildergetClassificationOrBuilder()The issue classification applicable to this case.StringgetContactEmail()A user-supplied email address to send case update notifications for.com.google.protobuf.ByteStringgetContactEmailBytes()A user-supplied email address to send case update notifications for.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ActorgetCreator()The user who created the case.ActorOrBuildergetCreatorOrBuilder()The user who created the case.StringgetDescription()A broad description of the issue.com.google.protobuf.ByteStringgetDescriptionBytes()A broad description of the issue.StringgetDisplayName()The short summary of the issue reported in this case.com.google.protobuf.ByteStringgetDisplayNameBytes()The short summary of the issue reported in this case.booleangetEscalated()Whether the case is currently escalated.StringgetLanguageCode()The language the user has requested to receive support in.com.google.protobuf.ByteStringgetLanguageCodeBytes()The language the user has requested to receive support in.StringgetName()The resource name for the case.com.google.protobuf.ByteStringgetNameBytes()The resource name for the case.Case.PrioritygetPriority()The priority of this case.intgetPriorityValue()The priority of this case.Case.StategetState()Output only.intgetStateValue()Output only.StringgetSubscriberEmailAddresses(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.intgetSubscriberEmailAddressesCount()The email addresses to receive updates on this case.List<String>getSubscriberEmailAddressesList()The email addresses to receive updates on this case.booleangetTestCase()Whether this case was created for internal API testing and should not be acted on by the support team.StringgetTimeZone()The timezone of the user who created the support case.com.google.protobuf.ByteStringgetTimeZoneBytes()The timezone of the user who created the support case.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasClassification()The issue classification applicable to this case.booleanhasCreateTime()Output only.booleanhasCreator()The user who created the case.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name for the case.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name for the case.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
The short summary of the issue reported in this case.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The short summary of the issue reported in this case.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
A broad description of the issue.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
A broad description of the issue.
string description = 3;- Returns:
- The bytes for description.
-
hasClassification
boolean hasClassification()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;- Returns:
- Whether the classification field is set.
-
getClassification
CaseClassification getClassification()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;- Returns:
- The classification.
-
getClassificationOrBuilder
CaseClassificationOrBuilder getClassificationOrBuilder()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
-
getTimeZone
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:
- The timeZone.
-
getTimeZoneBytes
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;- Returns:
- The bytes for timeZone.
-
getSubscriberEmailAddressesList
List<String> getSubscriberEmailAddressesList()
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Returns:
- A list containing the subscriberEmailAddresses.
-
getSubscriberEmailAddressesCount
int getSubscriberEmailAddressesCount()
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Returns:
- The count of subscriberEmailAddresses.
-
getSubscriberEmailAddresses
String getSubscriberEmailAddresses(int index)
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
index- The index of the element to return.- Returns:
- The subscriberEmailAddresses at the given index.
-
getSubscriberEmailAddressesBytes
com.google.protobuf.ByteString getSubscriberEmailAddressesBytes(int index)
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subscriberEmailAddresses at the given index.
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
hasCreator
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:
- Whether the creator field is set.
-
getCreator
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:
- The creator.
-
getCreatorOrBuilder
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;
-
getContactEmail
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:
- The contactEmail.
-
getContactEmailBytes
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;- Returns:
- The bytes for contactEmail.
-
getEscalated
boolean getEscalated()
Whether the case is currently escalated.
bool escalated = 17;- Returns:
- The escalated.
-
getTestCase
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:
- The testCase.
-
getLanguageCode
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:
- The languageCode.
-
getLanguageCodeBytes
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;- Returns:
- The bytes for languageCode.
-
getPriorityValue
int getPriorityValue()
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
Case.Priority getPriority()
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;- Returns:
- The priority.
-
-