public static final class DnsBindPermission.Builder extends GeneratedMessage.Builder<DnsBindPermission.Builder> implements DnsBindPermissionOrBuilderDnsBindPermission 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DnsBindPermission.BuilderImplements
DnsBindPermissionOrBuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public DnsBindPermission getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DnsBindPermission |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DnsBindPermission.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DnsBindPermission.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|