Package com.google.cloud.datafusion.v1
Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datafusion.v1.Instance
-
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
Represents a Data Fusion instance.
Protobuf typegoogle.cloud.datafusion.v1.Instance- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstance.BuilderRepresents a Data Fusion instance.static classInstance.DisabledReasonThe reason for disabling the instance if the state is DISABLED.static classInstance.StateRepresents the state of a Data Fusion instancestatic classInstance.TypeRepresents the type of Data Fusion instance.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.booleancontainsOptions(String key)Map of additional options used to configure the behavior of Data Fusion instance.booleanequals(Object obj)AcceleratorgetAccelerators(int index)List of accelerators enabled for this CDF instance.intgetAcceleratorsCount()List of accelerators enabled for this CDF instance.List<Accelerator>getAcceleratorsList()List of accelerators enabled for this CDF instance.AcceleratorOrBuildergetAcceleratorsOrBuilder(int index)List of accelerators enabled for this CDF instance.List<? extends AcceleratorOrBuilder>getAcceleratorsOrBuilderList()List of accelerators enabled for this CDF instance.StringgetApiEndpoint()Output only.com.google.protobuf.ByteStringgetApiEndpointBytes()Output only.VersiongetAvailableVersion(int index)Available versions that the instance can be upgraded to using UpdateInstanceRequest.intgetAvailableVersionCount()Available versions that the instance can be upgraded to using UpdateInstanceRequest.List<Version>getAvailableVersionList()Available versions that the instance can be upgraded to using UpdateInstanceRequest.VersionOrBuildergetAvailableVersionOrBuilder(int index)Available versions that the instance can be upgraded to using UpdateInstanceRequest.List<? extends VersionOrBuilder>getAvailableVersionOrBuilderList()Available versions that the instance can be upgraded to using UpdateInstanceRequest.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.CryptoKeyConfiggetCryptoKeyConfig()The crypto key configuration.CryptoKeyConfigOrBuildergetCryptoKeyConfigOrBuilder()The crypto key configuration.StringgetDataprocServiceAccount()User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.com.google.protobuf.ByteStringgetDataprocServiceAccountBytes()User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.static InstancegetDefaultInstance()InstancegetDefaultInstanceForType()StringgetDescription()A description of this instance.com.google.protobuf.ByteStringgetDescriptionBytes()A description of this instance.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Instance.DisabledReasongetDisabledReason(int index)Output only.intgetDisabledReasonCount()Output only.List<Instance.DisabledReason>getDisabledReasonList()Output only.intgetDisabledReasonValue(int index)Output only.List<Integer>getDisabledReasonValueList()Output only.StringgetDisplayName()Display name for an instance.com.google.protobuf.ByteStringgetDisplayNameBytes()Display name for an instance.booleangetEnableRbac()Option to enable granular role-based access control.booleangetEnableStackdriverLogging()Option to enable Stackdriver Logging.booleangetEnableStackdriverMonitoring()Option to enable Stackdriver Monitoring.StringgetGcsBucket()Output only.com.google.protobuf.ByteStringgetGcsBucketBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.Map<String,String>getLabelsMap()The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrDefault(String key, String defaultValue)The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.StringgetLabelsOrThrow(String key)The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.NetworkConfiggetNetworkConfig()Network configuration options.NetworkConfigOrBuildergetNetworkConfigOrBuilder()Network configuration options.Map<String,String>getOptions()Deprecated.intgetOptionsCount()Map of additional options used to configure the behavior of Data Fusion instance.Map<String,String>getOptionsMap()Map of additional options used to configure the behavior of Data Fusion instance.StringgetOptionsOrDefault(String key, String defaultValue)Map of additional options used to configure the behavior of Data Fusion instance.StringgetOptionsOrThrow(String key)Map of additional options used to configure the behavior of Data Fusion instance.StringgetP4ServiceAccount()Output only.com.google.protobuf.ByteStringgetP4ServiceAccountBytes()Output only.com.google.protobuf.Parser<Instance>getParserForType()booleangetPrivateInstance()Specifies whether the Data Fusion instance should be private.intgetSerializedSize()StringgetServiceAccount()Deprecated.google.cloud.datafusion.v1.Instance.service_account is deprecated.com.google.protobuf.ByteStringgetServiceAccountBytes()Deprecated.google.cloud.datafusion.v1.Instance.service_account is deprecated.StringgetServiceEndpoint()Output only.com.google.protobuf.ByteStringgetServiceEndpointBytes()Output only.Instance.StategetState()Output only.StringgetStateMessage()Output only.com.google.protobuf.ByteStringgetStateMessageBytes()Output only.intgetStateValue()Output only.StringgetTenantProjectId()Output only.com.google.protobuf.ByteStringgetTenantProjectIdBytes()Output only.Instance.TypegetType()Required.intgetTypeValue()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetVersion()Current version of the Data Fusion.com.google.protobuf.ByteStringgetVersionBytes()Current version of the Data Fusion.StringgetZone()Name of the zone in which the Data Fusion instance will be created.com.google.protobuf.ByteStringgetZoneBytes()Name of the zone in which the Data Fusion instance will be created.booleanhasCreateTime()Output only.booleanhasCryptoKeyConfig()The crypto key configuration.inthashCode()booleanhasNetworkConfig()Network configuration options.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Instance.BuildernewBuilder()static Instance.BuildernewBuilder(Instance prototype)Instance.BuildernewBuilderForType()protected Instance.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceparseDelimitedFrom(InputStream input)static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(byte[] data)static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.ByteString data)static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.CodedInputStream input)static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(InputStream input)static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(ByteBuffer data)static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Instance>parser()Instance.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
public static final int ENABLE_STACKDRIVER_LOGGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER
public static final int ENABLE_STACKDRIVER_MONITORING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_INSTANCE_FIELD_NUMBER
public static final int PRIVATE_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_CONFIG_FIELD_NUMBER
public static final int NETWORK_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ENDPOINT_FIELD_NUMBER
public static final int SERVICE_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABLE_VERSION_FIELD_NUMBER
public static final int AVAILABLE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_ENDPOINT_FIELD_NUMBER
public static final int API_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCS_BUCKET_FIELD_NUMBER
public static final int GCS_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
P4_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int P4_SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENANT_PROJECT_ID_FIELD_NUMBER
public static final int TENANT_PROJECT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int DATAPROC_SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_RBAC_FIELD_NUMBER
public static final int ENABLE_RBAC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRYPTO_KEY_CONFIG_FIELD_NUMBER
public static final int CRYPTO_KEY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLED_REASON_FIELD_NUMBER
public static final int DISABLED_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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) = { ... }- Specified by:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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) = { ... }- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
A description of this instance.
string description = 2;- Specified by:
getDescriptionin interfaceInstanceOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description of this instance.
string description = 2;- Specified by:
getDescriptionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for description.
-
getTypeValue
public int getTypeValue()
Required. Instance type.
.google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public Instance.Type getType()
Required. Instance type.
.google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfaceInstanceOrBuilder- Returns:
- The type.
-
getEnableStackdriverLogging
public boolean getEnableStackdriverLogging()
Option to enable Stackdriver Logging.
bool enable_stackdriver_logging = 4;- Specified by:
getEnableStackdriverLoggingin interfaceInstanceOrBuilder- Returns:
- The enableStackdriverLogging.
-
getEnableStackdriverMonitoring
public boolean getEnableStackdriverMonitoring()
Option to enable Stackdriver Monitoring.
bool enable_stackdriver_monitoring = 5;- Specified by:
getEnableStackdriverMonitoringin interfaceInstanceOrBuilder- Returns:
- The enableStackdriverMonitoring.
-
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;- Specified by:
getPrivateInstancein interfaceInstanceOrBuilder- Returns:
- The privateInstance.
-
hasNetworkConfig
public boolean hasNetworkConfig()
Network configuration options. These are required when a private Data Fusion instance is to be created.
.google.cloud.datafusion.v1.NetworkConfig network_config = 7;- Specified by:
hasNetworkConfigin interfaceInstanceOrBuilder- Returns:
- Whether the networkConfig field is set.
-
getNetworkConfig
public NetworkConfig getNetworkConfig()
Network configuration options. These are required when a private Data Fusion instance is to be created.
.google.cloud.datafusion.v1.NetworkConfig network_config = 7;- Specified by:
getNetworkConfigin interfaceInstanceOrBuilder- Returns:
- The networkConfig.
-
getNetworkConfigOrBuilder
public NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Network configuration options. These are required when a private Data Fusion instance is to be created.
.google.cloud.datafusion.v1.NetworkConfig network_config = 7;- Specified by:
getNetworkConfigOrBuilderin interfaceInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilderThe 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;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
getOptionsCount
public int getOptionsCount()
Description copied from interface:InstanceOrBuilderMap of additional options used to configure the behavior of Data Fusion instance.
map<string, string> options = 9;- Specified by:
getOptionsCountin interfaceInstanceOrBuilder
-
containsOptions
public boolean containsOptions(String key)
Map of additional options used to configure the behavior of Data Fusion instance.
map<string, string> options = 9;- Specified by:
containsOptionsin interfaceInstanceOrBuilder
-
getOptions
@Deprecated public Map<String,String> getOptions()
Deprecated.UsegetOptionsMap()instead.- Specified by:
getOptionsin interfaceInstanceOrBuilder
-
getOptionsMap
public Map<String,String> getOptionsMap()
Map of additional options used to configure the behavior of Data Fusion instance.
map<string, string> options = 9;- Specified by:
getOptionsMapin interfaceInstanceOrBuilder
-
getOptionsOrDefault
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;- Specified by:
getOptionsOrDefaultin interfaceInstanceOrBuilder
-
getOptionsOrThrow
public String getOptionsOrThrow(String key)
Map of additional options used to configure the behavior of Data Fusion instance.
map<string, string> options = 9;- Specified by:
getOptionsOrThrowin interfaceInstanceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceInstanceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time the instance was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceInstanceOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the instance was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceInstanceOrBuilder
-
getStateValue
public int getStateValue()
Output only. The current state of this Data Fusion instance.
.google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Instance.State getState()
Output only. The current state of this Data Fusion instance.
.google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOrBuilder- Returns:
- 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];- Specified by:
getStateMessagein interfaceInstanceOrBuilder- Returns:
- The stateMessage.
-
getStateMessageBytes
public com.google.protobuf.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];- Specified by:
getStateMessageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for stateMessage.
-
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];- Specified by:
getServiceEndpointin interfaceInstanceOrBuilder- Returns:
- The serviceEndpoint.
-
getServiceEndpointBytes
public com.google.protobuf.ByteString getServiceEndpointBytes()
Output only. Endpoint on which the Data Fusion UI is accessible.
string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceEndpointBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for serviceEndpoint.
-
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;- Specified by:
getZonein interfaceInstanceOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.
string zone = 15;- Specified by:
getZoneBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for zone.
-
getVersion
public String getVersion()
Current version of the Data Fusion. Only specifiable in Update.
string version = 16;- Specified by:
getVersionin interfaceInstanceOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Current version of the Data Fusion. Only specifiable in Update.
string version = 16;- Specified by:
getVersionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for version.
-
getServiceAccount
@Deprecated public String getServiceAccount()
Deprecated.google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361Output 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];- Specified by:
getServiceAccountin interfaceInstanceOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
@Deprecated public com.google.protobuf.ByteString getServiceAccountBytes()
Deprecated.google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361Output 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];- Specified by:
getServiceAccountBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for serviceAccount.
-
getDisplayName
public String getDisplayName()
Display name for an instance.
string display_name = 18;- Specified by:
getDisplayNamein interfaceInstanceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Display name for an instance.
string display_name = 18;- Specified by:
getDisplayNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for displayName.
-
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;- Specified by:
getAvailableVersionListin interfaceInstanceOrBuilder
-
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;- Specified by:
getAvailableVersionOrBuilderListin interfaceInstanceOrBuilder
-
getAvailableVersionCount
public int getAvailableVersionCount()
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1.Version available_version = 19;- Specified by:
getAvailableVersionCountin interfaceInstanceOrBuilder
-
getAvailableVersion
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;- Specified by:
getAvailableVersionin interfaceInstanceOrBuilder
-
getAvailableVersionOrBuilder
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;- Specified by:
getAvailableVersionOrBuilderin interfaceInstanceOrBuilder
-
getApiEndpoint
public String getApiEndpoint()
Output only. Endpoint on which the REST APIs is accessible.
string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiEndpointin interfaceInstanceOrBuilder- Returns:
- The apiEndpoint.
-
getApiEndpointBytes
public com.google.protobuf.ByteString getApiEndpointBytes()
Output only. Endpoint on which the REST APIs is accessible.
string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiEndpointBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for apiEndpoint.
-
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];- Specified by:
getGcsBucketin interfaceInstanceOrBuilder- Returns:
- The gcsBucket.
-
getGcsBucketBytes
public com.google.protobuf.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];- Specified by:
getGcsBucketBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for gcsBucket.
-
getAcceleratorsList
public List<Accelerator> getAcceleratorsList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;- Specified by:
getAcceleratorsListin interfaceInstanceOrBuilder
-
getAcceleratorsOrBuilderList
public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;- Specified by:
getAcceleratorsOrBuilderListin interfaceInstanceOrBuilder
-
getAcceleratorsCount
public int getAcceleratorsCount()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;- Specified by:
getAcceleratorsCountin interfaceInstanceOrBuilder
-
getAccelerators
public Accelerator getAccelerators(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;- Specified by:
getAcceleratorsin interfaceInstanceOrBuilder
-
getAcceleratorsOrBuilder
public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;- Specified by:
getAcceleratorsOrBuilderin interfaceInstanceOrBuilder
-
getP4ServiceAccount
public String getP4ServiceAccount()
Output only. P4 service account for the customer project.
string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getP4ServiceAccountin interfaceInstanceOrBuilder- Returns:
- The p4ServiceAccount.
-
getP4ServiceAccountBytes
public com.google.protobuf.ByteString getP4ServiceAccountBytes()
Output only. P4 service account for the customer project.
string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getP4ServiceAccountBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for p4ServiceAccount.
-
getTenantProjectId
public String getTenantProjectId()
Output only. The name of the tenant project.
string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTenantProjectIdin interfaceInstanceOrBuilder- Returns:
- The tenantProjectId.
-
getTenantProjectIdBytes
public com.google.protobuf.ByteString getTenantProjectIdBytes()
Output only. The name of the tenant project.
string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTenantProjectIdBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for tenantProjectId.
-
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;- Specified by:
getDataprocServiceAccountin interfaceInstanceOrBuilder- Returns:
- The dataprocServiceAccount.
-
getDataprocServiceAccountBytes
public com.google.protobuf.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;- Specified by:
getDataprocServiceAccountBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for dataprocServiceAccount.
-
getEnableRbac
public boolean getEnableRbac()
Option to enable granular role-based access control.
bool enable_rbac = 27;- Specified by:
getEnableRbacin interfaceInstanceOrBuilder- Returns:
- The enableRbac.
-
hasCryptoKeyConfig
public boolean hasCryptoKeyConfig()
The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;- Specified by:
hasCryptoKeyConfigin interfaceInstanceOrBuilder- Returns:
- Whether the cryptoKeyConfig field is set.
-
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;- Specified by:
getCryptoKeyConfigin interfaceInstanceOrBuilder- Returns:
- The cryptoKeyConfig.
-
getCryptoKeyConfigOrBuilder
public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()
The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;- Specified by:
getCryptoKeyConfigOrBuilderin interfaceInstanceOrBuilder
-
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];- Specified by:
getDisabledReasonListin interfaceInstanceOrBuilder- Returns:
- A list containing the disabledReason.
-
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];- Specified by:
getDisabledReasonCountin interfaceInstanceOrBuilder- Returns:
- The count of disabledReason.
-
getDisabledReason
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];- Specified by:
getDisabledReasonin interfaceInstanceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The 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];- Specified by:
getDisabledReasonValueListin interfaceInstanceOrBuilder- Returns:
- A list containing the enum numeric values on the wire for disabledReason.
-
getDisabledReasonValue
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];- Specified by:
getDisabledReasonValuein interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of disabledReason at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.Builder newBuilder()
-
newBuilder
public static Instance.Builder newBuilder(Instance prototype)
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-