Class ClientConnectorService.Ingress.Config.DestinationRoute (0.20.0)

public static final class ClientConnectorService.Ingress.Config.DestinationRoute extends GeneratedMessageV3 implements ClientConnectorService.Ingress.Config.DestinationRouteOrBuilder

The setting used to configure ClientGateways. It is adding routes to the client's routing table after the connection is established.

Protobuf type google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ClientConnectorService.Ingress.Config.DestinationRoute

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

NETMASK_FIELD_NUMBER

public static final int NETMASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClientConnectorService.Ingress.Config.DestinationRoute getDefaultInstance()
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ClientConnectorService.Ingress.Config.DestinationRoute.Builder newBuilder()
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

newBuilder(ClientConnectorService.Ingress.Config.DestinationRoute prototype)

public static ClientConnectorService.Ingress.Config.DestinationRoute.Builder newBuilder(ClientConnectorService.Ingress.Config.DestinationRoute prototype)
Parameter
NameDescription
prototypeClientConnectorService.Ingress.Config.DestinationRoute
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

parseDelimitedFrom(InputStream input)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientConnectorService.Ingress.Config.DestinationRoute parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClientConnectorService.Ingress.Config.DestinationRoute> parser()
Returns
TypeDescription
Parser<DestinationRoute>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAddress()

public String getAddress()

Required. The network address of the subnet for which the packet is routed to the ClientGateway.

string address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

Required. The network address of the subnet for which the packet is routed to the ClientGateway.

string address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for address.

getDefaultInstanceForType()

public ClientConnectorService.Ingress.Config.DestinationRoute getDefaultInstanceForType()
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute

getNetmask()

public String getNetmask()

Required. The network mask of the subnet for which the packet is routed to the ClientGateway.

string netmask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The netmask.

getNetmaskBytes()

public ByteString getNetmaskBytes()

Required. The network mask of the subnet for which the packet is routed to the ClientGateway.

string netmask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for netmask.

getParserForType()

public Parser<ClientConnectorService.Ingress.Config.DestinationRoute> getParserForType()
Returns
TypeDescription
Parser<DestinationRoute>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder newBuilderForType()
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClientConnectorService.Ingress.Config.DestinationRoute.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder toBuilder()
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException