Class SubmitProvisioningConfigRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubmitProvisioningConfigRequest build()
Returns
TypeDescription
SubmitProvisioningConfigRequest

buildPartial()

public SubmitProvisioningConfigRequest buildPartial()
Returns
TypeDescription
SubmitProvisioningConfigRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SubmitProvisioningConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
SubmitProvisioningConfigRequest

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

public SubmitProvisioningConfigRequest.Builder mergeFrom(SubmitProvisioningConfigRequest other)
Parameter
NameDescription
otherSubmitProvisioningConfigRequest
Returns
TypeDescription
SubmitProvisioningConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The email to set.

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

The bytes for email to set.

Returns
TypeDescription
SubmitProvisioningConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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