Class ProvisioningConfig (0.32.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
TypeDescription
int

CUSTOM_ID_FIELD_NUMBER

public static final int CUSTOM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

HANDOVER_SERVICE_ACCOUNT_FIELD_NUMBER

public static final int HANDOVER_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORKS_FIELD_NUMBER

public static final int NETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_MESSAGE_FIELD_NUMBER

public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

TICKET_ID_FIELD_NUMBER

public static final int TICKET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VOLUMES_FIELD_NUMBER

public static final int VOLUMES_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_SC_ENABLED_FIELD_NUMBER

public static final int VPC_SC_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProvisioningConfig getDefaultInstance()
Returns
TypeDescription
ProvisioningConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProvisioningConfig.Builder newBuilder()
Returns
TypeDescription
ProvisioningConfig.Builder

newBuilder(ProvisioningConfig prototype)

public static ProvisioningConfig.Builder newBuilder(ProvisioningConfig prototype)
Parameter
NameDescription
prototypeProvisioningConfig
Returns
TypeDescription
ProvisioningConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProvisioningConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProvisioningConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisioningConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisioningConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProvisioningConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProvisioningConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisioningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProvisioningConfig> parser()
Returns
TypeDescription
Parser<ProvisioningConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customId.

getDefaultInstanceForType()

public ProvisioningConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceConfig

getInstancesCount()

public int getInstancesCount()

Instances to be created.

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

Returns
TypeDescription
int

getInstancesList()

public List<InstanceConfig> getInstancesList()

Instances to be created.

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

Returns
TypeDescription
List<InstanceConfig>

getInstancesOrBuilder(int index)

public InstanceConfigOrBuilder getInstancesOrBuilder(int index)

Instances to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConfigOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getInstancesOrBuilderList()

Instances to be created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NetworkConfig

getNetworksCount()

public int getNetworksCount()

Networks to be created.

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

Returns
TypeDescription
int

getNetworksList()

public List<NetworkConfig> getNetworksList()

Networks to be created.

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

Returns
TypeDescription
List<NetworkConfig>

getNetworksOrBuilder(int index)

public NetworkConfigOrBuilder getNetworksOrBuilder(int index)

Networks to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConfigOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()

Networks to be created.

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

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

getParserForType()

public Parser<ProvisioningConfig> getParserForType()
Returns
TypeDescription
Parser<ProvisioningConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

Optional status messages associated with the FAILED state.

string status_message = 13;

Returns
TypeDescription
ByteString

The bytes for statusMessage.

getTicketId()

public String getTicketId()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
TypeDescription
String

The ticketId.

getTicketIdBytes()

public ByteString getTicketIdBytes()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getVolumes(int index)

public VolumeConfig getVolumes(int index)

Volumes to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeConfig

getVolumesCount()

public int getVolumesCount()

Volumes to be created.

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

Returns
TypeDescription
int

getVolumesList()

public List<VolumeConfig> getVolumesList()

Volumes to be created.

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

Returns
TypeDescription
List<VolumeConfig>

getVolumesOrBuilder(int index)

public VolumeConfigOrBuilder getVolumesOrBuilder(int index)

Volumes to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeConfigOrBuilder

getVolumesOrBuilderList()

public List<? extends VolumeConfigOrBuilder> getVolumesOrBuilderList()

Volumes to be created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProvisioningConfig.Builder newBuilderForType()
Returns
TypeDescription
ProvisioningConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisioningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProvisioningConfig.Builder toBuilder()
Returns
TypeDescription
ProvisioningConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException