Class UnregisterSubscriberRequest.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<UnregisterSubscriberRequest.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<UnregisterSubscriberRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public UnregisterSubscriberRequest.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<UnregisterSubscriberRequest.Builder>
        Throws:
        IOException
      • getAccountBytes

        public com.google.protobuf.ByteString getAccountBytes()
         Required. Resource name of the account.
         
        string account = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAccountBytes in interface UnregisterSubscriberRequestOrBuilder
        Returns:
        The bytes for account.
      • setAccount

        public UnregisterSubscriberRequest.Builder setAccount​(String value)
         Required. Resource name of the account.
         
        string account = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The account to set.
        Returns:
        This builder for chaining.
      • clearAccount

        public UnregisterSubscriberRequest.Builder clearAccount()
         Required. Resource name of the account.
         
        string account = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setAccountBytes

        public UnregisterSubscriberRequest.Builder setAccountBytes​(com.google.protobuf.ByteString value)
         Required. Resource name of the account.
         
        string account = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for account to set.
        Returns:
        This builder for chaining.
      • getServiceAccount

        public String getServiceAccount()
         Required. Service account to unregister from subscriber access to the
         topic.
         
        string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceAccount in interface UnregisterSubscriberRequestOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         Required. Service account to unregister from subscriber access to the
         topic.
         
        string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceAccountBytes in interface UnregisterSubscriberRequestOrBuilder
        Returns:
        The bytes for serviceAccount.
      • setServiceAccount

        public UnregisterSubscriberRequest.Builder setServiceAccount​(String value)
         Required. Service account to unregister from subscriber access to the
         topic.
         
        string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        public UnregisterSubscriberRequest.Builder clearServiceAccount()
         Required. Service account to unregister from subscriber access to the
         topic.
         
        string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        public UnregisterSubscriberRequest.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
         Required. Service account to unregister from subscriber access to the
         topic.
         
        string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for serviceAccount to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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