public final class Case extends GeneratedMessageV3 implements CaseOrBuilder
A support case.
Protobuf type google.cloud.support.v2.Case
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CLASSIFICATION_FIELD_NUMBER
public static final int CLASSIFICATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CONTACT_EMAIL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ESCALATED_FIELD_NUMBER
public static final int ESCALATED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBSCRIBER_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int SUBSCRIBER_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TEST_CASE_FIELD_NUMBER
public static final int TEST_CASE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TIME_ZONE_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Case getDefaultInstance()
Returns |
---|
Type | Description |
Case | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Case.Builder newBuilder()
newBuilder(Case prototype)
public static Case.Builder newBuilder(Case prototype)
Parameter |
---|
Name | Description |
prototype | Case
|
public static Case parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Case | |
public static Case parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
parseFrom(byte[] data)
public static Case parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Case | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Case parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
parseFrom(ByteString data)
public static Case parseFrom(ByteString data)
Returns |
---|
Type | Description |
Case | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Case parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
public static Case parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Case | |
public static Case parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
public static Case parseFrom(InputStream input)
Returns |
---|
Type | Description |
Case | |
public static Case parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
parseFrom(ByteBuffer data)
public static Case parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Case | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Case parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Case | |
parser()
public static Parser<Case> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getClassification()
public CaseClassification getClassification()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
getClassificationOrBuilder()
public CaseClassificationOrBuilder getClassificationOrBuilder()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
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.
|
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.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
|
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;
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.
|
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()
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.
|
getParserForType()
public Parser<Case> getParserForType()
Overrides
getPriority()
public Case.Priority getPriority()
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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];
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;
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
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];
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Case.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Case.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Case.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides