Class ClientConnectorService.Ingress.Config.DestinationRoute.Builder (0.85.0)

public static final class ClientConnectorService.Ingress.Config.DestinationRoute.Builder extends GeneratedMessage.Builder<ClientConnectorService.Ingress.Config.DestinationRoute.Builder> 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

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ClientConnectorService.Ingress.Config.DestinationRoute.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ClientConnectorService.Ingress.Config.DestinationRoute build()
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute

buildPartial()

public ClientConnectorService.Ingress.Config.DestinationRoute buildPartial()
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute

clear()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clear()
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

clearAddress()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearAddress()

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
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

clearNetmask()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearNetmask()

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
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

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
Type Description
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
Type Description
ByteString

The bytes for address.

getDefaultInstanceForType()

public ClientConnectorService.Ingress.Config.DestinationRoute getDefaultInstanceForType()
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for netmask.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClientConnectorService.Ingress.Config.DestinationRoute other)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeFrom(ClientConnectorService.Ingress.Config.DestinationRoute other)
Parameter
Name Description
other ClientConnectorService.Ingress.Config.DestinationRoute
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

setAddress(String value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setAddress(String value)

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

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

Parameter
Name Description
value String

The address to set.

Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setAddressBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

setNetmask(String value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setNetmask(String value)

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

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

Parameter
Name Description
value String

The netmask to set.

Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

setNetmaskBytes(ByteString value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setNetmaskBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for netmask to set.

Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.