Class PrivilegedAccess (0.6.0)

public final class PrivilegedAccess extends GeneratedMessageV3 implements PrivilegedAccessOrBuilder

Privileged access that this service can be used to gate.

Protobuf type google.cloud.privilegedaccessmanager.v1.PrivilegedAccess

Static Fields

GCP_IAM_ACCESS_FIELD_NUMBER

public static final int GCP_IAM_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivilegedAccess getDefaultInstance()
Returns
Type Description
PrivilegedAccess

getDescriptor()

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

newBuilder()

public static PrivilegedAccess.Builder newBuilder()
Returns
Type Description
PrivilegedAccess.Builder

newBuilder(PrivilegedAccess prototype)

public static PrivilegedAccess.Builder newBuilder(PrivilegedAccess prototype)
Parameter
Name Description
prototype PrivilegedAccess
Returns
Type Description
PrivilegedAccess.Builder

parseDelimitedFrom(InputStream input)

public static PrivilegedAccess parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivilegedAccess parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivilegedAccess parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivilegedAccess parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivilegedAccess parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivilegedAccess parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivilegedAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivilegedAccess
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivilegedAccess> parser()
Returns
Type Description
Parser<PrivilegedAccess>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessTypeCase()

public PrivilegedAccess.AccessTypeCase getAccessTypeCase()
Returns
Type Description
PrivilegedAccess.AccessTypeCase

getDefaultInstanceForType()

public PrivilegedAccess getDefaultInstanceForType()
Returns
Type Description
PrivilegedAccess

getGcpIamAccess()

public PrivilegedAccess.GcpIamAccess getGcpIamAccess()

Access to a Google Cloud resource through IAM.

.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess gcp_iam_access = 1;

Returns
Type Description
PrivilegedAccess.GcpIamAccess

The gcpIamAccess.

getGcpIamAccessOrBuilder()

public PrivilegedAccess.GcpIamAccessOrBuilder getGcpIamAccessOrBuilder()

Access to a Google Cloud resource through IAM.

.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess gcp_iam_access = 1;

Returns
Type Description
PrivilegedAccess.GcpIamAccessOrBuilder

getParserForType()

public Parser<PrivilegedAccess> getParserForType()
Returns
Type Description
Parser<PrivilegedAccess>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGcpIamAccess()

public boolean hasGcpIamAccess()

Access to a Google Cloud resource through IAM.

.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess gcp_iam_access = 1;

Returns
Type Description
boolean

Whether the gcpIamAccess field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivilegedAccess.Builder newBuilderForType()
Returns
Type Description
PrivilegedAccess.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivilegedAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivilegedAccess.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivilegedAccess.Builder toBuilder()
Returns
Type Description
PrivilegedAccess.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException