Class ImportRegisteredPartiesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportRegisteredPartiesRequest.Builder>
com.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.Builder
All Implemented Interfaces:
ImportRegisteredPartiesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportRegisteredPartiesRequest

public static final class ImportRegisteredPartiesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportRegisteredPartiesRequest.Builder> implements ImportRegisteredPartiesRequestOrBuilder
 Request for adding/removing registered parties from BigQuery tables
 specified by the customer.
 
Protobuf type google.cloud.financialservices.v1.ImportRegisteredPartiesRequest
  • 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<ImportRegisteredPartiesRequest.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<ImportRegisteredPartiesRequest.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<ImportRegisteredPartiesRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ImportRegisteredPartiesRequest.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<ImportRegisteredPartiesRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ImportRegisteredPartiesRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPartyTablesList

      public com.google.protobuf.ProtocolStringList getPartyTablesList()
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartyTablesList in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      A list containing the partyTables.
    • getPartyTablesCount

      public int getPartyTablesCount()
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartyTablesCount in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The count of partyTables.
    • getPartyTables

      public String getPartyTables(int index)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartyTables in interface ImportRegisteredPartiesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The partyTables at the given index.
    • getPartyTablesBytes

      public com.google.protobuf.ByteString getPartyTablesBytes(int index)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPartyTablesBytes in interface ImportRegisteredPartiesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the partyTables at the given index.
    • setPartyTables

      public ImportRegisteredPartiesRequest.Builder setPartyTables(int index, String value)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The partyTables to set.
      Returns:
      This builder for chaining.
    • addPartyTables

      public ImportRegisteredPartiesRequest.Builder addPartyTables(String value)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The partyTables to add.
      Returns:
      This builder for chaining.
    • addAllPartyTables

      public ImportRegisteredPartiesRequest.Builder addAllPartyTables(Iterable<String> values)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The partyTables to add.
      Returns:
      This builder for chaining.
    • clearPartyTables

      public ImportRegisteredPartiesRequest.Builder clearPartyTables()
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addPartyTablesBytes

      public ImportRegisteredPartiesRequest.Builder addPartyTablesBytes(com.google.protobuf.ByteString value)
       Optional. List of BigQuery tables. Union of tables will be taken if there
       is more than one table. VPC-SC restrictions apply. format:
       `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred
       over the latter due to its simplicity and the reduced risk of errors
       `party_tables` and `datasets` must not be provided at the
       same time
       
      repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the partyTables to add.
      Returns:
      This builder for chaining.
    • getModeValue

      public int getModeValue()
       Required. Mode of the request.
       
      .google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getModeValue in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for mode.
    • setModeValue

      public ImportRegisteredPartiesRequest.Builder setModeValue(int value)
       Required. Mode of the request.
       
      .google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for mode to set.
      Returns:
      This builder for chaining.
    • getMode

       Required. Mode of the request.
       
      .google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMode in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The mode.
    • setMode

       Required. Mode of the request.
       
      .google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

       Required. Mode of the request.
       
      .google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If the request will not register the parties, just determine what
       would happen.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public ImportRegisteredPartiesRequest.Builder setValidateOnly(boolean value)
       Optional. If the request will not register the parties, just determine what
       would happen.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public ImportRegisteredPartiesRequest.Builder clearValidateOnly()
       Optional. If the request will not register the parties, just determine what
       would happen.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getLineOfBusinessValue

      public int getLineOfBusinessValue()
       Required. LineOfBusiness for the specified registered parties.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLineOfBusinessValue in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for lineOfBusiness.
    • setLineOfBusinessValue

      public ImportRegisteredPartiesRequest.Builder setLineOfBusinessValue(int value)
       Required. LineOfBusiness for the specified registered parties.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • getLineOfBusiness

      public LineOfBusiness getLineOfBusiness()
       Required. LineOfBusiness for the specified registered parties.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLineOfBusiness in interface ImportRegisteredPartiesRequestOrBuilder
      Returns:
      The lineOfBusiness.
    • setLineOfBusiness

      public ImportRegisteredPartiesRequest.Builder setLineOfBusiness(LineOfBusiness value)
       Required. LineOfBusiness for the specified registered parties.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The lineOfBusiness to set.
      Returns:
      This builder for chaining.
    • clearLineOfBusiness

      public ImportRegisteredPartiesRequest.Builder clearLineOfBusiness()
       Required. LineOfBusiness for the specified registered parties.
       
      .google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.