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.BuilderaddAllSubscriberEmailAddresses(Iterable<String> values)The email addresses to receive updates on this case.Case.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Case.BuilderaddSubscriberEmailAddresses(String value)The email addresses to receive updates on this case.Case.BuilderaddSubscriberEmailAddressesBytes(com.google.protobuf.ByteString value)The email addresses to receive updates on this case.Casebuild()CasebuildPartial()Case.Builderclear()Case.BuilderclearClassification()The issue classification applicable to this case.Case.BuilderclearContactEmail()A user-supplied email address to send case update notifications for.Case.BuilderclearCreateTime()Output only.Case.BuilderclearCreator()The user who created the case.Case.BuilderclearDescription()A broad description of the issue.Case.BuilderclearDisplayName()The short summary of the issue reported in this case.Case.BuilderclearEscalated()Whether the case is currently escalated.Case.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Case.BuilderclearLanguageCode()The language the user has requested to receive support in.Case.BuilderclearName()The resource name for the case.Case.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Case.BuilderclearPriority()The priority of this case.Case.BuilderclearState()Output only.Case.BuilderclearSubscriberEmailAddresses()The email addresses to receive updates on this case.Case.BuilderclearTestCase()Whether this case was created for internal API testing and should not be acted on by the support team.Case.BuilderclearTimeZone()The timezone of the user who created the support case.Case.BuilderclearUpdateTime()Output only.Case.Builderclone()CaseClassificationgetClassification()The issue classification applicable to this case.CaseClassification.BuildergetClassificationBuilder()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.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ActorgetCreator()The user who created the case.Actor.BuildergetCreatorBuilder()The user who created the case.ActorOrBuildergetCreatorOrBuilder()The user who created the case.CasegetDefaultInstanceForType()StringgetDescription()A broad description of the issue.com.google.protobuf.ByteStringgetDescriptionBytes()A broad description of the issue.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.com.google.protobuf.ProtocolStringListgetSubscriberEmailAddressesList()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.Timestamp.BuildergetUpdateTimeBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Case.BuildermergeClassification(CaseClassification value)The issue classification applicable to this case.Case.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Case.BuildermergeCreator(Actor value)The user who created the case.Case.BuildermergeFrom(Case other)Case.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Case.BuildermergeFrom(com.google.protobuf.Message other)Case.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Case.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Case.BuildersetClassification(CaseClassification value)The issue classification applicable to this case.Case.BuildersetClassification(CaseClassification.Builder builderForValue)The issue classification applicable to this case.Case.BuildersetContactEmail(String value)A user-supplied email address to send case update notifications for.Case.BuildersetContactEmailBytes(com.google.protobuf.ByteString value)A user-supplied email address to send case update notifications for.Case.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Case.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Case.BuildersetCreator(Actor value)The user who created the case.Case.BuildersetCreator(Actor.Builder builderForValue)The user who created the case.Case.BuildersetDescription(String value)A broad description of the issue.Case.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A broad description of the issue.Case.BuildersetDisplayName(String value)The short summary of the issue reported in this case.Case.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The short summary of the issue reported in this case.Case.BuildersetEscalated(boolean value)Whether the case is currently escalated.Case.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Case.BuildersetLanguageCode(String value)The language the user has requested to receive support in.Case.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)The language the user has requested to receive support in.Case.BuildersetName(String value)The resource name for the case.Case.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name for the case.Case.BuildersetPriority(Case.Priority value)The priority of this case.Case.BuildersetPriorityValue(int value)The priority of this case.Case.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Case.BuildersetState(Case.State value)Output only.Case.BuildersetStateValue(int value)Output only.Case.BuildersetSubscriberEmailAddresses(int index, String value)The email addresses to receive updates on this case.Case.BuildersetTestCase(boolean value)Whether this case was created for internal API testing and should not be acted on by the support team.Case.BuildersetTimeZone(String value)The timezone of the user who created the support case.Case.BuildersetTimeZoneBytes(com.google.protobuf.ByteString value)The timezone of the user who created the support case.Case.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Case.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Case.BuildersetUpdateTime(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clear
public Case.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Case.Builder>
-
getDefaultInstanceForType
public Case getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Case build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Case buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Case.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
setField
public Case.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clearField
public Case.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
clearOneof
public Case.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
setRepeatedField
public Case.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
addRepeatedField
public Case.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Case.Builder>
-
mergeFrom
public Case.Builder mergeFrom(Case other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
public String getName()
The resource name for the case.
string name = 1;- Specified by:
getNamein interfaceCaseOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name for the case.
string name = 1;- Specified by:
getNameBytesin 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:
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
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:
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
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:
hasClassificationin 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:
getClassificationin 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:
getClassificationOrBuilderin 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:
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
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:
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
public String getSubscriberEmailAddresses(int index)
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
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:
getStateValuein 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:
getStatein 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:
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
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:
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
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:
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.v2.Actor creator = 15;- Specified by:
hasCreatorin 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:
getCreatorin 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:
getCreatorOrBuilderin 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:
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
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:
getEscalatedin 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:
getTestCasein 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:
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
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:
getPriorityValuein 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:
getPriorityin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
mergeUnknownFields
public final Case.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
-
-