com.google.cloud.baremetalsolution.v2.VolumeSnapshotOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Proto library for google-cloud-bare-metal-solution
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/baremetalsolution/v2/volume_snapshot.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.baremetalsolution.v2;
public interface VolumeSnapshotOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.VolumeSnapshot)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The name of the snapshot.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The name of the snapshot.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. An identifier for the snapshot, generated by the backend.
*
*
* string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* Output only. An identifier for the snapshot, generated by the backend.
*
*
* string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* The description of the snapshot.
*
*
* string description = 2;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* The description of the snapshot.
*
*
* string description = 2;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Output only. The creation time of the snapshot.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The creation time of the snapshot.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The creation time of the snapshot.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The name of the volume which this snapshot belongs to.
*
*
*
* string storage_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The storageVolume.
*/
java.lang.String getStorageVolume();
/**
*
*
*
* Output only. The name of the volume which this snapshot belongs to.
*
*
*
* string storage_volume = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for storageVolume.
*/
com.google.protobuf.ByteString getStorageVolumeBytes();
/**
*
*
*
* Output only. The type of the snapshot which indicates whether it was
* scheduled or manual/ad-hoc.
*
*
*
* .google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Output only. The type of the snapshot which indicates whether it was
* scheduled or manual/ad-hoc.
*
*
*
* .google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The type.
*/
com.google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType getType();
}