Class ProvisioningConfig

  • All Implemented Interfaces:
    ProvisioningConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ProvisioningConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements ProvisioningConfigOrBuilder
     A provisioning configuration.
     
    Protobuf type google.cloud.baremetalsolution.v2.ProvisioningConfig
    See Also:
    Serialized Form
    • 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()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Output only. The system-generated name of the provisioning config. This
         follows the UUID format.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface ProvisioningConfigOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The system-generated name of the provisioning config. This
         follows the UUID format.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for name.
      • getInstancesCount

        public int getInstancesCount()
         Instances to be created.
         
        repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;
        Specified by:
        getInstancesCount in interface ProvisioningConfigOrBuilder
      • getNetworksCount

        public int getNetworksCount()
         Networks to be created.
         
        repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;
        Specified by:
        getNetworksCount in interface ProvisioningConfigOrBuilder
      • getVolumesCount

        public int getVolumesCount()
         Volumes to be created.
         
        repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;
        Specified by:
        getVolumesCount in interface ProvisioningConfigOrBuilder
      • getTicketIdBytes

        public com.google.protobuf.ByteString getTicketIdBytes()
         A generated ticket id to track provisioning request.
         
        string ticket_id = 5;
        Specified by:
        getTicketIdBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for ticketId.
      • getHandoverServiceAccount

        public String getHandoverServiceAccount()
         A service account to enable customers to access instance credentials upon
         handover.
         
        string handover_service_account = 6;
        Specified by:
        getHandoverServiceAccount in interface ProvisioningConfigOrBuilder
        Returns:
        The handoverServiceAccount.
      • getHandoverServiceAccountBytes

        public com.google.protobuf.ByteString getHandoverServiceAccountBytes()
         A service account to enable customers to access instance credentials upon
         handover.
         
        string handover_service_account = 6;
        Specified by:
        getHandoverServiceAccountBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for handoverServiceAccount.
      • getEmail

        @Deprecated
        public String getEmail()
        Deprecated.
        google.cloud.baremetalsolution.v2.ProvisioningConfig.email is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=92
         Email provided to send a confirmation with provisioning config to.
         Deprecated in favour of email field in request messages.
         
        string email = 7 [deprecated = true];
        Specified by:
        getEmail in interface ProvisioningConfigOrBuilder
        Returns:
        The email.
      • getEmailBytes

        @Deprecated
        public com.google.protobuf.ByteString getEmailBytes()
        Deprecated.
        google.cloud.baremetalsolution.v2.ProvisioningConfig.email is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=92
         Email provided to send a confirmation with provisioning config to.
         Deprecated in favour of email field in request messages.
         
        string email = 7 [deprecated = true];
        Specified by:
        getEmailBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for email.
      • getStateValue

        public int getStateValue()
         Output only. State of ProvisioningConfig.
         
        .google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface ProvisioningConfigOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public ProvisioningConfig.State getState()
         Output only. State of ProvisioningConfig.
         
        .google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface ProvisioningConfigOrBuilder
        Returns:
        The state.
      • getLocation

        public String getLocation()
         Optional. Location name of this ProvisioningConfig.
         It is optional only for Intake UI transition period.
         
        string location = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLocation in interface ProvisioningConfigOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         Optional. Location name of this ProvisioningConfig.
         It is optional only for Intake UI transition period.
         
        string location = 9 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLocationBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for location.
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface ProvisioningConfigOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ProvisioningConfigOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ProvisioningConfigOrBuilder
      • getCloudConsoleUri

        public String getCloudConsoleUri()
         Output only. URI to Cloud Console UI view of this provisioning config.
         
        string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudConsoleUri in interface ProvisioningConfigOrBuilder
        Returns:
        The cloudConsoleUri.
      • getCloudConsoleUriBytes

        public com.google.protobuf.ByteString getCloudConsoleUriBytes()
         Output only. URI to Cloud Console UI view of this provisioning config.
         
        string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudConsoleUriBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for cloudConsoleUri.
      • getVpcScEnabled

        public boolean getVpcScEnabled()
         If true, VPC SC is enabled for the cluster.
         
        bool vpc_sc_enabled = 12;
        Specified by:
        getVpcScEnabled in interface ProvisioningConfigOrBuilder
        Returns:
        The vpcScEnabled.
      • getStatusMessageBytes

        public com.google.protobuf.ByteString getStatusMessageBytes()
         Optional status messages associated with the FAILED state.
         
        string status_message = 13;
        Specified by:
        getStatusMessageBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for statusMessage.
      • getCustomId

        public String getCustomId()
         Optional. The user-defined identifier of the provisioning config.
         
        string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCustomId in interface ProvisioningConfigOrBuilder
        Returns:
        The customId.
      • getCustomIdBytes

        public com.google.protobuf.ByteString getCustomIdBytes()
         Optional. The user-defined identifier of the provisioning config.
         
        string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCustomIdBytes in interface ProvisioningConfigOrBuilder
        Returns:
        The bytes for customId.
      • 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 ProvisioningConfig parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ProvisioningConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected ProvisioningConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ProvisioningConfig> 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 ProvisioningConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder