Package com.google.cloud.support.v2beta
Class Case
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.support.v2beta.Case
- All Implemented Interfaces:
CaseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Case
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Case is an object that contains the details of a support case.static enumThe case Priority.static enumThe status of a support case.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.TimestampOrBuilderOutput only.The user who created the case.The user who created the case.static CaseA broad description of the issue.com.google.protobuf.ByteStringA broad description of the issue.static final com.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.com.google.protobuf.Parser<Case>The priority of this case.intThe priority of this case.intgetState()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.TimestampOrBuilderOutput only.booleanThe issue classification applicable to this case.booleanOutput only.booleanThe user who created the case.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Case.Builderstatic Case.BuildernewBuilder(Case prototype) protected Case.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CaseparseDelimitedFrom(InputStream input) static CaseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CaseparseFrom(byte[] data) static CaseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CaseparseFrom(com.google.protobuf.ByteString data) static CaseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CaseparseFrom(com.google.protobuf.CodedInputStream input) static CaseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CaseparseFrom(InputStream input) static CaseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CaseparseFrom(ByteBuffer data) static CaseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Case>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CLASSIFICATION_FIELD_NUMBER
public static final int CLASSIFICATION_FIELD_NUMBER- See Also:
-
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER- See Also:
-
SUBSCRIBER_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int SUBSCRIBER_EMAIL_ADDRESSES_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER- See Also:
-
CONTACT_EMAIL_FIELD_NUMBER
public static final int CONTACT_EMAIL_FIELD_NUMBER- See Also:
-
ESCALATED_FIELD_NUMBER
public static final int ESCALATED_FIELD_NUMBER- See Also:
-
TEST_CASE_FIELD_NUMBER
public static final int TEST_CASE_FIELD_NUMBER- See Also:
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getEscalated
public boolean getEscalated()Whether the case is currently escalated.
bool escalated = 17;- Specified by:
getEscalatedin interfaceCaseOrBuilder- Returns:
- The escalated.
-
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.
-
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.
-
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.
-
getPriority
The priority of this case.
.google.cloud.support.v2beta.Case.Priority priority = 32;- Specified by:
getPriorityin interfaceCaseOrBuilder- Returns:
- The priority.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Case parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Case parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Case parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Case parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Case parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Case parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Case parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Case parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-