public final class ListPoliciesResponse extends GeneratedMessageV3 implements ListPoliciesResponseOrBuilder
The response returned from the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty if no `Policies` are set on the resource.Protobuf type
google.cloud.orgpolicy.v2.ListPoliciesResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ListPoliciesResponse.Builder
The response returned from the [ListPolicies]
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
POLICIES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int POLICIES_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public List<Policy> getPoliciesList()
All `Policies` that exist on the resource. It will be empty if no `Policies` are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;getPoliciesList in interface ListPoliciesResponseOrBuilderpublic List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()
All `Policies` that exist on the resource. It will be empty if no `Policies` are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;getPoliciesOrBuilderList in interface ListPoliciesResponseOrBuilderpublic int getPoliciesCount()
All `Policies` that exist on the resource. It will be empty if no `Policies` are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;getPoliciesCount in interface ListPoliciesResponseOrBuilderpublic Policy getPolicies(int index)
All `Policies` that exist on the resource. It will be empty if no `Policies` are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;getPolicies in interface ListPoliciesResponseOrBuilderpublic PolicyOrBuilder getPoliciesOrBuilder(int index)
All `Policies` that exist on the resource. It will be empty if no `Policies` are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;getPoliciesOrBuilder in interface ListPoliciesResponseOrBuilderpublic String getNextPageToken()
Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;getNextPageToken in interface ListPoliciesResponseOrBuilderpublic ByteString getNextPageTokenBytes()
Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;getNextPageTokenBytes in interface ListPoliciesResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ListPoliciesResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListPoliciesResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListPoliciesResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListPoliciesResponse parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ListPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListPoliciesResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ListPoliciesResponse.Builder newBuilder()
public static ListPoliciesResponse.Builder newBuilder(ListPoliciesResponse prototype)
public ListPoliciesResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ListPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ListPoliciesResponse getDefaultInstance()
public static Parser<ListPoliciesResponse> parser()
public Parser<ListPoliciesResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ListPoliciesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.