Class Instance.Builder (1.24.0)

public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder

Represents a Data Fusion instance.

Protobuf type google.cloud.datafusion.v1beta1.Instance

Implements

InstanceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAccelerators(Accelerator value)

public Instance.Builder addAccelerators(Accelerator value)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
valueAccelerator
Returns
TypeDescription
Instance.Builder

addAccelerators(Accelerator.Builder builderForValue)

public Instance.Builder addAccelerators(Accelerator.Builder builderForValue)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
builderForValueAccelerator.Builder
Returns
TypeDescription
Instance.Builder

addAccelerators(int index, Accelerator value)

public Instance.Builder addAccelerators(int index, Accelerator value)

List of accelerators enabled for this CDF instance.

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

Parameters
NameDescription
indexint
valueAccelerator
Returns
TypeDescription
Instance.Builder

addAccelerators(int index, Accelerator.Builder builderForValue)

public Instance.Builder addAccelerators(int index, Accelerator.Builder builderForValue)

List of accelerators enabled for this CDF instance.

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

Parameters
NameDescription
indexint
builderForValueAccelerator.Builder
Returns
TypeDescription
Instance.Builder

addAcceleratorsBuilder()

public Accelerator.Builder addAcceleratorsBuilder()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
Accelerator.Builder

addAcceleratorsBuilder(int index)

public Accelerator.Builder addAcceleratorsBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Accelerator.Builder

addAllAccelerators(Iterable<? extends Accelerator> values)

public Instance.Builder addAllAccelerators(Iterable<? extends Accelerator> values)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datafusion.v1beta1.Accelerator>
Returns
TypeDescription
Instance.Builder

addAllAvailableVersion(Iterable<? extends Version> values)

public Instance.Builder addAllAvailableVersion(Iterable<? extends Version> values)

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

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datafusion.v1beta1.Version>
Returns
TypeDescription
Instance.Builder

addAllDisabledReason(Iterable<? extends Instance.DisabledReason> values)

public Instance.Builder addAllDisabledReason(Iterable<? extends Instance.DisabledReason> values)

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

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datafusion.v1beta1.Instance.DisabledReason>

The disabledReason to add.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

addAllDisabledReasonValue(Iterable<Integer> values)

public Instance.Builder addAllDisabledReasonValue(Iterable<Integer> values)

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

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

Parameter
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for disabledReason to add.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

addAvailableVersion(Version value)

public Instance.Builder addAvailableVersion(Version value)

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

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

Parameter
NameDescription
valueVersion
Returns
TypeDescription
Instance.Builder

addAvailableVersion(Version.Builder builderForValue)

public Instance.Builder addAvailableVersion(Version.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueVersion.Builder
Returns
TypeDescription
Instance.Builder

addAvailableVersion(int index, Version value)

public Instance.Builder addAvailableVersion(int index, Version value)

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

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

Parameters
NameDescription
indexint
valueVersion
Returns
TypeDescription
Instance.Builder

addAvailableVersion(int index, Version.Builder builderForValue)

public Instance.Builder addAvailableVersion(int index, Version.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueVersion.Builder
Returns
TypeDescription
Instance.Builder

addAvailableVersionBuilder()

public Version.Builder addAvailableVersionBuilder()

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

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

Returns
TypeDescription
Version.Builder

addAvailableVersionBuilder(int index)

public Version.Builder addAvailableVersionBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Version.Builder

addDisabledReason(Instance.DisabledReason value)

public Instance.Builder addDisabledReason(Instance.DisabledReason value)

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

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

Parameter
NameDescription
valueInstance.DisabledReason

The disabledReason to add.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

addDisabledReasonValue(int value)

public Instance.Builder addDisabledReasonValue(int value)

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

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for disabledReason to add.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.Builder
Overrides

build()

public Instance build()
Returns
TypeDescription
Instance

buildPartial()

public Instance buildPartial()
Returns
TypeDescription
Instance

clear()

public Instance.Builder clear()
Returns
TypeDescription
Instance.Builder
Overrides

clearAccelerators()

public Instance.Builder clearAccelerators()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
Instance.Builder

clearApiEndpoint()

public Instance.Builder clearApiEndpoint()

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

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearAvailableVersion()

public Instance.Builder clearAvailableVersion()

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

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

Returns
TypeDescription
Instance.Builder

clearCreateTime()

public Instance.Builder clearCreateTime()

Output only. The time the instance was created.

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

Returns
TypeDescription
Instance.Builder

clearCryptoKeyConfig()

public Instance.Builder clearCryptoKeyConfig()

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Returns
TypeDescription
Instance.Builder

clearDataprocServiceAccount()

public Instance.Builder clearDataprocServiceAccount()

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
Instance.Builder

This builder for chaining.

clearDescription()

public Instance.Builder clearDescription()

A description of this instance.

string description = 2;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearDisabledReason()

public Instance.Builder clearDisabledReason()

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

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearDisplayName()

public Instance.Builder clearDisplayName()

Display name for an instance.

string display_name = 18;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearEnableRbac()

public Instance.Builder clearEnableRbac()

Option to enable granular role-based access control.

bool enable_rbac = 26;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearEnableStackdriverLogging()

public Instance.Builder clearEnableStackdriverLogging()

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearEnableStackdriverMonitoring()

public Instance.Builder clearEnableStackdriverMonitoring()

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Instance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Instance.Builder
Overrides

clearGcsBucket()

public Instance.Builder clearGcsBucket()

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
Instance.Builder

This builder for chaining.

clearLabels()

public Instance.Builder clearLabels()
Returns
TypeDescription
Instance.Builder

clearName()

public Instance.Builder clearName()

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
Instance.Builder

This builder for chaining.

clearNetworkConfig()

public Instance.Builder clearNetworkConfig()

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

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

Returns
TypeDescription
Instance.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Instance.Builder
Overrides

clearOptions()

public Instance.Builder clearOptions()
Returns
TypeDescription
Instance.Builder

clearP4ServiceAccount()

public Instance.Builder clearP4ServiceAccount()

Output only. P4 service account for the customer project.

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearPrivateInstance()

public Instance.Builder clearPrivateInstance()

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
Instance.Builder

This builder for chaining.

clearServiceAccount() (deprecated)

public Instance.Builder clearServiceAccount()

Deprecated. google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392

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
Instance.Builder

This builder for chaining.

clearServiceEndpoint()

public Instance.Builder clearServiceEndpoint()

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

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearState()

public Instance.Builder clearState()

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

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearStateMessage()

public Instance.Builder clearStateMessage()

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
Instance.Builder

This builder for chaining.

clearTenantProjectId()

public Instance.Builder clearTenantProjectId()

Output only. The name of the tenant project.

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearType()

public Instance.Builder clearType()

Required. Instance type.

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

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearUpdateTime()

public Instance.Builder clearUpdateTime()

Output only. The time the instance was last updated.

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

Returns
TypeDescription
Instance.Builder

clearVersion()

public Instance.Builder clearVersion()

Current version of Data Fusion.

string version = 16;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clearZone()

public Instance.Builder clearZone()

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

string zone = 15;

Returns
TypeDescription
Instance.Builder

This builder for chaining.

clone()

public Instance.Builder clone()
Returns
TypeDescription
Instance.Builder
Overrides

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

getAccelerators(int index)

public Accelerator getAccelerators(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Accelerator

getAcceleratorsBuilder(int index)

public Accelerator.Builder getAcceleratorsBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Accelerator.Builder

getAcceleratorsBuilderList()

public List<Accelerator.Builder> getAcceleratorsBuilderList()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
List<Builder>

getAcceleratorsCount()

public int getAcceleratorsCount()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
int

getAcceleratorsList()

public List<Accelerator> getAcceleratorsList()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
List<Accelerator>

getAcceleratorsOrBuilder(int index)

public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorOrBuilder

getAcceleratorsOrBuilderList()

public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()

List of accelerators enabled for this CDF instance.

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

Returns
TypeDescription
List<? extends com.google.cloud.datafusion.v1beta1.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
TypeDescription
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
TypeDescription
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.v1beta1.Version available_version = 19;

Parameter
NameDescription
indexint
Returns
TypeDescription
Version

getAvailableVersionBuilder(int index)

public Version.Builder getAvailableVersionBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Version.Builder

getAvailableVersionBuilderList()

public List<Version.Builder> getAvailableVersionBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getAvailableVersionCount()

public int getAvailableVersionCount()

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

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

Returns
TypeDescription
int

getAvailableVersionList()

public List<Version> getAvailableVersionList()

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

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

Returns
TypeDescription
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.v1beta1.Version available_version = 19;

Parameter
NameDescription
indexint
Returns
TypeDescription
VersionOrBuilder

getAvailableVersionOrBuilderList()

public List<? extends VersionOrBuilder> getAvailableVersionOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.datafusion.v1beta1.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
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the instance was created.

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

Returns
TypeDescription
Builder

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
TypeDescription
TimestampOrBuilder

getCryptoKeyConfig()

public CryptoKeyConfig getCryptoKeyConfig()

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Returns
TypeDescription
CryptoKeyConfig

The cryptoKeyConfig.

getCryptoKeyConfigBuilder()

public CryptoKeyConfig.Builder getCryptoKeyConfigBuilder()

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Returns
TypeDescription
CryptoKeyConfig.Builder

getCryptoKeyConfigOrBuilder()

public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataprocServiceAccount.

getDefaultInstanceForType()

public Instance getDefaultInstanceForType()
Returns
TypeDescription
Instance

getDescription()

public String getDescription()

A description of this instance.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of this instance.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.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 int getDisabledReasonCount()

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

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

Returns
TypeDescription
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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.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 List<Integer> getDisabledReasonValueList()

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

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

Returns
TypeDescription
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
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display name for an instance.

string display_name = 18;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnableRbac()

public boolean getEnableRbac()

Option to enable granular role-based access control.

bool enable_rbac = 26;

Returns
TypeDescription
boolean

The enableRbac.

getEnableStackdriverLogging()

public boolean getEnableStackdriverLogging()

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Returns
TypeDescription
boolean

The enableStackdriverLogging.

getEnableStackdriverMonitoring()

public boolean getEnableStackdriverMonitoring()

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsBucket.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

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

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableOptions()

public Map<String,String> getMutableOptions()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,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
TypeDescription
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
TypeDescription
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.v1beta1.NetworkConfig network_config = 7;

Returns
TypeDescription
NetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public NetworkConfig.Builder getNetworkConfigBuilder()

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

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

Returns
TypeDescription
NetworkConfig.Builder

getNetworkConfigOrBuilder()

public NetworkConfigOrBuilder getNetworkConfigOrBuilder()

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

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

Returns
TypeDescription
NetworkConfigOrBuilder

getOptions()

public Map<String,String> getOptions()

Use #getOptionsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for p4ServiceAccount.

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

The privateInstance.

getServiceAccount() (deprecated)

public String getServiceAccount()

Deprecated. google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392

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 ByteString getServiceAccountBytes()

Deprecated. google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392

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 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 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 Instance.State getState()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tenantProjectId.

getType()

public Instance.Type getType()

Required. Instance type.

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

Returns
TypeDescription
Instance.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Instance type.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time the instance was last updated.

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

Returns
TypeDescription
Builder

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
TypeDescription
TimestampOrBuilder

getVersion()

public String getVersion()

Current version of Data Fusion.

string version = 16;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Current version of Data Fusion.

string version = 16;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Returns
TypeDescription
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.v1beta1.NetworkConfig network_config = 7;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Instance.Builder mergeCreateTime(Timestamp value)

Output only. The time the instance was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Instance.Builder

mergeCryptoKeyConfig(CryptoKeyConfig value)

public Instance.Builder mergeCryptoKeyConfig(CryptoKeyConfig value)

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Parameter
NameDescription
valueCryptoKeyConfig
Returns
TypeDescription
Instance.Builder

mergeFrom(Instance other)

public Instance.Builder mergeFrom(Instance other)
Parameter
NameDescription
otherInstance
Returns
TypeDescription
Instance.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Instance.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Instance.Builder
Overrides

mergeNetworkConfig(NetworkConfig value)

public Instance.Builder mergeNetworkConfig(NetworkConfig value)

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

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

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
Instance.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Instance.Builder mergeUpdateTime(Timestamp value)

Output only. The time the instance was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Instance.Builder

putAllLabels(Map<String,String> values)

public Instance.Builder putAllLabels(Map<String,String> values)

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
valuesMap<String,String>
Returns
TypeDescription
Instance.Builder

putAllOptions(Map<String,String> values)

public Instance.Builder putAllOptions(Map<String,String> values)

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

map<string, string> options = 9;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Instance.Builder

putLabels(String key, String value)

public Instance.Builder putLabels(String key, String value)

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
valueString
Returns
TypeDescription
Instance.Builder

putOptions(String key, String value)

public Instance.Builder putOptions(String key, String value)

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

map<string, string> options = 9;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Instance.Builder

removeAccelerators(int index)

public Instance.Builder removeAccelerators(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance.Builder

removeAvailableVersion(int index)

public Instance.Builder removeAvailableVersion(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance.Builder

removeLabels(String key)

public Instance.Builder removeLabels(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
Instance.Builder

removeOptions(String key)

public Instance.Builder removeOptions(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
Instance.Builder

setAccelerators(int index, Accelerator value)

public Instance.Builder setAccelerators(int index, Accelerator value)

List of accelerators enabled for this CDF instance.

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

Parameters
NameDescription
indexint
valueAccelerator
Returns
TypeDescription
Instance.Builder

setAccelerators(int index, Accelerator.Builder builderForValue)

public Instance.Builder setAccelerators(int index, Accelerator.Builder builderForValue)

List of accelerators enabled for this CDF instance.

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

Parameters
NameDescription
indexint
builderForValueAccelerator.Builder
Returns
TypeDescription
Instance.Builder

setApiEndpoint(String value)

public Instance.Builder setApiEndpoint(String value)

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

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

Parameter
NameDescription
valueString

The apiEndpoint to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setApiEndpointBytes(ByteString value)

public Instance.Builder setApiEndpointBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for apiEndpoint to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setAvailableVersion(int index, Version value)

public Instance.Builder setAvailableVersion(int index, Version value)

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

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

Parameters
NameDescription
indexint
valueVersion
Returns
TypeDescription
Instance.Builder

setAvailableVersion(int index, Version.Builder builderForValue)

public Instance.Builder setAvailableVersion(int index, Version.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueVersion.Builder
Returns
TypeDescription
Instance.Builder

setCreateTime(Timestamp value)

public Instance.Builder setCreateTime(Timestamp value)

Output only. The time the instance was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Instance.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Instance.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the instance was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Instance.Builder

setCryptoKeyConfig(CryptoKeyConfig value)

public Instance.Builder setCryptoKeyConfig(CryptoKeyConfig value)

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Parameter
NameDescription
valueCryptoKeyConfig
Returns
TypeDescription
Instance.Builder

setCryptoKeyConfig(CryptoKeyConfig.Builder builderForValue)

public Instance.Builder setCryptoKeyConfig(CryptoKeyConfig.Builder builderForValue)

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

.google.cloud.datafusion.v1beta1.CryptoKeyConfig crypto_key_config = 27;

Parameter
NameDescription
builderForValueCryptoKeyConfig.Builder
Returns
TypeDescription
Instance.Builder

setDataprocServiceAccount(String value)

public Instance.Builder setDataprocServiceAccount(String value)

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;

Parameter
NameDescription
valueString

The dataprocServiceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDataprocServiceAccountBytes(ByteString value)

public Instance.Builder setDataprocServiceAccountBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for dataprocServiceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDescription(String value)

public Instance.Builder setDescription(String value)

A description of this instance.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Instance.Builder setDescriptionBytes(ByteString value)

A description of this instance.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDisabledReason(int index, Instance.DisabledReason value)

public Instance.Builder setDisabledReason(int index, Instance.DisabledReason value)

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

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

Parameters
NameDescription
indexint

The index to set the value at.

valueInstance.DisabledReason

The disabledReason to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDisabledReasonValue(int index, int value)

public Instance.Builder setDisabledReasonValue(int index, int value)

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

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

Parameters
NameDescription
indexint

The index to set the value at.

valueint

The enum numeric value on the wire for disabledReason to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDisplayName(String value)

public Instance.Builder setDisplayName(String value)

Display name for an instance.

string display_name = 18;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Instance.Builder setDisplayNameBytes(ByteString value)

Display name for an instance.

string display_name = 18;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setEnableRbac(boolean value)

public Instance.Builder setEnableRbac(boolean value)

Option to enable granular role-based access control.

bool enable_rbac = 26;

Parameter
NameDescription
valueboolean

The enableRbac to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setEnableStackdriverLogging(boolean value)

public Instance.Builder setEnableStackdriverLogging(boolean value)

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Parameter
NameDescription
valueboolean

The enableStackdriverLogging to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setEnableStackdriverMonitoring(boolean value)

public Instance.Builder setEnableStackdriverMonitoring(boolean value)

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Parameter
NameDescription
valueboolean

The enableStackdriverMonitoring to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.Builder
Overrides

setGcsBucket(String value)

public Instance.Builder setGcsBucket(String value)

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

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

Parameter
NameDescription
valueString

The gcsBucket to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setGcsBucketBytes(ByteString value)

public Instance.Builder setGcsBucketBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for gcsBucket to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setName(String value)

public Instance.Builder setName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Instance.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setNetworkConfig(NetworkConfig value)

public Instance.Builder setNetworkConfig(NetworkConfig value)

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

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

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
Instance.Builder

setNetworkConfig(NetworkConfig.Builder builderForValue)

public Instance.Builder setNetworkConfig(NetworkConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueNetworkConfig.Builder
Returns
TypeDescription
Instance.Builder

setP4ServiceAccount(String value)

public Instance.Builder setP4ServiceAccount(String value)

Output only. P4 service account for the customer project.

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

Parameter
NameDescription
valueString

The p4ServiceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setP4ServiceAccountBytes(ByteString value)

public Instance.Builder setP4ServiceAccountBytes(ByteString value)

Output only. P4 service account for the customer project.

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

Parameter
NameDescription
valueByteString

The bytes for p4ServiceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setPrivateInstance(boolean value)

public Instance.Builder setPrivateInstance(boolean value)

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;

Parameter
NameDescription
valueboolean

The privateInstance to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

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

public Instance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Instance.Builder
Overrides

setServiceAccount(String value) (deprecated)

public Instance.Builder setServiceAccount(String value)

Deprecated. google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392

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];

Parameter
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value) (deprecated)

public Instance.Builder setServiceAccountBytes(ByteString value)

Deprecated. google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392

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];

Parameter
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setServiceEndpoint(String value)

public Instance.Builder setServiceEndpoint(String value)

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

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

Parameter
NameDescription
valueString

The serviceEndpoint to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setServiceEndpointBytes(ByteString value)

public Instance.Builder setServiceEndpointBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for serviceEndpoint to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setState(Instance.State value)

public Instance.Builder setState(Instance.State value)

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

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

Parameter
NameDescription
valueInstance.State

The state to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setStateMessage(String value)

public Instance.Builder setStateMessage(String value)

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];

Parameter
NameDescription
valueString

The stateMessage to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setStateMessageBytes(ByteString value)

public Instance.Builder setStateMessageBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for stateMessage to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setStateValue(int value)

public Instance.Builder setStateValue(int value)

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

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setTenantProjectId(String value)

public Instance.Builder setTenantProjectId(String value)

Output only. The name of the tenant project.

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

Parameter
NameDescription
valueString

The tenantProjectId to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setTenantProjectIdBytes(ByteString value)

public Instance.Builder setTenantProjectIdBytes(ByteString value)

Output only. The name of the tenant project.

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

Parameter
NameDescription
valueByteString

The bytes for tenantProjectId to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setType(Instance.Type value)

public Instance.Builder setType(Instance.Type value)

Required. Instance type.

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

Parameter
NameDescription
valueInstance.Type

The type to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setTypeValue(int value)

public Instance.Builder setTypeValue(int value)

Required. Instance type.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.Builder
Overrides

setUpdateTime(Timestamp value)

public Instance.Builder setUpdateTime(Timestamp value)

Output only. The time the instance was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Instance.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Instance.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time the instance was last updated.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Instance.Builder

setVersion(String value)

public Instance.Builder setVersion(String value)

Current version of Data Fusion.

string version = 16;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Instance.Builder setVersionBytes(ByteString value)

Current version of Data Fusion.

string version = 16;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setZone(String value)

public Instance.Builder setZone(String value)

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

string zone = 15;

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public Instance.Builder setZoneBytes(ByteString value)

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

string zone = 15;

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
Instance.Builder

This builder for chaining.