Package com.google.cloud.compute.v1
Class ResourcePolicyAggregatedList
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.ResourcePolicyAggregatedList
-
- All Implemented Interfaces:
ResourcePolicyAggregatedListOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ResourcePolicyAggregatedList extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicyAggregatedListOrBuilder
Contains a list of resourcePolicies.
Protobuf typegoogle.cloud.compute.v1.ResourcePolicyAggregatedList- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourcePolicyAggregatedList.BuilderContains a list of resourcePolicies.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intETAG_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intITEMS_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNEXT_PAGE_TOKEN_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intUNREACHABLES_FIELD_NUMBERstatic intWARNING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsItems(String key)A list of ResourcePolicy resources.booleanequals(Object obj)static ResourcePolicyAggregatedListgetDefaultInstance()ResourcePolicyAggregatedListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()optional string etag = 3123477;com.google.protobuf.ByteStringgetEtagBytes()optional string etag = 3123477;StringgetId()[Output Only] Unique identifier for the resource; defined by the server.com.google.protobuf.ByteStringgetIdBytes()[Output Only] Unique identifier for the resource; defined by the server.Map<String,ResourcePoliciesScopedList>getItems()Deprecated.intgetItemsCount()A list of ResourcePolicy resources.Map<String,ResourcePoliciesScopedList>getItemsMap()A list of ResourcePolicy resources.ResourcePoliciesScopedListgetItemsOrDefault(String key, ResourcePoliciesScopedList defaultValue)A list of ResourcePolicy resources.ResourcePoliciesScopedListgetItemsOrThrow(String key)A list of ResourcePolicy resources.StringgetKind()Type of resource.com.google.protobuf.ByteStringgetKindBytes()Type of resource.StringgetNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.ByteStringgetNextPageTokenBytes()[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.Parser<ResourcePolicyAggregatedList>getParserForType()StringgetSelfLink()[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for this resource.intgetSerializedSize()StringgetUnreachables(int index)[Output Only] Unreachable resources.com.google.protobuf.ByteStringgetUnreachablesBytes(int index)[Output Only] Unreachable resources.intgetUnreachablesCount()[Output Only] Unreachable resources.com.google.protobuf.ProtocolStringListgetUnreachablesList()[Output Only] Unreachable resources.WarninggetWarning()[Output Only] Informational warning message.WarningOrBuildergetWarningOrBuilder()[Output Only] Informational warning message.booleanhasEtag()optional string etag = 3123477;inthashCode()booleanhasId()[Output Only] Unique identifier for the resource; defined by the server.booleanhasKind()Type of resource.booleanhasNextPageToken()[Output Only] This token allows you to get the next page of results for list requests.booleanhasSelfLink()[Output Only] Server-defined URL for this resource.booleanhasWarning()[Output Only] Informational warning message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ResourcePolicyAggregatedList.BuildernewBuilder()static ResourcePolicyAggregatedList.BuildernewBuilder(ResourcePolicyAggregatedList prototype)ResourcePolicyAggregatedList.BuildernewBuilderForType()protected ResourcePolicyAggregatedList.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ResourcePolicyAggregatedListparseDelimitedFrom(InputStream input)static ResourcePolicyAggregatedListparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResourcePolicyAggregatedListparseFrom(byte[] data)static ResourcePolicyAggregatedListparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResourcePolicyAggregatedListparseFrom(com.google.protobuf.ByteString data)static ResourcePolicyAggregatedListparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResourcePolicyAggregatedListparseFrom(com.google.protobuf.CodedInputStream input)static ResourcePolicyAggregatedListparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResourcePolicyAggregatedListparseFrom(InputStream input)static ResourcePolicyAggregatedListparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResourcePolicyAggregatedListparseFrom(ByteBuffer data)static ResourcePolicyAggregatedListparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ResourcePolicyAggregatedList>parser()ResourcePolicyAggregatedList.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNREACHABLES_FIELD_NUMBER
public static final int UNREACHABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WARNING_FIELD_NUMBER
public static final int WARNING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasEtag
public boolean hasEtag()
optional string etag = 3123477;- Specified by:
hasEtagin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the etag field is set.
-
getEtag
public String getEtag()
optional string etag = 3123477;- Specified by:
getEtagin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
optional string etag = 3123477;- Specified by:
getEtagBytesin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The bytes for etag.
-
hasId
public boolean hasId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
hasIdin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.
optional string id = 3355;- Specified by:
getIdBytesin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The bytes for id.
-
getItemsCount
public int getItemsCount()
Description copied from interface:ResourcePolicyAggregatedListOrBuilderA list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;- Specified by:
getItemsCountin interfaceResourcePolicyAggregatedListOrBuilder
-
containsItems
public boolean containsItems(String key)
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;- Specified by:
containsItemsin interfaceResourcePolicyAggregatedListOrBuilder
-
getItems
@Deprecated public Map<String,ResourcePoliciesScopedList> getItems()
Deprecated.UsegetItemsMap()instead.- Specified by:
getItemsin interfaceResourcePolicyAggregatedListOrBuilder
-
getItemsMap
public Map<String,ResourcePoliciesScopedList> getItemsMap()
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;- Specified by:
getItemsMapin interfaceResourcePolicyAggregatedListOrBuilder
-
getItemsOrDefault
public ResourcePoliciesScopedList getItemsOrDefault(String key, ResourcePoliciesScopedList defaultValue)
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;- Specified by:
getItemsOrDefaultin interfaceResourcePolicyAggregatedListOrBuilder
-
getItemsOrThrow
public ResourcePoliciesScopedList getItemsOrThrow(String key)
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;- Specified by:
getItemsOrThrowin interfaceResourcePolicyAggregatedListOrBuilder
-
hasKind
public boolean hasKind()
Type of resource.
optional string kind = 3292052;- Specified by:
hasKindin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
Type of resource.
optional string kind = 3292052;- Specified by:
getKindin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
Type of resource.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The bytes for kind.
-
hasNextPageToken
public boolean hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
hasNextPageTokenin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
public String getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
getNextPageTokenin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
optional string next_page_token = 79797525;- Specified by:
getNextPageTokenBytesin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The bytes for nextPageToken.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The bytes for selfLink.
-
getUnreachablesList
public com.google.protobuf.ProtocolStringList getUnreachablesList()
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;- Specified by:
getUnreachablesListin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- A list containing the unreachables.
-
getUnreachablesCount
public int getUnreachablesCount()
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;- Specified by:
getUnreachablesCountin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The count of unreachables.
-
getUnreachables
public String getUnreachables(int index)
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;- Specified by:
getUnreachablesin interfaceResourcePolicyAggregatedListOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachables at the given index.
-
getUnreachablesBytes
public com.google.protobuf.ByteString getUnreachablesBytes(int index)
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;- Specified by:
getUnreachablesBytesin interfaceResourcePolicyAggregatedListOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachables at the given index.
-
hasWarning
public boolean hasWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
hasWarningin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- Whether the warning field is set.
-
getWarning
public Warning getWarning()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningin interfaceResourcePolicyAggregatedListOrBuilder- Returns:
- The warning.
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;- Specified by:
getWarningOrBuilderin interfaceResourcePolicyAggregatedListOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ResourcePolicyAggregatedList parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ResourcePolicyAggregatedList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ResourcePolicyAggregatedList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ResourcePolicyAggregatedList.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ResourcePolicyAggregatedList.Builder newBuilder()
-
newBuilder
public static ResourcePolicyAggregatedList.Builder newBuilder(ResourcePolicyAggregatedList prototype)
-
toBuilder
public ResourcePolicyAggregatedList.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResourcePolicyAggregatedList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ResourcePolicyAggregatedList getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ResourcePolicyAggregatedList> parser()
-
getParserForType
public com.google.protobuf.Parser<ResourcePolicyAggregatedList> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResourcePolicyAggregatedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-