Class ListPoliciesResponse (1.6.20)

public final class ListPoliciesResponse extends GeneratedMessageV3 implements ListPoliciesResponseOrBuilder

Response message for ListPolicies.

Protobuf type google.iam.v2beta.ListPoliciesResponse

Static Fields

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 ListPoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListPoliciesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListPoliciesResponse prototype)

public static ListPoliciesResponse.Builder newBuilder(ListPoliciesResponse prototype)
Parameter
NameDescription
prototypeListPoliciesResponse
Returns
TypeDescription
ListPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPoliciesResponse

getNextPageToken()

public String getNextPageToken()

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getPolicies(int index)

public Policy getPolicies(int index)

Metadata for the policies that are attached to the resource.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Policy

getPoliciesCount()

public int getPoliciesCount()

Metadata for the policies that are attached to the resource.

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

Returns
TypeDescription
int

getPoliciesList()

public List<Policy> getPoliciesList()

Metadata for the policies that are attached to the resource.

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

Returns
TypeDescription
List<Policy>

getPoliciesOrBuilder(int index)

public PolicyOrBuilder getPoliciesOrBuilder(int index)

Metadata for the policies that are attached to the resource.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PolicyOrBuilder

getPoliciesOrBuilderList()

public List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()

Metadata for the policies that are attached to the resource.

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

Returns
TypeDescription
List<? extends com.google.iam.v2beta.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 ListPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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