Send feedback
Class VpnConnection.VpcProject.Builder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.29.0 keyboard_arrow_down
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()
public VpnConnection . VpcProject . Builder clearServiceAccount ()
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 [(.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()
public String getServiceAccount ()
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 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The serviceAccount.
getServiceAccountBytes()
public ByteString getServiceAccountBytes ()
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 [(.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)
public VpnConnection . VpcProject . Builder setServiceAccount ( String value )
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 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
String
The serviceAccount to set.
setServiceAccountBytes(ByteString value)
public VpnConnection . VpcProject . Builder setServiceAccountBytes ( ByteString value )
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 [(.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]