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 Summary
Modifier and TypeMethodDescriptionaddAllPartyTables(Iterable<String> values) Optional.addPartyTables(String value) Optional.addPartyTablesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Required.Required.Required.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.intRequired.getMode()Required.intRequired.getName()Required.com.google.protobuf.ByteStringRequired.getPartyTables(int index) Optional.com.google.protobuf.ByteStringgetPartyTablesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setLineOfBusiness(LineOfBusiness value) Required.setLineOfBusinessValue(int value) Required.Required.setModeValue(int value) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setPartyTables(int index, String value) Optional.setValidateOnly(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportRegisteredPartiesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportRegisteredPartiesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportRegisteredPartiesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRegisteredPartiesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRegisteredPartiesRequest.Builder>- Throws:
IOException
-
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:
getNamein interfaceImportRegisteredPartiesRequestOrBuilder- 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:
getNameBytesin interfaceImportRegisteredPartiesRequestOrBuilder- 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
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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartyTablesListin interfaceImportRegisteredPartiesRequestOrBuilder- 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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartyTablesCountin interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The count of partyTables.
-
getPartyTables
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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartyTablesin interfaceImportRegisteredPartiesRequestOrBuilder- 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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPartyTablesBytesin interfaceImportRegisteredPartiesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partyTables at the given index.
-
setPartyTables
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 timerepeated 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
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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The partyTables to add.- Returns:
- This builder for chaining.
-
addAllPartyTables
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 timerepeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The partyTables to add.- Returns:
- This builder for chaining.
-
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 timerepeated 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 timerepeated 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:
getModeValuein interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
setModeValue
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:
getModein interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The mode.
-
setMode
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];- 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:
getValidateOnlyin interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
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
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:
getLineOfBusinessValuein interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The enum numeric value on the wire for lineOfBusiness.
-
setLineOfBusinessValue
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
Required. LineOfBusiness for the specified registered parties.
.google.cloud.financialservices.v1.LineOfBusiness line_of_business = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLineOfBusinessin interfaceImportRegisteredPartiesRequestOrBuilder- Returns:
- The lineOfBusiness.
-
setLineOfBusiness
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
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.
-