Send feedback
Class IAMPolicy.Builder (1.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.55.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IAMPolicy . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public IAMPolicy buildPartial ()
clear()
public IAMPolicy . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IAMPolicy . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IAMPolicy . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPolicy()
public IAMPolicy . Builder clearPolicy ()
Policy definition if IAM policy fetching is successful,
otherwise empty.
.google.iam.v1.Policy policy = 1;
clearStatus()
public IAMPolicy . Builder clearStatus ()
Status of iam policy fetching.
.google.rpc.Status status = 2;
clone()
public IAMPolicy . Builder clone ()
Overrides
getDefaultInstanceForType()
public IAMPolicy getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(IAMPolicy other)
public IAMPolicy . Builder mergeFrom ( IAMPolicy other )
public IAMPolicy . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public IAMPolicy . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IAMPolicy . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public IAMPolicy . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IAMPolicy . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final IAMPolicy . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]