com.google.cloud.metastore.v1beta.ScalingConfigOrBuilder 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/metastore/v1beta/metastore.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.metastore.v1beta;
public interface ScalingConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.metastore.v1beta.ScalingConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* An enum of readable instance sizes, with each instance size mapping to a
* float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
*
*
* .google.cloud.metastore.v1beta.ScalingConfig.InstanceSize instance_size = 1;
*
* @return Whether the instanceSize field is set.
*/
boolean hasInstanceSize();
/**
*
*
*
* An enum of readable instance sizes, with each instance size mapping to a
* float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
*
*
* .google.cloud.metastore.v1beta.ScalingConfig.InstanceSize instance_size = 1;
*
* @return The enum numeric value on the wire for instanceSize.
*/
int getInstanceSizeValue();
/**
*
*
*
* An enum of readable instance sizes, with each instance size mapping to a
* float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
*
*
* .google.cloud.metastore.v1beta.ScalingConfig.InstanceSize instance_size = 1;
*
* @return The instanceSize.
*/
com.google.cloud.metastore.v1beta.ScalingConfig.InstanceSize getInstanceSize();
/**
*
*
*
* Scaling factor, increments of 0.1 for values less than 1.0, and
* increments of 1.0 for values greater than 1.0.
*
*
* float scaling_factor = 2;
*
* @return Whether the scalingFactor field is set.
*/
boolean hasScalingFactor();
/**
*
*
*
* Scaling factor, increments of 0.1 for values less than 1.0, and
* increments of 1.0 for values greater than 1.0.
*
*
* float scaling_factor = 2;
*
* @return The scalingFactor.
*/
float getScalingFactor();
com.google.cloud.metastore.v1beta.ScalingConfig.ScalingModelCase getScalingModelCase();
}