Class UpdateSnapshotSchedulePolicyRequest.Builder (0.1.1)

public static final class UpdateSnapshotSchedulePolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateSnapshotSchedulePolicyRequest.Builder> implements UpdateSnapshotSchedulePolicyRequestOrBuilder

Message for updating a snapshot schedule policy in a project.

Protobuf type google.cloud.baremetalsolution.v2.UpdateSnapshotSchedulePolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateSnapshotSchedulePolicyRequest build()
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest

buildPartial()

public UpdateSnapshotSchedulePolicyRequest buildPartial()
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSnapshotSchedulePolicy()

public UpdateSnapshotSchedulePolicyRequest.Builder clearSnapshotSchedulePolicy()

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

clearUpdateMask()

public UpdateSnapshotSchedulePolicyRequest.Builder clearUpdateMask()

Required. The list of fields to update.

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

Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateSnapshotSchedulePolicyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest

getDescriptorForType()

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

getSnapshotSchedulePolicy()

public SnapshotSchedulePolicy getSnapshotSchedulePolicy()

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SnapshotSchedulePolicy

The snapshotSchedulePolicy.

getSnapshotSchedulePolicyBuilder()

public SnapshotSchedulePolicy.Builder getSnapshotSchedulePolicyBuilder()

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SnapshotSchedulePolicy.Builder

getSnapshotSchedulePolicyOrBuilder()

public SnapshotSchedulePolicyOrBuilder getSnapshotSchedulePolicyOrBuilder()

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SnapshotSchedulePolicyOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update.

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

Returns
Type Description
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
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update.

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

Returns
Type Description
FieldMaskOrBuilder

hasSnapshotSchedulePolicy()

public boolean hasSnapshotSchedulePolicy()

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the snapshotSchedulePolicy 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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSnapshotSchedulePolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSnapshotSchedulePolicy(SnapshotSchedulePolicy value)

public UpdateSnapshotSchedulePolicyRequest.Builder mergeSnapshotSchedulePolicy(SnapshotSchedulePolicy value)

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SnapshotSchedulePolicy
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateSnapshotSchedulePolicyRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSnapshotSchedulePolicy(SnapshotSchedulePolicy value)

public UpdateSnapshotSchedulePolicyRequest.Builder setSnapshotSchedulePolicy(SnapshotSchedulePolicy value)

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SnapshotSchedulePolicy
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

setSnapshotSchedulePolicy(SnapshotSchedulePolicy.Builder builderForValue)

public UpdateSnapshotSchedulePolicyRequest.Builder setSnapshotSchedulePolicy(SnapshotSchedulePolicy.Builder builderForValue)

Required. The snapshot schedule policy to update. The name field is used to identify the snapshot schedule policy to update. Format: projects/{project}/locations/global/snapshotSchedulePolicies/{policy}

.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SnapshotSchedulePolicy.Builder
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateSnapshotSchedulePolicyRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSnapshotSchedulePolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSnapshotSchedulePolicyRequest.Builder