public final class UpdateSnapshotSchedulePolicyRequest extends GeneratedMessageV3 implements UpdateSnapshotSchedulePolicyRequestOrBuilder
Message for updating a snapshot schedule policy in a project.
Protobuf type google.cloud.baremetalsolution.v2.UpdateSnapshotSchedulePolicyRequest
Static Fields
public static final int SNAPSHOT_SCHEDULE_POLICY_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
public static UpdateSnapshotSchedulePolicyRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UpdateSnapshotSchedulePolicyRequest.Builder newBuilder()
Returns
public static UpdateSnapshotSchedulePolicyRequest.Builder newBuilder(UpdateSnapshotSchedulePolicyRequest prototype)
Parameter
Returns
public static UpdateSnapshotSchedulePolicyRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateSnapshotSchedulePolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateSnapshotSchedulePolicyRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest getDefaultInstanceForType()
Returns
public Parser<UpdateSnapshotSchedulePolicyRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
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 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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
public FieldMask getUpdateMask()
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest.Builder newBuilderForType()
Returns
protected UpdateSnapshotSchedulePolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UpdateSnapshotSchedulePolicyRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions