Class ProvisioningConfig.Builder (0.35.0)

public static final class ProvisioningConfig.Builder extends GeneratedMessageV3.Builder<ProvisioningConfig.Builder> implements ProvisioningConfigOrBuilder

A provisioning configuration.

Protobuf type google.cloud.baremetalsolution.v2.ProvisioningConfig

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends InstanceConfig> values)

public ProvisioningConfig.Builder addAllInstances(Iterable<? extends InstanceConfig> values)

Instances to be created.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.InstanceConfig>
Returns
TypeDescription
ProvisioningConfig.Builder

addAllNetworks(Iterable<? extends NetworkConfig> values)

public ProvisioningConfig.Builder addAllNetworks(Iterable<? extends NetworkConfig> values)

Networks to be created.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.NetworkConfig>
Returns
TypeDescription
ProvisioningConfig.Builder

addAllVolumes(Iterable<? extends VolumeConfig> values)

public ProvisioningConfig.Builder addAllVolumes(Iterable<? extends VolumeConfig> values)

Volumes to be created.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.VolumeConfig>
Returns
TypeDescription
ProvisioningConfig.Builder

addInstances(InstanceConfig value)

public ProvisioningConfig.Builder addInstances(InstanceConfig value)

Instances to be created.

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

Parameter
NameDescription
valueInstanceConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addInstances(InstanceConfig.Builder builderForValue)

public ProvisioningConfig.Builder addInstances(InstanceConfig.Builder builderForValue)

Instances to be created.

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

Parameter
NameDescription
builderForValueInstanceConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addInstances(int index, InstanceConfig value)

public ProvisioningConfig.Builder addInstances(int index, InstanceConfig value)

Instances to be created.

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

Parameters
NameDescription
indexint
valueInstanceConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addInstances(int index, InstanceConfig.Builder builderForValue)

public ProvisioningConfig.Builder addInstances(int index, InstanceConfig.Builder builderForValue)

Instances to be created.

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

Parameters
NameDescription
indexint
builderForValueInstanceConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addInstancesBuilder()

public InstanceConfig.Builder addInstancesBuilder()

Instances to be created.

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

Returns
TypeDescription
InstanceConfig.Builder

addInstancesBuilder(int index)

public InstanceConfig.Builder addInstancesBuilder(int index)

Instances to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConfig.Builder

addNetworks(NetworkConfig value)

public ProvisioningConfig.Builder addNetworks(NetworkConfig value)

Networks to be created.

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

Parameter
NameDescription
valueNetworkConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addNetworks(NetworkConfig.Builder builderForValue)

public ProvisioningConfig.Builder addNetworks(NetworkConfig.Builder builderForValue)

Networks to be created.

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

Parameter
NameDescription
builderForValueNetworkConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addNetworks(int index, NetworkConfig value)

public ProvisioningConfig.Builder addNetworks(int index, NetworkConfig value)

Networks to be created.

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

Parameters
NameDescription
indexint
valueNetworkConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addNetworks(int index, NetworkConfig.Builder builderForValue)

public ProvisioningConfig.Builder addNetworks(int index, NetworkConfig.Builder builderForValue)

Networks to be created.

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

Parameters
NameDescription
indexint
builderForValueNetworkConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addNetworksBuilder()

public NetworkConfig.Builder addNetworksBuilder()

Networks to be created.

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

Returns
TypeDescription
NetworkConfig.Builder

addNetworksBuilder(int index)

public NetworkConfig.Builder addNetworksBuilder(int index)

Networks to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProvisioningConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

addVolumes(VolumeConfig value)

public ProvisioningConfig.Builder addVolumes(VolumeConfig value)

Volumes to be created.

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

Parameter
NameDescription
valueVolumeConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addVolumes(VolumeConfig.Builder builderForValue)

public ProvisioningConfig.Builder addVolumes(VolumeConfig.Builder builderForValue)

Volumes to be created.

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

Parameter
NameDescription
builderForValueVolumeConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addVolumes(int index, VolumeConfig value)

public ProvisioningConfig.Builder addVolumes(int index, VolumeConfig value)

Volumes to be created.

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

Parameters
NameDescription
indexint
valueVolumeConfig
Returns
TypeDescription
ProvisioningConfig.Builder

addVolumes(int index, VolumeConfig.Builder builderForValue)

public ProvisioningConfig.Builder addVolumes(int index, VolumeConfig.Builder builderForValue)

Volumes to be created.

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

Parameters
NameDescription
indexint
builderForValueVolumeConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

addVolumesBuilder()

public VolumeConfig.Builder addVolumesBuilder()

Volumes to be created.

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

Returns
TypeDescription
VolumeConfig.Builder

addVolumesBuilder(int index)

public VolumeConfig.Builder addVolumesBuilder(int index)

Volumes to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeConfig.Builder

build()

public ProvisioningConfig build()
Returns
TypeDescription
ProvisioningConfig

