public static final class VpnConnection.VpcProject.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder> implements VpnConnection.VpcProjectOrBuilder
Project detail of the VPC network.Protobuf type
google.cloud.edgecontainer.v1.VpnConnection.VpcProject| Modifier and Type | Method and Description |
|---|---|
VpnConnection.VpcProject.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnConnection.VpcProject |
build() |
VpnConnection.VpcProject |
buildPartial() |
VpnConnection.VpcProject.Builder |
clear() |
VpnConnection.VpcProject.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VpnConnection.VpcProject.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VpnConnection.VpcProject.Builder |
clearProjectId()
The project of the VPC to connect to.
|
VpnConnection.VpcProject.Builder |
clearServiceAccount()
Optional.
|
VpnConnection.VpcProject.Builder |
clone() |
VpnConnection.VpcProject |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getProjectId()
The project of the VPC to connect to.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project of the VPC to connect to.
|
String |
getServiceAccount()
Optional.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VpnConnection.VpcProject.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VpnConnection.VpcProject.Builder |
mergeFrom(com.google.protobuf.Message other) |
VpnConnection.VpcProject.Builder |
mergeFrom(VpnConnection.VpcProject other) |
VpnConnection.VpcProject.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnConnection.VpcProject.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnConnection.VpcProject.Builder |
setProjectId(String value)
The project of the VPC to connect to.
|
VpnConnection.VpcProject.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project of the VPC to connect to.
|
VpnConnection.VpcProject.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VpnConnection.VpcProject.Builder |
setServiceAccount(String value)
Optional.
|
VpnConnection.VpcProject.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional.
|
VpnConnection.VpcProject.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpnConnection.VpcProject build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpnConnection.VpcProject buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpnConnection.VpcProject.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder mergeFrom(VpnConnection.VpcProject other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public VpnConnection.VpcProject.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.VpcProject.Builder>IOExceptionpublic 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;getProjectId in interface VpnConnection.VpcProjectOrBuilderpublic com.google.protobuf.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;getProjectIdBytes in interface VpnConnection.VpcProjectOrBuilderpublic 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;value - The projectId to set.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;public VpnConnection.VpcProject.Builder setProjectIdBytes(com.google.protobuf.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;value - The bytes for projectId to set.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];getServiceAccount in interface VpnConnection.VpcProjectOrBuilderpublic com.google.protobuf.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];getServiceAccountBytes in interface VpnConnection.VpcProjectOrBuilderpublic 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];value - The serviceAccount to set.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];public VpnConnection.VpcProject.Builder setServiceAccountBytes(com.google.protobuf.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];value - The bytes for serviceAccount to set.public final VpnConnection.VpcProject.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>public final VpnConnection.VpcProject.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnConnection.VpcProject.Builder>Copyright © 2024 Google LLC. All rights reserved.