Class DnsBindPermission.Builder (0.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.Principal>
Returns
TypeDescription
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
NameDescription
valuePrincipal
Returns
TypeDescription
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
NameDescription
builderForValuePrincipal.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePrincipal
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrincipal.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Principal.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsBindPermission.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

build()

public DnsBindPermission build()
Returns
TypeDescription
DnsBindPermission

buildPartial()

public DnsBindPermission buildPartial()
Returns
TypeDescription
DnsBindPermission

clear()

public DnsBindPermission.Builder clear()
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DnsBindPermission.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DnsBindPermission.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsBindPermission.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DnsBindPermission.Builder

clone()

public DnsBindPermission.Builder clone()
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

getDefaultInstanceForType()

public DnsBindPermission getDefaultInstanceForType()
Returns
TypeDescription
DnsBindPermission

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vmwareengine.v1.PrincipalOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DnsBindPermission other)

public DnsBindPermission.Builder mergeFrom(DnsBindPermission other)
Parameter
NameDescription
otherDnsBindPermission
Returns
TypeDescription
DnsBindPermission.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DnsBindPermission.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DnsBindPermission.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsBindPermission.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DnsBindPermission.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DnsBindPermission.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePrincipal
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePrincipal.Builder
Returns
TypeDescription
DnsBindPermission.Builder

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

public DnsBindPermission.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsBindPermission.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DnsBindPermission.Builder
Overrides