buildPartial()

public ProvisioningConfig buildPartial()
Returns
TypeDescription
ProvisioningConfig

clear()

public ProvisioningConfig.Builder clear()
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

clearCloudConsoleUri()

public ProvisioningConfig.Builder clearCloudConsoleUri()

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
ProvisioningConfig.Builder

This builder for chaining.

clearCustomId()

public ProvisioningConfig.Builder clearCustomId()

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

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

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clearEmail() (deprecated)

public ProvisioningConfig.Builder clearEmail()

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
ProvisioningConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProvisioningConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

clearHandoverServiceAccount()

public ProvisioningConfig.Builder clearHandoverServiceAccount()

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

string handover_service_account = 6;

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clearInstances()

public ProvisioningConfig.Builder clearInstances()

Instances to be created.

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

Returns
TypeDescription
ProvisioningConfig.Builder

clearLocation()

public ProvisioningConfig.Builder clearLocation()

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
ProvisioningConfig.Builder

This builder for chaining.

clearName()

public ProvisioningConfig.Builder clearName()

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
ProvisioningConfig.Builder

This builder for chaining.

clearNetworks()

public ProvisioningConfig.Builder clearNetworks()

Networks to be created.

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

Returns
TypeDescription
ProvisioningConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ProvisioningConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

clearState()

public ProvisioningConfig.Builder clearState()

Output only. State of ProvisioningConfig.

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

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clearStatusMessage()

public ProvisioningConfig.Builder clearStatusMessage()

Optional status messages associated with the FAILED state.

string status_message = 13;

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clearTicketId()

public ProvisioningConfig.Builder clearTicketId()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clearUpdateTime()

public ProvisioningConfig.Builder clearUpdateTime()

Output only. Last update timestamp.

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

Returns
TypeDescription
ProvisioningConfig.Builder

clearVolumes()

public ProvisioningConfig.Builder clearVolumes()

Volumes to be created.

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

Returns
TypeDescription
ProvisioningConfig.Builder

clearVpcScEnabled()

public ProvisioningConfig.Builder clearVpcScEnabled()

If true, VPC SC is enabled for the cluster.

bool vpc_sc_enabled = 12;

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

clone()

public ProvisioningConfig.Builder clone()
Returns
TypeDescription
ProvisioningConfig.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getInstancesBuilder(int index)

public InstanceConfig.Builder getInstancesBuilder(int index)

Instances to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConfig.Builder

getInstancesBuilderList()

public List<InstanceConfig.Builder> getInstancesBuilderList()

Instances to be created.

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

Returns
TypeDescription
List<Builder>

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

getNetworksBuilder(int index)

public NetworkConfig.Builder getNetworksBuilder(int index)

Networks to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkConfig.Builder

getNetworksBuilderList()

public List<NetworkConfig.Builder> getNetworksBuilderList()

Networks to be created.

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

Returns
TypeDescription
List<Builder>

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>

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Last update timestamp.

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

Returns
TypeDescription
Builder

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

getVolumesBuilder(int index)

public VolumeConfig.Builder getVolumesBuilder(int index)

Volumes to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VolumeConfig.Builder

getVolumesBuilderList()

public List<VolumeConfig.Builder> getVolumesBuilderList()

Volumes to be created.

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

Returns
TypeDescription
List<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProvisioningConfig other)

public ProvisioningConfig.Builder mergeFrom(ProvisioningConfig other)
Parameter
NameDescription
otherProvisioningConfig
Returns
TypeDescription
ProvisioningConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProvisioningConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProvisioningConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProvisioningConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ProvisioningConfig.Builder mergeUpdateTime(Timestamp value)

Output only. Last update timestamp.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ProvisioningConfig.Builder

removeInstances(int index)

public ProvisioningConfig.Builder removeInstances(int index)

Instances to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProvisioningConfig.Builder

removeNetworks(int index)

public ProvisioningConfig.Builder removeNetworks(int index)

Networks to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProvisioningConfig.Builder

removeVolumes(int index)

public ProvisioningConfig.Builder removeVolumes(int index)

Volumes to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProvisioningConfig.Builder

setCloudConsoleUri(String value)

public ProvisioningConfig.Builder setCloudConsoleUri(String value)

Output only. URI to Cloud Console UI view of this provisioning config.

string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The cloudConsoleUri to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setCloudConsoleUriBytes(ByteString value)

public ProvisioningConfig.Builder setCloudConsoleUriBytes(ByteString value)

Output only. URI to Cloud Console UI view of this provisioning config.

string cloud_console_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for cloudConsoleUri to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setCustomId(String value)

public ProvisioningConfig.Builder setCustomId(String value)

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

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

Parameter
NameDescription
valueString

The customId to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setCustomIdBytes(ByteString value)

public ProvisioningConfig.Builder setCustomIdBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for customId to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setEmail(String value) (deprecated)

public ProvisioningConfig.Builder setEmail(String value)

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

Parameter
NameDescription
valueString

The email to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setEmailBytes(ByteString value) (deprecated)

public ProvisioningConfig.Builder setEmailBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for email to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProvisioningConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

setHandoverServiceAccount(String value)

public ProvisioningConfig.Builder setHandoverServiceAccount(String value)

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

string handover_service_account = 6;

Parameter
NameDescription
valueString

The handoverServiceAccount to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setHandoverServiceAccountBytes(ByteString value)

public ProvisioningConfig.Builder setHandoverServiceAccountBytes(ByteString value)

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

string handover_service_account = 6;

Parameter
NameDescription
valueByteString

The bytes for handoverServiceAccount to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setInstances(int index, InstanceConfig value)

public ProvisioningConfig.Builder setInstances(int index, InstanceConfig value)

Instances to be created.

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

Parameters
NameDescription
indexint
valueInstanceConfig
Returns
TypeDescription
ProvisioningConfig.Builder

setInstances(int index, InstanceConfig.Builder builderForValue)

public ProvisioningConfig.Builder setInstances(int index, InstanceConfig.Builder builderForValue)

Instances to be created.

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

Parameters
NameDescription
indexint
builderForValueInstanceConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

setLocation(String value)

public ProvisioningConfig.Builder setLocation(String value)

Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period.

string location = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ProvisioningConfig.Builder setLocationBytes(ByteString value)

Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period.

string location = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setName(String value)

public ProvisioningConfig.Builder setName(String value)

Output only. The system-generated name of the provisioning config. This follows the UUID format.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ProvisioningConfig.Builder setNameBytes(ByteString value)

Output only. The system-generated name of the provisioning config. This follows the UUID format.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setNetworks(int index, NetworkConfig value)

public ProvisioningConfig.Builder setNetworks(int index, NetworkConfig value)

Networks to be created.

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

Parameters
NameDescription
indexint
valueNetworkConfig
Returns
TypeDescription
ProvisioningConfig.Builder

setNetworks(int index, NetworkConfig.Builder builderForValue)

public ProvisioningConfig.Builder setNetworks(int index, NetworkConfig.Builder builderForValue)

Networks to be created.

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

Parameters
NameDescription
indexint
builderForValueNetworkConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProvisioningConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

setState(ProvisioningConfig.State value)

public ProvisioningConfig.Builder setState(ProvisioningConfig.State value)

Output only. State of ProvisioningConfig.

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

Parameter
NameDescription
valueProvisioningConfig.State

The state to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setStateValue(int value)

public ProvisioningConfig.Builder setStateValue(int value)

Output only. State of ProvisioningConfig.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setStatusMessage(String value)

public ProvisioningConfig.Builder setStatusMessage(String value)

Optional status messages associated with the FAILED state.

string status_message = 13;

Parameter
NameDescription
valueString

The statusMessage to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

public ProvisioningConfig.Builder setStatusMessageBytes(ByteString value)

Optional status messages associated with the FAILED state.

string status_message = 13;

Parameter
NameDescription
valueByteString

The bytes for statusMessage to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setTicketId(String value)

public ProvisioningConfig.Builder setTicketId(String value)

A generated ticket id to track provisioning request.

string ticket_id = 5;

Parameter
NameDescription
valueString

The ticketId to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setTicketIdBytes(ByteString value)

public ProvisioningConfig.Builder setTicketIdBytes(ByteString value)

A generated ticket id to track provisioning request.

string ticket_id = 5;

Parameter
NameDescription
valueByteString

The bytes for ticketId to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProvisioningConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProvisioningConfig.Builder
Overrides

setUpdateTime(Timestamp value)

public ProvisioningConfig.Builder setUpdateTime(Timestamp value)

Output only. Last update timestamp.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ProvisioningConfig.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ProvisioningConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Last update timestamp.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProvisioningConfig.Builder

setVolumes(int index, VolumeConfig value)

public ProvisioningConfig.Builder setVolumes(int index, VolumeConfig value)

Volumes to be created.

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

Parameters
NameDescription
indexint
valueVolumeConfig
Returns
TypeDescription
ProvisioningConfig.Builder

setVolumes(int index, VolumeConfig.Builder builderForValue)

public ProvisioningConfig.Builder setVolumes(int index, VolumeConfig.Builder builderForValue)

Volumes to be created.

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

Parameters
NameDescription
indexint
builderForValueVolumeConfig.Builder
Returns
TypeDescription
ProvisioningConfig.Builder

setVpcScEnabled(boolean value)

public ProvisioningConfig.Builder setVpcScEnabled(boolean value)

If true, VPC SC is enabled for the cluster.

bool vpc_sc_enabled = 12;

Parameter
NameDescription
valueboolean

The vpcScEnabled to set.

Returns
TypeDescription
ProvisioningConfig.Builder

This builder for chaining.