com.google.cloud.baremetalsolution.v2.InstanceConfigOrBuilder 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/provisioning.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.baremetalsolution.v2;
public interface InstanceConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.InstanceConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The name of the instance config.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The name of the instance config.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* A transient unique identifier to idenfity an instance within an
* ProvisioningConfig request.
*
*
* string id = 2;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* A transient unique identifier to idenfity an instance within an
* ProvisioningConfig request.
*
*
* string id = 2;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Instance type.
* [Available
* types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
*
*
* string instance_type = 3;
*
* @return The instanceType.
*/
java.lang.String getInstanceType();
/**
*
*
*
* Instance type.
* [Available
* types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
*
*
* string instance_type = 3;
*
* @return The bytes for instanceType.
*/
com.google.protobuf.ByteString getInstanceTypeBytes();
/**
*
*
*
* Whether the instance should be provisioned with Hyperthreading enabled.
*
*
* bool hyperthreading = 4;
*
* @return The hyperthreading.
*/
boolean getHyperthreading();
/**
*
*
*
* OS image to initialize the instance.
* [Available
* images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
*
*
* string os_image = 5;
*
* @return The osImage.
*/
java.lang.String getOsImage();
/**
*
*
*
* OS image to initialize the instance.
* [Available
* images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
*
*
* string os_image = 5;
*
* @return The bytes for osImage.
*/
com.google.protobuf.ByteString getOsImageBytes();
/**
*
*
*
* Client network address. Filled if InstanceConfig.multivlan_config is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
*
*
* @deprecated google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See
* google/cloud/baremetalsolution/v2/provisioning.proto;l=283
* @return Whether the clientNetwork field is set.
*/
@java.lang.Deprecated
boolean hasClientNetwork();
/**
*
*
*
* Client network address. Filled if InstanceConfig.multivlan_config is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
*
*
* @deprecated google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See
* google/cloud/baremetalsolution/v2/provisioning.proto;l=283
* @return The clientNetwork.
*/
@java.lang.Deprecated
com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress getClientNetwork();
/**
*
*
*
* Client network address. Filled if InstanceConfig.multivlan_config is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
*
*/
@java.lang.Deprecated
com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddressOrBuilder
getClientNetworkOrBuilder();
/**
*
*
*
* Private network address, if any. Filled if InstanceConfig.multivlan_config
* is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
*
*
* @deprecated google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See
* google/cloud/baremetalsolution/v2/provisioning.proto;l=287
* @return Whether the privateNetwork field is set.
*/
@java.lang.Deprecated
boolean hasPrivateNetwork();
/**
*
*
*
* Private network address, if any. Filled if InstanceConfig.multivlan_config
* is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
*
*
* @deprecated google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See
* google/cloud/baremetalsolution/v2/provisioning.proto;l=287
* @return The privateNetwork.
*/
@java.lang.Deprecated
com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress getPrivateNetwork();
/**
*
*
*
* Private network address, if any. Filled if InstanceConfig.multivlan_config
* is false.
*
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
*
*/
@java.lang.Deprecated
com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddressOrBuilder
getPrivateNetworkOrBuilder();
/**
*
*
*
* User note field, it can be used by customers to add additional information
* for the BMS Ops team .
*
*
* string user_note = 8;
*
* @return The userNote.
*/
java.lang.String getUserNote();
/**
*
*
*
* User note field, it can be used by customers to add additional information
* for the BMS Ops team .
*
*
* string user_note = 8;
*
* @return The bytes for userNote.
*/
com.google.protobuf.ByteString getUserNoteBytes();
/**
*
*
*
* If true networks can be from different projects of the same vendor account.
*
*
* bool account_networks_enabled = 9;
*
* @return The accountNetworksEnabled.
*/
boolean getAccountNetworksEnabled();
/**
*
*
*
* The type of network configuration on the instance.
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
*
*
* @return The enum numeric value on the wire for networkConfig.
*/
int getNetworkConfigValue();
/**
*
*
*
* The type of network configuration on the instance.
*
*
* .google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;
*
*
* @return The networkConfig.
*/
com.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig getNetworkConfig();
/**
*
*
*
* Server network template name. Filled if InstanceConfig.multivlan_config is
* true.
*
*
* string network_template = 11;
*
* @return The networkTemplate.
*/
java.lang.String getNetworkTemplate();
/**
*
*
*
* Server network template name. Filled if InstanceConfig.multivlan_config is
* true.
*
*
* string network_template = 11;
*
* @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. Filled if InstanceConfig.multivlan_config is true.
*
*
* repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
*
*/
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. Filled if InstanceConfig.multivlan_config is true.
*
*
* repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
*
*/
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. Filled if InstanceConfig.multivlan_config is true.
*
*
* repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
*
*/
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. Filled if InstanceConfig.multivlan_config is true.
*
*
* repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
*
*/
java.util.List extends com.google.cloud.baremetalsolution.v2.LogicalInterfaceOrBuilder>
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. Filled if InstanceConfig.multivlan_config is true.
*
*
* repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
*
*/
com.google.cloud.baremetalsolution.v2.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(
int index);
/**
*
*
*
* List of names of ssh keys used to provision the instance.
*
*
* repeated string ssh_key_names = 13;
*
* @return A list containing the sshKeyNames.
*/
java.util.List getSshKeyNamesList();
/**
*
*
*
* List of names of ssh keys used to provision the instance.
*
*
* repeated string ssh_key_names = 13;
*
* @return The count of sshKeyNames.
*/
int getSshKeyNamesCount();
/**
*
*
*
* List of names of ssh keys used to provision the instance.
*
*
* repeated string ssh_key_names = 13;
*
* @param index The index of the element to return.
* @return The sshKeyNames at the given index.
*/
java.lang.String getSshKeyNames(int index);
/**
*
*
*
* List of names of ssh keys used to provision the instance.
*
*
* repeated string ssh_key_names = 13;
*
* @param index The index of the value to return.
* @return The bytes of the sshKeyNames at the given index.
*/
com.google.protobuf.ByteString getSshKeyNamesBytes(int index);
}