Class NotificationConfig.StreamingConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder> implements NotificationConfig.StreamingConfigOrBuilder
The config for streaming-based notifications, which send each event as soon as it is detected.
Protobuf typegoogle.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationConfig.StreamingConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NotificationConfig.StreamingConfig
build()
NotificationConfig.StreamingConfig
buildPartial()
NotificationConfig.StreamingConfig.Builder
clear()
NotificationConfig.StreamingConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NotificationConfig.StreamingConfig.Builder
clearFilter()
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.NotificationConfig.StreamingConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NotificationConfig.StreamingConfig.Builder
clone()
NotificationConfig.StreamingConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
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
getFilterBytes()
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.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NotificationConfig.StreamingConfig.Builder
mergeFrom(NotificationConfig.StreamingConfig other)
NotificationConfig.StreamingConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NotificationConfig.StreamingConfig.Builder
mergeFrom(com.google.protobuf.Message other)
NotificationConfig.StreamingConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NotificationConfig.StreamingConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NotificationConfig.StreamingConfig.Builder
setFilter(String value)
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type.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.NotificationConfig.StreamingConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NotificationConfig.StreamingConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
clear
public NotificationConfig.StreamingConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
getDefaultInstanceForType
public NotificationConfig.StreamingConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NotificationConfig.StreamingConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NotificationConfig.StreamingConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NotificationConfig.StreamingConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
setField
public NotificationConfig.StreamingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
clearField
public NotificationConfig.StreamingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
clearOneof
public NotificationConfig.StreamingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
setRepeatedField
public NotificationConfig.StreamingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
addRepeatedField
public NotificationConfig.StreamingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
mergeFrom
public NotificationConfig.StreamingConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NotificationConfig.StreamingConfig.Builder>
-
mergeFrom
public NotificationConfig.StreamingConfig.Builder mergeFrom(NotificationConfig.StreamingConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceNotificationConfig.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 interfaceNotificationConfig.StreamingConfigOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public NotificationConfig.StreamingConfig.Builder setFilter(String 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 filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public NotificationConfig.StreamingConfig.Builder 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.
-
setUnknownFields
public final NotificationConfig.StreamingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
mergeUnknownFields
public final NotificationConfig.StreamingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationConfig.StreamingConfig.Builder>
-
-