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

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

clone()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clone()
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
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
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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Ingress.Config.DestinationRoute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides