Package com.google.cloud.datastream.v1
Interface VpcPeeringConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VpcPeeringConfig
,VpcPeeringConfig.Builder
public interface VpcPeeringConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSubnet()
Required.com.google.protobuf.ByteString
getSubnetBytes()
Required.String
getVpc()
Required.com.google.protobuf.ByteString
getVpcBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVpc
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:
- The vpc.
-
getVpcBytes
com.google.protobuf.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:
- The bytes for vpc.
-
getSubnet
String getSubnet()
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The subnet.
-
getSubnetBytes
com.google.protobuf.ByteString getSubnetBytes()
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for subnet.
-
-