public static final class VpnConnection.VpcProject.Builder extends GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder> implements VpnConnection.VpcProjectOrBuilder
Project detail of the VPC network.
Protobuf type google.cloud.edgecontainer.v1.VpnConnection.VpcProject
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 VpnConnection.VpcProject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VpnConnection.VpcProject build()
buildPartial()
public VpnConnection.VpcProject buildPartial()
clear()
public VpnConnection.VpcProject.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpnConnection.VpcProject.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnConnection.VpcProject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProjectId()
public VpnConnection.VpcProject.Builder clearProjectId()
The project of the VPC to connect to. If not specified, it is the same as
the cluster project.
string project_id = 1;
clearServiceAccount() (deprecated)
public VpnConnection.VpcProject.Builder clearServiceAccount()
Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is
deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=610
Optional. The service account in the VPC project configured by user. It
is used to create/delete Cloud Router and Cloud HA VPNs for VPN
connection. If this SA is changed during/after a VPN connection is
created, you need to remove the Cloud Router and Cloud VPN resources in
|project_id|. It is in the form of
service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
clone()
public VpnConnection.VpcProject.Builder clone()
Overrides
getDefaultInstanceForType()
public VpnConnection.VpcProject getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProjectId()
public String getProjectId()
The project of the VPC to connect to. If not specified, it is the same as
the cluster project.
string project_id = 1;
Returns |
Type |
Description |
String |
The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
The project of the VPC to connect to. If not specified, it is the same as
the cluster project.
string project_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for projectId.
|
getServiceAccount() (deprecated)
public String getServiceAccount()
Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is
deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=610
Optional. The service account in the VPC project configured by user. It
is used to create/delete Cloud Router and Cloud HA VPNs for VPN
connection. If this SA is changed during/after a VPN connection is
created, you need to remove the Cloud Router and Cloud VPN resources in
|project_id|. It is in the form of
service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The serviceAccount.
|
getServiceAccountBytes() (deprecated)
public ByteString getServiceAccountBytes()
Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is
deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=610
Optional. The service account in the VPC project configured by user. It
is used to create/delete Cloud Router and Cloud HA VPNs for VPN
connection. If this SA is changed during/after a VPN connection is
created, you need to remove the Cloud Router and Cloud VPN resources in
|project_id|. It is in the form of
service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VpnConnection.VpcProject other)
public VpnConnection.VpcProject.Builder mergeFrom(VpnConnection.VpcProject other)
public VpnConnection.VpcProject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VpnConnection.VpcProject.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.VpcProject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VpnConnection.VpcProject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProjectId(String value)
public VpnConnection.VpcProject.Builder setProjectId(String value)
The project of the VPC to connect to. If not specified, it is the same as
the cluster project.
string project_id = 1;
Parameter |
Name |
Description |
value |
String
The projectId to set.
|
setProjectIdBytes(ByteString value)
public VpnConnection.VpcProject.Builder setProjectIdBytes(ByteString value)
The project of the VPC to connect to. If not specified, it is the same as
the cluster project.
string project_id = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for projectId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnConnection.VpcProject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServiceAccount(String value) (deprecated)
public VpnConnection.VpcProject.Builder setServiceAccount(String value)
Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is
deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=610
Optional. The service account in the VPC project configured by user. It
is used to create/delete Cloud Router and Cloud HA VPNs for VPN
connection. If this SA is changed during/after a VPN connection is
created, you need to remove the Cloud Router and Cloud VPN resources in
|project_id|. It is in the form of
service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The serviceAccount to set.
|
setServiceAccountBytes(ByteString value) (deprecated)
public VpnConnection.VpcProject.Builder setServiceAccountBytes(ByteString value)
Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is
deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=610
Optional. The service account in the VPC project configured by user. It
is used to create/delete Cloud Router and Cloud HA VPNs for VPN
connection. If this SA is changed during/after a VPN connection is
created, you need to remove the Cloud Router and Cloud VPN resources in
|project_id|. It is in the form of
service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for serviceAccount to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnConnection.VpcProject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides