Class SignalProductsFilters.Builder (0.16.0)

public static final class SignalProductsFilters.Builder extends GeneratedMessage.Builder<SignalProductsFilters.Builder> implements SignalProductsFiltersOrBuilder

SignalProductsFilters represents a signal and list of supported products.

Protobuf type google.cloud.databasecenter.v1beta.SignalProductsFilters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllProducts(Iterable<? extends Product> values)

public SignalProductsFilters.Builder addAllProducts(Iterable<? extends Product> values)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.databasecenter.v1beta.Product>
Returns
Type Description
SignalProductsFilters.Builder

addProducts(Product value)

public SignalProductsFilters.Builder addProducts(Product value)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Product
Returns
Type Description
SignalProductsFilters.Builder

addProducts(Product.Builder builderForValue)

public SignalProductsFilters.Builder addProducts(Product.Builder builderForValue)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Product.Builder
Returns
Type Description
SignalProductsFilters.Builder

addProducts(int index, Product value)

public SignalProductsFilters.Builder addProducts(int index, Product value)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Product
Returns
Type Description
SignalProductsFilters.Builder

addProducts(int index, Product.Builder builderForValue)

public SignalProductsFilters.Builder addProducts(int index, Product.Builder builderForValue)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Product.Builder
Returns
Type Description
SignalProductsFilters.Builder

addProductsBuilder()

public Product.Builder addProductsBuilder()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Product.Builder

addProductsBuilder(int index)

public Product.Builder addProductsBuilder(int index)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Product.Builder

build()

public SignalProductsFilters build()
Returns
Type Description
SignalProductsFilters

buildPartial()

public SignalProductsFilters buildPartial()
Returns
Type Description
SignalProductsFilters

clear()

public SignalProductsFilters.Builder clear()
Returns
Type Description
SignalProductsFilters.Builder
Overrides

clearProducts()

public SignalProductsFilters.Builder clearProducts()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SignalProductsFilters.Builder

clearSignalType()

public SignalProductsFilters.Builder clearSignalType()

Optional. The type of signal.

.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SignalProductsFilters.Builder

This builder for chaining.

getDefaultInstanceForType()

public SignalProductsFilters getDefaultInstanceForType()
Returns
Type Description
SignalProductsFilters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProducts(int index)

public Product getProducts(int index)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Product

getProductsBuilder(int index)

public Product.Builder getProductsBuilder(int index)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Product.Builder

getProductsBuilderList()

public List<Product.Builder> getProductsBuilderList()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getProductsCount()

public int getProductsCount()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getProductsList()

public List<Product> getProductsList()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Product>

getProductsOrBuilder(int index)

public ProductOrBuilder getProductsOrBuilder(int index)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ProductOrBuilder

getProductsOrBuilderList()

public List<? extends ProductOrBuilder> getProductsOrBuilderList()

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.ProductOrBuilder>

getSignalType()

public SignalType getSignalType()

Optional. The type of signal.

.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SignalType

The signalType.

getSignalTypeValue()

public int getSignalTypeValue()

Optional. The type of signal.

.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SignalProductsFilters other)

public SignalProductsFilters.Builder mergeFrom(SignalProductsFilters other)
Parameter
Name Description
other SignalProductsFilters
Returns
Type Description
SignalProductsFilters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SignalProductsFilters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignalProductsFilters.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SignalProductsFilters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SignalProductsFilters.Builder
Overrides

removeProducts(int index)

public SignalProductsFilters.Builder removeProducts(int index)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SignalProductsFilters.Builder

setProducts(int index, Product value)

public SignalProductsFilters.Builder setProducts(int index, Product value)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Product
Returns
Type Description
SignalProductsFilters.Builder

setProducts(int index, Product.Builder builderForValue)

public SignalProductsFilters.Builder setProducts(int index, Product.Builder builderForValue)

Optional. Product type of the resource. The version of the product will be ignored in filtering.

repeated .google.cloud.databasecenter.v1beta.Product products = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Product.Builder
Returns
Type Description
SignalProductsFilters.Builder

setSignalType(SignalType value)

public SignalProductsFilters.Builder setSignalType(SignalType value)

Optional. The type of signal.

.google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SignalType

The signalType to set.

Returns
Type Description
SignalProductsFilters.Builder

This builder for chaining.

setSignalTypeValue(int value)

public SignalProductsFilters.Builder setSignalTypeValue(int value)

Optional. The type of signal.

.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.

Returns
Type Description
SignalProductsFilters.Builder

This builder for chaining.