Class UpdateProvisioningConfigRequest.Builder (0.35.0)

public static final class UpdateProvisioningConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateProvisioningConfigRequest.Builder> implements UpdateProvisioningConfigRequestOrBuilder

Message for updating a ProvisioningConfig.

Protobuf type google.cloud.baremetalsolution.v2.UpdateProvisioningConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateProvisioningConfigRequest build()
Returns
TypeDescription
UpdateProvisioningConfigRequest

buildPartial()

public UpdateProvisioningConfigRequest buildPartial()
Returns
TypeDescription
UpdateProvisioningConfigRequest

clear()

public UpdateProvisioningConfigRequest.Builder clear()
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder
Overrides

clearEmail()

public UpdateProvisioningConfigRequest.Builder clearEmail()

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

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

Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateProvisioningConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder
Overrides

clearProvisioningConfig()

public UpdateProvisioningConfigRequest.Builder clearProvisioningConfig()

Required. The ProvisioningConfig to update.

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

Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

clearUpdateMask()

public UpdateProvisioningConfigRequest.Builder clearUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateProvisioningConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateProvisioningConfigRequest

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.

getProvisioningConfig()

public ProvisioningConfig getProvisioningConfig()

Required. The ProvisioningConfig to update.

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

Returns
TypeDescription
ProvisioningConfig

The provisioningConfig.

getProvisioningConfigBuilder()

public ProvisioningConfig.Builder getProvisioningConfigBuilder()

Required. The ProvisioningConfig to update.

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

Returns
TypeDescription
ProvisioningConfig.Builder

getProvisioningConfigOrBuilder()

public ProvisioningConfigOrBuilder getProvisioningConfigOrBuilder()

Required. The ProvisioningConfig to update.

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

Returns
TypeDescription
ProvisioningConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasProvisioningConfig()

public boolean hasProvisioningConfig()

Required. The ProvisioningConfig to update.

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

Returns
TypeDescription
boolean

Whether the provisioningConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateProvisioningConfigRequest other)

public UpdateProvisioningConfigRequest.Builder mergeFrom(UpdateProvisioningConfigRequest other)
Parameter
NameDescription
otherUpdateProvisioningConfigRequest
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateProvisioningConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder
Overrides

mergeProvisioningConfig(ProvisioningConfig value)

public UpdateProvisioningConfigRequest.Builder mergeProvisioningConfig(ProvisioningConfig value)

Required. The ProvisioningConfig to update.

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

Parameter
NameDescription
valueProvisioningConfig
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProvisioningConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateProvisioningConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

setEmail(String value)

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

This builder for chaining.

setEmailBytes(ByteString value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProvisioningConfig(ProvisioningConfig value)

public UpdateProvisioningConfigRequest.Builder setProvisioningConfig(ProvisioningConfig value)

Required. The ProvisioningConfig to update.

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

Parameter
NameDescription
valueProvisioningConfig
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

setProvisioningConfig(ProvisioningConfig.Builder builderForValue)

public UpdateProvisioningConfigRequest.Builder setProvisioningConfig(ProvisioningConfig.Builder builderForValue)

Required. The ProvisioningConfig to update.

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

Parameter
NameDescription
builderForValueProvisioningConfig.Builder
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateProvisioningConfigRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateProvisioningConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateProvisioningConfigRequest.Builder