Class DnsBindPermission (0.28.0)

public final class DnsBindPermission extends GeneratedMessageV3 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 Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRINCIPALS_FIELD_NUMBER

public static final int PRINCIPALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsBindPermission getDefaultInstance()
Returns
TypeDescription
DnsBindPermission

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DnsBindPermission.Builder newBuilder()
Returns
TypeDescription
DnsBindPermission.Builder

newBuilder(DnsBindPermission prototype)

public static DnsBindPermission.Builder newBuilder(DnsBindPermission prototype)
Parameter
NameDescription
prototypeDnsBindPermission
Returns
TypeDescription
DnsBindPermission.Builder

parseDelimitedFrom(InputStream input)

public static DnsBindPermission parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DnsBindPermission parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsBindPermission parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsBindPermission parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DnsBindPermission parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DnsBindPermission parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsBindPermission parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsBindPermission
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DnsBindPermission> parser()
Returns
TypeDescription
Parser<DnsBindPermission>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DnsBindPermission getDefaultInstanceForType()
Returns
TypeDescription
DnsBindPermission

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.

getParserForType()

public Parser<DnsBindPermission> getParserForType()
Returns
TypeDescription
Parser<DnsBindPermission>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DnsBindPermission.Builder newBuilderForType()
Returns
TypeDescription
DnsBindPermission.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsBindPermission.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DnsBindPermission.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DnsBindPermission.Builder toBuilder()
Returns
TypeDescription
DnsBindPermission.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException