Class IAMPolicy.Builder (1.55.0)

public static final class IAMPolicy.Builder extends GeneratedMessageV3.Builder<IAMPolicy.Builder> implements IAMPolicyOrBuilder

IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.

Protobuf type google.cloud.datafusion.v1beta1.IAMPolicy

Implements

IAMPolicyOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IAMPolicy build()
Returns
Type Description
IAMPolicy

buildPartial()

public IAMPolicy buildPartial()
Returns
Type Description
IAMPolicy

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicy()

public IAMPolicy.Builder clearPolicy()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
Type Description
IAMPolicy.Builder

clearStatus()

public IAMPolicy.Builder clearStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
Type Description
IAMPolicy.Builder

clone()

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

getDefaultInstanceForType()

public IAMPolicy getDefaultInstanceForType()
Returns
Type Description
IAMPolicy

getDescriptorForType()

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

getPolicy()

public Policy getPolicy()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.Policy

The policy.

getPolicyBuilder()

public Policy.Builder getPolicyBuilder()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.Policy.Builder

getPolicyOrBuilder()

public PolicyOrBuilder getPolicyOrBuilder()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
Type Description
com.google.iam.v1.PolicyOrBuilder

getStatus()

public Status getStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasPolicy()

public boolean hasPolicy()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
Type Description
boolean

Whether the policy field is set.

hasStatus()

public boolean hasStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IAMPolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePolicy(Policy value)

public IAMPolicy.Builder mergePolicy(Policy value)

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Parameter
Name Description
value com.google.iam.v1.Policy
Returns
Type Description
IAMPolicy.Builder

mergeStatus(Status value)

public IAMPolicy.Builder mergeStatus(Status value)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
IAMPolicy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPolicy(Policy value)

public IAMPolicy.Builder setPolicy(Policy value)

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Parameter
Name Description
value com.google.iam.v1.Policy
Returns
Type Description
IAMPolicy.Builder

setPolicy(Policy.Builder builderForValue)

public IAMPolicy.Builder setPolicy(Policy.Builder builderForValue)

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Parameter
Name Description
builderForValue com.google.iam.v1.Policy.Builder
Returns
Type Description
IAMPolicy.Builder

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

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

setStatus(Status value)

public IAMPolicy.Builder setStatus(Status value)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
IAMPolicy.Builder

setStatus(Status.Builder builderForValue)

public IAMPolicy.Builder setStatus(Status.Builder builderForValue)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
IAMPolicy.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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