Interface InstanceOrBuilder (1.8.0)

public interface InstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

containsOptions(String key)

public abstract boolean containsOptions(String key)

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

map<string, string> options = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAccelerators(int index)

public abstract Accelerator getAccelerators(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Accelerator

getAcceleratorsCount()

public abstract int getAcceleratorsCount()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
int

getAcceleratorsList()

public abstract List<Accelerator> getAcceleratorsList()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
List<Accelerator>

getAcceleratorsOrBuilder(int index)

public abstract AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorOrBuilder

getAcceleratorsOrBuilderList()

public abstract List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()

List of accelerators enabled for this CDF instance.

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

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

getApiEndpoint()

public abstract String getApiEndpoint()

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

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

Returns
TypeDescription
String

The apiEndpoint.

getApiEndpointBytes()

public abstract ByteString getApiEndpointBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for apiEndpoint.

getAvailableVersion(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Version

getAvailableVersionCount()

public abstract int getAvailableVersionCount()

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

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

Returns
TypeDescription
int

getAvailableVersionList()

public abstract List<Version> getAvailableVersionList()

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

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

Returns
TypeDescription
List<Version>

getAvailableVersionOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
VersionOrBuilder

getAvailableVersionOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.datafusion.v1.VersionOrBuilder>

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time the instance was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

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

Returns
TypeDescription
TimestampOrBuilder

getCryptoKeyConfig()

public abstract 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
TypeDescription
CryptoKeyConfig

The cryptoKeyConfig.

getCryptoKeyConfigOrBuilder()

public abstract 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
TypeDescription
CryptoKeyConfigOrBuilder

getDataprocServiceAccount()

public abstract 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
TypeDescription
String

The dataprocServiceAccount.

getDataprocServiceAccountBytes()

public abstract 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
TypeDescription
ByteString

The bytes for dataprocServiceAccount.

getDescription()

public abstract String getDescription()

A description of this instance.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of this instance.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDisabledReason(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
Instance.DisabledReason

The disabledReason at the given index.

getDisabledReasonCount()

public abstract 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
TypeDescription
int

The count of disabledReason.

getDisabledReasonList()

public abstract 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
TypeDescription
List<DisabledReason>

A list containing the disabledReason.

getDisabledReasonValue(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getDisabledReasonValueList()

public abstract 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
TypeDescription
List<Integer>

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

getDisplayName()

public abstract String getDisplayName()

Display name for an instance.

string display_name = 18;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display name for an instance.

string display_name = 18;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnableRbac()

public abstract boolean getEnableRbac()

Option to enable granular role-based access control.

bool enable_rbac = 27;

Returns
TypeDescription
boolean

The enableRbac.

getEnableStackdriverLogging()

public abstract boolean getEnableStackdriverLogging()

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Returns
TypeDescription
boolean

The enableStackdriverLogging.

getEnableStackdriverMonitoring()

public abstract boolean getEnableStackdriverMonitoring()

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Returns
TypeDescription
boolean

The enableStackdriverMonitoring.

getGcsBucket()

public abstract 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
TypeDescription
String

The gcsBucket.

getGcsBucketBytes()

public abstract 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
TypeDescription
ByteString

The bytes for gcsBucket.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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
TypeDescription
int

getLabelsMap()

public abstract 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
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getNetworkConfig()

public abstract 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
TypeDescription
NetworkConfig

The networkConfig.

getNetworkConfigOrBuilder()

public abstract 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
TypeDescription
NetworkConfigOrBuilder

getOptions()

public abstract Map<String,String> getOptions()

Use #getOptionsMap() instead.

Returns
TypeDescription
Map<String,String>

getOptionsCount()

public abstract int getOptionsCount()

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

map<string, string> options = 9;

Returns
TypeDescription
int

getOptionsMap()

public abstract Map<String,String> getOptionsMap()

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

map<string, string> options = 9;

Returns
TypeDescription
Map<String,String>

getOptionsOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getOptionsOrThrow(String key)

public abstract String getOptionsOrThrow(String key)

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

map<string, string> options = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getP4ServiceAccount()

public abstract String getP4ServiceAccount()

Output only. P4 service account for the customer project.

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

Returns
TypeDescription
String

The p4ServiceAccount.

getP4ServiceAccountBytes()

public abstract ByteString getP4ServiceAccountBytes()

Output only. P4 service account for the customer project.

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

Returns
TypeDescription
ByteString

The bytes for p4ServiceAccount.

getPrivateInstance()

public abstract 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
TypeDescription
boolean

The privateInstance.

getServiceAccount() (deprecated)

public abstract 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
TypeDescription
String

The serviceAccount.

getServiceAccountBytes() (deprecated)

public abstract 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
TypeDescription
ByteString

The bytes for serviceAccount.

getServiceEndpoint()

public abstract String getServiceEndpoint()

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

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

Returns
TypeDescription
String

The serviceEndpoint.

getServiceEndpointBytes()

public abstract ByteString getServiceEndpointBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for serviceEndpoint.

getState()

public abstract 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
TypeDescription
Instance.State

The state.

getStateMessage()

public abstract 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
TypeDescription
String

The stateMessage.

getStateMessageBytes()

public abstract 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
TypeDescription
ByteString

The bytes for stateMessage.

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.

getTenantProjectId()

public abstract String getTenantProjectId()

Output only. The name of the tenant project.

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

Returns
TypeDescription
String

The tenantProjectId.

getTenantProjectIdBytes()

public abstract ByteString getTenantProjectIdBytes()

Output only. The name of the tenant project.

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

Returns
TypeDescription
ByteString

The bytes for tenantProjectId.

getType()

public abstract Instance.Type getType()

Required. Instance type.

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

Returns
TypeDescription
Instance.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. Instance type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time the instance was last updated.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the instance was last updated.

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

Returns
TypeDescription
TimestampOrBuilder

getVersion()

public abstract String getVersion()

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

string version = 16;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

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

string version = 16;

Returns
TypeDescription
ByteString

The bytes for version.

getZone()

public abstract 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
TypeDescription
String

The zone.

getZoneBytes()

public abstract 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
TypeDescription
ByteString

The bytes for zone.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time the instance was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasCryptoKeyConfig()

public abstract 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
TypeDescription
boolean

Whether the cryptoKeyConfig field is set.

hasNetworkConfig()

public abstract 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
TypeDescription
boolean

Whether the networkConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time the instance was last updated.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.