Class ClientConnectorService.Ingress.Config.DestinationRoute.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clear()
Returns
TypeDescription
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
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClientConnectorService.Ingress.Config.DestinationRoute other)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeFrom(ClientConnectorService.Ingress.Config.DestinationRoute other)
Parameter
NameDescription
otherClientConnectorService.Ingress.Config.DestinationRoute
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Ingress.Config.DestinationRoute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The address to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for address to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The netmask to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for netmask to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Ingress.Config.DestinationRoute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientConnectorService.Ingress.Config.DestinationRoute.Builder
Overrides