Package com.google.cloud.support.v2
Class Case.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
- com.google.cloud.support.v2.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.GeneratedMessageV3.Builder<Case.Builder> implements CaseOrBuilder
A support case.
Protobuf typegoogle.cloud.support.v2.Case
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Case.Builder
addAllSubscriberEmailAddresses(Iterable<String> values)
The email addresses to receive updates on this case.Case.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Case.Builder
addSubscriberEmailAddresses(String value)
The email addresses to receive updates on this case.Case.Builder
addSubscriberEmailAddressesBytes(com.google.protobuf.ByteString value)
The email addresses to receive updates on this case.Case
build()
Case
buildPartial()
Case.Builder
clear()
Case.Builder
clearClassification()
The issue classification applicable to this case.Case.Builder
clearContactEmail()
A user-supplied email address to send case update notifications for.Case.Builder
clearCreateTime()
Output only.Case.Builder
clearCreator()
The user who created the case.Case.Builder
clearDescription()
A broad description of the issue.Case.Builder
clearDisplayName()
The short summary of the issue reported in this case.Case.Builder
clearEscalated()
Whether the case is currently escalated.Case.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Case.Builder
clearLanguageCode()
The language the user has requested to receive support in.Case.Builder
clearName()
The resource name for the case.Case.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Case.Builder
clearPriority()
The priority of this case.Case.Builder
clearState()
Output only.Case.Builder
clearSubscriberEmailAddresses()
The email addresses to receive updates on this case.Case.Builder
clearTestCase()
Whether this case was created for internal API testing and should not be acted on by the support team.Case.Builder
clearTimeZone()
The timezone of the user who created the support case.Case.Builder
clearUpdateTime()
Output only.Case.Builder
clone()
CaseClassification
getClassification()
The issue classification applicable to this case.CaseClassification.Builder
getClassificationBuilder()
The issue classification applicable to this case.CaseClassificationOrBuilder
getClassificationOrBuilder()
The issue classification applicable to this case.String
getContactEmail()
A user-supplied email address to send case update notifications for.com.google.protobuf.ByteString
getContactEmailBytes()
A user-supplied email address to send case update notifications for.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Actor
getCreator()
The user who created the case.Actor.Builder
getCreatorBuilder()
The user who created the case.ActorOrBuilder
getCreatorOrBuilder()
The user who created the case.Case
getDefaultInstanceForType()
String
getDescription()
A broad description of the issue.com.google.protobuf.ByteString
getDescriptionBytes()
A broad description of the issue.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The short summary of the issue reported in this case.com.google.protobuf.ByteString
getDisplayNameBytes()
The short summary of the issue reported in this case.boolean
getEscalated()
Whether the case is currently escalated.String
getLanguageCode()
The language the user has requested to receive support in.com.google.protobuf.ByteString
getLanguageCodeBytes()
The language the user has requested to receive support in.String
getName()
The resource name for the case.com.google.protobuf.ByteString
getNameBytes()
The resource name for the case.Case.Priority
getPriority()
The priority of this case.int
getPriorityValue()
The priority of this case.Case.State
getState()
Output only.int
getStateValue()
Output only.String
getSubscriberEmailAddresses(int index)
The email addresses to receive updates on this case.com.google.protobuf.ByteString
getSubscriberEmailAddressesBytes(int index)
The email addresses to receive updates on this case.int
getSubscriberEmailAddressesCount()
The email addresses to receive updates on this case.com.google.protobuf.ProtocolStringList
getSubscriberEmailAddressesList()
The email addresses to receive updates on this case.boolean
getTestCase()
Whether this case was created for internal API testing and should not be acted on by the support team.String
getTimeZone()
The timezone of the user who created the support case.com.google.protobuf.ByteString
getTimeZoneBytes()
The timezone of the user who created the support case.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasClassification()
The issue classification applicable to this case.boolean
hasCreateTime()
Output only.boolean
hasCreator()
The user who created the case.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Case.Builder
mergeClassification(CaseClassification value)
The issue classification applicable to this case.Case.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Case.Builder
mergeCreator(Actor value)
The user who created the case.Case.Builder
mergeFrom(Case other)
Case.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Case.Builder
mergeFrom(com.google.protobuf.Message other)
Case.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Case.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Case.Builder
setClassification(CaseClassification value)
The issue classification applicable to this case.Case.Builder
setClassification(CaseClassification.Builder builderForValue)
The issue classification applicable to this case.Case.Builder
setContactEmail(String value)
A user-supplied email address to send case update notifications for.Case.Builder
setContactEmailBytes(com.google.protobuf.ByteString value)
A user-supplied email address to send case update notifications for.Case.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Case.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Case.Builder
setCreator(Actor value)
The user who created the case.Case.Builder
setCreator(Actor.Builder builderForValue)
The user who created the case.Case.Builder
setDescription(String value)
A broad description of the issue.Case.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A broad description of the issue.Case.Builder
setDisplayName(String value)
The short summary of the issue reported in this case.Case.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The short summary of the issue reported in this case.Case.Builder
setEscalated(boolean value)
Whether the case is currently escalated.Case.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Case.Builder
setLanguageCode(String value)
The language the user has requested to receive support in.Case.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
The language the user has requested to receive support in.Case.Builder
setName(String value)
The resource name for the case.Case.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name for the case.Case.Builder
setPriority(Case.Priority value)
The priority of this case.Case.Builder
setPriorityValue(int value)
The priority of this case.Case.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Case.Builder
setState(Case.State value)
Output only.Case.Builder
setStateValue(int value)
Output only.Case.Builder
setSubscriberEmailAddresses(int index, String value)
The email addresses to receive updates on this case.Case.Builder
setTestCase(boolean value)
Whether this case was created for internal API testing and should not be acted on by the support team.Case.Builder
setTimeZone(String value)
The timezone of the user who created the support case.Case.Builder
setTimeZoneBytes(com.google.protobuf.ByteString value)
The timezone of the user who created the support case.Case.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Case.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Case.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clear
public Case.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
getDefaultInstanceForType
public Case getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Case build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Case buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Case.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
setField
public Case.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clearField
public Case.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clearOneof
public Case.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
setRepeatedField
public Case.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
addRepeatedField
public Case.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(Case other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Case.Builder>
- Throws:
IOException
-
getName
public String getName()
The resource name for the case.
string name = 1;
- Specified by:
getName
in interfaceCaseOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name for the case.
string name = 1;
- Specified by:
getNameBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for name.
-
setName
public Case.Builder setName(String value)
The resource name for the case.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Case.Builder clearName()
The resource name for the case.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Case.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name for the case.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
The short summary of the issue reported in this case.
string display_name = 2;
- Specified by:
getDisplayName
in 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:
getDisplayNameBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Case.Builder setDisplayName(String value)
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
public Case.Builder clearDisplayName()
The short summary of the issue reported in this case.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Case.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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
public String getDescription()
A broad description of the issue.
string description = 3;
- Specified by:
getDescription
in interfaceCaseOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A broad description of the issue.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Case.Builder setDescription(String value)
A broad description of the issue.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Case.Builder clearDescription()
A broad description of the issue.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Case.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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.v2.CaseClassification classification = 4;
- Specified by:
hasClassification
in interfaceCaseOrBuilder
- Returns:
- Whether the classification field is set.
-
getClassification
public CaseClassification getClassification()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
- Specified by:
getClassification
in interfaceCaseOrBuilder
- Returns:
- The classification.
-
setClassification
public Case.Builder setClassification(CaseClassification value)
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
-
setClassification
public Case.Builder setClassification(CaseClassification.Builder builderForValue)
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
-
mergeClassification
public Case.Builder mergeClassification(CaseClassification value)
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
-
clearClassification
public Case.Builder clearClassification()
The issue classification applicable to this case.
.google.cloud.support.v2.CaseClassification classification = 4;
-
getClassificationBuilder
public CaseClassification.Builder getClassificationBuilder()
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;
- Specified by:
getClassificationOrBuilder
in interfaceCaseOrBuilder
-
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;
- Specified by:
getTimeZone
in 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:
getTimeZoneBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for timeZone.
-
setTimeZone
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;
- Parameters:
value
- The timeZone to set.- Returns:
- 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:
- This builder for chaining.
-
setTimeZoneBytes
public Case.Builder setTimeZoneBytes(com.google.protobuf.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;
- 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:
getSubscriberEmailAddressesList
in 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:
getSubscriberEmailAddressesCount
in interfaceCaseOrBuilder
- Returns:
- The count of subscriberEmailAddresses.
-
getSubscriberEmailAddresses
public String getSubscriberEmailAddresses(int index)
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;
- Specified by:
getSubscriberEmailAddresses
in 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:
getSubscriberEmailAddressesBytes
in interfaceCaseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the subscriberEmailAddresses at the given index.
-
setSubscriberEmailAddresses
public Case.Builder setSubscriberEmailAddresses(int index, String value)
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
public Case.Builder addSubscriberEmailAddresses(String value)
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
public Case.Builder addAllSubscriberEmailAddresses(Iterable<String> values)
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
public Case.Builder clearSubscriberEmailAddresses()
The email addresses to receive updates on this case.
repeated string subscriber_email_addresses = 9;
- Returns:
- This builder for chaining.
-
addSubscriberEmailAddressesBytes
public Case.Builder addSubscriberEmailAddressesBytes(com.google.protobuf.ByteString value)
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.v2.Case.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceCaseOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceCaseOrBuilder
- Returns:
- The state.
-
setState
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];
- Parameters:
value
- The state to set.- Returns:
- 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:
- 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:
hasCreateTime
in 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:
getCreateTime
in interfaceCaseOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Case.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Case.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Case.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this case was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in interfaceCaseOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Case.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Case.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Case.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this case was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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:
getUpdateTimeOrBuilder
in 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.v2.Actor creator = 15;
- Specified by:
hasCreator
in interfaceCaseOrBuilder
- Returns:
- Whether the creator field is set.
-
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;
- Specified by:
getCreator
in interfaceCaseOrBuilder
- Returns:
- The creator.
-
setCreator
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;
-
setCreator
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;
-
mergeCreator
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;
-
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;
-
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;
-
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;
- Specified by:
getCreatorOrBuilder
in interfaceCaseOrBuilder
-
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;
- Specified by:
getContactEmail
in 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:
getContactEmailBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for contactEmail.
-
setContactEmail
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;
- Parameters:
value
- The contactEmail to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setContactEmailBytes
public Case.Builder setContactEmailBytes(com.google.protobuf.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;
- 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:
getEscalated
in interfaceCaseOrBuilder
- Returns:
- The escalated.
-
setEscalated
public Case.Builder setEscalated(boolean value)
Whether the case is currently escalated.
bool escalated = 17;
- Parameters:
value
- The escalated to set.- Returns:
- This builder for chaining.
-
clearEscalated
public Case.Builder 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:
getTestCase
in interfaceCaseOrBuilder
- Returns:
- The testCase.
-
setTestCase
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;
- Parameters:
value
- The testCase to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getLanguageCode
in 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:
getLanguageCodeBytes
in interfaceCaseOrBuilder
- Returns:
- The bytes for languageCode.
-
setLanguageCode
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;
- Parameters:
value
- The languageCode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLanguageCodeBytes
public Case.Builder setLanguageCodeBytes(com.google.protobuf.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;
- 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.v2.Case.Priority priority = 32;
- Specified by:
getPriorityValue
in interfaceCaseOrBuilder
- Returns:
- The enum numeric value on the wire for priority.
-
setPriorityValue
public Case.Builder setPriorityValue(int value)
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;
- Parameters:
value
- The enum numeric value on the wire for priority to set.- Returns:
- This builder for chaining.
-
getPriority
public Case.Priority getPriority()
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;
- Specified by:
getPriority
in interfaceCaseOrBuilder
- Returns:
- The priority.
-
setPriority
public Case.Builder setPriority(Case.Priority value)
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;
- Parameters:
value
- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
public Case.Builder clearPriority()
The priority of this case.
.google.cloud.support.v2.Case.Priority priority = 32;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Case.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
mergeUnknownFields
public final Case.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
-