Send feedback
Class NotificationConfig.StreamingConfig (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0 keyboard_arrow_down
public static final class NotificationConfig . StreamingConfig extends GeneratedMessageV3 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
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NotificationConfig . StreamingConfig getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static NotificationConfig . StreamingConfig . Builder newBuilder ()
Returns
newBuilder(NotificationConfig.StreamingConfig prototype)
public static NotificationConfig . StreamingConfig . Builder newBuilder ( NotificationConfig . StreamingConfig prototype )
Parameter
Returns
public static NotificationConfig . StreamingConfig parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static NotificationConfig . StreamingConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NotificationConfig . StreamingConfig parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig . StreamingConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NotificationConfig . StreamingConfig parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig . StreamingConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NotificationConfig . StreamingConfig parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static NotificationConfig . StreamingConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static NotificationConfig . StreamingConfig parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static NotificationConfig . StreamingConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NotificationConfig . StreamingConfig parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig . StreamingConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<NotificationConfig . StreamingConfig> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NotificationConfig . StreamingConfig getDefaultInstanceForType ()
Returns
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;
Returns
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
and false
without quotes.
string filter = 1;
Returns
getParserForType()
public Parser<NotificationConfig . StreamingConfig> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public NotificationConfig . StreamingConfig . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NotificationConfig . StreamingConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public NotificationConfig . StreamingConfig . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."]]