Interface VpcPeeringConfigOrBuilder (1.23.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vpc.