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