Class OrganizationConfig (1.61.0)

public final class OrganizationConfig extends GeneratedMessageV3 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 Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OrganizationConfig getDefaultInstance()
Returns
Type Description
OrganizationConfig

getDescriptor()

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

newBuilder()

public static OrganizationConfig.Builder newBuilder()
Returns
Type Description
OrganizationConfig.Builder

newBuilder(OrganizationConfig prototype)

public static OrganizationConfig.Builder newBuilder(OrganizationConfig prototype)
Parameter
Name Description
prototype OrganizationConfig
Returns
Type Description
OrganizationConfig.Builder

parseDelimitedFrom(InputStream input)

public static OrganizationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OrganizationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OrganizationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OrganizationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OrganizationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OrganizationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OrganizationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OrganizationConfig> parser()
Returns
Type Description
Parser<OrganizationConfig>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<OrganizationConfig> getParserForType()
Returns
Type Description
Parser<OrganizationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OrganizationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OrganizationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException