public final class ProvisioningConfig extends GeneratedMessageV3 implements ProvisioningConfigOrBuilder
A provisioning configuration.
Protobuf type google.cloud.baremetalsolution.v2.ProvisioningConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int CLOUD_CONSOLE_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CUSTOM_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int EMAIL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int HANDOVER_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INSTANCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LOCATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NETWORKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TICKET_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VOLUMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VPC_SC_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ProvisioningConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ProvisioningConfig.Builder newBuilder()
public static ProvisioningConfig.Builder newBuilder(ProvisioningConfig prototype)
public static ProvisioningConfig parseDelimitedFrom(InputStream input)
public static ProvisioningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ProvisioningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProvisioningConfig parseFrom(ByteString data)
public static ProvisioningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProvisioningConfig parseFrom(CodedInputStream input)
public static ProvisioningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningConfig parseFrom(InputStream input)
public static ProvisioningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProvisioningConfig parseFrom(ByteBuffer data)
public static ProvisioningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ProvisioningConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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.
|
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.
|
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.
|
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.
|
public ProvisioningConfig getDefaultInstanceForType()
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.
|
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.
|
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.
|
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.
|
public InstanceConfig getInstances(int index)
Instances to be created.
repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;
Parameter |
---|
Name | Description |
index | int
|
public int getInstancesCount()
Instances to be created.
repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;
Returns |
---|
Type | Description |
int | |
public List<InstanceConfig> getInstancesList()
Instances to be created.
repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;
public InstanceConfigOrBuilder getInstancesOrBuilder(int index)
Instances to be created.
repeated .google.cloud.baremetalsolution.v2.InstanceConfig instances = 2;
Parameter |
---|
Name | Description |
index | int
|
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> | |
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.
|
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.
|
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.
|
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.
|
public NetworkConfig getNetworks(int index)
Networks to be created.
repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;
Parameter |
---|
Name | Description |
index | int
|
public int getNetworksCount()
Networks to be created.
repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;
Returns |
---|
Type | Description |
int | |
public List<NetworkConfig> getNetworksList()
Networks to be created.
repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;
public NetworkConfigOrBuilder getNetworksOrBuilder(int index)
Networks to be created.
repeated .google.cloud.baremetalsolution.v2.NetworkConfig networks = 3;
Parameter |
---|
Name | Description |
index | int
|
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> | |
public Parser<ProvisioningConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public ProvisioningConfig.State getState()
Output only. State of ProvisioningConfig.
.google.cloud.baremetalsolution.v2.ProvisioningConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
|
public String getStatusMessage()
Optional status messages associated with the FAILED state.
string status_message = 13;
Returns |
---|
Type | Description |
String | The statusMessage.
|
public ByteString getStatusMessageBytes()
Optional status messages associated with the FAILED state.
string status_message = 13;
Returns |
---|
Type | Description |
ByteString | The bytes for statusMessage.
|
public String getTicketId()
A generated ticket id to track provisioning request.
string ticket_id = 5;
Returns |
---|
Type | Description |
String | The ticketId.
|
public ByteString getTicketIdBytes()
A generated ticket id to track provisioning request.
string ticket_id = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for ticketId.
|
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.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update timestamp.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeConfig getVolumes(int index)
Volumes to be created.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;
Parameter |
---|
Name | Description |
index | int
|
public int getVolumesCount()
Volumes to be created.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;
Returns |
---|
Type | Description |
int | |
public List<VolumeConfig> getVolumesList()
Volumes to be created.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;
public VolumeConfigOrBuilder getVolumesOrBuilder(int index)
Volumes to be created.
repeated .google.cloud.baremetalsolution.v2.VolumeConfig volumes = 4;
Parameter |
---|
Name | Description |
index | int
|
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> | |
public boolean getVpcScEnabled()
If true, VPC SC is enabled for the cluster.
bool vpc_sc_enabled = 12;
Returns |
---|
Type | Description |
boolean | The vpcScEnabled.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProvisioningConfig.Builder newBuilderForType()
protected ProvisioningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ProvisioningConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides