Send feedback
Class UpdateSnapshotSchedulePolicyRequest.Builder (0.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.2.1 keyboard_arrow_down
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
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public UpdateSnapshotSchedulePolicyRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest build ()
Returns
public UpdateSnapshotSchedulePolicyRequest buildPartial ()
Returns
public UpdateSnapshotSchedulePolicyRequest . Builder clear ()
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
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
public UpdateSnapshotSchedulePolicyRequest . Builder clearUpdateMask ()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public UpdateSnapshotSchedulePolicyRequest . Builder clone ()
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
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
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
public FieldMask getUpdateMask ()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public FieldMask . Builder getUpdateMaskBuilder ()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest . Builder mergeFrom ( UpdateSnapshotSchedulePolicyRequest other )
Parameter
Returns
public UpdateSnapshotSchedulePolicyRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public UpdateSnapshotSchedulePolicyRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
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
Returns
public final UpdateSnapshotSchedulePolicyRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Returns
public UpdateSnapshotSchedulePolicyRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
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
Returns
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
Returns
public final UpdateSnapshotSchedulePolicyRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Returns
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]