Class FraudSignals.CardSignals.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FraudSignals.CardSignals.Builder>
com.google.recaptchaenterprise.v1.FraudSignals.CardSignals.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FraudSignals.CardSignalsOrBuilder, Cloneable
Enclosing class:
FraudSignals.CardSignals

public static final class FraudSignals.CardSignals.Builder extends com.google.protobuf.GeneratedMessage.Builder<FraudSignals.CardSignals.Builder> implements FraudSignals.CardSignalsOrBuilder
 Signals describing the payment card used in this transaction.
 
Protobuf type google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals
  • 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<FraudSignals.CardSignals.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<FraudSignals.CardSignals.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<FraudSignals.CardSignals.Builder>
    • getDefaultInstanceForType

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

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

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

      public FraudSignals.CardSignals.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<FraudSignals.CardSignals.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<FraudSignals.CardSignals.Builder>
    • mergeFrom

      public FraudSignals.CardSignals.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<FraudSignals.CardSignals.Builder>
      Throws:
      IOException
    • getCardLabelsList

      public List<FraudSignals.CardSignals.CardLabel> getCardLabelsList()
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardLabelsList in interface FraudSignals.CardSignalsOrBuilder
      Returns:
      A list containing the cardLabels.
    • getCardLabelsCount

      public int getCardLabelsCount()
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardLabelsCount in interface FraudSignals.CardSignalsOrBuilder
      Returns:
      The count of cardLabels.
    • getCardLabels

      public FraudSignals.CardSignals.CardLabel getCardLabels(int index)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardLabels in interface FraudSignals.CardSignalsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The cardLabels at the given index.
    • setCardLabels

      public FraudSignals.CardSignals.Builder setCardLabels(int index, FraudSignals.CardSignals.CardLabel value)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The cardLabels to set.
      Returns:
      This builder for chaining.
    • addCardLabels

       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The cardLabels to add.
      Returns:
      This builder for chaining.
    • addAllCardLabels

       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The cardLabels to add.
      Returns:
      This builder for chaining.
    • clearCardLabels

      public FraudSignals.CardSignals.Builder clearCardLabels()
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getCardLabelsValueList

      public List<Integer> getCardLabelsValueList()
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardLabelsValueList in interface FraudSignals.CardSignalsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for cardLabels.
    • getCardLabelsValue

      public int getCardLabelsValue(int index)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardLabelsValue in interface FraudSignals.CardSignalsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of cardLabels at the given index.
    • setCardLabelsValue

      public FraudSignals.CardSignals.Builder setCardLabelsValue(int index, int value)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for cardLabels to set.
      Returns:
      This builder for chaining.
    • addCardLabelsValue

      public FraudSignals.CardSignals.Builder addCardLabelsValue(int value)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for cardLabels to add.
      Returns:
      This builder for chaining.
    • addAllCardLabelsValue

      public FraudSignals.CardSignals.Builder addAllCardLabelsValue(Iterable<Integer> values)
       Output only. The labels for the payment card in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for cardLabels to add.
      Returns:
      This builder for chaining.