Interface CleanupPolicyConditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CleanupPolicyCondition,CleanupPolicyCondition.Builder
@Generated
public interface CleanupPolicyConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationMatch versions newer than a duration.com.google.protobuf.DurationOrBuilderMatch versions newer than a duration.com.google.protobuf.DurationMatch versions older than a duration.com.google.protobuf.DurationOrBuilderMatch versions older than a duration.getPackageNamePrefixes(int index) Match versions by package prefix.com.google.protobuf.ByteStringgetPackageNamePrefixesBytes(int index) Match versions by package prefix.intMatch versions by package prefix.Match versions by package prefix.getTagPrefixes(int index) Match versions by tag prefix.com.google.protobuf.ByteStringgetTagPrefixesBytes(int index) Match versions by tag prefix.intMatch versions by tag prefix.Match versions by tag prefix.Match versions by tag status.intMatch versions by tag status.getVersionNamePrefixes(int index) Match versions by version name prefix.com.google.protobuf.ByteStringgetVersionNamePrefixesBytes(int index) Match versions by version name prefix.intMatch versions by version name prefix.Match versions by version name prefix.booleanMatch versions newer than a duration.booleanMatch versions older than a duration.booleanMatch versions by tag status.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTagState
boolean hasTagState()Match versions by tag status.
optional .google.devtools.artifactregistry.v1.CleanupPolicyCondition.TagState tag_state = 2;- Returns:
- Whether the tagState field is set.
-
getTagStateValue
int getTagStateValue()Match versions by tag status.
optional .google.devtools.artifactregistry.v1.CleanupPolicyCondition.TagState tag_state = 2;- Returns:
- The enum numeric value on the wire for tagState.
-
getTagState
CleanupPolicyCondition.TagState getTagState()Match versions by tag status.
optional .google.devtools.artifactregistry.v1.CleanupPolicyCondition.TagState tag_state = 2;- Returns:
- The tagState.
-
getTagPrefixesList
Match versions by tag prefix. Applied on any prefix match.
repeated string tag_prefixes = 3;- Returns:
- A list containing the tagPrefixes.
-
getTagPrefixesCount
int getTagPrefixesCount()Match versions by tag prefix. Applied on any prefix match.
repeated string tag_prefixes = 3;- Returns:
- The count of tagPrefixes.
-
getTagPrefixes
Match versions by tag prefix. Applied on any prefix match.
repeated string tag_prefixes = 3;- Parameters:
index- The index of the element to return.- Returns:
- The tagPrefixes at the given index.
-
getTagPrefixesBytes
com.google.protobuf.ByteString getTagPrefixesBytes(int index) Match versions by tag prefix. Applied on any prefix match.
repeated string tag_prefixes = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tagPrefixes at the given index.
-
getVersionNamePrefixesList
Match versions by version name prefix. Applied on any prefix match.
repeated string version_name_prefixes = 4;- Returns:
- A list containing the versionNamePrefixes.
-
getVersionNamePrefixesCount
int getVersionNamePrefixesCount()Match versions by version name prefix. Applied on any prefix match.
repeated string version_name_prefixes = 4;- Returns:
- The count of versionNamePrefixes.
-
getVersionNamePrefixes
Match versions by version name prefix. Applied on any prefix match.
repeated string version_name_prefixes = 4;- Parameters:
index- The index of the element to return.- Returns:
- The versionNamePrefixes at the given index.
-
getVersionNamePrefixesBytes
com.google.protobuf.ByteString getVersionNamePrefixesBytes(int index) Match versions by version name prefix. Applied on any prefix match.
repeated string version_name_prefixes = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the versionNamePrefixes at the given index.
-
getPackageNamePrefixesList
Match versions by package prefix. Applied on any prefix match.
repeated string package_name_prefixes = 5;- Returns:
- A list containing the packageNamePrefixes.
-
getPackageNamePrefixesCount
int getPackageNamePrefixesCount()Match versions by package prefix. Applied on any prefix match.
repeated string package_name_prefixes = 5;- Returns:
- The count of packageNamePrefixes.
-
getPackageNamePrefixes
Match versions by package prefix. Applied on any prefix match.
repeated string package_name_prefixes = 5;- Parameters:
index- The index of the element to return.- Returns:
- The packageNamePrefixes at the given index.
-
getPackageNamePrefixesBytes
com.google.protobuf.ByteString getPackageNamePrefixesBytes(int index) Match versions by package prefix. Applied on any prefix match.
repeated string package_name_prefixes = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the packageNamePrefixes at the given index.
-
hasOlderThan
boolean hasOlderThan()Match versions older than a duration.
optional .google.protobuf.Duration older_than = 6;- Returns:
- Whether the olderThan field is set.
-
getOlderThan
com.google.protobuf.Duration getOlderThan()Match versions older than a duration.
optional .google.protobuf.Duration older_than = 6;- Returns:
- The olderThan.
-
getOlderThanOrBuilder
com.google.protobuf.DurationOrBuilder getOlderThanOrBuilder()Match versions older than a duration.
optional .google.protobuf.Duration older_than = 6; -
hasNewerThan
boolean hasNewerThan()Match versions newer than a duration.
optional .google.protobuf.Duration newer_than = 7;- Returns:
- Whether the newerThan field is set.
-
getNewerThan
com.google.protobuf.Duration getNewerThan()Match versions newer than a duration.
optional .google.protobuf.Duration newer_than = 7;- Returns:
- The newerThan.
-
getNewerThanOrBuilder
com.google.protobuf.DurationOrBuilder getNewerThanOrBuilder()Match versions newer than a duration.
optional .google.protobuf.Duration newer_than = 7;
-