Class 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 type google.cloud.support.v2.Case
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • clear

        public Case.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • getDefaultInstanceForType

        public Case getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Case build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Case buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Case.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • setField

        public Case.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • clearField

        public Case.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • clearOneof

        public Case.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • addRepeatedField

        public Case.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • mergeFrom

        public Case.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Case.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface CaseOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource name for the case.
         
        string name = 1;
        Specified by:
        getNameBytes in interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A broad description of the issue.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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;
      • 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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
      • 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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
      • 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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
      • 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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface CaseOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>
      • mergeUnknownFields

        public final Case.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Case.Builder>