public static final class GetPolicyOptions.Builder extends GeneratedMessageV3.Builder<GetPolicyOptions.Builder> implements GetPolicyOptionsOrBuilder
Encapsulates settings provided to GetIamPolicy.
Protobuf type google.iam.v1.GetPolicyOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetPolicyOptions.BuilderImplements
GetPolicyOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetPolicyOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetPolicyOptions.Builder |
build()
public GetPolicyOptions build()
Type | Description |
GetPolicyOptions |
buildPartial()
public GetPolicyOptions buildPartial()
Type | Description |
GetPolicyOptions |
clear()
public GetPolicyOptions.Builder clear()
Type | Description |
GetPolicyOptions.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetPolicyOptions.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GetPolicyOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetPolicyOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GetPolicyOptions.Builder |
clearRequestedPolicyVersion()
public GetPolicyOptions.Builder clearRequestedPolicyVersion()
Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.
int32 requested_policy_version = 1;
Type | Description |
GetPolicyOptions.Builder | This builder for chaining. |
clone()
public GetPolicyOptions.Builder clone()
Type | Description |
GetPolicyOptions.Builder |
getDefaultInstanceForType()
public GetPolicyOptions getDefaultInstanceForType()
Type | Description |
GetPolicyOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRequestedPolicyVersion()
public int getRequestedPolicyVersion()
Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.
int32 requested_policy_version = 1;
Type | Description |
int | The requestedPolicyVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GetPolicyOptions other)
public GetPolicyOptions.Builder mergeFrom(GetPolicyOptions other)
Name | Description |
other | GetPolicyOptions |
Type | Description |
GetPolicyOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetPolicyOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GetPolicyOptions.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GetPolicyOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetPolicyOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetPolicyOptions.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetPolicyOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetPolicyOptions.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetPolicyOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GetPolicyOptions.Builder |
setRequestedPolicyVersion(int value)
public GetPolicyOptions.Builder setRequestedPolicyVersion(int value)
Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.
int32 requested_policy_version = 1;
Name | Description |
value | int The requestedPolicyVersion to set. |
Type | Description |
GetPolicyOptions.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetPolicyOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetPolicyOptions.Builder |