- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class NotificationConfig.StreamingConfig.Builder extends 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 type google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NotificationConfig.StreamingConfig.BuilderImplements
NotificationConfig.StreamingConfigOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.StreamingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
build()
public NotificationConfig.StreamingConfig build()
Type | Description |
NotificationConfig.StreamingConfig |
buildPartial()
public NotificationConfig.StreamingConfig buildPartial()
Type | Description |
NotificationConfig.StreamingConfig |
clear()
public NotificationConfig.StreamingConfig.Builder clear()
Type | Description |
NotificationConfig.StreamingConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public NotificationConfig.StreamingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
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
andfalse
without quotes.
string filter = 1;
Type | Description |
NotificationConfig.StreamingConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NotificationConfig.StreamingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
clone()
public NotificationConfig.StreamingConfig.Builder clone()
Type | Description |
NotificationConfig.StreamingConfig.Builder |
getDefaultInstanceForType()
public NotificationConfig.StreamingConfig getDefaultInstanceForType()
Type | Description |
NotificationConfig.StreamingConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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
andfalse
without quotes.
string filter = 1;
Type | Description |
String | The filter. |
getFilterBytes()
public 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
andfalse
without quotes.
string filter = 1;
Type | Description |
ByteString | The bytes for filter. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NotificationConfig.StreamingConfig other)
public NotificationConfig.StreamingConfig.Builder mergeFrom(NotificationConfig.StreamingConfig other)
Name | Description |
other | NotificationConfig.StreamingConfig |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NotificationConfig.StreamingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NotificationConfig.StreamingConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.StreamingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NotificationConfig.StreamingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
setFilter(String value)
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
andfalse
without quotes.
string filter = 1;
Name | Description |
value | String The filter to set. |
Type | Description |
NotificationConfig.StreamingConfig.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
public NotificationConfig.StreamingConfig.Builder setFilterBytes(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
andfalse
without quotes.
string filter = 1;
Name | Description |
value | ByteString The bytes for filter to set. |
Type | Description |
NotificationConfig.StreamingConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NotificationConfig.StreamingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NotificationConfig.StreamingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NotificationConfig.StreamingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NotificationConfig.StreamingConfig.Builder |