Class ImportRegisteredPartiesRequest.Builder (0.22.0)

public static final class ImportRegisteredPartiesRequest.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

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

Methods

addAllPartyTables(Iterable<String> values)

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

Parameter
Name Description
values Iterable<String>

The partyTables to add.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

addPartyTables(String value)

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

Parameter
Name Description
value String

The partyTables to add.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

addPartyTablesBytes(ByteString value)

public ImportRegisteredPartiesRequest.Builder addPartyTablesBytes(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];

Parameter
Name Description
value ByteString

The bytes of the partyTables to add.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportRegisteredPartiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

build()

public ImportRegisteredPartiesRequest build()
Returns
Type Description
ImportRegisteredPartiesRequest

buildPartial()

public ImportRegisteredPartiesRequest buildPartial()
Returns
Type Description
ImportRegisteredPartiesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImportRegisteredPartiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

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
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

clearMode()

public ImportRegisteredPartiesRequest.Builder clearMode()

Required. Mode of the request.

.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

clearName()

public ImportRegisteredPartiesRequest.Builder 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
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportRegisteredPartiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

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
Type Description
ImportRegisteredPartiesRequest.Builder

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
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

clone()

public ImportRegisteredPartiesRequest.Builder clone()
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportRegisteredPartiesRequest getDefaultInstanceForType()
Returns
Type Description
ImportRegisteredPartiesRequest

getDescriptorForType()

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

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

Returns
Type Description
LineOfBusiness

The lineOfBusiness.

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

Returns
Type Description
int

The enum numeric value on the wire for lineOfBusiness.

getMode()

public ImportRegisteredPartiesRequest.UpdateMode getMode()

Required. Mode of the request.

.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportRegisteredPartiesRequest.UpdateMode

The mode.

getModeValue()

public int getModeValue()

Required. Mode of the request.

.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for mode.

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) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPartyTables(int index)

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The partyTables at the given index.

getPartyTablesBytes(int index)

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the partyTables at the given index.

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

Returns
Type Description
int

The count of partyTables.

getPartyTablesList()

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

Returns
Type Description
ProtocolStringList

A list containing the partyTables.

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

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportRegisteredPartiesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportRegisteredPartiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportRegisteredPartiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

setLineOfBusiness(LineOfBusiness value)

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

Parameter
Name Description
value LineOfBusiness

The lineOfBusiness to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setLineOfBusinessValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for lineOfBusiness to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setMode(ImportRegisteredPartiesRequest.UpdateMode value)

public ImportRegisteredPartiesRequest.Builder setMode(ImportRegisteredPartiesRequest.UpdateMode value)

Required. Mode of the request.

.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ImportRegisteredPartiesRequest.UpdateMode

The mode to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setModeValue(int value)

public ImportRegisteredPartiesRequest.Builder setModeValue(int value)

Required. Mode of the request.

.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest.UpdateMode mode = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for mode to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setName(String value)

public ImportRegisteredPartiesRequest.Builder setName(String 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) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ImportRegisteredPartiesRequest.Builder setNameBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setPartyTables(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The partyTables to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportRegisteredPartiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportRegisteredPartiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRegisteredPartiesRequest.Builder
Overrides

setValidateOnly(boolean value)

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
ImportRegisteredPartiesRequest.Builder

This builder for chaining.