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

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

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

        public Settings.DetectorGroupSettings 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<Settings.DetectorGroupSettings.Builder>
      • getStateValue

        public int getStateValue()
         The state determines if the group is enabled or not.
         
        .google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
        Specified by:
        getStateValue in interface Settings.DetectorGroupSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Settings.DetectorGroupSettings.Builder setStateValue​(int value)
         The state determines if the group is enabled or not.
         
        .google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public Settings.DetectorGroupSettings.Builder setState​(ComponentEnablementState value)
         The state determines if the group is enabled or not.
         
        .google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Settings.DetectorGroupSettings.Builder clearState()
         The state determines if the group is enabled or not.
         
        .google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
        Returns:
        This builder for chaining.