public final class Instance extends GeneratedMessageV3 implements InstanceOrBuilder
Represents a Data Fusion instance.
Protobuf type google.cloud.datafusion.v1.Instance
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
API_ENDPOINT_FIELD_NUMBER
public static final int API_ENDPOINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AVAILABLE_VERSION_FIELD_NUMBER
public static final int AVAILABLE_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CRYPTO_KEY_CONFIG_FIELD_NUMBER
public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISABLED_REASON_FIELD_NUMBER
public static final int DISABLED_REASON_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_RBAC_FIELD_NUMBER
public static final int ENABLE_RBAC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER
public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCS_BUCKET_FIELD_NUMBER
public static final int GCS_BUCKET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
P4_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PRIVATE_INSTANCE_FIELD_NUMBER
public static final int PRIVATE_INSTANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_ENDPOINT_FIELD_NUMBER
public static final int SERVICE_ENDPOINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TENANT_PROJECT_ID_FIELD_NUMBER
public static final int TENANT_PROJECT_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Instance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Instance.Builder newBuilder()
newBuilder(Instance prototype)
public static Instance.Builder newBuilder(Instance prototype)
Parameter |
---|
Name | Description |
prototype | Instance
|
public static Instance parseDelimitedFrom(InputStream input)
public static Instance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Instance parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Instance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance parseFrom(CodedInputStream input)
public static Instance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance parseFrom(InputStream input)
public static Instance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Instance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Instance> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
The resource labels for instance to use to annotate any related underlying
resources such as Compute Engine VMs. The character '=' is not allowed to
be used within the labels.
map<string, string> labels = 8;
Parameter |
---|
Name | Description |
key | String
|
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccelerators(int index)
public Accelerator getAccelerators(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
Parameter |
---|
Name | Description |
index | int
|
getAcceleratorsCount()
public int getAcceleratorsCount()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
Returns |
---|
Type | Description |
int | |
getAcceleratorsList()
public List<Accelerator> getAcceleratorsList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
getAcceleratorsOrBuilder(int index)
public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
Parameter |
---|
Name | Description |
index | int
|
getAcceleratorsOrBuilderList()
public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datafusion.v1.AcceleratorOrBuilder> | |
getApiEndpoint()
public String getApiEndpoint()
Output only. Endpoint on which the REST APIs is accessible.
string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The apiEndpoint.
|
getApiEndpointBytes()
public ByteString getApiEndpointBytes()
Output only. Endpoint on which the REST APIs is accessible.
string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for apiEndpoint.
|
getAvailableVersion(int index)
public Version getAvailableVersion(int index)
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;
Parameter |
---|
Name | Description |
index | int
|
getAvailableVersionCount()
public int getAvailableVersionCount()
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;
Returns |
---|
Type | Description |
int | |
getAvailableVersionList()
public List<Version> getAvailableVersionList()
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;
getAvailableVersionOrBuilder(int index)
public VersionOrBuilder getAvailableVersionOrBuilder(int index)
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;
Parameter |
---|
Name | Description |
index | int
|
getAvailableVersionOrBuilderList()
public List<? extends VersionOrBuilder> getAvailableVersionOrBuilderList()
Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datafusion.v1.VersionOrBuilder> | |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCryptoKeyConfig()
public CryptoKeyConfig getCryptoKeyConfig()
The crypto key configuration. This field is used by the Customer-Managed
Encryption Keys (CMEK) feature.
.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
getCryptoKeyConfigOrBuilder()
public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()
The crypto key configuration. This field is used by the Customer-Managed
Encryption Keys (CMEK) feature.
.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
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()
getDescription()
public String getDescription()
A description of this instance.
string description = 2;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description of this instance.
string description = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDisabledReason(int index)
public Instance.DisabledReason getDisabledReason(int index)
Output only. If the instance state is DISABLED, the reason for disabling the instance.
repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
getDisabledReasonCount()
public int getDisabledReasonCount()
Output only. If the instance state is DISABLED, the reason for disabling the instance.
repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The count of disabledReason.
|
getDisabledReasonList()
public List<Instance.DisabledReason> getDisabledReasonList()
Output only. If the instance state is DISABLED, the reason for disabling the instance.
repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDisabledReasonValue(int index)
public int getDisabledReasonValue(int index)
Output only. If the instance state is DISABLED, the reason for disabling the instance.
repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of disabledReason at the given index.
|
getDisabledReasonValueList()
public List<Integer> getDisabledReasonValueList()
Output only. If the instance state is DISABLED, the reason for disabling the instance.
repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for disabledReason.
|
getDisplayName()
public String getDisplayName()
Display name for an instance.
string display_name = 18;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name for an instance.
string display_name = 18;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getEnableRbac()
public boolean getEnableRbac()
Option to enable granular role-based access control.
bool enable_rbac = 27;
Returns |
---|
Type | Description |
boolean | The enableRbac.
|
getEnableStackdriverLogging()
public boolean getEnableStackdriverLogging()
Option to enable Stackdriver Logging.
bool enable_stackdriver_logging = 4;
Returns |
---|
Type | Description |
boolean | The enableStackdriverLogging.
|
getEnableStackdriverMonitoring()
public boolean getEnableStackdriverMonitoring()
Option to enable Stackdriver Monitoring.
bool enable_stackdriver_monitoring = 5;
Returns |
---|
Type | Description |
boolean | The enableStackdriverMonitoring.
|
getGcsBucket()
public String getGcsBucket()
Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The gcsBucket.
|
getGcsBucketBytes()
public ByteString getGcsBucketBytes()
Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for gcsBucket.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()