Class OrganizationConfig.Builder (1.61.0)

public static final class OrganizationConfig.Builder extends GeneratedMessageV3.Builder<OrganizationConfig.Builder> implements OrganizationConfigOrBuilder

The configuration related to the migration from Data Catalog to Dataplex that has been applied to an organization and any projects under it. It is the response message for RetrieveConfig.

Protobuf type google.cloud.datacatalog.v1.OrganizationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OrganizationConfig build()
Returns
Type Description
OrganizationConfig

buildPartial()

public OrganizationConfig buildPartial()
Returns
Type Description
OrganizationConfig

clear()

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

clearConfig()

public OrganizationConfig.Builder clearConfig()
Returns
Type Description
OrganizationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

containsConfig(String key)

public boolean containsConfig(String key)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConfig() (deprecated)

public Map<String,MigrationConfig> getConfig()

Use #getConfigMap() instead.

Returns
Type Description
Map<String,MigrationConfig>

getConfigCount()

public int getConfigCount()

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Returns
Type Description
int

getConfigMap()

public Map<String,MigrationConfig> getConfigMap()

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Returns
Type Description
Map<String,MigrationConfig>

getConfigOrDefault(String key, MigrationConfig defaultValue)

public MigrationConfig getConfigOrDefault(String key, MigrationConfig defaultValue)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameters
Name Description
key String
defaultValue MigrationConfig
Returns
Type Description
MigrationConfig

getConfigOrThrow(String key)

public MigrationConfig getConfigOrThrow(String key)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameter
Name Description
key String
Returns
Type Description
MigrationConfig

getDefaultInstanceForType()

public OrganizationConfig getDefaultInstanceForType()
Returns
Type Description
OrganizationConfig

getDescriptorForType()

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

getMutableConfig() (deprecated)

public Map<String,MigrationConfig> getMutableConfig()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,MigrationConfig>

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OrganizationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllConfig(Map<String,MigrationConfig> values)

public OrganizationConfig.Builder putAllConfig(Map<String,MigrationConfig> values)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameter
Name Description
values Map<String,MigrationConfig>
Returns
Type Description
OrganizationConfig.Builder

putConfig(String key, MigrationConfig value)

public OrganizationConfig.Builder putConfig(String key, MigrationConfig value)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameters
Name Description
key String
value MigrationConfig
Returns
Type Description
OrganizationConfig.Builder

putConfigBuilderIfAbsent(String key)

public MigrationConfig.Builder putConfigBuilderIfAbsent(String key)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameter
Name Description
key String
Returns
Type Description
MigrationConfig.Builder

removeConfig(String key)

public OrganizationConfig.Builder removeConfig(String key)

Map of organizations and project resource names and their configuration. The format for the map keys is organizations/{organizationId} or projects/{projectId}.

map<string, .google.cloud.datacatalog.v1.MigrationConfig> config = 1;

Parameter
Name Description
key String
Returns
Type Description
OrganizationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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