public final class GetPolicyOptions extends GeneratedMessageV3 implements GetPolicyOptionsOrBuilder
Encapsulates settings provided to GetIamPolicy.
Protobuf type google.iam.v1.GetPolicyOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetPolicyOptionsImplements
GetPolicyOptionsOrBuilderStatic Fields
REQUESTED_POLICY_VERSION_FIELD_NUMBER
public static final int REQUESTED_POLICY_VERSION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GetPolicyOptions getDefaultInstance()
Type | Description |
GetPolicyOptions |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static GetPolicyOptions.Builder newBuilder()
Type | Description |
GetPolicyOptions.Builder |
newBuilder(GetPolicyOptions prototype)
public static GetPolicyOptions.Builder newBuilder(GetPolicyOptions prototype)
Name | Description |
prototype | GetPolicyOptions |
Type | Description |
GetPolicyOptions.Builder |
parseDelimitedFrom(InputStream input)
public static GetPolicyOptions parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseFrom(byte[] data)
public static GetPolicyOptions parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GetPolicyOptions parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GetPolicyOptions parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseFrom(InputStream input)
public static GetPolicyOptions parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GetPolicyOptions parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetPolicyOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetPolicyOptions |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GetPolicyOptions> parser()
Type | Description |
Parser<GetPolicyOptions> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public GetPolicyOptions getDefaultInstanceForType()
Type | Description |
GetPolicyOptions |
getParserForType()
public Parser<GetPolicyOptions> getParserForType()
Type | Description |
Parser<GetPolicyOptions> |
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. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public GetPolicyOptions.Builder newBuilderForType()
Type | Description |
GetPolicyOptions.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetPolicyOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
GetPolicyOptions.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public GetPolicyOptions.Builder toBuilder()
Type | Description |
GetPolicyOptions.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |