Class PrivilegedAccess.Builder (0.7.0)

public static final class PrivilegedAccess.Builder extends GeneratedMessageV3.Builder<PrivilegedAccess.Builder> implements PrivilegedAccessOrBuilder

Privileged access that this service can be used to gate.

Protobuf type google.cloud.privilegedaccessmanager.v1.PrivilegedAccess

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivilegedAccess build()
Returns
Type Description
PrivilegedAccess

buildPartial()

public PrivilegedAccess buildPartial()
Returns
Type Description
PrivilegedAccess

clear()

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

clearAccessType()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcpIamAccess()

public PrivilegedAccess.Builder clearGcpIamAccess()

Access to a Google Cloud resource through IAM.

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

Returns
Type Description
PrivilegedAccess.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccessTypeCase()

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

getDefaultInstanceForType()

public PrivilegedAccess getDefaultInstanceForType()
Returns
Type Description
PrivilegedAccess

getDescriptorForType()

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

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.

getGcpIamAccessBuilder()

public PrivilegedAccess.GcpIamAccess.Builder getGcpIamAccessBuilder()

Access to a Google Cloud resource through IAM.

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

Returns
Type Description
PrivilegedAccess.GcpIamAccess.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivilegedAccess other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcpIamAccess(PrivilegedAccess.GcpIamAccess value)

public PrivilegedAccess.Builder mergeGcpIamAccess(PrivilegedAccess.GcpIamAccess value)

Access to a Google Cloud resource through IAM.

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

Parameter
Name Description
value PrivilegedAccess.GcpIamAccess
Returns
Type Description
PrivilegedAccess.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcpIamAccess(PrivilegedAccess.GcpIamAccess value)

public PrivilegedAccess.Builder setGcpIamAccess(PrivilegedAccess.GcpIamAccess value)

Access to a Google Cloud resource through IAM.

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

Parameter
Name Description
value PrivilegedAccess.GcpIamAccess
Returns
Type Description
PrivilegedAccess.Builder

setGcpIamAccess(PrivilegedAccess.GcpIamAccess.Builder builderForValue)

public PrivilegedAccess.Builder setGcpIamAccess(PrivilegedAccess.GcpIamAccess.Builder builderForValue)

Access to a Google Cloud resource through IAM.

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

Parameter
Name Description
builderForValue PrivilegedAccess.GcpIamAccess.Builder
Returns
Type Description
PrivilegedAccess.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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