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

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

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

        public CreateNotificationConfigRequest 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<CreateNotificationConfigRequest.Builder>
      • getParent

        public String getParent()
         Required. Resource name of the new notification config's parent. Its format
         is "organizations/[organization_id]", "folders/[folder_id]", or
         "projects/[project_id]".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Resource name of the new notification config's parent. Its format
         is "organizations/[organization_id]", "folders/[folder_id]", or
         "projects/[project_id]".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateNotificationConfigRequest.Builder setParent​(String value)
         Required. Resource name of the new notification config's parent. Its format
         is "organizations/[organization_id]", "folders/[folder_id]", or
         "projects/[project_id]".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateNotificationConfigRequest.Builder clearParent()
         Required. Resource name of the new notification config's parent. Its format
         is "organizations/[organization_id]", "folders/[folder_id]", or
         "projects/[project_id]".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateNotificationConfigRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Resource name of the new notification config's parent. Its format
         is "organizations/[organization_id]", "folders/[folder_id]", or
         "projects/[project_id]".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getConfigId

        public String getConfigId()
         Required.
         Unique identifier provided by the client within the parent scope.
         It must be between 1 and 128 characters and contain alphanumeric
         characters, underscores, or hyphens only.
         
        string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConfigId in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        The configId.
      • getConfigIdBytes

        public com.google.protobuf.ByteString getConfigIdBytes()
         Required.
         Unique identifier provided by the client within the parent scope.
         It must be between 1 and 128 characters and contain alphanumeric
         characters, underscores, or hyphens only.
         
        string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConfigIdBytes in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        The bytes for configId.
      • setConfigId

        public CreateNotificationConfigRequest.Builder setConfigId​(String value)
         Required.
         Unique identifier provided by the client within the parent scope.
         It must be between 1 and 128 characters and contain alphanumeric
         characters, underscores, or hyphens only.
         
        string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The configId to set.
        Returns:
        This builder for chaining.
      • clearConfigId

        public CreateNotificationConfigRequest.Builder clearConfigId()
         Required.
         Unique identifier provided by the client within the parent scope.
         It must be between 1 and 128 characters and contain alphanumeric
         characters, underscores, or hyphens only.
         
        string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setConfigIdBytes

        public CreateNotificationConfigRequest.Builder setConfigIdBytes​(com.google.protobuf.ByteString value)
         Required.
         Unique identifier provided by the client within the parent scope.
         It must be between 1 and 128 characters and contain alphanumeric
         characters, underscores, or hyphens only.
         
        string config_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for configId to set.
        Returns:
        This builder for chaining.
      • hasNotificationConfig

        public boolean hasNotificationConfig()
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasNotificationConfig in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        Whether the notificationConfig field is set.
      • getNotificationConfig

        public NotificationConfig getNotificationConfig()
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNotificationConfig in interface CreateNotificationConfigRequestOrBuilder
        Returns:
        The notificationConfig.
      • setNotificationConfig

        public CreateNotificationConfigRequest.Builder setNotificationConfig​(NotificationConfig value)
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • setNotificationConfig

        public CreateNotificationConfigRequest.Builder setNotificationConfig​(NotificationConfig.Builder builderForValue)
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeNotificationConfig

        public CreateNotificationConfigRequest.Builder mergeNotificationConfig​(NotificationConfig value)
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearNotificationConfig

        public CreateNotificationConfigRequest.Builder clearNotificationConfig()
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];
      • getNotificationConfigBuilder

        public NotificationConfig.Builder getNotificationConfigBuilder()
         Required. The notification config being created. The name and the service
         account will be ignored as they are both output only fields on this
         resource.
         
        .google.cloud.securitycenter.v1.NotificationConfig notification_config = 3 [(.google.api.field_behavior) = REQUIRED];