Interface GatewayOrBuilder (1.87.0)

public interface GatewayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapacity()

public abstract Gateway.GatewayCapacity getCapacity()

Optional. The aggregate processing capacity of this gateway.

.google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Gateway.GatewayCapacity

The capacity.

getCapacityValue()

public abstract int getCapacityValue()

Optional. The aggregate processing capacity of this gateway.

.google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for capacity.

getCloudRouters(int index)

public abstract String getCloudRouters(int index)

Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}

repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cloudRouters at the given index.

getCloudRoutersBytes(int index)

public abstract ByteString getCloudRoutersBytes(int index)

Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}

repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cloudRouters at the given index.

getCloudRoutersCount()

public abstract int getCloudRoutersCount()

Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}

repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of cloudRouters.

getCloudRoutersList()

public abstract List<String> getCloudRoutersList()

Output only. The list of Cloud Routers that are connected to this gateway. Should be in the form: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}

repeated string cloud_routers = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the cloudRouters.

getIpRangeReservations(int index)

public abstract Gateway.IpRangeReservation getIpRangeReservations(int index)

Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Gateway.IpRangeReservation

getIpRangeReservationsCount()

public abstract int getIpRangeReservationsCount()

Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getIpRangeReservationsList()

public abstract List<Gateway.IpRangeReservation> getIpRangeReservationsList()

Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<IpRangeReservation>

getIpRangeReservationsOrBuilder(int index)

public abstract Gateway.IpRangeReservationOrBuilder getIpRangeReservationsOrBuilder(int index)

Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Gateway.IpRangeReservationOrBuilder

getIpRangeReservationsOrBuilderList()

public abstract List<? extends Gateway.IpRangeReservationOrBuilder> getIpRangeReservationsOrBuilderList()

Optional. A list of IP ranges that are reserved for this gateway's internal intfrastructure.

repeated .google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservation ip_range_reservations = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1beta.Gateway.IpRangeReservationOrBuilder>

getSacAttachment()

public abstract String getSacAttachment()

Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}

string sac_attachment = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The sacAttachment.

getSacAttachmentBytes()

public abstract ByteString getSacAttachmentBytes()

Output only. The URI of the connected SACAttachment. Should be in the form: projects/{project}/locations/{location}/sacAttachments/{sac_attachment}

string sac_attachment = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for sacAttachment.