Class ProvisioningConfig.Builder (0.46.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.InstanceConfig>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.NetworkConfig>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.VolumeConfig>
Returns
Type Description
ProvisioningConfig.Builder

addInstances(InstanceConfig value)

public ProvisioningConfig.Builder addInstances(InstanceConfig value)

Instances to be created.

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

Parameter
Name Description
value InstanceConfig
Returns
Type Description
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
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
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
Name Description
index int
value InstanceConfig
Returns
Type Description
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
Name Description
index int
builderForValue InstanceConfig.Builder
Returns
Type Description
ProvisioningConfig.Builder

addInstancesBuilder()

public InstanceConfig.Builder addInstancesBuilder()

Instances to be created.

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

Returns
Type Description
InstanceConfig.Builder

addInstancesBuilder(int index)

public InstanceConfig.Builder addInstancesBuilder(int index)

Instances to be created.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

addNetworks(NetworkConfig value)

public ProvisioningConfig.Builder addNetworks(NetworkConfig value)

Networks to be created.

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

Parameter
Name Description
value NetworkConfig
Returns
Type Description
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
Name Description
builderForValue NetworkConfig.Builder
Returns
Type Description
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
Name Description
index int
value NetworkConfig
Returns
Type Description
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
Name Description
index int
builderForValue NetworkConfig.Builder
Returns
Type Description
ProvisioningConfig.Builder

addNetworksBuilder()

public NetworkConfig.Builder addNetworksBuilder()

Networks to be created.

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

Returns
Type Description
NetworkConfig.Builder

addNetworksBuilder(int index)

public NetworkConfig.Builder addNetworksBuilder(int index)

Networks to be created.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProvisioningConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value VolumeConfig
Returns
Type Description
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
Name Description
builderForValue VolumeConfig.Builder
Returns
Type Description
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
Name Description
index int
value VolumeConfig
Returns
Type Description
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
Name Description
index int
builderForValue VolumeConfig.Builder
Returns
Type Description
ProvisioningConfig.Builder

addVolumesBuilder()

public VolumeConfig.Builder addVolumesBuilder()

Volumes to be created.

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

Returns
Type Description
VolumeConfig.Builder

addVolumesBuilder(int index)

public VolumeConfig.Builder addVolumesBuilder(int index)

Volumes to be created.

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

Parameter
Name Description
index int
Returns
Type Description
VolumeConfig.Builder

build()

public ProvisioningConfig build()
Returns
Type Description
ProvisioningConfig

buildPartial()

public ProvisioningConfig buildPartial()
Returns
Type Description
ProvisioningConfig

clear()

public ProvisioningConfig.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ProvisioningConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clearInstances()

public ProvisioningConfig.Builder clearInstances()

Instances to be created.

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

Returns
Type Description
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
Type Description
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
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clearNetworks()

public ProvisioningConfig.Builder clearNetworks()

Networks to be created.

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

Returns
Type Description
ProvisioningConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ProvisioningConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clearStatusMessage()

public ProvisioningConfig.Builder clearStatusMessage()

Optional status messages associated with the FAILED state.

string status_message = 13;

Returns
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clearTicketId()

public ProvisioningConfig.Builder clearTicketId()

A generated ticket id to track provisioning request.

string ticket_id = 5;

Returns
Type Description
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
Type Description
ProvisioningConfig.Builder

clearVolumes()

public ProvisioningConfig.Builder clearVolumes()

Volumes to be created.

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

Returns
Type Description
ProvisioningConfig.Builder

clearVpcScEnabled()

public ProvisioningConfig.Builder clearVpcScEnabled()

If true, VPC SC is enabled for the cluster.

bool vpc_sc_enabled = 12;

Returns
Type Description
ProvisioningConfig.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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

getInstancesBuilder(int index)

public InstanceConfig.Builder getInstancesBuilder(int index)

Instances to be created.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

getInstancesBuilderList()

public List<InstanceConfig.Builder> getInstancesBuilderList()

Instances to be created.

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

Returns
Type Description
List<Builder>

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

getNetworksBuilder(int index)

public NetworkConfig.Builder getNetworksBuilder(int index)

Networks to be created.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkConfig.Builder

getNetworksBuilderList()

public List<NetworkConfig.Builder> getNetworksBuilderList()

Networks to be created.

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

Returns
Type Description
List<Builder>

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>

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Last update timestamp.

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

Returns
Type Description
Builder

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

getVolumesBuilder(int index)

public VolumeConfig.Builder getVolumesBuilder(int index)

Volumes to be created.

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

Parameter
Name Description
index int
Returns
Type Description
VolumeConfig.Builder

getVolumesBuilderList()

public List<VolumeConfig.Builder> getVolumesBuilderList()

Volumes to be created.

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

Returns
Type Description
List<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProvisioningConfig other)

public ProvisioningConfig.Builder mergeFrom(ProvisioningConfig other)
Parameter
Name Description
other ProvisioningConfig
Returns
Type Description
ProvisioningConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProvisioningConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisioningConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProvisioningConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProvisioningConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProvisioningConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
ProvisioningConfig.Builder

removeInstances(int index)

public ProvisioningConfig.Builder removeInstances(int index)

Instances to be created.

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

Parameter
Name Description
index int
Returns
Type Description
ProvisioningConfig.Builder

removeNetworks(int index)

public ProvisioningConfig.Builder removeNetworks(int index)

Networks to be created.

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

Parameter
Name Description
index int
Returns
Type Description
ProvisioningConfig.Builder

removeVolumes(int index)

public ProvisioningConfig.Builder removeVolumes(int index)

Volumes to be created.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
value String

The cloudConsoleUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for cloudConsoleUri to set.

Returns
Type Description
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
Name Description
value String

The customId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for customId to set.

Returns
Type Description
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
Name Description
value String

The email to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
ProvisioningConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ProvisioningConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The handoverServiceAccount to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for handoverServiceAccount to set.

Returns
Type Description
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
Name Description
index int
value InstanceConfig
Returns
Type Description
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
Name Description
index int
builderForValue InstanceConfig.Builder
Returns
Type Description
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
Name Description
value String

The location to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
index int
value NetworkConfig
Returns
Type Description
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
Name Description
index int
builderForValue NetworkConfig.Builder
Returns
Type Description
ProvisioningConfig.Builder

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

public ProvisioningConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value ProvisioningConfig.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The statusMessage to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for statusMessage to set.

Returns
Type Description
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
Name Description
value String

The ticketId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for ticketId to set.

Returns
Type Description
ProvisioningConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProvisioningConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
index int
value VolumeConfig
Returns
Type Description
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
Name Description
index int
builderForValue VolumeConfig.Builder
Returns
Type Description
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
Name Description
value boolean

The vpcScEnabled to set.

Returns
Type Description
ProvisioningConfig.Builder

This builder for chaining.