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