public final class VpcPeeringConfig extends GeneratedMessageV3 implements VpcPeeringConfigOrBuilder
The VPC Peering configuration is used to create VPC peering between
Datastream and the consumer's VPC.
Protobuf type google.cloud.datastream.v1alpha1.VpcPeeringConfig
Static Fields
SUBNET_FIELD_NUMBER
public static final int SUBNET_FIELD_NUMBER
Field Value
VPC_NAME_FIELD_NUMBER
public static final int VPC_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VpcPeeringConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VpcPeeringConfig.Builder newBuilder()
Returns
newBuilder(VpcPeeringConfig prototype)
public static VpcPeeringConfig.Builder newBuilder(VpcPeeringConfig prototype)
Parameter
Returns
public static VpcPeeringConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpcPeeringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VpcPeeringConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpcPeeringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VpcPeeringConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpcPeeringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpcPeeringConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VpcPeeringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpcPeeringConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpcPeeringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VpcPeeringConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpcPeeringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VpcPeeringConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VpcPeeringConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<VpcPeeringConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubnet()
public 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 ByteString getSubnetBytes()
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVpcName()
public String getVpcName()
Required. fully qualified name of the VPC Datastream will peer to.
string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The vpcName.
|
getVpcNameBytes()
public ByteString getVpcNameBytes()
Required. fully qualified name of the VPC Datastream will peer to.
string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VpcPeeringConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpcPeeringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VpcPeeringConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions