public static final class VpcPeeringConfig.Builder extends GeneratedMessageV3.Builder<VpcPeeringConfig.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpcPeeringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VpcPeeringConfig build()
buildPartial()
public VpcPeeringConfig buildPartial()
clear()
public VpcPeeringConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpcPeeringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpcPeeringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubnet()
public VpcPeeringConfig.Builder clearSubnet()
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
clearVpcName()
public VpcPeeringConfig.Builder clearVpcName()
Required. fully qualified name of the VPC Datastream will peer to.
string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public VpcPeeringConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public VpcPeeringConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for subnet.
|
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 |
Type |
Description |
ByteString |
The bytes for vpcName.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpcPeeringConfig other)
public VpcPeeringConfig.Builder mergeFrom(VpcPeeringConfig other)
public VpcPeeringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpcPeeringConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpcPeeringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VpcPeeringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpcPeeringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubnet(String value)
public VpcPeeringConfig.Builder setSubnet(String value)
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The subnet to set.
|
setSubnetBytes(ByteString value)
public VpcPeeringConfig.Builder setSubnetBytes(ByteString value)
Required. A free subnet for peering. (CIDR of /29)
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for subnet to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VpcPeeringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVpcName(String value)
public VpcPeeringConfig.Builder setVpcName(String value)
Required. fully qualified name of the VPC Datastream will peer to.
string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The vpcName to set.
|
setVpcNameBytes(ByteString value)
public VpcPeeringConfig.Builder setVpcNameBytes(ByteString value)
Required. fully qualified name of the VPC Datastream will peer to.
string vpc_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for vpcName to set.
|