
com.google.cloud.compute.v1.DeprecationStatusOrBuilder Maven / Gradle / Ivy
/*
* 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/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface DeprecationStatusOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeprecationStatus)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deleted = 476721177;
*
* @return Whether the deleted field is set.
*/
boolean hasDeleted();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deleted = 476721177;
*
* @return The deleted.
*/
java.lang.String getDeleted();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deleted = 476721177;
*
* @return The bytes for deleted.
*/
com.google.protobuf.ByteString getDeletedBytes();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deprecated = 515138995;
*
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deprecated = 515138995;
*
* @return The deprecated.
*/
java.lang.String getDeprecated();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string deprecated = 515138995;
*
* @return The bytes for deprecated.
*/
com.google.protobuf.ByteString getDeprecatedBytes();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string obsolete = 357647769;
*
* @return Whether the obsolete field is set.
*/
boolean hasObsolete();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string obsolete = 357647769;
*
* @return The obsolete.
*/
java.lang.String getObsolete();
/**
*
*
*
* An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
*
*
* optional string obsolete = 357647769;
*
* @return The bytes for obsolete.
*/
com.google.protobuf.ByteString getObsoleteBytes();
/**
*
*
*
* The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
*
*
* optional string replacement = 430919186;
*
* @return Whether the replacement field is set.
*/
boolean hasReplacement();
/**
*
*
*
* The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
*
*
* optional string replacement = 430919186;
*
* @return The replacement.
*/
java.lang.String getReplacement();
/**
*
*
*
* The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
*
*
* optional string replacement = 430919186;
*
* @return The bytes for replacement.
*/
com.google.protobuf.ByteString getReplacementBytes();
/**
*
*
*
* The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return Whether the state field is set.
*/
boolean hasState();
/**
*
*
*
* The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return The state.
*/
java.lang.String getState();
/**
*
*
*
* The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return The bytes for state.
*/
com.google.protobuf.ByteString getStateBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy