Class SignalFilter.Builder (0.3.0)
Version 0.3.0keyboard_arrow_down
public static final class SignalFilter . Builder extends GeneratedMessageV3 . Builder<SignalFilter . Builder > implements SignalFilterOrBuilder
A filter for Signals.
If signal_type is left unset, all signals should be returned.
For example, the following filter returns all issues.
signal_filter: {
signal_status: SIGNAL_STATUS_ISSUE;
}
Another example, the following filter returns issues of the given type:
signal_filter: {
type: SIGNAL_TYPE_NO_PROMOTABLE_REPLICA
signal_status: ISSUE
}
If signal_status is left unset or set to SIGNAL_STATE_UNSPECIFIED, an error
should be returned.
Protobuf type google.cloud.databasecenter.v1beta.SignalFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SignalFilter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SignalFilter build ()
buildPartial()
public SignalFilter buildPartial ()
clear()
public SignalFilter . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SignalFilter . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SignalFilter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSignalStatus()
public SignalFilter . Builder clearSignalStatus ()
Optional. Represents the status of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2 [(.google.api.field_behavior) = OPTIONAL];
clearSignalType()
public SignalFilter . Builder clearSignalType ()
Optional. Represents the type of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public SignalFilter . Builder clone ()
Overrides
getDefaultInstanceForType()
public SignalFilter getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSignalStatus()
public SignalStatus getSignalStatus ()
Optional. Represents the status of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2 [(.google.api.field_behavior) = OPTIONAL];
getSignalStatusValue()
public int getSignalStatusValue ()
Optional. Represents the status of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for signalStatus.
getSignalType()
public SignalType getSignalType ()
Optional. Represents the type of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
SignalType
The signalType.
getSignalTypeValue()
public int getSignalTypeValue ()
Optional. Represents the type of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for signalType.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SignalFilter other)
public SignalFilter . Builder mergeFrom ( SignalFilter other )
public SignalFilter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SignalFilter . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SignalFilter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SignalFilter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SignalFilter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSignalStatus(SignalStatus value)
public SignalFilter . Builder setSignalStatus ( SignalStatus value )
Optional. Represents the status of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
SignalStatus The signalStatus to set.
setSignalStatusValue(int value)
public SignalFilter . Builder setSignalStatusValue ( int value )
Optional. Represents the status of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalStatus signal_status = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
int The enum numeric value on the wire for signalStatus to set.
setSignalType(SignalType value)
public SignalFilter . Builder setSignalType ( SignalType value )
Optional. Represents the type of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
SignalType The signalType to set.
setSignalTypeValue(int value)
public SignalFilter . Builder setSignalTypeValue ( int value )
Optional. Represents the type of the Signal for which the filter is for.
.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
int The enum numeric value on the wire for signalType to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final SignalFilter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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-03-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-09 UTC."],[],[]]