Class EventFilter.Builder (1.102.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class EventFilter.Builder extends GeneratedMessage.Builder<EventFilter.Builder> implements EventFilterOrBuilder
Represents a filter for included data on a stream object.
Protobuf type google.cloud.datastream.v1.EventFilter
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public EventFilter build()
buildPartial()
public EventFilter buildPartial()
clear()
public EventFilter.Builder clear()
Overrides
clearFilter()
public EventFilter.Builder clearFilter()
clearSqlWhereClause()
public EventFilter.Builder clearSqlWhereClause()
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
getDefaultInstanceForType()
public EventFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterCase()
public EventFilter.FilterCase getFilterCase()
getSqlWhereClause()
public String getSqlWhereClause()
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
| Returns |
| Type |
Description |
String |
The sqlWhereClause.
|
getSqlWhereClauseBytes()
public ByteString getSqlWhereClauseBytes()
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for sqlWhereClause.
|
hasSqlWhereClause()
public boolean hasSqlWhereClause()
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
| Returns |
| Type |
Description |
boolean |
Whether the sqlWhereClause field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventFilter other)
public EventFilter.Builder mergeFrom(EventFilter other)
public EventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventFilter.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setSqlWhereClause(String value)
public EventFilter.Builder setSqlWhereClause(String value)
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
| Parameter |
| Name |
Description |
value |
String
The sqlWhereClause to set.
|
setSqlWhereClauseBytes(ByteString value)
public EventFilter.Builder setSqlWhereClauseBytes(ByteString value)
An SQL-query Where clause selecting which data should be included, not
including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 =
'value2'
string sql_where_clause = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for sqlWhereClause to set.
|
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 2026-11-20 UTC.
[null,null,["Last updated 2026-11-20 UTC."],[],[]]