Class CreateProvisioningConfigRequest.Builder (0.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateProvisioningConfigRequest build()
Returns
TypeDescription
CreateProvisioningConfigRequest

buildPartial()

public CreateProvisioningConfigRequest buildPartial()
Returns
TypeDescription
CreateProvisioningConfigRequest

clear()

public CreateProvisioningConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateProvisioningConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProvisioningConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateProvisioningConfigRequest.Builder

clone()

public CreateProvisioningConfigRequest.Builder clone()
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateProvisioningConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateProvisioningConfigRequest

getDescriptorForType()

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

hasProvisioningConfig()

public boolean hasProvisioningConfig()

Required. The ProvisioningConfig to create.

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

Returns
TypeDescription
boolean

Whether the provisioningConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateProvisioningConfigRequest other)

public CreateProvisioningConfigRequest.Builder mergeFrom(CreateProvisioningConfigRequest other)
Parameter
NameDescription
otherCreateProvisioningConfigRequest
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateProvisioningConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueProvisioningConfig
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateProvisioningConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The email to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for email to set.

Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateProvisioningConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueProvisioningConfig
Returns
TypeDescription
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
NameDescription
builderForValueProvisioningConfig.Builder
Returns
TypeDescription
CreateProvisioningConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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