Class GetNotificationRequest.Builder

    • 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<GetNotificationRequest.Builder>
      • clear

        public GetNotificationRequest.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<GetNotificationRequest.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<GetNotificationRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
      • clearField

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
      • clearOneof

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
      • setRepeatedField

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
      • addRepeatedField

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetNotificationRequest.Builder>
      • mergeFrom

        public GetNotificationRequest.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<GetNotificationRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. A name of the notification to retrieve.
         Format:
         organizations/{organization}/locations/{location}/notifications/{notification}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface GetNotificationRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. A name of the notification to retrieve.
         Format:
         organizations/{organization}/locations/{location}/notifications/{notification}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface GetNotificationRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public GetNotificationRequest.Builder setName​(String value)
         Required. A name of the notification to retrieve.
         Format:
         organizations/{organization}/locations/{location}/notifications/{notification}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public GetNotificationRequest.Builder clearName()
         Required. A name of the notification to retrieve.
         Format:
         organizations/{organization}/locations/{location}/notifications/{notification}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public GetNotificationRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. A name of the notification to retrieve.
         Format:
         organizations/{organization}/locations/{location}/notifications/{notification}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getLanguageCode

        public String getLanguageCode()
         ISO code for requested localization language. If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Specified by:
        getLanguageCode in interface GetNotificationRequestOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         ISO code for requested localization language. If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Specified by:
        getLanguageCodeBytes in interface GetNotificationRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public GetNotificationRequest.Builder setLanguageCode​(String value)
         ISO code for requested localization language. If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public GetNotificationRequest.Builder clearLanguageCode()
         ISO code for requested localization language. If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public GetNotificationRequest.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         ISO code for requested localization language. If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GetNotificationRequest.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<GetNotificationRequest.Builder>
      • mergeUnknownFields

        public final GetNotificationRequest.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<GetNotificationRequest.Builder>