com.google.cloud.redis.v1beta1.MaintenancePolicyOrBuilder 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/redis/v1beta1/cloud_redis.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.redis.v1beta1;
public interface MaintenancePolicyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.redis.v1beta1.MaintenancePolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The time when the policy was created.
*
*
* .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the policy was created.
*
*
* .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The time when the policy was created.
*
*
* .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the policy was last updated.
*
*
* .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The time when the policy was last updated.
*
*
* .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The time when the policy was last updated.
*
*
* .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
*
* string description = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. Description of what this policy is for. Create/Update methods
* return INVALID_ARGUMENT if the length is greater than 512.
*
*
* string description = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
*
*
* repeated .google.cloud.redis.v1beta1.WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List
getWeeklyMaintenanceWindowList();
/**
*
*
*
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
*
*
* repeated .google.cloud.redis.v1beta1.WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.redis.v1beta1.WeeklyMaintenanceWindow getWeeklyMaintenanceWindow(int index);
/**
*
*
*
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
*
*
* repeated .google.cloud.redis.v1beta1.WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
int getWeeklyMaintenanceWindowCount();
/**
*
*
*
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
*
*
* repeated .google.cloud.redis.v1beta1.WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List extends com.google.cloud.redis.v1beta1.WeeklyMaintenanceWindowOrBuilder>
getWeeklyMaintenanceWindowOrBuilderList();
/**
*
*
*
* Optional. Maintenance window that is applied to resources covered by this
* policy. Minimum 1. For the current version, the maximum number of
* weekly_window is expected to be one.
*
*
*
* repeated .google.cloud.redis.v1beta1.WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.redis.v1beta1.WeeklyMaintenanceWindowOrBuilder
getWeeklyMaintenanceWindowOrBuilder(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy