Class DnsBindPermission.Builder

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

public static final class DnsBindPermission.Builder extends com.google.protobuf.GeneratedMessage.Builder<DnsBindPermission.Builder> implements DnsBindPermissionOrBuilder
 DnsBindPermission resource that contains the accounts having the consumer DNS
 bind permission on the corresponding intranet VPC of the consumer project.
 
Protobuf type google.cloud.vmwareengine.v1.DnsBindPermission
  • 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<DnsBindPermission.Builder>
    • clear

      public DnsBindPermission.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<DnsBindPermission.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<DnsBindPermission.Builder>
    • getDefaultInstanceForType

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

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

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

      public DnsBindPermission.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<DnsBindPermission.Builder>
    • mergeFrom

      public DnsBindPermission.Builder mergeFrom(DnsBindPermission other)
    • isInitialized

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

      public DnsBindPermission.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<DnsBindPermission.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. Output only. The name of the resource which stores the
       users/service accounts having the permission to bind to the corresponding
       intranet VPC of the consumer project. DnsBindPermission is a global
       resource and location can only be global. Resource names are schemeless
       URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names. For example:
       `projects/my-project/locations/global/dnsBindPermission`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DnsBindPermissionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Output only. The name of the resource which stores the
       users/service accounts having the permission to bind to the corresponding
       intranet VPC of the consumer project. DnsBindPermission is a global
       resource and location can only be global. Resource names are schemeless
       URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names. For example:
       `projects/my-project/locations/global/dnsBindPermission`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DnsBindPermissionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DnsBindPermission.Builder setName(String value)
       Required. Output only. The name of the resource which stores the
       users/service accounts having the permission to bind to the corresponding
       intranet VPC of the consumer project. DnsBindPermission is a global
       resource and location can only be global. Resource names are schemeless
       URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names. For example:
       `projects/my-project/locations/global/dnsBindPermission`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DnsBindPermission.Builder clearName()
       Required. Output only. The name of the resource which stores the
       users/service accounts having the permission to bind to the corresponding
       intranet VPC of the consumer project. DnsBindPermission is a global
       resource and location can only be global. Resource names are schemeless
       URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names. For example:
       `projects/my-project/locations/global/dnsBindPermission`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DnsBindPermission.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Output only. The name of the resource which stores the
       users/service accounts having the permission to bind to the corresponding
       intranet VPC of the consumer project. DnsBindPermission is a global
       resource and location can only be global. Resource names are schemeless
       URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names. For example:
       `projects/my-project/locations/global/dnsBindPermission`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPrincipalsList

      public List<Principal> getPrincipalsList()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrincipalsList in interface DnsBindPermissionOrBuilder
    • getPrincipalsCount

      public int getPrincipalsCount()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrincipalsCount in interface DnsBindPermissionOrBuilder
    • getPrincipals

      public Principal getPrincipals(int index)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrincipals in interface DnsBindPermissionOrBuilder
    • setPrincipals

      public DnsBindPermission.Builder setPrincipals(int index, Principal value)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPrincipals

      public DnsBindPermission.Builder setPrincipals(int index, Principal.Builder builderForValue)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrincipals

      public DnsBindPermission.Builder addPrincipals(Principal value)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrincipals

      public DnsBindPermission.Builder addPrincipals(int index, Principal value)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrincipals

      public DnsBindPermission.Builder addPrincipals(Principal.Builder builderForValue)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrincipals

      public DnsBindPermission.Builder addPrincipals(int index, Principal.Builder builderForValue)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPrincipals

      public DnsBindPermission.Builder addAllPrincipals(Iterable<? extends Principal> values)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPrincipals

      public DnsBindPermission.Builder clearPrincipals()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePrincipals

      public DnsBindPermission.Builder removePrincipals(int index)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrincipalsBuilder

      public Principal.Builder getPrincipalsBuilder(int index)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrincipalsOrBuilder

      public PrincipalOrBuilder getPrincipalsOrBuilder(int index)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrincipalsOrBuilder in interface DnsBindPermissionOrBuilder
    • getPrincipalsOrBuilderList

      public List<? extends PrincipalOrBuilder> getPrincipalsOrBuilderList()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrincipalsOrBuilderList in interface DnsBindPermissionOrBuilder
    • addPrincipalsBuilder

      public Principal.Builder addPrincipalsBuilder()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrincipalsBuilder

      public Principal.Builder addPrincipalsBuilder(int index)
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrincipalsBuilderList

      public List<Principal.Builder> getPrincipalsBuilderList()
       Output only. Users/Service accounts which have access for binding on the
       intranet VPC project corresponding to the consumer project.
       
      repeated .google.cloud.vmwareengine.v1.Principal principals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];