Class ListApplicablePoliciesResponse (1.6.1)

public final class ListApplicablePoliciesResponse extends GeneratedMessageV3 implements ListApplicablePoliciesResponseOrBuilder

Response message for [ListApplicablePolicies][] method.

Protobuf type google.iam.v2.ListApplicablePoliciesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListApplicablePoliciesResponse

Static Fields

INACCESSIBLE_FIELD_NUMBER

public static final int INACCESSIBLE_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

POLICIES_FIELD_NUMBER

public static final int POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListApplicablePoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListApplicablePoliciesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListApplicablePoliciesResponse.Builder newBuilder()
Returns
TypeDescription
ListApplicablePoliciesResponse.Builder

newBuilder(ListApplicablePoliciesResponse prototype)

public static ListApplicablePoliciesResponse.Builder newBuilder(ListApplicablePoliciesResponse prototype)
Parameter
NameDescription
prototypeListApplicablePoliciesResponse
Returns
TypeDescription
ListApplicablePoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListApplicablePoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListApplicablePoliciesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListApplicablePoliciesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListApplicablePoliciesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListApplicablePoliciesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListApplicablePoliciesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListApplicablePoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApplicablePoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListApplicablePoliciesResponse> parser()
Returns
TypeDescription
Parser<ListApplicablePoliciesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListApplicablePoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApplicablePoliciesResponse

getInaccessible(int index)

public String getInaccessible(int index)

A list of resources that the caller does not have permission to retrieve. List or Get can be used to get detailed error messages. Get: policies/{attachment-point}/denypolicies/{policy-id} List: policies/{attachment-point}/denypolicies

repeated string inaccessible = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The inaccessible at the given index.

getInaccessibleBytes(int index)

public ByteString getInaccessibleBytes(int index)

A list of resources that the caller does not have permission to retrieve. List or Get can be used to get detailed error messages. Get: policies/{attachment-point}/denypolicies/{policy-id} List: policies/{attachment-point}/denypolicies

repeated string inaccessible = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the inaccessible at the given index.

getInaccessibleCount()

public int getInaccessibleCount()

A list of resources that the caller does not have permission to retrieve. List or Get can be used to get detailed error messages. Get: policies/{attachment-point}/denypolicies/{policy-id} List: policies/{attachment-point}/denypolicies

repeated string inaccessible = 2;

Returns
TypeDescription
int

The count of inaccessible.

getInaccessibleList()

public ProtocolStringList getInaccessibleList()

A list of resources that the caller does not have permission to retrieve. List or Get can be used to get detailed error messages. Get: policies/{attachment-point}/denypolicies/{policy-id} List: policies/{attachment-point}/denypolicies

repeated string inaccessible = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the inaccessible.

getNextPageToken()

public String getNextPageToken()

A page token that can be used in a ListApplicablePoliciesRequest to retrieve the next page. If this field is blank, there are no additional pages.

string next_page_token = 3;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token that can be used in a ListApplicablePoliciesRequest to retrieve the next page. If this field is blank, there are no additional pages.

string next_page_token = 3;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListApplicablePoliciesResponse> getParserForType()
Returns
TypeDescription
Parser<ListApplicablePoliciesResponse>
Overrides

getPolicies(int index)

public Policy getPolicies(int index)

Ordered list starting from the resource on which this API was called then proceeding up the hierarchy. Policies for the same attachment point will be grouped, but no further ordering is guaranteed.

repeated .google.iam.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Policy

getPoliciesCount()

public int getPoliciesCount()

Ordered list starting from the resource on which this API was called then proceeding up the hierarchy. Policies for the same attachment point will be grouped, but no further ordering is guaranteed.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
int

getPoliciesList()

public List<Policy> getPoliciesList()

Ordered list starting from the resource on which this API was called then proceeding up the hierarchy. Policies for the same attachment point will be grouped, but no further ordering is guaranteed.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
List<Policy>

getPoliciesOrBuilder(int index)

public PolicyOrBuilder getPoliciesOrBuilder(int index)

Ordered list starting from the resource on which this API was called then proceeding up the hierarchy. Policies for the same attachment point will be grouped, but no further ordering is guaranteed.

repeated .google.iam.v2.Policy policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PolicyOrBuilder

getPoliciesOrBuilderList()

public List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()

Ordered list starting from the resource on which this API was called then proceeding up the hierarchy. Policies for the same attachment point will be grouped, but no further ordering is guaranteed.

repeated .google.iam.v2.Policy policies = 1;

Returns
TypeDescription
List<? extends com.google.iam.v2.PolicyOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListApplicablePoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListApplicablePoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListApplicablePoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListApplicablePoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListApplicablePoliciesResponse.Builder toBuilder()
Returns
TypeDescription
ListApplicablePoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException