Class SignalProductsFilters.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder>
com.google.cloud.databasecenter.v1beta.SignalProductsFilters.Builder
All Implemented Interfaces:
SignalProductsFiltersOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SignalProductsFilters

public static final class SignalProductsFilters.Builder extends com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder> implements SignalProductsFiltersOrBuilder
 SignalProductsFilters represents a signal and list of supported products.
 
Protobuf type google.cloud.databasecenter.v1beta.SignalProductsFilters
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder>
    • getDefaultInstanceForType

      public SignalProductsFilters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SignalProductsFilters build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SignalProductsFilters buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SignalProductsFilters.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignalProductsFilters.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SignalProductsFilters.Builder>
    • mergeFrom

      public SignalProductsFilters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignalProductsFilters.Builder>
      Throws:
      IOException
    • getSignalTypeValue

      public int getSignalTypeValue()
       Optional. The type of signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeValue in interface SignalProductsFiltersOrBuilder
      Returns:
      The enum numeric value on the wire for signalType.
    • setSignalTypeValue

      public SignalProductsFilters.Builder setSignalTypeValue(int value)
       Optional. The type of signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for signalType to set.
      Returns:
      This builder for chaining.
    • getSignalType

      public SignalType getSignalType()
       Optional. The type of signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalType in interface SignalProductsFiltersOrBuilder
      Returns:
      The signalType.
    • setSignalType

      public SignalProductsFilters.Builder setSignalType(SignalType value)
       Optional. The type of signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The signalType to set.
      Returns:
      This builder for chaining.
    • clearSignalType

      public SignalProductsFilters.Builder clearSignalType()
       Optional. The type of signal.
       
      .google.cloud.databasecenter.v1beta.SignalType signal_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getProductsList in interface SignalProductsFiltersOrBuilder
    • 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];
      Specified by:
      getProductsCount in interface SignalProductsFiltersOrBuilder
    • getProducts

      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];
      Specified by:
      getProducts in interface SignalProductsFiltersOrBuilder
    • setProducts

      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];
    • setProducts

      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];
    • addProducts

      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];
    • addProducts

      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];
    • addProducts

      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];
    • addProducts

      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];
    • addAllProducts

      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];
    • 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];
    • removeProducts

      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];
    • getProductsBuilder

      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];
    • getProductsOrBuilder

      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];
      Specified by:
      getProductsOrBuilder in interface SignalProductsFiltersOrBuilder
    • 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];
      Specified by:
      getProductsOrBuilderList in interface SignalProductsFiltersOrBuilder
    • 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];
    • addProductsBuilder

      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];
    • 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];