Class VpnConnection.VpcProject.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder>
com.google.cloud.edgecontainer.v1.VpnConnection.VpcProject.Builder
All Implemented Interfaces:
VpnConnection.VpcProjectOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VpnConnection.VpcProject

public static final class VpnConnection.VpcProject.Builder extends com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder> implements VpnConnection.VpcProjectOrBuilder
 Project detail of the VPC network.
 
Protobuf type google.cloud.edgecontainer.v1.VpnConnection.VpcProject
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder>
    • getDefaultInstanceForType

      public VpnConnection.VpcProject getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public VpnConnection.VpcProject build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public VpnConnection.VpcProject buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public VpnConnection.VpcProject.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.VpcProject.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<VpnConnection.VpcProject.Builder>
    • mergeFrom

      public VpnConnection.VpcProject.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnConnection.VpcProject.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getProjectId in interface VpnConnection.VpcProjectOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public 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;
      Specified by:
      getProjectIdBytes in interface VpnConnection.VpcProjectOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      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;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      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;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getServiceAccount

      @Deprecated public String getServiceAccount()
      Deprecated.
      google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=680
       Optional. Deprecated: do not use.
       
      string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccount in interface VpnConnection.VpcProjectOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      @Deprecated public com.google.protobuf.ByteString getServiceAccountBytes()
      Deprecated.
      google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=680
       Optional. Deprecated: do not use.
       
      string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccountBytes in interface VpnConnection.VpcProjectOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      @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=680
       Optional. Deprecated: do not use.
       
      string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • 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=680
       Optional. Deprecated: do not use.
       
      string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      @Deprecated public VpnConnection.VpcProject.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=680
       Optional. Deprecated: do not use.
       
      string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.