All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.baremetalsolution.v2.InstanceOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.54.0
Show newest version
/*
 * Copyright 2023 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/instance.proto

package com.google.cloud.baremetalsolution.v2;

public interface InstanceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.Instance)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Output only. The resource name of this `Instance`.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names.
   * Format:
   * `projects/{project}/locations/{location}/instances/{instance}`
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Output only. The resource name of this `Instance`.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names.
   * Format:
   * `projects/{project}/locations/{location}/instances/{instance}`
   * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * An identifier for the `Instance`, generated by the backend.
   * 
* * string id = 11; * * @return The id. */ java.lang.String getId(); /** * * *
   * An identifier for the `Instance`, generated by the backend.
   * 
* * string id = 11; * * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * * *
   * Output only. Create a time stamp.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. Create a time stamp.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. Create a time stamp.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. Update a time stamp.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. Update a time stamp.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. Update a time stamp.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * The server type.
   * [Available server
   * types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
   * 
* * string machine_type = 4; * * @return The machineType. */ java.lang.String getMachineType(); /** * * *
   * The server type.
   * [Available server
   * types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
   * 
* * string machine_type = 4; * * @return The bytes for machineType. */ com.google.protobuf.ByteString getMachineTypeBytes(); /** * * *
   * The state of the server.
   * 
* * .google.cloud.baremetalsolution.v2.Instance.State state = 5; * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * The state of the server.
   * 
* * .google.cloud.baremetalsolution.v2.Instance.State state = 5; * * @return The state. */ com.google.cloud.baremetalsolution.v2.Instance.State getState(); /** * * *
   * True if you enable hyperthreading for the server, otherwise false.
   * The default value is false.
   * 
* * bool hyperthreading_enabled = 6; * * @return The hyperthreadingEnabled. */ boolean getHyperthreadingEnabled(); /** * * *
   * Labels as key value pairs.
   * 
* * map<string, string> labels = 7; */ int getLabelsCount(); /** * * *
   * Labels as key value pairs.
   * 
* * map<string, string> labels = 7; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Labels as key value pairs.
   * 
* * map<string, string> labels = 7; */ java.util.Map getLabelsMap(); /** * * *
   * Labels as key value pairs.
   * 
* * map<string, string> labels = 7; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Labels as key value pairs.
   * 
* * map<string, string> labels = 7; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * List of LUNs associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Lun luns = 8; */ java.util.List getLunsList(); /** * * *
   * List of LUNs associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Lun luns = 8; */ com.google.cloud.baremetalsolution.v2.Lun getLuns(int index); /** * * *
   * List of LUNs associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Lun luns = 8; */ int getLunsCount(); /** * * *
   * List of LUNs associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Lun luns = 8; */ java.util.List getLunsOrBuilderList(); /** * * *
   * List of LUNs associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Lun luns = 8; */ com.google.cloud.baremetalsolution.v2.LunOrBuilder getLunsOrBuilder(int index); /** * * *
   * List of networks associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Network networks = 9; */ java.util.List getNetworksList(); /** * * *
   * List of networks associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Network networks = 9; */ com.google.cloud.baremetalsolution.v2.Network getNetworks(int index); /** * * *
   * List of networks associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Network networks = 9; */ int getNetworksCount(); /** * * *
   * List of networks associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Network networks = 9; */ java.util.List getNetworksOrBuilderList(); /** * * *
   * List of networks associated with this server.
   * 
* * repeated .google.cloud.baremetalsolution.v2.Network networks = 9; */ com.google.cloud.baremetalsolution.v2.NetworkOrBuilder getNetworksOrBuilder(int index); /** * * *
   * True if the interactive serial console feature is enabled for the instance,
   * false otherwise.
   * The default value is false.
   * 
* * bool interactive_serial_console_enabled = 10; * * @return The interactiveSerialConsoleEnabled. */ boolean getInteractiveSerialConsoleEnabled(); /** * * *
   * The OS image currently installed on the server.
   * 
* * string os_image = 12; * * @return The osImage. */ java.lang.String getOsImage(); /** * * *
   * The OS image currently installed on the server.
   * 
* * string os_image = 12; * * @return The bytes for osImage. */ com.google.protobuf.ByteString getOsImageBytes(); /** * * *
   * Immutable. Pod name.
   * Pod is an independent part of infrastructure.
   * Instance can be connected to the assets (networks, volumes) allocated
   * in the same pod only.
   * 
* * string pod = 13 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The pod. */ java.lang.String getPod(); /** * * *
   * Immutable. Pod name.
   * Pod is an independent part of infrastructure.
   * Instance can be connected to the assets (networks, volumes) allocated
   * in the same pod only.
   * 
* * string pod = 13 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for pod. */ com.google.protobuf.ByteString getPodBytes(); /** * * *
   * Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
   * Generally, the template name follows the syntax of
   * "bond<bond_mode>" or "nic".
   * 
* * string network_template = 14 [(.google.api.resource_reference) = { ... } * * @return The networkTemplate. */ java.lang.String getNetworkTemplate(); /** * * *
   * Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
   * Generally, the template name follows the syntax of
   * "bond<bond_mode>" or "nic".
   * 
* * string network_template = 14 [(.google.api.resource_reference) = { ... } * * @return The bytes for networkTemplate. */ com.google.protobuf.ByteString getNetworkTemplateBytes(); /** * * *
   * List of logical interfaces for the instance. The number of logical
   * interfaces will be the same as number of hardware bond/nic on the chosen
   * network template. For the non-multivlan configurations (for eg, existing
   * servers) that use existing default network template (bondaa-bondaa), both
   * the Instance.networks field and the Instance.logical_interfaces fields will
   * be filled to ensure backward compatibility. For the others, only
   * Instance.logical_interfaces will be filled.
   * 
* * repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15; * */ java.util.List getLogicalInterfacesList(); /** * * *
   * List of logical interfaces for the instance. The number of logical
   * interfaces will be the same as number of hardware bond/nic on the chosen
   * network template. For the non-multivlan configurations (for eg, existing
   * servers) that use existing default network template (bondaa-bondaa), both
   * the Instance.networks field and the Instance.logical_interfaces fields will
   * be filled to ensure backward compatibility. For the others, only
   * Instance.logical_interfaces will be filled.
   * 
* * repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15; * */ com.google.cloud.baremetalsolution.v2.LogicalInterface getLogicalInterfaces(int index); /** * * *
   * List of logical interfaces for the instance. The number of logical
   * interfaces will be the same as number of hardware bond/nic on the chosen
   * network template. For the non-multivlan configurations (for eg, existing
   * servers) that use existing default network template (bondaa-bondaa), both
   * the Instance.networks field and the Instance.logical_interfaces fields will
   * be filled to ensure backward compatibility. For the others, only
   * Instance.logical_interfaces will be filled.
   * 
* * repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15; * */ int getLogicalInterfacesCount(); /** * * *
   * List of logical interfaces for the instance. The number of logical
   * interfaces will be the same as number of hardware bond/nic on the chosen
   * network template. For the non-multivlan configurations (for eg, existing
   * servers) that use existing default network template (bondaa-bondaa), both
   * the Instance.networks field and the Instance.logical_interfaces fields will
   * be filled to ensure backward compatibility. For the others, only
   * Instance.logical_interfaces will be filled.
   * 
* * repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15; * */ java.util.List getLogicalInterfacesOrBuilderList(); /** * * *
   * List of logical interfaces for the instance. The number of logical
   * interfaces will be the same as number of hardware bond/nic on the chosen
   * network template. For the non-multivlan configurations (for eg, existing
   * servers) that use existing default network template (bondaa-bondaa), both
   * the Instance.networks field and the Instance.logical_interfaces fields will
   * be filled to ensure backward compatibility. For the others, only
   * Instance.logical_interfaces will be filled.
   * 
* * repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15; * */ com.google.cloud.baremetalsolution.v2.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder( int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy