Class SubmitProvisioningConfigRequest.Builder (0.44.0)

public static final class SubmitProvisioningConfigRequest.Builder extends GeneratedMessageV3.Builder<SubmitProvisioningConfigRequest.Builder> implements SubmitProvisioningConfigRequestOrBuilder

Request for SubmitProvisioningConfig.

Protobuf type google.cloud.baremetalsolution.v2.SubmitProvisioningConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubmitProvisioningConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

build()

public SubmitProvisioningConfigRequest build()
Returns
Type Description
SubmitProvisioningConfigRequest

buildPartial()

public SubmitProvisioningConfigRequest buildPartial()
Returns
Type Description
SubmitProvisioningConfigRequest

clear()

public SubmitProvisioningConfigRequest.Builder clear()
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

clearEmail()

public SubmitProvisioningConfigRequest.Builder clearEmail()

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SubmitProvisioningConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubmitProvisioningConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

clearParent()

public SubmitProvisioningConfigRequest.Builder clearParent()

Required. The parent project and location containing the ProvisioningConfig.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

clearProvisioningConfig()

public SubmitProvisioningConfigRequest.Builder clearProvisioningConfig()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

clone()

public SubmitProvisioningConfigRequest.Builder clone()
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public SubmitProvisioningConfigRequest getDefaultInstanceForType()
Returns
Type Description
SubmitProvisioningConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEmail()

public String getEmail()

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getParent()

public String getParent()

Required. The parent project and location containing the ProvisioningConfig.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent project and location containing the ProvisioningConfig.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getProvisioningConfig()

public ProvisioningConfig getProvisioningConfig()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProvisioningConfig

The provisioningConfig.

getProvisioningConfigBuilder()

public ProvisioningConfig.Builder getProvisioningConfigBuilder()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProvisioningConfig.Builder

getProvisioningConfigOrBuilder()

public ProvisioningConfigOrBuilder getProvisioningConfigOrBuilder()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProvisioningConfigOrBuilder

hasProvisioningConfig()

public boolean hasProvisioningConfig()

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the provisioningConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubmitProvisioningConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProvisioningConfig(ProvisioningConfig value)

public SubmitProvisioningConfigRequest.Builder mergeProvisioningConfig(ProvisioningConfig value)

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ProvisioningConfig
Returns
Type Description
SubmitProvisioningConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubmitProvisioningConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

setEmail(String value)

public SubmitProvisioningConfigRequest.Builder setEmail(String value)

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The email to set.

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public SubmitProvisioningConfigRequest.Builder setEmailBytes(ByteString value)

Optional. Email provided to send a confirmation with provisioning config to.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SubmitProvisioningConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

setParent(String value)

public SubmitProvisioningConfigRequest.Builder setParent(String value)

Required. The parent project and location containing the ProvisioningConfig.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SubmitProvisioningConfigRequest.Builder setParentBytes(ByteString value)

Required. The parent project and location containing the ProvisioningConfig.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

setProvisioningConfig(ProvisioningConfig value)

public SubmitProvisioningConfigRequest.Builder setProvisioningConfig(ProvisioningConfig value)

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ProvisioningConfig
Returns
Type Description
SubmitProvisioningConfigRequest.Builder

setProvisioningConfig(ProvisioningConfig.Builder builderForValue)

public SubmitProvisioningConfigRequest.Builder setProvisioningConfig(ProvisioningConfig.Builder builderForValue)

Required. The ProvisioningConfig to create.

.google.cloud.baremetalsolution.v2.ProvisioningConfig provisioning_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ProvisioningConfig.Builder
Returns
Type Description
SubmitProvisioningConfigRequest.Builder

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

public SubmitProvisioningConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubmitProvisioningConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubmitProvisioningConfigRequest.Builder
Overrides