Class Instance.Builder

  • All Implemented Interfaces:
    InstanceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Instance

    public static final class Instance.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
    implements InstanceOrBuilder
     Represents a Data Fusion instance.
     
    Protobuf type google.cloud.datafusion.v1.Instance
    • Method Detail

      • 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.Builder<Instance.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clear

        public Instance.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • getDefaultInstanceForType

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

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

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

        public Instance.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • setField

        public Instance.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clearField

        public Instance.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • clearOneof

        public Instance.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • setRepeatedField

        public Instance.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 int index,
                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • addRepeatedField

        public Instance.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • mergeFrom

        public Instance.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • mergeFrom

        public Instance.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>
        Throws:
        IOException
      • 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.
      • setName

        public Instance.Builder setName​(String value)
         Output only. The name of this instance is in the form of
         projects/{project}/locations/{location}/instances/{instance}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Instance.Builder clearName()
         Output only. The name of this instance is in the form of
         projects/{project}/locations/{location}/instances/{instance}.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public Instance.Builder setNameBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDescription

        public Instance.Builder setDescription​(String value)
         A description of this instance.
         
        string description = 2;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Instance.Builder clearDescription()
         A description of this instance.
         
        string description = 2;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Instance.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         A description of this instance.
         
        string description = 2;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         Required. Instance type.
         
        .google.cloud.datafusion.v1.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.
      • setTypeValue

        public Instance.Builder setTypeValue​(int value)
         Required. Instance type.
         
        .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public Instance.Type getType()
         Required. Instance type.
         
        .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getType in interface InstanceOrBuilder
        Returns:
        The type.
      • setType

        public Instance.Builder setType​(Instance.Type value)
         Required. Instance type.
         
        .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Instance.Builder clearType()
         Required. Instance type.
         
        .google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getEnableStackdriverLogging

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

        public Instance.Builder setEnableStackdriverLogging​(boolean value)
         Option to enable Stackdriver Logging.
         
        bool enable_stackdriver_logging = 4;
        Parameters:
        value - The enableStackdriverLogging to set.
        Returns:
        This builder for chaining.
      • clearEnableStackdriverLogging

        public Instance.Builder clearEnableStackdriverLogging()
         Option to enable Stackdriver Logging.
         
        bool enable_stackdriver_logging = 4;
        Returns:
        This builder for chaining.
      • getEnableStackdriverMonitoring

        public boolean getEnableStackdriverMonitoring()
         Option to enable Stackdriver Monitoring.
         
        bool enable_stackdriver_monitoring = 5;
        Specified by:
        getEnableStackdriverMonitoring in interface InstanceOrBuilder
        Returns:
        The enableStackdriverMonitoring.
      • setEnableStackdriverMonitoring

        public Instance.Builder setEnableStackdriverMonitoring​(boolean value)
         Option to enable Stackdriver Monitoring.
         
        bool enable_stackdriver_monitoring = 5;
        Parameters:
        value - The enableStackdriverMonitoring to set.
        Returns:
        This builder for chaining.
      • clearEnableStackdriverMonitoring

        public Instance.Builder clearEnableStackdriverMonitoring()
         Option to enable Stackdriver Monitoring.
         
        bool enable_stackdriver_monitoring = 5;
        Returns:
        This builder for chaining.
      • 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.
      • setPrivateInstance

        public Instance.Builder setPrivateInstance​(boolean value)
         Specifies whether the Data Fusion instance should be private. If set to
         true, all Data Fusion nodes will have private IP addresses and will not be
         able to access the public internet.
         
        bool private_instance = 6;
        Parameters:
        value - The privateInstance to set.
        Returns:
        This builder for chaining.
      • clearPrivateInstance

        public Instance.Builder clearPrivateInstance()
         Specifies whether the Data Fusion instance should be private. If set to
         true, all Data Fusion nodes will have private IP addresses and will not be
         able to access the public internet.
         
        bool private_instance = 6;
        Returns:
        This builder for chaining.
      • 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:
        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.v1.NetworkConfig network_config = 7;
        Specified by:
        getNetworkConfig in interface InstanceOrBuilder
        Returns:
        The networkConfig.
      • setNetworkConfig

        public Instance.Builder setNetworkConfig​(NetworkConfig value)
         Network configuration options. These are required when a private Data
         Fusion instance is to be created.
         
        .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      • setNetworkConfig

        public Instance.Builder setNetworkConfig​(NetworkConfig.Builder builderForValue)
         Network configuration options. These are required when a private Data
         Fusion instance is to be created.
         
        .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      • mergeNetworkConfig

        public Instance.Builder mergeNetworkConfig​(NetworkConfig value)
         Network configuration options. These are required when a private Data
         Fusion instance is to be created.
         
        .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      • clearNetworkConfig

        public Instance.Builder clearNetworkConfig()
         Network configuration options. These are required when a private Data
         Fusion instance is to be created.
         
        .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      • getNetworkConfigBuilder

        public NetworkConfig.Builder getNetworkConfigBuilder()
         Network configuration options. These are required when a private Data
         Fusion instance is to be created.
         
        .google.cloud.datafusion.v1.NetworkConfig network_config = 7;
      • 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:
        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
      • removeLabels

        public Instance.Builder removeLabels​(String key)
         The resource labels for instance to use to annotate any related underlying
         resources such as Compute Engine VMs. The character '=' is not allowed to
         be used within the labels.
         
        map<string, string> labels = 8;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Instance.Builder putLabels​(String key,
                                          String value)
         The resource labels for instance to use to annotate any related underlying
         resources such as Compute Engine VMs. The character '=' is not allowed to
         be used within the labels.
         
        map<string, string> labels = 8;
      • putAllLabels

        public Instance.Builder putAllLabels​(Map<String,​String> values)
         The resource labels for instance to use to annotate any related underlying
         resources such as Compute Engine VMs. The character '=' is not allowed to
         be used within the labels.
         
        map<string, string> labels = 8;
      • 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
      • removeOptions

        public Instance.Builder removeOptions​(String key)
         Map of additional options used to configure the behavior of
         Data Fusion instance.
         
        map<string, string> options = 9;
      • getMutableOptions

        @Deprecated
        public Map<String,​String> getMutableOptions()
        Deprecated.
        Use alternate mutation accessors instead.
      • putOptions

        public Instance.Builder putOptions​(String key,
                                           String value)
         Map of additional options used to configure the behavior of
         Data Fusion instance.
         
        map<string, string> options = 9;
      • putAllOptions

        public Instance.Builder putAllOptions​(Map<String,​String> values)
         Map of additional options used to configure the behavior of
         Data Fusion instance.
         
        map<string, string> options = 9;
      • 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.
      • setCreateTime

        public Instance.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Instance.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Instance.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Instance.Builder clearCreateTime()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.
      • setUpdateTime

        public Instance.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Instance.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time the instance was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Instance.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Instance.Builder clearUpdateTime()
         Output only. The time the instance was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The time the instance was last updated.
         
        .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.v1.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.
      • setStateValue

        public Instance.Builder setStateValue​(int value)
         Output only. The current state of this Data Fusion instance.
         
        .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • 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:
        getState in interface InstanceOrBuilder
        Returns:
        The state.
      • setState

        public Instance.Builder setState​(Instance.State value)
         Output only. The current state of this Data Fusion instance.
         
        .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Instance.Builder clearState()
         Output only. The current state of this Data Fusion instance.
         
        .google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • setStateMessage

        public Instance.Builder setStateMessage​(String value)
         Output only. Additional information about the current state of this Data
         Fusion instance if available.
         
        string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateMessage to set.
        Returns:
        This builder for chaining.
      • clearStateMessage

        public Instance.Builder clearStateMessage()
         Output only. Additional information about the current state of this Data
         Fusion instance if available.
         
        string state_message = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStateMessageBytes

        public Instance.Builder setStateMessageBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for stateMessage to set.
        Returns:
        This builder for chaining.
      • 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.
      • setServiceEndpoint

        public Instance.Builder setServiceEndpoint​(String value)
         Output only. Endpoint on which the Data Fusion UI is accessible.
         
        string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The serviceEndpoint to set.
        Returns:
        This builder for chaining.
      • clearServiceEndpoint

        public Instance.Builder clearServiceEndpoint()
         Output only. Endpoint on which the Data Fusion UI is accessible.
         
        string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setServiceEndpointBytes

        public Instance.Builder setServiceEndpointBytes​(com.google.protobuf.ByteString value)
         Output only. Endpoint on which the Data Fusion UI is accessible.
         
        string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for serviceEndpoint to set.
        Returns:
        This builder for chaining.
      • 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.
      • setZone

        public Instance.Builder setZone​(String value)
         Name of the zone in which the Data Fusion instance will be created. Only
         DEVELOPER instances use this field.
         
        string zone = 15;
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        public Instance.Builder clearZone()
         Name of the zone in which the Data Fusion instance will be created. Only
         DEVELOPER instances use this field.
         
        string zone = 15;
        Returns:
        This builder for chaining.
      • setZoneBytes

        public Instance.Builder setZoneBytes​(com.google.protobuf.ByteString value)
         Name of the zone in which the Data Fusion instance will be created. Only
         DEVELOPER instances use this field.
         
        string zone = 15;
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getVersion

        public String getVersion()
         Current version of the Data Fusion. Only specifiable in Update.
         
        string version = 16;
        Specified by:
        getVersion in interface InstanceOrBuilder
        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:
        getVersionBytes in interface InstanceOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public Instance.Builder setVersion​(String value)
         Current version of the Data Fusion. Only specifiable in Update.
         
        string version = 16;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public Instance.Builder clearVersion()
         Current version of the Data Fusion. Only specifiable in Update.
         
        string version = 16;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public Instance.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Current version of the Data Fusion. Only specifiable in Update.
         
        string version = 16;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • getServiceAccount

        @Deprecated
        public String getServiceAccount()
        Deprecated.
        google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361
         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.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361
         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.
      • setServiceAccount

        @Deprecated
        public Instance.Builder setServiceAccount​(String value)
        Deprecated.
        google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361
         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];
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        @Deprecated
        public Instance.Builder clearServiceAccount()
        Deprecated.
        google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361
         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];
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        @Deprecated
        public Instance.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.cloud.datafusion.v1.Instance.service_account is deprecated. See google/cloud/datafusion/v1/datafusion.proto;l=361
         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];
        Parameters:
        value - The bytes for serviceAccount to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDisplayName

        public Instance.Builder setDisplayName​(String value)
         Display name for an instance.
         
        string display_name = 18;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Instance.Builder clearDisplayName()
         Display name for an instance.
         
        string display_name = 18;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Instance.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Display name for an instance.
         
        string display_name = 18;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • 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:
        getAvailableVersionList in interface InstanceOrBuilder
      • 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:
        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.v1.Version available_version = 19;
        Specified by:
        getAvailableVersion in interface InstanceOrBuilder
      • setAvailableVersion

        public Instance.Builder setAvailableVersion​(int index,
                                                    Version value)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • setAvailableVersion

        public Instance.Builder setAvailableVersion​(int index,
                                                    Version.Builder builderForValue)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAvailableVersion

        public Instance.Builder addAvailableVersion​(Version value)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAvailableVersion

        public Instance.Builder addAvailableVersion​(int index,
                                                    Version value)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAvailableVersion

        public Instance.Builder addAvailableVersion​(Version.Builder builderForValue)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAvailableVersion

        public Instance.Builder addAvailableVersion​(int index,
                                                    Version.Builder builderForValue)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAllAvailableVersion

        public Instance.Builder addAllAvailableVersion​(Iterable<? extends Version> values)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • clearAvailableVersion

        public Instance.Builder clearAvailableVersion()
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • removeAvailableVersion

        public Instance.Builder removeAvailableVersion​(int index)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • getAvailableVersionBuilder

        public Version.Builder getAvailableVersionBuilder​(int index)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • 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:
        getAvailableVersionOrBuilder in interface InstanceOrBuilder
      • 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:
        getAvailableVersionOrBuilderList in interface InstanceOrBuilder
      • addAvailableVersionBuilder

        public Version.Builder addAvailableVersionBuilder()
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • addAvailableVersionBuilder

        public Version.Builder addAvailableVersionBuilder​(int index)
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • getAvailableVersionBuilderList

        public List<Version.Builder> getAvailableVersionBuilderList()
         Available versions that the instance can be upgraded to using
         UpdateInstanceRequest.
         
        repeated .google.cloud.datafusion.v1.Version available_version = 19;
      • 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.
      • setApiEndpoint

        public Instance.Builder setApiEndpoint​(String value)
         Output only. Endpoint on which the REST APIs is accessible.
         
        string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The apiEndpoint to set.
        Returns:
        This builder for chaining.
      • clearApiEndpoint

        public Instance.Builder clearApiEndpoint()
         Output only. Endpoint on which the REST APIs is accessible.
         
        string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setApiEndpointBytes

        public Instance.Builder setApiEndpointBytes​(com.google.protobuf.ByteString value)
         Output only. Endpoint on which the REST APIs is accessible.
         
        string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for apiEndpoint to set.
        Returns:
        This builder for chaining.
      • 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.
      • setGcsBucket

        public Instance.Builder setGcsBucket​(String value)
         Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
         
        string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The gcsBucket to set.
        Returns:
        This builder for chaining.
      • clearGcsBucket

        public Instance.Builder clearGcsBucket()
         Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
         
        string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setGcsBucketBytes

        public Instance.Builder setGcsBucketBytes​(com.google.protobuf.ByteString value)
         Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
         
        string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for gcsBucket to set.
        Returns:
        This builder for chaining.
      • getAcceleratorsList

        public List<Accelerator> getAcceleratorsList()
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.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.v1.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.v1.Accelerator accelerators = 22;
        Specified by:
        getAccelerators in interface InstanceOrBuilder
      • setAccelerators

        public Instance.Builder setAccelerators​(int index,
                                                Accelerator value)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • setAccelerators

        public Instance.Builder setAccelerators​(int index,
                                                Accelerator.Builder builderForValue)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAccelerators

        public Instance.Builder addAccelerators​(Accelerator value)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAccelerators

        public Instance.Builder addAccelerators​(int index,
                                                Accelerator value)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAccelerators

        public Instance.Builder addAccelerators​(Accelerator.Builder builderForValue)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAccelerators

        public Instance.Builder addAccelerators​(int index,
                                                Accelerator.Builder builderForValue)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAllAccelerators

        public Instance.Builder addAllAccelerators​(Iterable<? extends Accelerator> values)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • clearAccelerators

        public Instance.Builder clearAccelerators()
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • removeAccelerators

        public Instance.Builder removeAccelerators​(int index)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • getAcceleratorsBuilder

        public Accelerator.Builder getAcceleratorsBuilder​(int index)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAcceleratorsBuilder

        public Accelerator.Builder addAcceleratorsBuilder()
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • addAcceleratorsBuilder

        public Accelerator.Builder addAcceleratorsBuilder​(int index)
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • getAcceleratorsBuilderList

        public List<Accelerator.Builder> getAcceleratorsBuilderList()
         List of accelerators enabled for this CDF instance.
         
        repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;
      • 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.
      • setP4ServiceAccount

        public Instance.Builder setP4ServiceAccount​(String value)
         Output only. P4 service account for the customer project.
         
        string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The p4ServiceAccount to set.
        Returns:
        This builder for chaining.
      • clearP4ServiceAccount

        public Instance.Builder clearP4ServiceAccount()
         Output only. P4 service account for the customer project.
         
        string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setP4ServiceAccountBytes

        public Instance.Builder setP4ServiceAccountBytes​(com.google.protobuf.ByteString value)
         Output only. P4 service account for the customer project.
         
        string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for p4ServiceAccount to set.
        Returns:
        This builder for chaining.
      • 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.
      • setTenantProjectId

        public Instance.Builder setTenantProjectId​(String value)
         Output only. The name of the tenant project.
         
        string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The tenantProjectId to set.
        Returns:
        This builder for chaining.
      • clearTenantProjectId

        public Instance.Builder clearTenantProjectId()
         Output only. The name of the tenant project.
         
        string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setTenantProjectIdBytes

        public Instance.Builder setTenantProjectIdBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the tenant project.
         
        string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for tenantProjectId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDataprocServiceAccount

        public Instance.Builder setDataprocServiceAccount​(String value)
         User-managed service account to set on Dataproc when Cloud Data Fusion
         creates Dataproc to run data processing pipelines.
        
         This allows users to have fine-grained access control on Dataproc's
         accesses to cloud resources.
         
        string dataproc_service_account = 25;
        Parameters:
        value - The dataprocServiceAccount to set.
        Returns:
        This builder for chaining.
      • clearDataprocServiceAccount

        public Instance.Builder clearDataprocServiceAccount()
         User-managed service account to set on Dataproc when Cloud Data Fusion
         creates Dataproc to run data processing pipelines.
        
         This allows users to have fine-grained access control on Dataproc's
         accesses to cloud resources.
         
        string dataproc_service_account = 25;
        Returns:
        This builder for chaining.
      • setDataprocServiceAccountBytes

        public Instance.Builder setDataprocServiceAccountBytes​(com.google.protobuf.ByteString value)
         User-managed service account to set on Dataproc when Cloud Data Fusion
         creates Dataproc to run data processing pipelines.
        
         This allows users to have fine-grained access control on Dataproc's
         accesses to cloud resources.
         
        string dataproc_service_account = 25;
        Parameters:
        value - The bytes for dataprocServiceAccount to set.
        Returns:
        This builder for chaining.
      • getEnableRbac

        public boolean getEnableRbac()
         Option to enable granular role-based access control.
         
        bool enable_rbac = 27;
        Specified by:
        getEnableRbac in interface InstanceOrBuilder
        Returns:
        The enableRbac.
      • setEnableRbac

        public Instance.Builder setEnableRbac​(boolean value)
         Option to enable granular role-based access control.
         
        bool enable_rbac = 27;
        Parameters:
        value - The enableRbac to set.
        Returns:
        This builder for chaining.
      • clearEnableRbac

        public Instance.Builder clearEnableRbac()
         Option to enable granular role-based access control.
         
        bool enable_rbac = 27;
        Returns:
        This builder for chaining.
      • 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:
        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.v1.CryptoKeyConfig crypto_key_config = 28;
        Specified by:
        getCryptoKeyConfig in interface InstanceOrBuilder
        Returns:
        The cryptoKeyConfig.
      • setCryptoKeyConfig

        public Instance.Builder setCryptoKeyConfig​(CryptoKeyConfig value)
         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;
      • setCryptoKeyConfig

        public Instance.Builder setCryptoKeyConfig​(CryptoKeyConfig.Builder builderForValue)
         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;
      • mergeCryptoKeyConfig

        public Instance.Builder mergeCryptoKeyConfig​(CryptoKeyConfig value)
         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;
      • clearCryptoKeyConfig

        public Instance.Builder clearCryptoKeyConfig()
         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;
      • getCryptoKeyConfigBuilder

        public CryptoKeyConfig.Builder getCryptoKeyConfigBuilder()
         The crypto key configuration. This field is used by the Customer-Managed
         Encryption Keys (CMEK) feature.
         
        .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
      • getCryptoKeyConfigOrBuilder

        public CryptoKeyConfigOrBuilder getCryptoKeyConfigOrBuilder()
         The crypto key configuration. This field is used by the Customer-Managed
         Encryption Keys (CMEK) feature.
         
        .google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;
        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.v1.Instance.DisabledReason disabled_reason = 29 [(.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.v1.Instance.DisabledReason disabled_reason = 29 [(.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.v1.Instance.DisabledReason disabled_reason = 29 [(.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.
      • setDisabledReason

        public Instance.Builder setDisabledReason​(int index,
                                                  Instance.DisabledReason value)
         Output only. If the instance state is DISABLED, the reason for disabling the instance.
         
        repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The disabledReason to set.
        Returns:
        This builder for chaining.
      • addDisabledReason

        public Instance.Builder addDisabledReason​(Instance.DisabledReason value)
         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];
        Parameters:
        value - The disabledReason to add.
        Returns:
        This builder for chaining.
      • addAllDisabledReason

        public Instance.Builder addAllDisabledReason​(Iterable<? extends Instance.DisabledReason> values)
         Output only. If the instance state is DISABLED, the reason for disabling the instance.
         
        repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The disabledReason to add.
        Returns:
        This builder for chaining.
      • clearDisabledReason

        public Instance.Builder clearDisabledReason()
         Output only. If the instance state is DISABLED, the reason for disabling the instance.
         
        repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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:
        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.v1.Instance.DisabledReason disabled_reason = 29 [(.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.
      • setDisabledReasonValue

        public Instance.Builder setDisabledReasonValue​(int index,
                                                       int value)
         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];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for disabledReason to set.
        Returns:
        This builder for chaining.
      • addDisabledReasonValue

        public Instance.Builder addDisabledReasonValue​(int value)
         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];
        Parameters:
        value - The enum numeric value on the wire for disabledReason to add.
        Returns:
        This builder for chaining.
      • addAllDisabledReasonValue

        public Instance.Builder addAllDisabledReasonValue​(Iterable<Integer> values)
         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];
        Parameters:
        values - The enum numeric values on the wire for disabledReason to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Instance.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
      • mergeUnknownFields

        public final Instance.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>