Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datafusion.v1beta1.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.v1beta1.Instance
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.Builder
Represents a Data Fusion instance.static class
Instance.DisabledReason
The reason for disabling the instance if the state is DISABLED.static class
Instance.State
Represents the state of a Data Fusion instancestatic class
Instance.Type
Represents 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 boolean
containsLabels(String key)
The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.boolean
containsOptions(String key)
Map of additional options used to configure the behavior of Data Fusion instance.boolean
equals(Object obj)
Accelerator
getAccelerators(int index)
List of accelerators enabled for this CDF instance.int
getAcceleratorsCount()
List of accelerators enabled for this CDF instance.List<Accelerator>
getAcceleratorsList()
List of accelerators enabled for this CDF instance.AcceleratorOrBuilder
getAcceleratorsOrBuilder(int index)
List of accelerators enabled for this CDF instance.List<? extends AcceleratorOrBuilder>
getAcceleratorsOrBuilderList()
List of accelerators enabled for this CDF instance.String
getApiEndpoint()
Output only.com.google.protobuf.ByteString
getApiEndpointBytes()
Output only.Version
getAvailableVersion(int index)
Available versions that the instance can be upgraded to using UpdateInstanceRequest.int
getAvailableVersionCount()
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.VersionOrBuilder
getAvailableVersionOrBuilder(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.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.CryptoKeyConfig
getCryptoKeyConfig()
The crypto key configuration.CryptoKeyConfigOrBuilder
getCryptoKeyConfigOrBuilder()
The crypto key configuration.String
getDataprocServiceAccount()
User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.com.google.protobuf.ByteString
getDataprocServiceAccountBytes()
User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.static Instance
getDefaultInstance()
Instance
getDefaultInstanceForType()
String
getDescription()
A description of this instance.com.google.protobuf.ByteString
getDescriptionBytes()
A description of this instance.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Instance.DisabledReason
getDisabledReason(int index)
Output only.int
getDisabledReasonCount()
Output only.List<Instance.DisabledReason>
getDisabledReasonList()
Output only.int
getDisabledReasonValue(int index)
Output only.List<Integer>
getDisabledReasonValueList()
Output only.String
getDisplayName()
Display name for an instance.com.google.protobuf.ByteString
getDisplayNameBytes()
Display name for an instance.boolean
getEnableRbac()
Option to enable granular role-based access control.boolean
getEnableStackdriverLogging()
Option to enable Stackdriver Logging.boolean
getEnableStackdriverMonitoring()
Option to enable Stackdriver Monitoring.String
getGcsBucket()
Output only.com.google.protobuf.ByteString
getGcsBucketBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
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.String
getLabelsOrDefault(String key, String defaultValue)
The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.String
getLabelsOrThrow(String key)
The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.NetworkConfig
getNetworkConfig()
Network configuration options.NetworkConfigOrBuilder
getNetworkConfigOrBuilder()
Network configuration options.Map<String,String>
getOptions()
Deprecated.int
getOptionsCount()
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.String
getOptionsOrDefault(String key, String defaultValue)
Map of additional options used to configure the behavior of Data Fusion instance.String
getOptionsOrThrow(String key)
Map of additional options used to configure the behavior of Data Fusion instance.String
getP4ServiceAccount()
Output only.com.google.protobuf.ByteString
getP4ServiceAccountBytes()
Output only.com.google.protobuf.Parser<Instance>
getParserForType()
boolean
getPrivateInstance()
Specifies whether the Data Fusion instance should be private.int
getSerializedSize()
String
getServiceAccount()
Deprecated.google.cloud.datafusion.v1beta1.Instance.service_account is deprecated.com.google.protobuf.ByteString
getServiceAccountBytes()
Deprecated.google.cloud.datafusion.v1beta1.Instance.service_account is deprecated.String
getServiceEndpoint()
Output only.com.google.protobuf.ByteString
getServiceEndpointBytes()
Output only.Instance.State
getState()
Output only.String
getStateMessage()
Output only.com.google.protobuf.ByteString
getStateMessageBytes()
Output only.int
getStateValue()
Output only.String
getTenantProjectId()
Output only.com.google.protobuf.ByteString
getTenantProjectIdBytes()
Output only.Instance.Type
getType()
Required.int
getTypeValue()
Required.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getVersion()
Current version of Data Fusion.com.google.protobuf.ByteString
getVersionBytes()
Current version of Data Fusion.String
getZone()
Name of the zone in which the Data Fusion instance will be created.com.google.protobuf.ByteString
getZoneBytes()
Name of the zone in which the Data Fusion instance will be created.boolean
hasCreateTime()
Output only.boolean
hasCryptoKeyConfig()
The crypto key configuration.int
hashCode()
boolean
hasNetworkConfig()
Network configuration options.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Instance.Builder
newBuilder()
static Instance.Builder
newBuilder(Instance prototype)
Instance.Builder
newBuilderForType()
protected Instance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance
parseDelimitedFrom(InputStream input)
static Instance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(byte[] data)
static Instance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.ByteString data)
static Instance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(InputStream input)
static Instance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(ByteBuffer data)
static Instance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance>
parser()
Instance.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
A description of this instance.
string description = 2;
- Specified by:
getDescription
in interfaceInstanceOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description of this instance.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for description.
-
getTypeValue
public int getTypeValue()
Required. Instance type.
.google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTypeValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
public Instance.Type getType()
Required. Instance type.
.google.cloud.datafusion.v1beta1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getType
in interfaceInstanceOrBuilder
- Returns:
- The type.
-
getEnableStackdriverLogging
public boolean getEnableStackdriverLogging()
Option to enable Stackdriver Logging.
bool enable_stackdriver_logging = 4;
- Specified by:
getEnableStackdriverLogging
in interfaceInstanceOrBuilder
- Returns:
- The enableStackdriverLogging.
-
getEnableStackdriverMonitoring
public boolean getEnableStackdriverMonitoring()
Option to enable Stackdriver Monitoring.
bool enable_stackdriver_monitoring = 5;
- Specified by:
getEnableStackdriverMonitoring
in 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:
getPrivateInstance
in 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.v1beta1.NetworkConfig network_config = 7;
- Specified by:
hasNetworkConfig
in 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.v1beta1.NetworkConfig network_config = 7;
- Specified by:
getNetworkConfig
in 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.v1beta1.NetworkConfig network_config = 7;
- Specified by:
getNetworkConfigOrBuilder
in interfaceInstanceOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
getOptionsCount
public int getOptionsCount()
Description copied from interface:InstanceOrBuilder
Map of additional options used to configure the behavior of Data Fusion instance.
map<string, string> options = 9;
- Specified by:
getOptionsCount
in 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:
containsOptions
in interfaceInstanceOrBuilder
-
getOptions
@Deprecated public Map<String,String> getOptions()
Deprecated.UsegetOptionsMap()
instead.- Specified by:
getOptions
in 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:
getOptionsMap
in 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:
getOptionsOrDefault
in 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:
getOptionsOrThrow
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceInstanceOrBuilder
-
getStateValue
public int getStateValue()
Output only. The current state of this Data Fusion instance.
.google.cloud.datafusion.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in 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.v1beta1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in 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:
getStateMessage
in 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:
getStateMessageBytes
in 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:
getServiceEndpoint
in 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:
getServiceEndpointBytes
in 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:
getZone
in 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:
getZoneBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for zone.
-
getVersion
public String getVersion()
Current version of Data Fusion.
string version = 16;
- Specified by:
getVersion
in interfaceInstanceOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Current version of Data Fusion.
string version = 16;
- Specified by:
getVersionBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for version.
-
getServiceAccount
@Deprecated public String getServiceAccount()
Deprecated.google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392Output 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:
getServiceAccount
in interfaceInstanceOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
@Deprecated public com.google.protobuf.ByteString getServiceAccountBytes()
Deprecated.google.cloud.datafusion.v1beta1.Instance.service_account is deprecated. See google/cloud/datafusion/v1beta1/v1beta1.proto;l=392Output 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:
getServiceAccountBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for serviceAccount.
-
getDisplayName
public String getDisplayName()
Display name for an instance.
string display_name = 18;
- Specified by:
getDisplayName
in interfaceInstanceOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Display name for an instance.
string display_name = 18;
- Specified by:
getDisplayNameBytes
in 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.v1beta1.Version available_version = 19;
- Specified by:
getAvailableVersionList
in interfaceInstanceOrBuilder
-
getAvailableVersionOrBuilderList
public List<? extends VersionOrBuilder> getAvailableVersionOrBuilderList()
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
- Specified by:
getAvailableVersionOrBuilderList
in interfaceInstanceOrBuilder
-
getAvailableVersionCount
public int getAvailableVersionCount()
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
- Specified by:
getAvailableVersionCount
in interfaceInstanceOrBuilder
-
getAvailableVersion
public Version getAvailableVersion(int index)
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
- Specified by:
getAvailableVersion
in interfaceInstanceOrBuilder
-
getAvailableVersionOrBuilder
public VersionOrBuilder getAvailableVersionOrBuilder(int index)
Available versions that the instance can be upgraded to using UpdateInstanceRequest.
repeated .google.cloud.datafusion.v1beta1.Version available_version = 19;
- Specified by:
getAvailableVersionOrBuilder
in 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:
getApiEndpoint
in 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:
getApiEndpointBytes
in 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:
getGcsBucket
in 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:
getGcsBucketBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for gcsBucket.
-
getAcceleratorsList
public List<Accelerator> getAcceleratorsList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
- Specified by:
getAcceleratorsList
in interfaceInstanceOrBuilder
-
getAcceleratorsOrBuilderList
public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
- Specified by:
getAcceleratorsOrBuilderList
in interfaceInstanceOrBuilder
-
getAcceleratorsCount
public int getAcceleratorsCount()
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
- Specified by:
getAcceleratorsCount
in interfaceInstanceOrBuilder
-
getAccelerators
public Accelerator getAccelerators(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
- Specified by:
getAccelerators
in interfaceInstanceOrBuilder
-
getAcceleratorsOrBuilder
public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
List of accelerators enabled for this CDF instance.
repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
- Specified by:
getAcceleratorsOrBuilder
in 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:
getP4ServiceAccount
in 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:
getP4ServiceAccountBytes
in 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:
getTenantProjectId
in 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:
getTenantProjectIdBytes
in 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:
getDataprocServiceAccount
in 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:
getDataprocServiceAccountBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for dataprocServiceAccount.
-
getEnableRbac
public boolean getEnableRbac()
Option to enable granular role-based access control.
bool enable_rbac = 26;
- Specified by:
getEnableRbac
in 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.v1beta1.CryptoKeyConfig crypto_key_config = 27;
- Specified by:
hasCryptoKeyConfig
in 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.v1beta1.CryptoKeyConfig crypto_key_config = 27;
- Specified by:
getCryptoKeyConfig
in 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.v1beta1.CryptoKeyConfig crypto_key_config = 27;
- Specified by:
getCryptoKeyConfigOrBuilder
in 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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisabledReasonList
in 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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisabledReasonCount
in 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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisabledReason
in 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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisabledReasonValueList
in 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.v1beta1.Instance.DisabledReason disabled_reason = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDisabledReasonValue
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-