com.google.cloud.baremetalsolution.v2.NetworkOrBuilder 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 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/network.proto
package com.google.cloud.baremetalsolution.v2;
public interface NetworkOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.Network)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The resource name of this `Network`.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names.
* Format:
* `projects/{project}/locations/{location}/networks/{network}`
*
*
* string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The resource name of this `Network`.
* Resource names are schemeless URIs that follow the conventions in
* https://cloud.google.com/apis/design/resource_names.
* Format:
* `projects/{project}/locations/{location}/networks/{network}`
*
*
* string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* An identifier for the `Network`, generated by the backend.
*
*
* string id = 10;
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* An identifier for the `Network`, generated by the backend.
*
*
* string id = 10;
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* The type of this network.
*
*
* .google.cloud.baremetalsolution.v2.Network.Type type = 2;
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* The type of this network.
*
*
* .google.cloud.baremetalsolution.v2.Network.Type type = 2;
*
* @return The type.
*/
com.google.cloud.baremetalsolution.v2.Network.Type getType();
/**
*
*
*
* IP address configured.
*
*
* string ip_address = 3;
*
* @return The ipAddress.
*/
java.lang.String getIpAddress();
/**
*
*
*
* IP address configured.
*
*
* string ip_address = 3;
*
* @return The bytes for ipAddress.
*/
com.google.protobuf.ByteString getIpAddressBytes();
/**
*
*
*
* List of physical interfaces.
*
*
* repeated string mac_address = 4;
*
* @return A list containing the macAddress.
*/
java.util.List getMacAddressList();
/**
*
*
*
* List of physical interfaces.
*
*
* repeated string mac_address = 4;
*
* @return The count of macAddress.
*/
int getMacAddressCount();
/**
*
*
*
* List of physical interfaces.
*
*
* repeated string mac_address = 4;
*
* @param index The index of the element to return.
* @return The macAddress at the given index.
*/
java.lang.String getMacAddress(int index);
/**
*
*
*
* List of physical interfaces.
*
*
* repeated string mac_address = 4;
*
* @param index The index of the value to return.
* @return The bytes of the macAddress at the given index.
*/
com.google.protobuf.ByteString getMacAddressBytes(int index);
/**
*
*
*
* The Network state.
*
*
* .google.cloud.baremetalsolution.v2.Network.State state = 6;
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* The Network state.
*
*
* .google.cloud.baremetalsolution.v2.Network.State state = 6;
*
* @return The state.
*/
com.google.cloud.baremetalsolution.v2.Network.State getState();
/**
*
*
*
* The vlan id of the Network.
*
*
* string vlan_id = 7;
*
* @return The vlanId.
*/
java.lang.String getVlanId();
/**
*
*
*
* The vlan id of the Network.
*
*
* string vlan_id = 7;
*
* @return The bytes for vlanId.
*/
com.google.protobuf.ByteString getVlanIdBytes();
/**
*
*
*
* The cidr of the Network.
*
*
* string cidr = 8;
*
* @return The cidr.
*/
java.lang.String getCidr();
/**
*
*
*
* The cidr of the Network.
*
*
* string cidr = 8;
*
* @return The bytes for cidr.
*/
com.google.protobuf.ByteString getCidrBytes();
/**
*
*
*
* The vrf for the Network.
*
*
* .google.cloud.baremetalsolution.v2.VRF vrf = 9;
*
* @return Whether the vrf field is set.
*/
boolean hasVrf();
/**
*
*
*
* The vrf for the Network.
*
*
* .google.cloud.baremetalsolution.v2.VRF vrf = 9;
*
* @return The vrf.
*/
com.google.cloud.baremetalsolution.v2.VRF getVrf();
/**
*
*
*
* The vrf for the Network.
*
*
* .google.cloud.baremetalsolution.v2.VRF vrf = 9;
*/
com.google.cloud.baremetalsolution.v2.VRFOrBuilder getVrfOrBuilder();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 11;
*/
int getLabelsCount();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 11;
*/
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 = 11;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 11;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 11;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* IP range for reserved for services (e.g. NFS).
*
*
* string services_cidr = 12;
*
* @return The servicesCidr.
*/
java.lang.String getServicesCidr();
/**
*
*
*
* IP range for reserved for services (e.g. NFS).
*
*
* string services_cidr = 12;
*
* @return The bytes for servicesCidr.
*/
com.google.protobuf.ByteString getServicesCidrBytes();
/**
*
*
*
* List of IP address reservations in this network.
* When updating this field, an error will be generated if a reservation
* conflicts with an IP address already allocated to a physical server.
*
*
* repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
*
*/
java.util.List
getReservationsList();
/**
*
*
*
* List of IP address reservations in this network.
* When updating this field, an error will be generated if a reservation
* conflicts with an IP address already allocated to a physical server.
*
*
* repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
*
*/
com.google.cloud.baremetalsolution.v2.NetworkAddressReservation getReservations(int index);
/**
*
*
*
* List of IP address reservations in this network.
* When updating this field, an error will be generated if a reservation
* conflicts with an IP address already allocated to a physical server.
*
*
* repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
*
*/
int getReservationsCount();
/**
*
*
*
* List of IP address reservations in this network.
* When updating this field, an error will be generated if a reservation
* conflicts with an IP address already allocated to a physical server.
*
*
* repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
*
*/
java.util.List extends com.google.cloud.baremetalsolution.v2.NetworkAddressReservationOrBuilder>
getReservationsOrBuilderList();
/**
*
*
*
* List of IP address reservations in this network.
* When updating this field, an error will be generated if a reservation
* conflicts with an IP address already allocated to a physical server.
*
*
* repeated .google.cloud.baremetalsolution.v2.NetworkAddressReservation reservations = 13;
*
*/
com.google.cloud.baremetalsolution.v2.NetworkAddressReservationOrBuilder getReservationsOrBuilder(
int index);
}