Class ProvisioningConfig (0.51.0)

public final class ProvisioningConfig extends GeneratedMessageV3 implements ProvisioningConfigOrBuilder

A provisioning configuration.

Protobuf type google.cloud.baremetalsolution.v2.ProvisioningConfig

Static Fields

CLOUD_CONSOLE_URI_FIELD_NUMBER

public static final int CLOUD_CONSOLE_URI_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_ID_FIELD_NUMBER

public static final int CUSTOM_ID_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

HANDOVER_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int HANDOVER_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORKS_FIELD_NUMBER

public static final int NETWORKS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_MESSAGE_FIELD_NUMBER

public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

TICKET_ID_FIELD_NUMBER

public static final int TICKET_ID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VOLUMES_FIELD_NUMBER

public static final int VOLUMES_FIELD_NUMBER
Field Value
Type Description
int

VPC_SC_ENABLED_FIELD_NUMBER

public static final int VPC_SC_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProvisioningConfig getDefaultInstance()
Returns
Type Description
ProvisioningConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProvisioningConfig.Builder newBuilder()
Returns
Type Description
ProvisioningConfig.Builder

newBuilder(ProvisioningConfig prototype)

public static ProvisioningConfig.Builder newBuilder(ProvisioningConfig prototype)
Parameter
Name Description
prototype ProvisioningConfig
Returns
Type Description
ProvisioningConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProvisioningConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProvisioningConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisioningConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisioningConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProvisioningConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProvisioningConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProvisioningConfig> parser()
Returns
Type Description
Parser<ProvisioningConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
String

The cloudConsoleUri.

getCloudConsoleUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for cloudConsoleUri.

getCustomId()

public String getCustomId()

Optional. The user-defined identifier of the provisioning config.

string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The customId.

getCustomIdBytes()

public ByteString getCustomIdBytes()

Optional. The user-defined identifier of the provisioning config.

string custom_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for customId.

getDefaultInstanceForType()

public ProvisioningConfig getDefaultInstanceForType()
Returns
Type Description
ProvisioningConfig

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];

Returns
Type Description
String

The email.

getEmailBytes() (deprecated)

public 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];

Returns
Type Description
ByteString

The bytes for email.

getHandoverServiceAccount()

public String getHandoverServiceAccount()

A service account to enable customers to access instance credentials upon handover.

string handover_service_account = 6;

Returns
Type Description
String

The handoverServiceAccount.

getHandoverServiceAccountBytes()

public ByteString getHandoverServiceAccountBytes()

A service account to enable customers to access instance credentials upon handover.

string handover_service_account = 6;

Returns
Type Description
ByteString

The bytes for handoverServiceAccount.

getInstances(int index)

public InstanceConfig getInstances(int index)

Instances to be created.

repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig

getInstancesCount()

public int getInstancesCount()

Instances to be created.

repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;

Returns
Type Description
int

getInstancesList()

public List<InstanceConfig> getInstancesList()

Instances to be created.

repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;

Returns
Type Description
List<InstanceConfig>

getInstancesOrBuilder(int index)

public InstanceConfigOrBuilder getInstancesOrBuilder(int index)

Instances to be created.

repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfigOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getInstancesOrBuilderList()

Instances to be created.

repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.InstanceConfigOrBuilder>

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];

Returns
Type Description
String

The location.

getLocationBytes()

public 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];

Returns
Type Description
ByteString

The bytes for location.

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getNetworks(int index)

public NetworkConfig getNetworks(int index)

Networks to be created.

repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig

getNetworksCount()

public int getNetworksCount()

Networks to be created.

repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;

Returns
Type Description
int

getNetworksList()

public List<NetworkConfig> getNetworksList()

Networks to be created.

repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;

Returns
Type Description
List<NetworkConfig>

getNetworksOrBuilder(int index)

public NetworkConfigOrBuilder getNetworksOrBuilder(int index)

Networks to be created.

repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;

Parameter
Name Description
index int
Returns
Type Description
NetworkConfigOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()

Networks to be created.

repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.NetworkConfigOrBuilder>

getParserForType()

public Parser<ProvisioningConfig> getParserForType()
Returns
Type Description
Parser<ProvisioningConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public ProvisioningConfig.State getState()

Output only. State of ProvisioningConfig.

.google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProvisioningConfig.State

The state.

getStateValue()

public int getStateValue()

Output only. State of ProvisioningConfig.

.google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getStatusMessage()

public String getStatusMessage()

Optional status messages associated with the FAILED state.

string status_message = 13;

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

Optional status messages associated with the FAILED state.

string status_message = 13;

Returns
Type Description
ByteString

The bytes for statusMessage.

getTicketId()

public String getTicketId()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
Type Description
String

The ticketId.

getTicketIdBytes()

public ByteString getTicketIdBytes()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
Type Description
ByteString

The bytes for ticketId.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVolumes(int index)

public VolumeConfig getVolumes(int index)

Volumes to be created.

repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;

Parameter
Name Description
index int
Returns
Type Description
VolumeConfig

getVolumesCount()

public int getVolumesCount()

Volumes to be created.

repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;

Returns
Type Description
int

getVolumesList()

public List<VolumeConfig> getVolumesList()

Volumes to be created.

repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;

Returns
Type Description
List<VolumeConfig>

getVolumesOrBuilder(int index)

public VolumeConfigOrBuilder getVolumesOrBuilder(int index)

Volumes to be created.

repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;

Parameter
Name Description
index int
Returns
Type Description
VolumeConfigOrBuilder

getVolumesOrBuilderList()

public List<? extends VolumeConfigOrBuilder> getVolumesOrBuilderList()

Volumes to be created.

repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.VolumeConfigOrBuilder>

getVpcScEnabled()

public boolean getVpcScEnabled()

If true, VPC SC is enabled for the cluster.

bool vpc_sc_enabled = 12;

Returns
Type Description
boolean

The vpcScEnabled.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last update timestamp.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProvisioningConfig.Builder newBuilderForType()
Returns
Type Description
ProvisioningConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisioningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProvisioningConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProvisioningConfig.Builder toBuilder()
Returns
Type Description
ProvisioningConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException