public final class Gateway extends GeneratedMessage implements GatewayOrBuilder
A gateway that can apply specialized traffic processing.
Protobuf type google.cloud.networkconnectivity.v1beta.Gateway
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CAPACITY_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLOUD_ROUTERS_FIELD_NUMBER
public static final int CLOUD_ROUTERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IP_RANGE_RESERVATIONS_FIELD_NUMBER
public static final int IP_RANGE_RESERVATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SAC_ATTACHMENT_FIELD_NUMBER
public static final int SAC_ATTACHMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Gateway getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Gateway.Builder newBuilder()
newBuilder(Gateway prototype)
public static Gateway.Builder newBuilder(Gateway prototype)
| Parameter |
| Name |
Description |
prototype |
Gateway
|
public static Gateway parseDelimitedFrom(InputStream input)
public static Gateway parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Gateway parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Gateway parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Gateway parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Gateway parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Gateway parseFrom(CodedInputStream input)
public static Gateway parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Gateway parseFrom(InputStream input)
public static Gateway parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Gateway parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Gateway parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Gateway> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCapacity()
public Gateway.GatewayCapacity getCapacity()
Optional. The aggregate processing capacity of this gateway.
.google.cloud.networkconnectivity.v1beta.Gateway.GatewayCapacity capacity = 10 [(.google.api.field_behavior) = OPTIONAL];
getCapacityValue()
public 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 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 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 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 ProtocolStringList 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];
getDefaultInstanceForType()
public Gateway getDefaultInstanceForType()
getIpRangeReservations(int index)
public 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
|
getIpRangeReservationsCount()
public 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 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];
getIpRangeReservationsOrBuilder(int index)
public 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
|
getIpRangeReservationsOrBuilderList()
public 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> |
|
getParserForType()
public Parser<Gateway> getParserForType()
Overrides
getSacAttachment()
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Gateway.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Gateway.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Gateway.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides