Class CreateProvisioningConfigRequest.Builder (0.51.0)

public static final class CreateProvisioningConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateProvisioningConfigRequest.Builder> implements CreateProvisioningConfigRequestOrBuilder

Request for CreateProvisioningConfig.

Protobuf type google.cloud.baremetalsolution.v2.CreateProvisioningConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateProvisioningConfigRequest build()
Returns
Type Description
CreateProvisioningConfigRequest

buildPartial()

public CreateProvisioningConfigRequest buildPartial()
Returns
Type Description
CreateProvisioningConfigRequest

clear()

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

clearEmail()

public CreateProvisioningConfigRequest.Builder clearEmail()

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

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

Returns
Type Description
CreateProvisioningConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

This builder for chaining.

clearProvisioningConfig()

public CreateProvisioningConfigRequest.Builder clearProvisioningConfig()

Required. The ProvisioningConfig to create.

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

Returns
Type Description
CreateProvisioningConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateProvisioningConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateProvisioningConfigRequest

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(CreateProvisioningConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProvisioningConfig(ProvisioningConfig value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEmail(String value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

This builder for chaining.

setProvisioningConfig(ProvisioningConfig value)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

setProvisioningConfig(ProvisioningConfig.Builder builderForValue)

public CreateProvisioningConfigRequest.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
CreateProvisioningConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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