Class 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 type google.cloud.datafusion.v1beta1.Instance
    See Also:
    Serialized Form
    • Field Detail

      • DESCRIPTION_FIELD_NUMBER

        public static final int DESCRIPTION_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
      • 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_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
      • 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 class com.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 class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        Returns:
        The bytes for name.
      • getDescription

        public String getDescription()
         A description of this instance.
         
        string description = 2;
        Specified by:
        getDescription in interface InstanceOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A description of this instance.
         
        string description = 2;
        Specified by:
        getDescriptionBytes in interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        Returns:
        The type.
      • getEnableStackdriverLogging

        public boolean getEnableStackdriverLogging()
         Option to enable Stackdriver Logging.
         
        bool enable_stackdriver_logging = 4;
        Specified by:
        getEnableStackdriverLogging in interface InstanceOrBuilder
        Returns:
        The enableStackdriverLogging.
      • getEnableStackdriverMonitoring

        public boolean getEnableStackdriverMonitoring()
         Option to enable Stackdriver Monitoring.
         
        bool enable_stackdriver_monitoring = 5;
        Specified by:
        getEnableStackdriverMonitoring in interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        Returns:
        The bytes for zone.
      • getVersion

        public String getVersion()
         Current version of Data Fusion.
         
        string version = 16;
        Specified by:
        getVersion in interface InstanceOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Current version of Data Fusion.
         
        string version = 16;
        Specified by:
        getVersionBytes in interface InstanceOrBuilder
        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=392
         Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
         
        string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceAccount in interface InstanceOrBuilder
        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=392
         Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.
         
        string service_account = 17 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceAccountBytes in interface InstanceOrBuilder
        Returns:
        The bytes for serviceAccount.
      • getDisplayName

        public String getDisplayName()
         Display name for an instance.
         
        string display_name = 18;
        Specified by:
        getDisplayName in interface InstanceOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Display name for an instance.
         
        string display_name = 18;
        Specified by:
        getDisplayNameBytes in interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • getAcceleratorsCount

        public int getAcceleratorsCount()
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1beta1.Accelerator accelerators = 22;
        Specified by:
        getAcceleratorsCount in interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
      • 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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface InstanceOrBuilder
        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 interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Instance.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Instance.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Instance.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Instance getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder