Class IAMPolicy.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IAMPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IAMPolicy.Builder
Overrides

build()

public IAMPolicy build()
Returns
TypeDescription
IAMPolicy

buildPartial()

public IAMPolicy buildPartial()
Returns
TypeDescription
IAMPolicy

clear()

public IAMPolicy.Builder clear()
Returns
TypeDescription
IAMPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IAMPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IAMPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IAMPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
IAMPolicy.Builder

clearStatus()

public IAMPolicy.Builder clearStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
IAMPolicy.Builder

clone()

public IAMPolicy.Builder clone()
Returns
TypeDescription
IAMPolicy.Builder
Overrides

getDefaultInstanceForType()

public IAMPolicy getDefaultInstanceForType()
Returns
TypeDescription
IAMPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPolicy()

public Policy getPolicy()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.iam.v1.PolicyOrBuilder

getStatus()

public Status getStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the policy field is set.

hasStatus()

public boolean hasStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IAMPolicy other)

public IAMPolicy.Builder mergeFrom(IAMPolicy other)
Parameter
NameDescription
otherIAMPolicy
Returns
TypeDescription
IAMPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IAMPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IAMPolicy.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IAMPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
IAMPolicy.Builder

mergeStatus(Status value)

public IAMPolicy.Builder mergeStatus(Status value)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
IAMPolicy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IAMPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IAMPolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IAMPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.iam.v1.Policy
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.iam.v1.Policy.Builder
Returns
TypeDescription
IAMPolicy.Builder

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

public IAMPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IAMPolicy.Builder
Overrides

setStatus(Status value)

public IAMPolicy.Builder setStatus(Status value)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
IAMPolicy.Builder

setStatus(Status.Builder builderForValue)

public IAMPolicy.Builder setStatus(Status.Builder builderForValue)

Status of iam policy fetching.

.google.rpc.Status status = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
IAMPolicy.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final IAMPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IAMPolicy.Builder
Overrides