com.google.cloud.vpcaccess.v1.ConnectorOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vpcaccess-v1 Show documentation
Show all versions of proto-google-cloud-vpcaccess-v1 Show documentation
Proto library for google-cloud-vpcaccess
The newest version!
/*
* 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/vpcaccess/v1/vpc_access.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.vpcaccess.v1;
public interface ConnectorOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vpcaccess.v1.Connector)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The resource name in the format `projects/*/locations/*/connectors/*`.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The resource name in the format `projects/*/locations/*/connectors/*`.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Name of a VPC network.
*
*
* string network = 2;
*
* @return The network.
*/
java.lang.String getNetwork();
/**
*
*
*
* Name of a VPC network.
*
*
* string network = 2;
*
* @return The bytes for network.
*/
com.google.protobuf.ByteString getNetworkBytes();
/**
*
*
*
* The range of internal addresses that follows RFC 4632 notation.
* Example: `10.132.0.0/28`.
*
*
* string ip_cidr_range = 3;
*
* @return The ipCidrRange.
*/
java.lang.String getIpCidrRange();
/**
*
*
*
* The range of internal addresses that follows RFC 4632 notation.
* Example: `10.132.0.0/28`.
*
*
* string ip_cidr_range = 3;
*
* @return The bytes for ipCidrRange.
*/
com.google.protobuf.ByteString getIpCidrRangeBytes();
/**
*
*
*
* Output only. State of the VPC access connector.
*
*
*
* .google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. State of the VPC access connector.
*
*
*
* .google.cloud.vpcaccess.v1.Connector.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.vpcaccess.v1.Connector.State getState();
/**
*
*
*
* Minimum throughput of the connector in Mbps. Default and min is 200.
*
*
* int32 min_throughput = 5;
*
* @return The minThroughput.
*/
int getMinThroughput();
/**
*
*
*
* Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
*
*
* int32 max_throughput = 6;
*
* @return The maxThroughput.
*/
int getMaxThroughput();
/**
*
*
*
* Output only. List of projects using the connector.
*
*
* repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return A list containing the connectedProjects.
*/
java.util.List getConnectedProjectsList();
/**
*
*
*
* Output only. List of projects using the connector.
*
*
* repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The count of connectedProjects.
*/
int getConnectedProjectsCount();
/**
*
*
*
* Output only. List of projects using the connector.
*
*
* repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @param index The index of the element to return.
* @return The connectedProjects at the given index.
*/
java.lang.String getConnectedProjects(int index);
/**
*
*
*
* Output only. List of projects using the connector.
*
*
* repeated string connected_projects = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @param index The index of the value to return.
* @return The bytes of the connectedProjects at the given index.
*/
com.google.protobuf.ByteString getConnectedProjectsBytes(int index);
/**
*
*
*
* The subnet in which to house the VPC Access Connector.
*
*
* .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
*
* @return Whether the subnet field is set.
*/
boolean hasSubnet();
/**
*
*
*
* The subnet in which to house the VPC Access Connector.
*
*
* .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
*
* @return The subnet.
*/
com.google.cloud.vpcaccess.v1.Connector.Subnet getSubnet();
/**
*
*
*
* The subnet in which to house the VPC Access Connector.
*
*
* .google.cloud.vpcaccess.v1.Connector.Subnet subnet = 8;
*/
com.google.cloud.vpcaccess.v1.Connector.SubnetOrBuilder getSubnetOrBuilder();
/**
*
*
*
* Machine type of VM Instance underlying connector. Default is e2-micro
*
*
* string machine_type = 10;
*
* @return The machineType.
*/
java.lang.String getMachineType();
/**
*
*
*
* Machine type of VM Instance underlying connector. Default is e2-micro
*
*
* string machine_type = 10;
*
* @return The bytes for machineType.
*/
com.google.protobuf.ByteString getMachineTypeBytes();
/**
*
*
*
* Minimum value of instances in autoscaling group underlying the connector.
*
*
* int32 min_instances = 11;
*
* @return The minInstances.
*/
int getMinInstances();
/**
*
*
*
* Maximum value of instances in autoscaling group underlying the connector.
*
*
* int32 max_instances = 12;
*
* @return The maxInstances.
*/
int getMaxInstances();
}