Class DnsBindPermission.Builder (0.49.0)

public static final class DnsBindPermission.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPrincipals(Iterable<? extends Principal> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.Principal>
Returns
Type Description
DnsBindPermission.Builder

addPrincipals(Principal value)

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];

Parameter
Name Description
value Principal
Returns
Type Description
DnsBindPermission.Builder

addPrincipals(Principal.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Principal.Builder
Returns
Type Description
DnsBindPermission.Builder

addPrincipals(int index, Principal value)

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];

Parameters
Name Description
index int
value Principal
Returns
Type Description
DnsBindPermission.Builder

addPrincipals(int index, Principal.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Principal.Builder
Returns
Type Description
DnsBindPermission.Builder

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];

Returns
Type Description
Principal.Builder

addPrincipalsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Principal.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsBindPermission.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsBindPermission.Builder
Overrides

build()

public DnsBindPermission build()
Returns
Type Description
DnsBindPermission

buildPartial()

public DnsBindPermission buildPartial()
Returns
Type Description
DnsBindPermission

clear()

public DnsBindPermission.Builder clear()
Returns
Type Description
DnsBindPermission.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DnsBindPermission.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DnsBindPermission.Builder
Overrides

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
Type Description
DnsBindPermission.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsBindPermission.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DnsBindPermission.Builder
Overrides

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];

Returns
Type Description
DnsBindPermission.Builder

clone()

public DnsBindPermission.Builder clone()
Returns
Type Description
DnsBindPermission.Builder
Overrides

getDefaultInstanceForType()

public DnsBindPermission getDefaultInstanceForType()
Returns
Type Description
DnsBindPermission

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getPrincipals(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Principal

getPrincipalsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Principal.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<Principal>

getPrincipalsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
PrincipalOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.PrincipalOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DnsBindPermission other)

public DnsBindPermission.Builder mergeFrom(DnsBindPermission other)
Parameter
Name Description
other DnsBindPermission
Returns
Type Description
DnsBindPermission.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DnsBindPermission.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsBindPermission.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DnsBindPermission.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DnsBindPermission.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsBindPermission.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsBindPermission.Builder
Overrides

removePrincipals(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
DnsBindPermission.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DnsBindPermission.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsBindPermission.Builder
Overrides

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DnsBindPermission.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DnsBindPermission.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DnsBindPermission.Builder

This builder for chaining.

setPrincipals(int index, Principal value)

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];

Parameters
Name Description
index int
value Principal
Returns
Type Description
DnsBindPermission.Builder

setPrincipals(int index, Principal.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Principal.Builder
Returns
Type Description
DnsBindPermission.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DnsBindPermission.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DnsBindPermission.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsBindPermission.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsBindPermission.Builder
Overrides