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 class
ResourcePolicyAggregatedList.Builder
Contains 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 int
ETAG_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
ITEMS_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
NEXT_PAGE_TOKEN_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
UNREACHABLES_FIELD_NUMBER
static int
WARNING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsItems(String key)
A list of ResourcePolicy resources.boolean
equals(Object obj)
static ResourcePolicyAggregatedList
getDefaultInstance()
ResourcePolicyAggregatedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEtag()
optional string etag = 3123477;
com.google.protobuf.ByteString
getEtagBytes()
optional string etag = 3123477;
String
getId()
[Output Only] Unique identifier for the resource; defined by the server.com.google.protobuf.ByteString
getIdBytes()
[Output Only] Unique identifier for the resource; defined by the server.Map<String,ResourcePoliciesScopedList>
getItems()
Deprecated.int
getItemsCount()
A list of ResourcePolicy resources.Map<String,ResourcePoliciesScopedList>
getItemsMap()
A list of ResourcePolicy resources.ResourcePoliciesScopedList
getItemsOrDefault(String key, ResourcePoliciesScopedList defaultValue)
A list of ResourcePolicy resources.ResourcePoliciesScopedList
getItemsOrThrow(String key)
A list of ResourcePolicy resources.String
getKind()
Type of resource.com.google.protobuf.ByteString
getKindBytes()
Type of resource.String
getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.ByteString
getNextPageTokenBytes()
[Output Only] This token allows you to get the next page of results for list requests.com.google.protobuf.Parser<ResourcePolicyAggregatedList>
getParserForType()
String
getSelfLink()
[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.int
getSerializedSize()
String
getUnreachables(int index)
[Output Only] Unreachable resources.com.google.protobuf.ByteString
getUnreachablesBytes(int index)
[Output Only] Unreachable resources.int
getUnreachablesCount()
[Output Only] Unreachable resources.com.google.protobuf.ProtocolStringList
getUnreachablesList()
[Output Only] Unreachable resources.Warning
getWarning()
[Output Only] Informational warning message.WarningOrBuilder
getWarningOrBuilder()
[Output Only] Informational warning message.boolean
hasEtag()
optional string etag = 3123477;
int
hashCode()
boolean
hasId()
[Output Only] Unique identifier for the resource; defined by the server.boolean
hasKind()
Type of resource.boolean
hasNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.boolean
hasSelfLink()
[Output Only] Server-defined URL for this resource.boolean
hasWarning()
[Output Only] Informational warning message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ResourcePolicyAggregatedList.Builder
newBuilder()
static ResourcePolicyAggregatedList.Builder
newBuilder(ResourcePolicyAggregatedList prototype)
ResourcePolicyAggregatedList.Builder
newBuilderForType()
protected ResourcePolicyAggregatedList.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ResourcePolicyAggregatedList
parseDelimitedFrom(InputStream input)
static ResourcePolicyAggregatedList
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourcePolicyAggregatedList
parseFrom(byte[] data)
static ResourcePolicyAggregatedList
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourcePolicyAggregatedList
parseFrom(com.google.protobuf.ByteString data)
static ResourcePolicyAggregatedList
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourcePolicyAggregatedList
parseFrom(com.google.protobuf.CodedInputStream input)
static ResourcePolicyAggregatedList
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourcePolicyAggregatedList
parseFrom(InputStream input)
static ResourcePolicyAggregatedList
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourcePolicyAggregatedList
parseFrom(ByteBuffer data)
static ResourcePolicyAggregatedList
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ResourcePolicyAggregatedList>
parser()
ResourcePolicyAggregatedList.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasEtag
public boolean hasEtag()
optional string etag = 3123477;
- Specified by:
hasEtag
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- Whether the etag field is set.
-
getEtag
public String getEtag()
optional string etag = 3123477;
- Specified by:
getEtag
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
optional string etag = 3123477;
- Specified by:
getEtagBytes
in 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:
hasId
in 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:
getId
in 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:
getIdBytes
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The bytes for id.
-
getItemsCount
public int getItemsCount()
Description copied from interface:ResourcePolicyAggregatedListOrBuilder
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;
- Specified by:
getItemsCount
in interfaceResourcePolicyAggregatedListOrBuilder
-
containsItems
public boolean containsItems(String key)
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;
- Specified by:
containsItems
in interfaceResourcePolicyAggregatedListOrBuilder
-
getItems
@Deprecated public Map<String,ResourcePoliciesScopedList> getItems()
Deprecated.UsegetItemsMap()
instead.- Specified by:
getItems
in interfaceResourcePolicyAggregatedListOrBuilder
-
getItemsMap
public Map<String,ResourcePoliciesScopedList> getItemsMap()
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;
- Specified by:
getItemsMap
in 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:
getItemsOrDefault
in interfaceResourcePolicyAggregatedListOrBuilder
-
getItemsOrThrow
public ResourcePoliciesScopedList getItemsOrThrow(String key)
A list of ResourcePolicy resources.
map<string, .google.cloud.compute.v1.ResourcePoliciesScopedList> items = 100526016;
- Specified by:
getItemsOrThrow
in interfaceResourcePolicyAggregatedListOrBuilder
-
hasKind
public boolean hasKind()
Type of resource.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
Type of resource.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
Type of resource.
optional string kind = 3292052;
- Specified by:
getKindBytes
in 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:
hasNextPageToken
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The bytes for selfLink.
-
getUnreachablesList
public com.google.protobuf.ProtocolStringList getUnreachablesList()
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;
- Specified by:
getUnreachablesList
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- A list containing the unreachables.
-
getUnreachablesCount
public int getUnreachablesCount()
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;
- Specified by:
getUnreachablesCount
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The count of unreachables.
-
getUnreachables
public String getUnreachables(int index)
[Output Only] Unreachable resources.
repeated string unreachables = 243372063;
- Specified by:
getUnreachables
in 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:
getUnreachablesBytes
in 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:
hasWarning
in 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:
getWarning
in interfaceResourcePolicyAggregatedListOrBuilder
- Returns:
- The warning.
-
getWarningOrBuilder
public WarningOrBuilder getWarningOrBuilder()
[Output Only] Informational warning message.
optional .google.cloud.compute.v1.Warning warning = 50704284;
- Specified by:
getWarningOrBuilder
in interfaceResourcePolicyAggregatedListOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResourcePolicyAggregatedList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResourcePolicyAggregatedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-