Class NotificationConfig.StreamingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NotificationConfig.StreamingConfig.Builder>
com.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig.Builder
All Implemented Interfaces:
NotificationConfig.StreamingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NotificationConfig.StreamingConfig

public static final class NotificationConfig.StreamingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<NotificationConfig.StreamingConfig.Builder> implements NotificationConfig.StreamingConfigOrBuilder
 The config for streaming-based notifications, which send each event as soon
 as it is detected.
 
Protobuf type google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.
    com.google.protobuf.ByteString
    Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.
    setFilterBytes(com.google.protobuf.ByteString value)
    Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NotificationConfig.StreamingConfig.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.GeneratedMessage.Builder<NotificationConfig.StreamingConfig.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.GeneratedMessage.Builder<NotificationConfig.StreamingConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NotificationConfig.StreamingConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NotificationConfig.StreamingConfig.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<NotificationConfig.StreamingConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public NotificationConfig.StreamingConfig.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<NotificationConfig.StreamingConfig.Builder>
      Throws:
      IOException
    • getFilter

      public String getFilter()
       Expression that defines the filter to apply across create/update events
       of assets or findings as specified by the event type. The expression is a
       list of zero or more restrictions combined via logical operators `AND`
       and `OR`. Parentheses are supported, and `OR` has higher precedence than
       `AND`.
      
       Restrictions have the form `<field> <operator> <value>` and may have a
       `-` character in front of them to indicate negation. The fields map to
       those defined in the corresponding resource.
      
       The supported operators are:
      
       * `=` for all value types.
       * `>`, `<`, `>=`, `<=` for integer values.
       * `:`, meaning substring matching, for strings.
      
       The supported value types are:
      
       * string literals in quotes.
       * integer literals without quotes.
       * boolean literals `true` and `false` without quotes.
       
      string filter = 1;
      Specified by:
      getFilter in interface NotificationConfig.StreamingConfigOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Expression that defines the filter to apply across create/update events
       of assets or findings as specified by the event type. The expression is a
       list of zero or more restrictions combined via logical operators `AND`
       and `OR`. Parentheses are supported, and `OR` has higher precedence than
       `AND`.
      
       Restrictions have the form `<field> <operator> <value>` and may have a
       `-` character in front of them to indicate negation. The fields map to
       those defined in the corresponding resource.
      
       The supported operators are:
      
       * `=` for all value types.
       * `>`, `<`, `>=`, `<=` for integer values.
       * `:`, meaning substring matching, for strings.
      
       The supported value types are:
      
       * string literals in quotes.
       * integer literals without quotes.
       * boolean literals `true` and `false` without quotes.
       
      string filter = 1;
      Specified by:
      getFilterBytes in interface NotificationConfig.StreamingConfigOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       Expression that defines the filter to apply across create/update events
       of assets or findings as specified by the event type. The expression is a
       list of zero or more restrictions combined via logical operators `AND`
       and `OR`. Parentheses are supported, and `OR` has higher precedence than
       `AND`.
      
       Restrictions have the form `<field> <operator> <value>` and may have a
       `-` character in front of them to indicate negation. The fields map to
       those defined in the corresponding resource.
      
       The supported operators are:
      
       * `=` for all value types.
       * `>`, `<`, `>=`, `<=` for integer values.
       * `:`, meaning substring matching, for strings.
      
       The supported value types are:
      
       * string literals in quotes.
       * integer literals without quotes.
       * boolean literals `true` and `false` without quotes.
       
      string filter = 1;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       Expression that defines the filter to apply across create/update events
       of assets or findings as specified by the event type. The expression is a
       list of zero or more restrictions combined via logical operators `AND`
       and `OR`. Parentheses are supported, and `OR` has higher precedence than
       `AND`.
      
       Restrictions have the form `<field> <operator> <value>` and may have a
       `-` character in front of them to indicate negation. The fields map to
       those defined in the corresponding resource.
      
       The supported operators are:
      
       * `=` for all value types.
       * `>`, `<`, `>=`, `<=` for integer values.
       * `:`, meaning substring matching, for strings.
      
       The supported value types are:
      
       * string literals in quotes.
       * integer literals without quotes.
       * boolean literals `true` and `false` without quotes.
       
      string filter = 1;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public NotificationConfig.StreamingConfig.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Expression that defines the filter to apply across create/update events
       of assets or findings as specified by the event type. The expression is a
       list of zero or more restrictions combined via logical operators `AND`
       and `OR`. Parentheses are supported, and `OR` has higher precedence than
       `AND`.
      
       Restrictions have the form `<field> <operator> <value>` and may have a
       `-` character in front of them to indicate negation. The fields map to
       those defined in the corresponding resource.
      
       The supported operators are:
      
       * `=` for all value types.
       * `>`, `<`, `>=`, `<=` for integer values.
       * `:`, meaning substring matching, for strings.
      
       The supported value types are:
      
       * string literals in quotes.
       * integer literals without quotes.
       * boolean literals `true` and `false` without quotes.
       
      string filter = 1;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.