- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public interface CleanupPolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAction()
public abstract CleanupPolicy.Action getAction()
Policy action.
.google.devtools.artifactregistry.v1.CleanupPolicy.Action action = 3;
Returns | |
---|---|
Type | Description |
CleanupPolicy.Action |
The action. |
getActionValue()
public abstract int getActionValue()
Policy action.
.google.devtools.artifactregistry.v1.CleanupPolicy.Action action = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for action. |
getCondition()
public abstract CleanupPolicyCondition getCondition()
Policy condition for matching versions.
.google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
Returns | |
---|---|
Type | Description |
CleanupPolicyCondition |
The condition. |
getConditionOrBuilder()
public abstract CleanupPolicyConditionOrBuilder getConditionOrBuilder()
Policy condition for matching versions.
.google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
Returns | |
---|---|
Type | Description |
CleanupPolicyConditionOrBuilder |
getConditionTypeCase()
public abstract CleanupPolicy.ConditionTypeCase getConditionTypeCase()
Returns | |
---|---|
Type | Description |
CleanupPolicy.ConditionTypeCase |
getId()
public abstract String getId()
The user-provided ID of the cleanup policy.
string id = 1;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()
The user-provided ID of the cleanup policy.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getMostRecentVersions()
public abstract CleanupPolicyMostRecentVersions getMostRecentVersions()
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
.google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
Returns | |
---|---|
Type | Description |
CleanupPolicyMostRecentVersions |
The mostRecentVersions. |
getMostRecentVersionsOrBuilder()
public abstract CleanupPolicyMostRecentVersionsOrBuilder getMostRecentVersionsOrBuilder()
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
.google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
Returns | |
---|---|
Type | Description |
CleanupPolicyMostRecentVersionsOrBuilder |
hasCondition()
public abstract boolean hasCondition()
Policy condition for matching versions.
.google.devtools.artifactregistry.v1.CleanupPolicyCondition condition = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the condition field is set. |
hasMostRecentVersions()
public abstract boolean hasMostRecentVersions()
Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.
.google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersions most_recent_versions = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the mostRecentVersions field is set. |