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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IAMPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public IAMPolicy buildPartial()
Returns
clear()
public IAMPolicy.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public IAMPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IAMPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPolicy()
public IAMPolicy.Builder clearPolicy()
Policy definition if IAM policy fetching is successful,
otherwise empty.
.google.iam.v1.Policy policy = 1;
Returns
clearStatus()
public IAMPolicy.Builder clearStatus()
Status of iam policy fetching.
.google.rpc.Status status = 2;
Returns
clone()
public IAMPolicy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public IAMPolicy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(IAMPolicy other)
public IAMPolicy.Builder mergeFrom(IAMPolicy other)
Parameter
Returns
public IAMPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IAMPolicy.Builder mergeFrom(Message other)
Parameter
Returns
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
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IAMPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public IAMPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IAMPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final IAMPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides