Class Instance (1.53.0)

public final class Instance extends GeneratedMessageV3 implements InstanceOrBuilder

Represents a Data Fusion instance.

Protobuf type google.cloud.datafusion.v1.Instance

Implements

InstanceOrBuilder

Static Fields

ACCELERATORS_FIELD_NUMBER

public static final int ACCELERATORS_FIELD_NUMBER
Field Value
Type Description
int

API_ENDPOINT_FIELD_NUMBER

public static final int API_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

AVAILABLE_VERSION_FIELD_NUMBER

public static final int AVAILABLE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CRYPTO_KEY_CONFIG_FIELD_NUMBER

public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_REASON_FIELD_NUMBER

public static final int DISABLED_REASON_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_RBAC_FIELD_NUMBER

public static final int ENABLE_RBAC_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER

public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER

public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER
Field Value
Type Description
int

GCS_BUCKET_FIELD_NUMBER

public static final int GCS_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_CONFIG_FIELD_NUMBER

public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

P4_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_INSTANCE_FIELD_NUMBER

public static final int PRIVATE_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ENDPOINT_FIELD_NUMBER

public static final int SERVICE_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_MESSAGE_FIELD_NUMBER

public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

TENANT_PROJECT_ID_FIELD_NUMBER

public static final int TENANT_PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance getDefaultInstance()
Returns
Type Description
Instance

getDescriptor()

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

newBuilder()

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

newBuilder(Instance prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsLabels(String key)

public boolean containsLabels(String key)

The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsOptions(String key)

public boolean containsOptions(String key)

Map of additional options used to configure the behavior of Data Fusion instance.

map<string, string> options = 9;

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

getAccelerators(int index)

public Accelerator getAccelerators(int index)

List of accelerators enabled for this CDF instance.

repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameter
Name Description
index int
Returns
Type Description
Accelerator

getAcceleratorsCount()

public int getAcceleratorsCount()

List of accelerators enabled for this CDF instance.

repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;

Returns
Type Description
int

getAcceleratorsList()

public List<Accelerator> getAcceleratorsList()

List of accelerators enabled for this CDF instance.

repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;

Returns
Type Description
List<Accelerator>

getAcceleratorsOrBuilder(int index)

public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)

List of accelerators enabled for this CDF instance.

repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameter
Name Description
index int
Returns
Type Description
AcceleratorOrBuilder

getAcceleratorsOrBuilderList()

public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()

List of accelerators enabled for this CDF instance.

repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;

Returns
Type Description
List<? extends com.google.cloud.datafusion.v1.AcceleratorOrBuilder>

getApiEndpoint()

public String getApiEndpoint()

Output only. Endpoint on which the REST APIs is accessible.

string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The apiEndpoint.

getApiEndpointBytes()

public ByteString getApiEndpointBytes()

Output only. Endpoint on which the REST APIs is accessible.

string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for apiEndpoint.

getAvailableVersion(int index)

public Version getAvailableVersion(int index)

Available versions that the instance can be upgraded to using UpdateInstanceRequest.

repeated .google.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
index int
Returns
Type Description
Version

getAvailableVersionCount()

public int getAvailableVersionCount()

Available versions that the instance can be upgraded to using UpdateInstanceRequest.

repeated .google.cloud.datafusion.v1.Version available_version = 19;

Returns
Type Description
int

getAvailableVersionList()

public List<Version> getAvailableVersionList()

Available versions that the instance can be upgraded to using UpdateInstanceRequest.

repeated .google.cloud.datafusion.v1.Version available_version = 19;

Returns
Type Description
List<Version>

getAvailableVersionOrBuilder(int index)

public VersionOrBuilder getAvailableVersionOrBuilder(int index)

Available versions that the instance can be upgraded to using UpdateInstanceRequest.

repeated .google.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
index int
Returns
Type Description
VersionOrBuilder

getAvailableVersionOrBuilderList()

public List<? extends VersionOrBuilder> getAvailableVersionOrBuilderList()

Available versions that the instance can be upgraded to using UpdateInstanceRequest.

repeated .google.cloud.datafusion.v1.Version available_version = 19;

Returns
Type Description
List<? extends com.google.cloud.datafusion.v1.VersionOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCryptoKeyConfig()

public CryptoKeyConfig getCryptoKeyConfig()

The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.

.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
CryptoKeyConfig

The cryptoKeyConfig.

getCryptoKeyConfigOrBuilder()

public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()

The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.

.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
CryptoKeyConfigOrBuilder

getDataprocServiceAccount()

public String getDataprocServiceAccount()

User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.

This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.

string dataproc_service_account = 25;

Returns
Type Description
String

The dataprocServiceAccount.

getDataprocServiceAccountBytes()

public ByteString getDataprocServiceAccountBytes()

User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.

This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.

string dataproc_service_account = 25;

Returns
Type Description
ByteString

The bytes for dataprocServiceAccount.

getDefaultInstanceForType()

public Instance getDefaultInstanceForType()
Returns
Type Description
Instance

getDescription()

public String getDescription()

A description of this instance.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of this instance.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDisabledReason(int index)

public Instance.DisabledReason getDisabledReason(int index)

Output only. If the instance state is DISABLED, the reason for disabling the instance.

repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Instance.DisabledReason

The disabledReason at the given index.

getDisabledReasonCount()

public int getDisabledReasonCount()

Output only. If the instance state is DISABLED, the reason for disabling the instance.

repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of disabledReason.

getDisabledReasonList()

public List<Instance.DisabledReason> getDisabledReasonList()

Output only. If the instance state is DISABLED, the reason for disabling the instance.

repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DisabledReason>

A list containing the disabledReason.

getDisabledReasonValue(int index)

public int getDisabledReasonValue(int index)

Output only. If the instance state is DISABLED, the reason for disabling the instance.

repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of disabledReason at the given index.

getDisabledReasonValueList()

public List<Integer> getDisabledReasonValueList()

Output only. If the instance state is DISABLED, the reason for disabling the instance.

repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for disabledReason.

getDisplayName()

public String getDisplayName()

Display name for an instance.

string display_name = 18;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name for an instance.

string display_name = 18;

Returns
Type Description
ByteString

The bytes for displayName.

getEnableRbac()

public boolean getEnableRbac()

Option to enable granular role-based access control.

bool enable_rbac = 27;

Returns
Type Description
boolean

The enableRbac.

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Returns
Type Description
boolean

The enableStackdriverLogging.

getEnableStackdriverMonitoring()

public boolean getEnableStackdriverMonitoring()

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Returns
Type Description
boolean

The enableStackdriverMonitoring.

getGcsBucket()

public String getGcsBucket()

Output only. Cloud Storage bucket generated by Data Fusion in the customer project.

string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcsBucket.

getGcsBucketBytes()

public ByteString getGcsBucketBytes()

Output only. Cloud Storage bucket generated by Data Fusion in the customer project.

string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcsBucket.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.

map<string, string> labels = 8;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.

map<string, string> labels = 8;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.

map<string, string> labels = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public String getName()

Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getNetworkConfig()

public NetworkConfig getNetworkConfig()

Network configuration options. These are required when a private Data Fusion instance is to be created.

.google.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public NetworkConfigOrBuilder getNetworkConfigOrBuilder()

Network configuration options. These are required when a private Data Fusion instance is to be created.

.google.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
NetworkConfigOrBuilder

getOptions() (deprecated)

public Map<String,String> getOptions()

Use #getOptionsMap() instead.

Returns
Type Description
Map<String,String>

getOptionsCount()

public int getOptionsCount()

Map of additional options used to configure the behavior of Data Fusion instance.

map<string, string> options = 9;

Returns
Type Description
int

getOptionsMap()

public Map<String,String> getOptionsMap()

Map of additional options used to configure the behavior of Data Fusion instance.

map<string, string> options = 9;

Returns
Type Description
Map<String,String>

getOptionsOrDefault(String key, String defaultValue)

public String getOptionsOrDefault(String key, String defaultValue)

Map of additional options used to configure the behavior of Data Fusion instance.

map<string, string> options = 9;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getOptionsOrThrow(String key)

public String getOptionsOrThrow(String key)

Map of additional options used to configure the behavior of Data Fusion instance.

map<string, string> options = 9;

Parameter
Name Description
key String
Returns
Type Description
String

getP4ServiceAccount()

public String getP4ServiceAccount()

Output only. P4 service account for the customer project.

string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The p4ServiceAccount.

getP4ServiceAccountBytes()

public ByteString getP4ServiceAccountBytes()

Output only. P4 service account for the customer project.

string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for p4ServiceAccount.

getParserForType()

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

getPrivateInstance()

public boolean getPrivateInstance()

Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.

bool private_instance = 6;

Returns
Type Description
boolean

The privateInstance.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccount() (deprecated)

public String getServiceAccount()

Deprecated. google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361

Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.

string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes() (deprecated)

public ByteString getServiceAccountBytes()

Deprecated. google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361

Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.

string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAccount.

getServiceEndpoint()

public String getServiceEndpoint()

Output only. Endpoint on which the Data Fusion UI is accessible.

string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceEndpoint.

getServiceEndpointBytes()

public ByteString getServiceEndpointBytes()

Output only. Endpoint on which the Data Fusion UI is accessible.

string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceEndpoint.

getState()

public Instance.State getState()

Output only. The current state of this Data Fusion instance.

.google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.State

The state.

getStateMessage()

public String getStateMessage()

Output only. Additional information about the current state of this Data Fusion instance if available.

string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. Additional information about the current state of this Data Fusion instance if available.

string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

Output only. The current state of this Data Fusion instance.

.google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTenantProjectId()

public String getTenantProjectId()

Output only. The name of the tenant project.

string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The tenantProjectId.

getTenantProjectIdBytes()

public ByteString getTenantProjectIdBytes()

Output only. The name of the tenant project.

string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tenantProjectId.

getType()

public Instance.Type getType()

Required. Instance type.

.google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Instance type.

.google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time the instance was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the instance was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVersion()

public String getVersion()

Current version of the Data Fusion. Only specifiable in Update.

string version = 16;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Current version of the Data Fusion. Only specifiable in Update.

string version = 16;

Returns
Type Description
ByteString

The bytes for version.

getZone()

public String getZone()

Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.

string zone = 15;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.

string zone = 15;

Returns
Type Description
ByteString

The bytes for zone.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCryptoKeyConfig()

public boolean hasCryptoKeyConfig()

The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.

.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
boolean

Whether the cryptoKeyConfig field is set.

hasNetworkConfig()

public boolean hasNetworkConfig()

Network configuration options. These are required when a private Data Fusion instance is to be created.

.google.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
boolean

Whether the networkConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time the instance was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

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 Instance.Builder newBuilderForType()
Returns
Type Description
Instance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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