Interface VpcPeeringConfigOrBuilder (1.45.0)

public interface VpcPeeringConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSubnet()

public abstract String getSubnet()

Required. A free subnet for peering. (CIDR of /29)

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

Returns
Type Description
String

The subnet.

getSubnetBytes()

public abstract ByteString getSubnetBytes()

Required. A free subnet for peering. (CIDR of /29)

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

Returns
Type Description
ByteString

The bytes for subnet.

getVpc()

public abstract String getVpc()

Required. Fully qualified name of the VPC that Datastream will peer to. Format: projects/{project}/global/{networks}/{name}

string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vpc.

getVpcBytes()

public abstract ByteString getVpcBytes()

Required. Fully qualified name of the VPC that Datastream will peer to. Format: projects/{project}/global/{networks}/{name}

string vpc = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpc.