Class Instance.Builder (0.15.0)

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

Represents a Data Fusion instance.

Protobuf type google.events.cloud.datafusion.v1.Instance

Implements

InstanceOrBuilder

Static Methods

getDescriptor()

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

Methods

addAccelerators(Accelerator value)

public Instance.Builder addAccelerators(Accelerator value)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
value Accelerator
Returns
Type Description
Instance.Builder

addAccelerators(Accelerator.Builder builderForValue)

public Instance.Builder addAccelerators(Accelerator.Builder builderForValue)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
builderForValue Accelerator.Builder
Returns
Type Description
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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameters
Name Description
index int
value Accelerator
Returns
Type Description
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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameters
Name Description
index int
builderForValue Accelerator.Builder
Returns
Type Description
Instance.Builder

addAcceleratorsBuilder()

public Accelerator.Builder addAcceleratorsBuilder()

List of accelerators enabled for this CDF instance.

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

Returns
Type Description
Accelerator.Builder

addAcceleratorsBuilder(int index)

public Accelerator.Builder addAcceleratorsBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
index int
Returns
Type Description
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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.datafusion.v1.Accelerator>
Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.datafusion.v1.Version>
Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.datafusion.v1.Instance.DisabledReason>

The disabledReason to add.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
value Version
Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
builderForValue Version.Builder
Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameters
Name Description
index int
value Version
Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameters
Name Description
index int
builderForValue Version.Builder
Returns
Type Description
Instance.Builder

addAvailableVersionBuilder()

public Version.Builder addAvailableVersionBuilder()

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

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

Returns
Type Description
Version.Builder

addAvailableVersionBuilder(int index)

public Version.Builder addAvailableVersionBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameter
Name Description
value Instance.DisabledReason

The disabledReason to add.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameter
Name Description
value int

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

Returns
Type Description
Instance.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Instance build()
Returns
Type Description
Instance

buildPartial()

public Instance buildPartial()
Returns
Type Description
Instance

clear()

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

clearAccelerators()

public Instance.Builder clearAccelerators()

List of accelerators enabled for this CDF instance.

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

Returns
Type Description
Instance.Builder

clearApiEndpoint()

public Instance.Builder clearApiEndpoint()

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

string api_endpoint = 20;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearAvailableVersion()

public Instance.Builder clearAvailableVersion()

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

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

Returns
Type Description
Instance.Builder

clearCreateTime()

public Instance.Builder clearCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Instance.Builder

clearCryptoKeyConfig()

public Instance.Builder clearCryptoKeyConfig()

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

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

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

This builder for chaining.

clearDescription()

public Instance.Builder clearDescription()

A description of this instance.

string description = 2;

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearDisplayName()

public Instance.Builder clearDisplayName()

Display name for an instance.

string display_name = 18;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearEnableRbac()

public Instance.Builder clearEnableRbac()

Option to enable granular role-based access control.

bool enable_rbac = 27;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearEnableStackdriverLogging()

public Instance.Builder clearEnableStackdriverLogging()

Option to enable Stackdriver Logging.

bool enable_stackdriver_logging = 4;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearEnableStackdriverMonitoring()

public Instance.Builder clearEnableStackdriverMonitoring()

Option to enable Stackdriver Monitoring.

bool enable_stackdriver_monitoring = 5;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearEnableZoneSeparation()

public Instance.Builder clearEnableZoneSeparation()

Option to enable granular zone separation.

bool enable_zone_separation = 31;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearEventPublishConfig()

public Instance.Builder clearEventPublishConfig()

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Returns
Type Description
Instance.Builder

clearField(Descriptors.FieldDescriptor field)

public Instance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearLabels()

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

Returns
Type Description
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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
Instance.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOptions()

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

clearP4ServiceAccount()

public Instance.Builder clearP4ServiceAccount()

Output only. P4 service account for the customer project.

string p4_service_account = 23;

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

This builder for chaining.

clearServiceAccount()

public Instance.Builder clearServiceAccount()

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

string service_account = 17;

Returns
Type Description
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;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearState()

public Instance.Builder clearState()

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

.google.events.cloud.datafusion.v1.Instance.State state = 12;

Returns
Type Description
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;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearTenantProjectId()

public Instance.Builder clearTenantProjectId()

Output only. The name of the tenant project.

string tenant_project_id = 24;

Returns
Type Description
Instance.Builder

This builder for chaining.

clearType()

public Instance.Builder clearType()

Required. Instance type.

.google.events.cloud.datafusion.v1.Instance.Type type = 3;

Returns
Type Description
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;

Returns
Type Description
Instance.Builder

clearVersion()

public Instance.Builder clearVersion()

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

string version = 16;

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

This builder for chaining.

clone()

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

getAccelerators(int index)

public Accelerator getAccelerators(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
index int
Returns
Type Description
Accelerator

getAcceleratorsBuilder(int index)

public Accelerator.Builder getAcceleratorsBuilder(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
index int
Returns
Type Description
Accelerator.Builder

getAcceleratorsBuilderList()

public List<Accelerator.Builder> getAcceleratorsBuilderList()

List of accelerators enabled for this CDF instance.

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

Returns
Type Description
List<Builder>

getAcceleratorsCount()

public int getAcceleratorsCount()

List of accelerators enabled for this CDF instance.

repeated .google.events.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.events.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.events.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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

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

getApiEndpoint()

public String getApiEndpoint()

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

string api_endpoint = 20;

Returns
Type Description
String

The apiEndpoint.

getApiEndpointBytes()

public ByteString getApiEndpointBytes()

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

string api_endpoint = 20;

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.events.cloud.datafusion.v1.Version available_version = 19;

Parameter
Name Description
index int
Returns
Type Description
Version

getAvailableVersionBuilder(int index)

public Version.Builder getAvailableVersionBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

getAvailableVersionBuilderList()

public List<Version.Builder> getAvailableVersionBuilderList()

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

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

Returns
Type Description
List<Builder>

getAvailableVersionCount()

public int getAvailableVersionCount()

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

repeated .google.events.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.events.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.events.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.events.cloud.datafusion.v1.Version available_version = 19;

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 10;

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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
CryptoKeyConfig.Builder

getCryptoKeyConfigOrBuilder()

public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()

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

.google.events.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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

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.

getEnableZoneSeparation()

public boolean getEnableZoneSeparation()

Option to enable granular zone separation.

bool enable_zone_separation = 31;

Returns
Type Description
boolean

The enableZoneSeparation.

getEventPublishConfig()

public EventPublishConfig getEventPublishConfig()

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Returns
Type Description
EventPublishConfig

The eventPublishConfig.

getEventPublishConfigBuilder()

public EventPublishConfig.Builder getEventPublishConfigBuilder()

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Returns
Type Description
EventPublishConfig.Builder

getEventPublishConfigOrBuilder()

public EventPublishConfigOrBuilder getEventPublishConfigOrBuilder()

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Returns
Type Description
EventPublishConfigOrBuilder

getGcsBucket()

public String getGcsBucket()

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

string gcs_bucket = 21;

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;

Returns
Type Description
ByteString

The bytes for gcsBucket.

getLabels()

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

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableOptions()

public Map<String,String> getMutableOptions()

Use alternate mutation accessors instead.

Returns
Type Description
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;

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;

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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Returns
Type Description
NetworkConfig.Builder

getNetworkConfigOrBuilder()

public NetworkConfigOrBuilder getNetworkConfigOrBuilder()

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

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

Returns
Type Description
NetworkConfigOrBuilder

getOptions()

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;

Returns
Type Description
String

The p4ServiceAccount.

getP4ServiceAccountBytes()

public ByteString getP4ServiceAccountBytes()

Output only. P4 service account for the customer project.

string p4_service_account = 23;

Returns
Type Description
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
Type Description
boolean

The privateInstance.

getServiceAccount()

public String getServiceAccount()

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

string service_account = 17;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

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

string service_account = 17;

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;

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;

Returns
Type Description
ByteString

The bytes for serviceEndpoint.

getState()

public Instance.State getState()

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

.google.events.cloud.datafusion.v1.Instance.State state = 12;

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;

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;

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateValue()

public int getStateValue()

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

.google.events.cloud.datafusion.v1.Instance.State state = 12;

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;

Returns
Type Description
String

The tenantProjectId.

getTenantProjectIdBytes()

public ByteString getTenantProjectIdBytes()

Output only. The name of the tenant project.

string tenant_project_id = 24;

Returns
Type Description
ByteString

The bytes for tenantProjectId.

getType()

public Instance.Type getType()

Required. Instance type.

.google.events.cloud.datafusion.v1.Instance.Type type = 3;

Returns
Type Description
Instance.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Instance type.

.google.events.cloud.datafusion.v1.Instance.Type type = 3;

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;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time the instance was last updated.

.google.protobuf.Timestamp update_time = 11;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time the instance was last updated.

.google.protobuf.Timestamp update_time = 11;

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;

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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Returns
Type Description
boolean

Whether the cryptoKeyConfig field is set.

hasEventPublishConfig()

public boolean hasEventPublishConfig()

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Returns
Type Description
boolean

Whether the eventPublishConfig field is set.

hasNetworkConfig()

public boolean hasNetworkConfig()

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

.google.events.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;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Parameter
Name Description
value CryptoKeyConfig
Returns
Type Description
Instance.Builder

mergeEventPublishConfig(EventPublishConfig value)

public Instance.Builder mergeEventPublishConfig(EventPublishConfig value)

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Parameter
Name Description
value EventPublishConfig
Returns
Type Description
Instance.Builder

mergeFrom(Instance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Instance.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Parameter
Name Description
value NetworkConfig
Returns
Type Description
Instance.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
Instance.Builder

removeAccelerators(int index)

public Instance.Builder removeAccelerators(int index)

List of accelerators enabled for this CDF instance.

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

Parameter
Name Description
index int
Returns
Type Description
Instance.Builder

removeAvailableVersion(int index)

public Instance.Builder removeAvailableVersion(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameters
Name Description
index int
value Accelerator
Returns
Type Description
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.events.cloud.datafusion.v1.Accelerator accelerators = 22;

Parameters
Name Description
index int
builderForValue Accelerator.Builder
Returns
Type Description
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;

Parameter
Name Description
value String

The apiEndpoint to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for apiEndpoint to set.

Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameters
Name Description
index int
value Version
Returns
Type Description
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.events.cloud.datafusion.v1.Version available_version = 19;

Parameters
Name Description
index int
builderForValue Version.Builder
Returns
Type Description
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Parameter
Name Description
value CryptoKeyConfig
Returns
Type Description
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.events.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;

Parameter
Name Description
builderForValue CryptoKeyConfig.Builder
Returns
Type Description
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
Name Description
value String

The dataprocServiceAccount to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dataprocServiceAccount to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setDescription(String value)

public Instance.Builder setDescription(String value)

A description of this instance.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Instance.Builder setDescriptionBytes(ByteString value)

A description of this instance.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameters
Name Description
index int

The index to set the value at.

value Instance.DisabledReason

The disabledReason to set.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29;

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
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 = 27;

Parameter
Name Description
value boolean

The enableRbac to set.

Returns
Type Description
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
Name Description
value boolean

The enableStackdriverLogging to set.

Returns
Type Description
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
Name Description
value boolean

The enableStackdriverMonitoring to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setEnableZoneSeparation(boolean value)

public Instance.Builder setEnableZoneSeparation(boolean value)

Option to enable granular zone separation.

bool enable_zone_separation = 31;

Parameter
Name Description
value boolean

The enableZoneSeparation to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setEventPublishConfig(EventPublishConfig value)

public Instance.Builder setEventPublishConfig(EventPublishConfig value)

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Parameter
Name Description
value EventPublishConfig
Returns
Type Description
Instance.Builder

setEventPublishConfig(EventPublishConfig.Builder builderForValue)

public Instance.Builder setEventPublishConfig(EventPublishConfig.Builder builderForValue)

Option to enable and pass metadata for event publishing.

.google.events.cloud.datafusion.v1.EventPublishConfig event_publish_config = 30;

Parameter
Name Description
builderForValue EventPublishConfig.Builder
Returns
Type Description
Instance.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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;

Parameter
Name Description
value String

The gcsBucket to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for gcsBucket to set.

Returns
Type Description
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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Parameter
Name Description
value NetworkConfig
Returns
Type Description
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.events.cloud.datafusion.v1.NetworkConfig network_config = 7;

Parameter
Name Description
builderForValue NetworkConfig.Builder
Returns
Type Description
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;

Parameter
Name Description
value String

The p4ServiceAccount to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for p4ServiceAccount to set.

Returns
Type Description
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
Name Description
value boolean

The privateInstance to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.Builder
Overrides

setServiceAccount(String value)

public Instance.Builder setServiceAccount(String value)

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

string service_account = 17;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Instance.Builder setServiceAccountBytes(ByteString value)

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

string service_account = 17;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
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;

Parameter
Name Description
value String

The serviceEndpoint to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for serviceEndpoint to set.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.State state = 12;

Parameter
Name Description
value Instance.State

The state to set.

Returns
Type Description
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;

Parameter
Name Description
value String

The stateMessage to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for stateMessage to set.

Returns
Type Description
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.events.cloud.datafusion.v1.Instance.State state = 12;

Parameter
Name Description
value int

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

Returns
Type Description
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;

Parameter
Name Description
value String

The tenantProjectId to set.

Returns
Type Description
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;

Parameter
Name Description
value ByteString

The bytes for tenantProjectId to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setType(Instance.Type value)

public Instance.Builder setType(Instance.Type value)

Required. Instance type.

.google.events.cloud.datafusion.v1.Instance.Type type = 3;

Parameter
Name Description
value Instance.Type

The type to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setTypeValue(int value)

public Instance.Builder setTypeValue(int value)

Required. Instance type.

.google.events.cloud.datafusion.v1.Instance.Type type = 3;

Parameter
Name Description
value int

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

Returns
Type Description
Instance.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Instance.Builder

setVersion(String value)

public Instance.Builder setVersion(String value)

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

string version = 16;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Instance.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Instance.Builder setVersionBytes(ByteString value)

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

string version = 16;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
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
Name Description
value String

The zone to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
Instance.Builder

This builder for chaining.