All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yandex/cloud/containerregistry/v1/lifecycle_policy_service.proto

package yandex.cloud.api.containerregistry.v1;

public final class LifecyclePolicyServiceOuterClass {
  private LifecyclePolicyServiceOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface GetLifecyclePolicyRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest} */ public static final class GetLifecyclePolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest) GetLifecyclePolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetLifecyclePolicyRequest.newBuilder() to construct. private GetLifecyclePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetLifecyclePolicyRequest() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetLifecyclePolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetLifecyclePolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.GetLifecyclePolicyRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetLifecyclePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetLifecyclePolicyRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetLifecyclePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListLifecyclePoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return Whether the registryId field is set. */ boolean hasRegistryId(); /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The registryId. */ java.lang.String getRegistryId(); /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for registryId. */ com.google.protobuf.ByteString getRegistryIdBytes(); /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return Whether the repositoryId field is set. */ boolean hasRepositoryId(); /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ java.lang.String getRepositoryId(); /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ com.google.protobuf.ByteString getRepositoryIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns 
     * a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters lifecycle policy resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters lifecycle policy resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); /** *
     * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ java.lang.String getOrderBy(); /** *
     * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.IdCase getIdCase(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest} */ public static final class ListLifecyclePoliciesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest) ListLifecyclePoliciesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListLifecyclePoliciesRequest.newBuilder() to construct. private ListLifecyclePoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListLifecyclePoliciesRequest() { pageToken_ = ""; filter_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListLifecyclePoliciesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListLifecyclePoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); idCase_ = 1; id_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); idCase_ = 6; id_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.Builder.class); } private int idCase_ = 0; private java.lang.Object id_; public enum IdCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REGISTRY_ID(1), REPOSITORY_ID(6), ID_NOT_SET(0); private final int value; private IdCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IdCase valueOf(int value) { return forNumber(value); } public static IdCase forNumber(int value) { switch (value) { case 1: return REGISTRY_ID; case 6: return REPOSITORY_ID; case 0: return ID_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public static final int REGISTRY_ID_FIELD_NUMBER = 1; /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return Whether the registryId field is set. */ public boolean hasRegistryId() { return idCase_ == 1; } /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The registryId. */ public java.lang.String getRegistryId() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 1) { id_ = s; } return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for registryId. */ public com.google.protobuf.ByteString getRegistryIdBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPOSITORY_ID_FIELD_NUMBER = 6; /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return Whether the repositoryId field is set. */ public boolean hasRepositoryId() { return idCase_ == 6; } /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = ""; if (idCase_ == 6) { ref = id_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 6) { id_ = s; } return s; } } /** *
     * Repository of the lifecycle policy.
     * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = ""; if (idCase_ == 6) { ref = id_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 6) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns 
     * a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
     * Default value: 100.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters lifecycle policy resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters lifecycle policy resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** *
     * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ @java.lang.Override public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** *
     * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ @java.lang.Override public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (idCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } if (idCase_ == 6) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, id_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (idCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } if (idCase_ == 6) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, id_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest) obj; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!getOrderBy() .equals(other.getOrderBy())) return false; if (!getIdCase().equals(other.getIdCase())) return false; switch (idCase_) { case 1: if (!getRegistryId() .equals(other.getRegistryId())) return false; break; case 6: if (!getRepositoryId() .equals(other.getRepositoryId())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); switch (idCase_) { case 1: hash = (37 * hash) + REGISTRY_ID_FIELD_NUMBER; hash = (53 * hash) + getRegistryId().hashCode(); break; case 6: hash = (37 * hash) + REPOSITORY_ID_FIELD_NUMBER; hash = (53 * hash) + getRepositoryId().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); pageSize_ = 0L; pageToken_ = ""; filter_ = ""; orderBy_ = ""; idCase_ = 0; id_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest(this); if (idCase_ == 1) { result.id_ = id_; } if (idCase_ == 6) { result.id_ = id_; } result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; result.orderBy_ = orderBy_; result.idCase_ = idCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } if (!other.getOrderBy().isEmpty()) { orderBy_ = other.orderBy_; onChanged(); } switch (other.getIdCase()) { case REGISTRY_ID: { idCase_ = 1; id_ = other.id_; onChanged(); break; } case REPOSITORY_ID: { idCase_ = 6; id_ = other.id_; onChanged(); break; } case ID_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int idCase_ = 0; private java.lang.Object id_; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public Builder clearId() { idCase_ = 0; id_ = null; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return Whether the registryId field is set. */ @java.lang.Override public boolean hasRegistryId() { return idCase_ == 1; } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The registryId. */ @java.lang.Override public java.lang.String getRegistryId() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 1) { id_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for registryId. */ @java.lang.Override public com.google.protobuf.ByteString getRegistryIdBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The registryId to set. * @return This builder for chaining. */ public Builder setRegistryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } idCase_ = 1; id_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearRegistryId() { if (idCase_ == 1) { idCase_ = 0; id_ = null; onChanged(); } return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string registry_id = 1 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for registryId to set. * @return This builder for chaining. */ public Builder setRegistryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); idCase_ = 1; id_ = value; onChanged(); return this; } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return Whether the repositoryId field is set. */ @java.lang.Override public boolean hasRepositoryId() { return idCase_ == 6; } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ @java.lang.Override public java.lang.String getRepositoryId() { java.lang.Object ref = ""; if (idCase_ == 6) { ref = id_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 6) { id_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ @java.lang.Override public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = ""; if (idCase_ == 6) { ref = id_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 6) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @param value The repositoryId to set. * @return This builder for chaining. */ public Builder setRepositoryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } idCase_ = 6; id_ = value; onChanged(); return this; } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearRepositoryId() { if (idCase_ == 6) { idCase_ = 0; id_ = null; onChanged(); } return this; } /** *
       * Repository of the lifecycle policy.
       * 
* * string repository_id = 6 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ public Builder setRepositoryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); idCase_ = 6; id_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
       * Default value: 100.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListLifecyclePoliciesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters lifecycle policy resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters lifecycle policy resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters lifecycle policy resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters lifecycle policy resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters lifecycle policy resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } private java.lang.Object orderBy_ = ""; /** *
       * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The orderBy to set. * @return This builder for chaining. */ public Builder setOrderBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value; onChanged(); return this; } /** *
       * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearOrderBy() { orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** *
       * Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for orderBy to set. * @return This builder for chaining. */ public Builder setOrderByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListLifecyclePoliciesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListLifecyclePoliciesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListLifecyclePoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ java.util.List getLifecyclePoliciesList(); /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy getLifecyclePolicies(int index); /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ int getLifecyclePoliciesCount(); /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ java.util.List getLifecyclePoliciesOrBuilderList(); /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder getLifecyclePoliciesOrBuilder( int index); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
     * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
     * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse} */ public static final class ListLifecyclePoliciesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse) ListLifecyclePoliciesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListLifecyclePoliciesResponse.newBuilder() to construct. private ListLifecyclePoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListLifecyclePoliciesResponse() { lifecyclePolicies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListLifecyclePoliciesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListLifecyclePoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { lifecyclePolicies_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lifecyclePolicies_.add( input.readMessage(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { lifecyclePolicies_ = java.util.Collections.unmodifiableList(lifecyclePolicies_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.Builder.class); } public static final int LIFECYCLE_POLICIES_FIELD_NUMBER = 1; private java.util.List lifecyclePolicies_; /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ @java.lang.Override public java.util.List getLifecyclePoliciesList() { return lifecyclePolicies_; } /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ @java.lang.Override public java.util.List getLifecyclePoliciesOrBuilderList() { return lifecyclePolicies_; } /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ @java.lang.Override public int getLifecyclePoliciesCount() { return lifecyclePolicies_.size(); } /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy getLifecyclePolicies(int index) { return lifecyclePolicies_.get(index); } /** *
     * List of lifecycle policies.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder getLifecyclePoliciesOrBuilder( int index) { return lifecyclePolicies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
     * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
     * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lifecyclePolicies_.size(); i++) { output.writeMessage(1, lifecyclePolicies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lifecyclePolicies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, lifecyclePolicies_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse) obj; if (!getLifecyclePoliciesList() .equals(other.getLifecyclePoliciesList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getLifecyclePoliciesCount() > 0) { hash = (37 * hash) + LIFECYCLE_POLICIES_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePoliciesList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLifecyclePoliciesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (lifecyclePoliciesBuilder_ == null) { lifecyclePolicies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { lifecyclePoliciesBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse(this); int from_bitField0_ = bitField0_; if (lifecyclePoliciesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { lifecyclePolicies_ = java.util.Collections.unmodifiableList(lifecyclePolicies_); bitField0_ = (bitField0_ & ~0x00000001); } result.lifecyclePolicies_ = lifecyclePolicies_; } else { result.lifecyclePolicies_ = lifecyclePoliciesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse.getDefaultInstance()) return this; if (lifecyclePoliciesBuilder_ == null) { if (!other.lifecyclePolicies_.isEmpty()) { if (lifecyclePolicies_.isEmpty()) { lifecyclePolicies_ = other.lifecyclePolicies_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.addAll(other.lifecyclePolicies_); } onChanged(); } } else { if (!other.lifecyclePolicies_.isEmpty()) { if (lifecyclePoliciesBuilder_.isEmpty()) { lifecyclePoliciesBuilder_.dispose(); lifecyclePoliciesBuilder_ = null; lifecyclePolicies_ = other.lifecyclePolicies_; bitField0_ = (bitField0_ & ~0x00000001); lifecyclePoliciesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLifecyclePoliciesFieldBuilder() : null; } else { lifecyclePoliciesBuilder_.addAllMessages(other.lifecyclePolicies_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lifecyclePolicies_ = java.util.Collections.emptyList(); private void ensureLifecyclePoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { lifecyclePolicies_ = new java.util.ArrayList(lifecyclePolicies_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder> lifecyclePoliciesBuilder_; /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public java.util.List getLifecyclePoliciesList() { if (lifecyclePoliciesBuilder_ == null) { return java.util.Collections.unmodifiableList(lifecyclePolicies_); } else { return lifecyclePoliciesBuilder_.getMessageList(); } } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public int getLifecyclePoliciesCount() { if (lifecyclePoliciesBuilder_ == null) { return lifecyclePolicies_.size(); } else { return lifecyclePoliciesBuilder_.getCount(); } } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy getLifecyclePolicies(int index) { if (lifecyclePoliciesBuilder_ == null) { return lifecyclePolicies_.get(index); } else { return lifecyclePoliciesBuilder_.getMessage(index); } } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder setLifecyclePolicies( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy value) { if (lifecyclePoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.set(index, value); onChanged(); } else { lifecyclePoliciesBuilder_.setMessage(index, value); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder setLifecyclePolicies( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder builderForValue) { if (lifecyclePoliciesBuilder_ == null) { ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.set(index, builderForValue.build()); onChanged(); } else { lifecyclePoliciesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder addLifecyclePolicies(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy value) { if (lifecyclePoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.add(value); onChanged(); } else { lifecyclePoliciesBuilder_.addMessage(value); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder addLifecyclePolicies( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy value) { if (lifecyclePoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.add(index, value); onChanged(); } else { lifecyclePoliciesBuilder_.addMessage(index, value); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder addLifecyclePolicies( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder builderForValue) { if (lifecyclePoliciesBuilder_ == null) { ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.add(builderForValue.build()); onChanged(); } else { lifecyclePoliciesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder addLifecyclePolicies( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder builderForValue) { if (lifecyclePoliciesBuilder_ == null) { ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.add(index, builderForValue.build()); onChanged(); } else { lifecyclePoliciesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder addAllLifecyclePolicies( java.lang.Iterable values) { if (lifecyclePoliciesBuilder_ == null) { ensureLifecyclePoliciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, lifecyclePolicies_); onChanged(); } else { lifecyclePoliciesBuilder_.addAllMessages(values); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder clearLifecyclePolicies() { if (lifecyclePoliciesBuilder_ == null) { lifecyclePolicies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { lifecyclePoliciesBuilder_.clear(); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public Builder removeLifecyclePolicies(int index) { if (lifecyclePoliciesBuilder_ == null) { ensureLifecyclePoliciesIsMutable(); lifecyclePolicies_.remove(index); onChanged(); } else { lifecyclePoliciesBuilder_.remove(index); } return this; } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder getLifecyclePoliciesBuilder( int index) { return getLifecyclePoliciesFieldBuilder().getBuilder(index); } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder getLifecyclePoliciesOrBuilder( int index) { if (lifecyclePoliciesBuilder_ == null) { return lifecyclePolicies_.get(index); } else { return lifecyclePoliciesBuilder_.getMessageOrBuilder(index); } } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public java.util.List getLifecyclePoliciesOrBuilderList() { if (lifecyclePoliciesBuilder_ != null) { return lifecyclePoliciesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lifecyclePolicies_); } } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder addLifecyclePoliciesBuilder() { return getLifecyclePoliciesFieldBuilder().addBuilder( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.getDefaultInstance()); } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder addLifecyclePoliciesBuilder( int index) { return getLifecyclePoliciesFieldBuilder().addBuilder( index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.getDefaultInstance()); } /** *
       * List of lifecycle policies.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecyclePolicy lifecycle_policies = 1; */ public java.util.List getLifecyclePoliciesBuilderList() { return getLifecyclePoliciesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder> getLifecyclePoliciesFieldBuilder() { if (lifecyclePoliciesBuilder_ == null) { lifecyclePoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicyOrBuilder>( lifecyclePolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); lifecyclePolicies_ = null; } return lifecyclePoliciesBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
       * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
       * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
       * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
       * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
       * for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListLifecyclePoliciesResponse) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListLifecyclePoliciesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListLifecyclePoliciesResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListLifecyclePoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateLifecyclePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy repository.
     * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ java.lang.String getRepositoryId(); /** *
     * ID of the lifecycle policy repository.
     * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ com.google.protobuf.ByteString getRepositoryIdBytes(); /** *
     * Name of lifecycle policy.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ java.lang.String getName(); /** *
     * Name of lifecycle policy.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Description of lifecycle policy.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * Description of lifecycle policy.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The status. */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ java.util.List getRulesList(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ int getRulesCount(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ java.util.List getRulesOrBuilderList(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest} */ public static final class CreateLifecyclePolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest) CreateLifecyclePolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateLifecyclePolicyRequest.newBuilder() to construct. private CreateLifecyclePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateLifecyclePolicyRequest() { repositoryId_ = ""; name_ = ""; description_ = ""; status_ = 0; rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateLifecyclePolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateLifecyclePolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); repositoryId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 32: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add( input.readMessage(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.Builder.class); } public static final int REPOSITORY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object repositoryId_; /** *
     * ID of the lifecycle policy repository.
     * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ @java.lang.Override public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** *
     * ID of the lifecycle policy repository.
     * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ @java.lang.Override public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repositoryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Name of lifecycle policy.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of lifecycle policy.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** *
     * Description of lifecycle policy.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * Description of lifecycle policy.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The status. */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus() { @SuppressWarnings("deprecation") yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status result = yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.valueOf(status_); return result == null ? yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.UNRECOGNIZED : result; } public static final int RULES_FIELD_NUMBER = 5; private java.util.List rules_; /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index) { return rules_.get(index); } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, repositoryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (status_ != yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, status_); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(5, rules_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, repositoryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (status_ != yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, status_); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, rules_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest) obj; if (!getRepositoryId() .equals(other.getRepositoryId())) return false; if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (status_ != other.status_) return false; if (!getRulesList() .equals(other.getRulesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REPOSITORY_ID_FIELD_NUMBER; hash = (53 * hash) + getRepositoryId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); repositoryId_ = ""; name_ = ""; description_ = ""; status_ = 0; if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest(this); int from_bitField0_ = bitField0_; result.repositoryId_ = repositoryId_; result.name_ = name_; result.description_ = description_; result.status_ = status_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest.getDefaultInstance()) return this; if (!other.getRepositoryId().isEmpty()) { repositoryId_ = other.repositoryId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object repositoryId_ = ""; /** *
       * ID of the lifecycle policy repository.
       * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy repository.
       * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for repositoryId. */ public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); repositoryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy repository.
       * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The repositoryId to set. * @return This builder for chaining. */ public Builder setRepositoryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } repositoryId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy repository.
       * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearRepositoryId() { repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy repository.
       * 
* * string repository_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ public Builder setRepositoryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); repositoryId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of lifecycle policy.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of lifecycle policy.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of lifecycle policy.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of lifecycle policy.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of lifecycle policy.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * Description of lifecycle policy.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Description of lifecycle policy.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Description of lifecycle policy.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * Description of lifecycle policy.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * Description of lifecycle policy.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private int status_ = 0; /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return The status. */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus() { @SuppressWarnings("deprecation") yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status result = yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.valueOf(status_); return result == null ? yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.UNRECOGNIZED : result; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 4 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder> rulesBuilder_; /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder setRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder setRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder addRules(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder addRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder addRules( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder addRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.getDefaultInstance()); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.getDefaultInstance()); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 5; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateLifecyclePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateLifecyclePolicyRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateLifecyclePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** *
     * Name of lifecycle policy.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ java.lang.String getName(); /** *
     * Name of lifecycle policy.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Description of lifecycle policy.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * Description of lifecycle policy.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The status. */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ java.util.List getRulesList(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ int getRulesCount(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ java.util.List getRulesOrBuilderList(); /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest} */ public static final class UpdateLifecyclePolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest) UpdateLifecyclePolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateLifecyclePolicyRequest.newBuilder() to construct. private UpdateLifecyclePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateLifecyclePolicyRequest() { lifecyclePolicyId_ = ""; name_ = ""; description_ = ""; status_ = 0; rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateLifecyclePolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateLifecyclePolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } case 18: { com.google.protobuf.FieldMask.Builder subBuilder = null; if (updateMask_ != null) { subBuilder = updateMask_.toBuilder(); } updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updateMask_); updateMask_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 40: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add( input.readMessage(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ @java.lang.Override public boolean hasUpdateMask() { return updateMask_ != null; } /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ @java.lang.Override public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** *
     * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * Name of lifecycle policy.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of lifecycle policy.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** *
     * Description of lifecycle policy.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * Description of lifecycle policy.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 5; private int status_; /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * Status of the lifecycle policy.
     * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The status. */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus() { @SuppressWarnings("deprecation") yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status result = yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.valueOf(status_); return result == null ? yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.UNRECOGNIZED : result; } public static final int RULES_FIELD_NUMBER = 6; private java.util.List rules_; /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index) { return rules_.get(index); } /** *
     * The rules of the lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } if (status_ != yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(5, status_); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(6, rules_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } if (updateMask_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (status_ != yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.STATUS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, status_); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, rules_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { if (!getUpdateMask() .equals(other.getUpdateMask())) return false; } if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (status_ != other.status_) return false; if (!getRulesList() .equals(other.getRulesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; if (updateMaskBuilder_ == null) { updateMask_ = null; } else { updateMask_ = null; updateMaskBuilder_ = null; } name_ = ""; description_ = ""; status_ = 0; if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest(this); int from_bitField0_ = bitField0_; result.lifecyclePolicyId_ = lifecyclePolicyId_; if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { result.updateMask_ = updateMaskBuilder_.build(); } result.name_ = name_; result.description_ = description_; result.status_ = status_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateMask_ = value; onChanged(); } else { updateMaskBuilder_.setMessage(value); } return this; } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask( com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); } else { updateMaskBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } onChanged(); } else { updateMaskBuilder_.mergeFrom(value); } return this; } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { updateMask_ = null; onChanged(); } else { updateMask_ = null; updateMaskBuilder_ = null; } return this; } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** *
       * Field mask that specifies which fields of the lifecycle policy resource are going to be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } private java.lang.Object name_ = ""; /** *
       * Name of lifecycle policy.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of lifecycle policy.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of lifecycle policy.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of lifecycle policy.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of lifecycle policy.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z][-a-z0-9]{1,61}[a-z0-9]"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * Description of lifecycle policy.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Description of lifecycle policy.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Description of lifecycle policy.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * Description of lifecycle policy.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * Description of lifecycle policy.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private int status_ = 0; /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return The status. */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status getStatus() { @SuppressWarnings("deprecation") yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status result = yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.valueOf(status_); return result == null ? yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status.UNRECOGNIZED : result; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecyclePolicy.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Status of the lifecycle policy.
       * 
* * .yandex.cloud.containerregistry.v1.LifecyclePolicy.Status status = 5 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder> rulesBuilder_; /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder setRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder setRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder addRules(yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder addRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder addRules( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder addRules( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.getDefaultInstance()); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.getDefaultInstance()); } /** *
       * The rules of the lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.LifecycleRule rules = 6; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRule.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.LifecycleRuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateLifecyclePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateLifecyclePolicyRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteLifecyclePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest} */ public static final class DeleteLifecyclePolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest) DeleteLifecyclePolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteLifecyclePolicyRequest.newBuilder() to construct. private DeleteLifecyclePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteLifecyclePolicyRequest() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteLifecyclePolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteLifecyclePolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteLifecyclePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteLifecyclePolicyRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateLifecyclePolicyMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy resource that is being created.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy resource that is being created.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata} */ public static final class CreateLifecyclePolicyMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata) CreateLifecyclePolicyMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use CreateLifecyclePolicyMetadata.newBuilder() to construct. private CreateLifecyclePolicyMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateLifecyclePolicyMetadata() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateLifecyclePolicyMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateLifecyclePolicyMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy resource that is being created.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy resource that is being created.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy resource that is being created.
       * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy resource that is being created.
       * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy resource that is being created.
       * 
* * string lifecycle_policy_id = 1; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being created.
       * 
* * string lifecycle_policy_id = 1; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being created.
       * 
* * string lifecycle_policy_id = 1; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.CreateLifecyclePolicyMetadata) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateLifecyclePolicyMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateLifecyclePolicyMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.CreateLifecyclePolicyMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateLifecyclePolicyMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy resource that is being updated.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy resource that is being updated.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata} */ public static final class UpdateLifecyclePolicyMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata) UpdateLifecyclePolicyMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateLifecyclePolicyMetadata.newBuilder() to construct. private UpdateLifecyclePolicyMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateLifecyclePolicyMetadata() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateLifecyclePolicyMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateLifecyclePolicyMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy resource that is being updated.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy resource that is being updated.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy resource that is being updated.
       * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy resource that is being updated.
       * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy resource that is being updated.
       * 
* * string lifecycle_policy_id = 1; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being updated.
       * 
* * string lifecycle_policy_id = 1; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being updated.
       * 
* * string lifecycle_policy_id = 1; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.UpdateLifecyclePolicyMetadata) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateLifecyclePolicyMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateLifecyclePolicyMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.UpdateLifecyclePolicyMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteLifecyclePolicyMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy resource that is being deleted.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy resource that is being deleted.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata} */ public static final class DeleteLifecyclePolicyMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata) DeleteLifecyclePolicyMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteLifecyclePolicyMetadata.newBuilder() to construct. private DeleteLifecyclePolicyMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteLifecyclePolicyMetadata() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteLifecyclePolicyMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteLifecyclePolicyMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy resource that is being deleted.
     * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy resource that is being deleted.
     * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy resource that is being deleted.
       * 
* * string lifecycle_policy_id = 1; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy resource that is being deleted.
       * 
* * string lifecycle_policy_id = 1; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy resource that is being deleted.
       * 
* * string lifecycle_policy_id = 1; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being deleted.
       * 
* * string lifecycle_policy_id = 1; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy resource that is being deleted.
       * 
* * string lifecycle_policy_id = 1; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.DeleteLifecyclePolicyMetadata) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteLifecyclePolicyMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteLifecyclePolicyMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DeleteLifecyclePolicyMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DryRunLifecyclePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest} */ public static final class DryRunLifecyclePolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest) DryRunLifecyclePolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DryRunLifecyclePolicyRequest.newBuilder() to construct. private DryRunLifecyclePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DryRunLifecyclePolicyRequest() { lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DryRunLifecyclePolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DryRunLifecyclePolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DryRunLifecyclePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DryRunLifecyclePolicyRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DryRunLifecyclePolicyMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ java.lang.String getDryRunLifecyclePolicyResultId(); /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata} */ public static final class DryRunLifecyclePolicyMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata) DryRunLifecyclePolicyMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use DryRunLifecyclePolicyMetadata.newBuilder() to construct. private DryRunLifecyclePolicyMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DryRunLifecyclePolicyMetadata() { dryRunLifecyclePolicyResultId_ = ""; lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DryRunLifecyclePolicyMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DryRunLifecyclePolicyMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); dryRunLifecyclePolicyResultId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.Builder.class); } public static final int DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object dryRunLifecyclePolicyResultId_; /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ @java.lang.Override public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } } /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ @java.lang.Override public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRunLifecyclePolicyResultId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, lifecyclePolicyId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dryRunLifecyclePolicyResultId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lifecyclePolicyId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata) obj; if (!getDryRunLifecyclePolicyResultId() .equals(other.getDryRunLifecyclePolicyResultId())) return false; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getDryRunLifecyclePolicyResultId().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); dryRunLifecyclePolicyResultId_ = ""; lifecyclePolicyId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata(this); result.dryRunLifecyclePolicyResultId_ = dryRunLifecyclePolicyResultId_; result.lifecyclePolicyId_ = lifecyclePolicyId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata.getDefaultInstance()) return this; if (!other.getDryRunLifecyclePolicyResultId().isEmpty()) { dryRunLifecyclePolicyResultId_ = other.dryRunLifecyclePolicyResultId_; onChanged(); } if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object dryRunLifecyclePolicyResultId_ = ""; /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @param value The dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return This builder for chaining. */ public Builder clearDryRunLifecyclePolicyResultId() { dryRunLifecyclePolicyResultId_ = getDefaultInstance().getDryRunLifecyclePolicyResultId(); onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @param value The bytes for dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyMetadata) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DryRunLifecyclePolicyMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DryRunLifecyclePolicyMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DryRunLifecyclePolicyResultOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ java.lang.String getDryRunLifecyclePolicyResultId(); /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; * @return Whether the runAt field is set. */ boolean hasRunAt(); /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; * @return The runAt. */ com.google.protobuf.Timestamp getRunAt(); /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; */ com.google.protobuf.TimestampOrBuilder getRunAtOrBuilder(); /** *
     * Count of affected images.
     * 
* * int64 affected_images_count = 4; * @return The affectedImagesCount. */ long getAffectedImagesCount(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult} */ public static final class DryRunLifecyclePolicyResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult) DryRunLifecyclePolicyResultOrBuilder { private static final long serialVersionUID = 0L; // Use DryRunLifecyclePolicyResult.newBuilder() to construct. private DryRunLifecyclePolicyResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DryRunLifecyclePolicyResult() { dryRunLifecyclePolicyResultId_ = ""; lifecyclePolicyId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DryRunLifecyclePolicyResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DryRunLifecyclePolicyResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); dryRunLifecyclePolicyResultId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (runAt_ != null) { subBuilder = runAt_.toBuilder(); } runAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(runAt_); runAt_ = subBuilder.buildPartial(); } break; } case 32: { affectedImagesCount_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder.class); } public static final int DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object dryRunLifecyclePolicyResultId_; /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ @java.lang.Override public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } } /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ @java.lang.Override public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RUN_AT_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp runAt_; /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; * @return Whether the runAt field is set. */ @java.lang.Override public boolean hasRunAt() { return runAt_ != null; } /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; * @return The runAt. */ @java.lang.Override public com.google.protobuf.Timestamp getRunAt() { return runAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runAt_; } /** *
     * Time of the getting result.
     * 
* * .google.protobuf.Timestamp run_at = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRunAtOrBuilder() { return getRunAt(); } public static final int AFFECTED_IMAGES_COUNT_FIELD_NUMBER = 4; private long affectedImagesCount_; /** *
     * Count of affected images.
     * 
* * int64 affected_images_count = 4; * @return The affectedImagesCount. */ @java.lang.Override public long getAffectedImagesCount() { return affectedImagesCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRunLifecyclePolicyResultId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, lifecyclePolicyId_); } if (runAt_ != null) { output.writeMessage(3, getRunAt()); } if (affectedImagesCount_ != 0L) { output.writeInt64(4, affectedImagesCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dryRunLifecyclePolicyResultId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lifecyclePolicyId_); } if (runAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getRunAt()); } if (affectedImagesCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, affectedImagesCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult) obj; if (!getDryRunLifecyclePolicyResultId() .equals(other.getDryRunLifecyclePolicyResultId())) return false; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (hasRunAt() != other.hasRunAt()) return false; if (hasRunAt()) { if (!getRunAt() .equals(other.getRunAt())) return false; } if (getAffectedImagesCount() != other.getAffectedImagesCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getDryRunLifecyclePolicyResultId().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); if (hasRunAt()) { hash = (37 * hash) + RUN_AT_FIELD_NUMBER; hash = (53 * hash) + getRunAt().hashCode(); } hash = (37 * hash) + AFFECTED_IMAGES_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAffectedImagesCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); dryRunLifecyclePolicyResultId_ = ""; lifecyclePolicyId_ = ""; if (runAtBuilder_ == null) { runAt_ = null; } else { runAt_ = null; runAtBuilder_ = null; } affectedImagesCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult(this); result.dryRunLifecyclePolicyResultId_ = dryRunLifecyclePolicyResultId_; result.lifecyclePolicyId_ = lifecyclePolicyId_; if (runAtBuilder_ == null) { result.runAt_ = runAt_; } else { result.runAt_ = runAtBuilder_.build(); } result.affectedImagesCount_ = affectedImagesCount_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.getDefaultInstance()) return this; if (!other.getDryRunLifecyclePolicyResultId().isEmpty()) { dryRunLifecyclePolicyResultId_ = other.dryRunLifecyclePolicyResultId_; onChanged(); } if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } if (other.hasRunAt()) { mergeRunAt(other.getRunAt()); } if (other.getAffectedImagesCount() != 0L) { setAffectedImagesCount(other.getAffectedImagesCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object dryRunLifecyclePolicyResultId_ = ""; /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The dryRunLifecyclePolicyResultId. */ public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return The bytes for dryRunLifecyclePolicyResultId. */ public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @param value The dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @return This builder for chaining. */ public Builder clearDryRunLifecyclePolicyResultId() { dryRunLifecyclePolicyResultId_ = getDefaultInstance().getDryRunLifecyclePolicyResultId(); onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1; * @param value The bytes for dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 2; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp runAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runAtBuilder_; /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; * @return Whether the runAt field is set. */ public boolean hasRunAt() { return runAtBuilder_ != null || runAt_ != null; } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; * @return The runAt. */ public com.google.protobuf.Timestamp getRunAt() { if (runAtBuilder_ == null) { return runAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runAt_; } else { return runAtBuilder_.getMessage(); } } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public Builder setRunAt(com.google.protobuf.Timestamp value) { if (runAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } runAt_ = value; onChanged(); } else { runAtBuilder_.setMessage(value); } return this; } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public Builder setRunAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (runAtBuilder_ == null) { runAt_ = builderForValue.build(); onChanged(); } else { runAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public Builder mergeRunAt(com.google.protobuf.Timestamp value) { if (runAtBuilder_ == null) { if (runAt_ != null) { runAt_ = com.google.protobuf.Timestamp.newBuilder(runAt_).mergeFrom(value).buildPartial(); } else { runAt_ = value; } onChanged(); } else { runAtBuilder_.mergeFrom(value); } return this; } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public Builder clearRunAt() { if (runAtBuilder_ == null) { runAt_ = null; onChanged(); } else { runAt_ = null; runAtBuilder_ = null; } return this; } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public com.google.protobuf.Timestamp.Builder getRunAtBuilder() { onChanged(); return getRunAtFieldBuilder().getBuilder(); } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ public com.google.protobuf.TimestampOrBuilder getRunAtOrBuilder() { if (runAtBuilder_ != null) { return runAtBuilder_.getMessageOrBuilder(); } else { return runAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runAt_; } } /** *
       * Time of the getting result.
       * 
* * .google.protobuf.Timestamp run_at = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRunAtFieldBuilder() { if (runAtBuilder_ == null) { runAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getRunAt(), getParentForChildren(), isClean()); runAt_ = null; } return runAtBuilder_; } private long affectedImagesCount_ ; /** *
       * Count of affected images.
       * 
* * int64 affected_images_count = 4; * @return The affectedImagesCount. */ @java.lang.Override public long getAffectedImagesCount() { return affectedImagesCount_; } /** *
       * Count of affected images.
       * 
* * int64 affected_images_count = 4; * @param value The affectedImagesCount to set. * @return This builder for chaining. */ public Builder setAffectedImagesCount(long value) { affectedImagesCount_ = value; onChanged(); return this; } /** *
       * Count of affected images.
       * 
* * int64 affected_images_count = 4; * @return This builder for chaining. */ public Builder clearAffectedImagesCount() { affectedImagesCount_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DryRunLifecyclePolicyResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DryRunLifecyclePolicyResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetDryRunLifecyclePolicyResultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ java.lang.String getDryRunLifecyclePolicyResultId(); /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest} */ public static final class GetDryRunLifecyclePolicyResultRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest) GetDryRunLifecyclePolicyResultRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetDryRunLifecyclePolicyResultRequest.newBuilder() to construct. private GetDryRunLifecyclePolicyResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetDryRunLifecyclePolicyResultRequest() { dryRunLifecyclePolicyResultId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetDryRunLifecyclePolicyResultRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetDryRunLifecyclePolicyResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); dryRunLifecyclePolicyResultId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.Builder.class); } public static final int DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object dryRunLifecyclePolicyResultId_; /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ @java.lang.Override public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } } /** *
     * ID of the dry run result of the lifecycle policy.
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ @java.lang.Override public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRunLifecyclePolicyResultId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dryRunLifecyclePolicyResultId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest) obj; if (!getDryRunLifecyclePolicyResultId() .equals(other.getDryRunLifecyclePolicyResultId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getDryRunLifecyclePolicyResultId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); dryRunLifecyclePolicyResultId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest(this); result.dryRunLifecyclePolicyResultId_ = dryRunLifecyclePolicyResultId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest.getDefaultInstance()) return this; if (!other.getDryRunLifecyclePolicyResultId().isEmpty()) { dryRunLifecyclePolicyResultId_ = other.dryRunLifecyclePolicyResultId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object dryRunLifecyclePolicyResultId_ = ""; /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearDryRunLifecyclePolicyResultId() { dryRunLifecyclePolicyResultId_ = getDefaultInstance().getDryRunLifecyclePolicyResultId(); onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy.
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.GetDryRunLifecyclePolicyResultRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetDryRunLifecyclePolicyResultRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetDryRunLifecyclePolicyResultRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.GetDryRunLifecyclePolicyResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListDryRunLifecyclePolicyResultsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ java.lang.String getLifecyclePolicyId(); /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ com.google.protobuf.ByteString getLifecyclePolicyIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns 
     * a [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get 
     * the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters dry run results listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters dry run results listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); /** *
     * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ java.lang.String getOrderBy(); /** *
     * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest} */ public static final class ListDryRunLifecyclePolicyResultsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest) ListDryRunLifecyclePolicyResultsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListDryRunLifecyclePolicyResultsRequest.newBuilder() to construct. private ListDryRunLifecyclePolicyResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListDryRunLifecyclePolicyResultsRequest() { lifecyclePolicyId_ = ""; pageToken_ = ""; filter_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListDryRunLifecyclePolicyResultsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListDryRunLifecyclePolicyResultsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); lifecyclePolicyId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.Builder.class); } public static final int LIFECYCLE_POLICY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object lifecyclePolicyId_; /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ @java.lang.Override public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } } /** *
     * ID of the lifecycle policy.
     * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ @java.lang.Override public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns 
     * a [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get 
     * the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters dry run results listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters dry run results listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** *
     * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ @java.lang.Override public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** *
     * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ @java.lang.Override public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, lifecyclePolicyId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lifecyclePolicyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, lifecyclePolicyId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest) obj; if (!getLifecyclePolicyId() .equals(other.getLifecyclePolicyId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!getOrderBy() .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LIFECYCLE_POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getLifecyclePolicyId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); lifecyclePolicyId_ = ""; pageSize_ = 0L; pageToken_ = ""; filter_ = ""; orderBy_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest(this); result.lifecyclePolicyId_ = lifecyclePolicyId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; result.orderBy_ = orderBy_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest.getDefaultInstance()) return this; if (!other.getLifecyclePolicyId().isEmpty()) { lifecyclePolicyId_ = other.lifecyclePolicyId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } if (!other.getOrderBy().isEmpty()) { orderBy_ = other.orderBy_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object lifecyclePolicyId_ = ""; /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The lifecyclePolicyId. */ public java.lang.String getLifecyclePolicyId() { java.lang.Object ref = lifecyclePolicyId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lifecyclePolicyId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for lifecyclePolicyId. */ public com.google.protobuf.ByteString getLifecyclePolicyIdBytes() { java.lang.Object ref = lifecyclePolicyId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lifecyclePolicyId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lifecyclePolicyId_ = value; onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearLifecyclePolicyId() { lifecyclePolicyId_ = getDefaultInstance().getLifecyclePolicyId(); onChanged(); return this; } /** *
       * ID of the lifecycle policy.
       * 
* * string lifecycle_policy_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for lifecyclePolicyId to set. * @return This builder for chaining. */ public Builder setLifecyclePolicyIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lifecyclePolicyId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get 
       * the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get 
       * the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns 
       * a [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get 
       * the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters dry run results listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters dry run results listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters dry run results listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters dry run results listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters dry run results listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } private java.lang.Object orderBy_ = ""; /** *
       * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The orderBy to set. * @return This builder for chaining. */ public Builder setOrderBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value; onChanged(); return this; } /** *
       * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearOrderBy() { orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** *
       * Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for orderBy to set. * @return This builder for chaining. */ public Builder setOrderByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListDryRunLifecyclePolicyResultsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListDryRunLifecyclePolicyResultsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListDryRunLifecyclePolicyResultsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ java.util.List getDryRunLifecyclePolicyResultsList(); /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDryRunLifecyclePolicyResults(int index); /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ int getDryRunLifecyclePolicyResultsCount(); /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ java.util.List getDryRunLifecyclePolicyResultsOrBuilderList(); /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder getDryRunLifecyclePolicyResultsOrBuilder( int index); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse} */ public static final class ListDryRunLifecyclePolicyResultsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse) ListDryRunLifecyclePolicyResultsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListDryRunLifecyclePolicyResultsResponse.newBuilder() to construct. private ListDryRunLifecyclePolicyResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListDryRunLifecyclePolicyResultsResponse() { dryRunLifecyclePolicyResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListDryRunLifecyclePolicyResultsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListDryRunLifecyclePolicyResultsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dryRunLifecyclePolicyResults_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dryRunLifecyclePolicyResults_.add( input.readMessage(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dryRunLifecyclePolicyResults_ = java.util.Collections.unmodifiableList(dryRunLifecyclePolicyResults_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.Builder.class); } public static final int DRY_RUN_LIFECYCLE_POLICY_RESULTS_FIELD_NUMBER = 1; private java.util.List dryRunLifecyclePolicyResults_; /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ @java.lang.Override public java.util.List getDryRunLifecyclePolicyResultsList() { return dryRunLifecyclePolicyResults_; } /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ @java.lang.Override public java.util.List getDryRunLifecyclePolicyResultsOrBuilderList() { return dryRunLifecyclePolicyResults_; } /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ @java.lang.Override public int getDryRunLifecyclePolicyResultsCount() { return dryRunLifecyclePolicyResults_.size(); } /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDryRunLifecyclePolicyResults(int index) { return dryRunLifecyclePolicyResults_.get(index); } /** *
     * List of results of dry runs of a lifecycle policy.
     * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder getDryRunLifecyclePolicyResultsOrBuilder( int index) { return dryRunLifecyclePolicyResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dryRunLifecyclePolicyResults_.size(); i++) { output.writeMessage(1, dryRunLifecyclePolicyResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < dryRunLifecyclePolicyResults_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, dryRunLifecyclePolicyResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse) obj; if (!getDryRunLifecyclePolicyResultsList() .equals(other.getDryRunLifecyclePolicyResultsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getDryRunLifecyclePolicyResultsCount() > 0) { hash = (37 * hash) + DRY_RUN_LIFECYCLE_POLICY_RESULTS_FIELD_NUMBER; hash = (53 * hash) + getDryRunLifecyclePolicyResultsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDryRunLifecyclePolicyResultsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dryRunLifecyclePolicyResultsBuilder_ == null) { dryRunLifecyclePolicyResults_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dryRunLifecyclePolicyResultsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse(this); int from_bitField0_ = bitField0_; if (dryRunLifecyclePolicyResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dryRunLifecyclePolicyResults_ = java.util.Collections.unmodifiableList(dryRunLifecyclePolicyResults_); bitField0_ = (bitField0_ & ~0x00000001); } result.dryRunLifecyclePolicyResults_ = dryRunLifecyclePolicyResults_; } else { result.dryRunLifecyclePolicyResults_ = dryRunLifecyclePolicyResultsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse.getDefaultInstance()) return this; if (dryRunLifecyclePolicyResultsBuilder_ == null) { if (!other.dryRunLifecyclePolicyResults_.isEmpty()) { if (dryRunLifecyclePolicyResults_.isEmpty()) { dryRunLifecyclePolicyResults_ = other.dryRunLifecyclePolicyResults_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.addAll(other.dryRunLifecyclePolicyResults_); } onChanged(); } } else { if (!other.dryRunLifecyclePolicyResults_.isEmpty()) { if (dryRunLifecyclePolicyResultsBuilder_.isEmpty()) { dryRunLifecyclePolicyResultsBuilder_.dispose(); dryRunLifecyclePolicyResultsBuilder_ = null; dryRunLifecyclePolicyResults_ = other.dryRunLifecyclePolicyResults_; bitField0_ = (bitField0_ & ~0x00000001); dryRunLifecyclePolicyResultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDryRunLifecyclePolicyResultsFieldBuilder() : null; } else { dryRunLifecyclePolicyResultsBuilder_.addAllMessages(other.dryRunLifecyclePolicyResults_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dryRunLifecyclePolicyResults_ = java.util.Collections.emptyList(); private void ensureDryRunLifecyclePolicyResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dryRunLifecyclePolicyResults_ = new java.util.ArrayList(dryRunLifecyclePolicyResults_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder> dryRunLifecyclePolicyResultsBuilder_; /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public java.util.List getDryRunLifecyclePolicyResultsList() { if (dryRunLifecyclePolicyResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(dryRunLifecyclePolicyResults_); } else { return dryRunLifecyclePolicyResultsBuilder_.getMessageList(); } } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public int getDryRunLifecyclePolicyResultsCount() { if (dryRunLifecyclePolicyResultsBuilder_ == null) { return dryRunLifecyclePolicyResults_.size(); } else { return dryRunLifecyclePolicyResultsBuilder_.getCount(); } } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult getDryRunLifecyclePolicyResults(int index) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { return dryRunLifecyclePolicyResults_.get(index); } else { return dryRunLifecyclePolicyResultsBuilder_.getMessage(index); } } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder setDryRunLifecyclePolicyResults( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult value) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.set(index, value); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.setMessage(index, value); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder setDryRunLifecyclePolicyResults( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder builderForValue) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.set(index, builderForValue.build()); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder addDryRunLifecyclePolicyResults(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult value) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.add(value); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.addMessage(value); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder addDryRunLifecyclePolicyResults( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult value) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.add(index, value); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.addMessage(index, value); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder addDryRunLifecyclePolicyResults( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder builderForValue) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.add(builderForValue.build()); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder addDryRunLifecyclePolicyResults( int index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder builderForValue) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.add(index, builderForValue.build()); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder addAllDryRunLifecyclePolicyResults( java.lang.Iterable values) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { ensureDryRunLifecyclePolicyResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dryRunLifecyclePolicyResults_); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.addAllMessages(values); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder clearDryRunLifecyclePolicyResults() { if (dryRunLifecyclePolicyResultsBuilder_ == null) { dryRunLifecyclePolicyResults_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.clear(); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public Builder removeDryRunLifecyclePolicyResults(int index) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { ensureDryRunLifecyclePolicyResultsIsMutable(); dryRunLifecyclePolicyResults_.remove(index); onChanged(); } else { dryRunLifecyclePolicyResultsBuilder_.remove(index); } return this; } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder getDryRunLifecyclePolicyResultsBuilder( int index) { return getDryRunLifecyclePolicyResultsFieldBuilder().getBuilder(index); } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder getDryRunLifecyclePolicyResultsOrBuilder( int index) { if (dryRunLifecyclePolicyResultsBuilder_ == null) { return dryRunLifecyclePolicyResults_.get(index); } else { return dryRunLifecyclePolicyResultsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public java.util.List getDryRunLifecyclePolicyResultsOrBuilderList() { if (dryRunLifecyclePolicyResultsBuilder_ != null) { return dryRunLifecyclePolicyResultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dryRunLifecyclePolicyResults_); } } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder addDryRunLifecyclePolicyResultsBuilder() { return getDryRunLifecyclePolicyResultsFieldBuilder().addBuilder( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.getDefaultInstance()); } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder addDryRunLifecyclePolicyResultsBuilder( int index) { return getDryRunLifecyclePolicyResultsFieldBuilder().addBuilder( index, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.getDefaultInstance()); } /** *
       * List of results of dry runs of a lifecycle policy.
       * 
* * repeated .yandex.cloud.containerregistry.v1.DryRunLifecyclePolicyResult dry_run_lifecycle_policy_results = 1; */ public java.util.List getDryRunLifecyclePolicyResultsBuilderList() { return getDryRunLifecyclePolicyResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder> getDryRunLifecyclePolicyResultsFieldBuilder() { if (dryRunLifecyclePolicyResultsBuilder_ == null) { dryRunLifecyclePolicyResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResult.Builder, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.DryRunLifecyclePolicyResultOrBuilder>( dryRunLifecyclePolicyResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dryRunLifecyclePolicyResults_ = null; } return dryRunLifecyclePolicyResultsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultsResponse) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListDryRunLifecyclePolicyResultsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListDryRunLifecyclePolicyResultsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListDryRunLifecyclePolicyResultAffectedImagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the dry run result of the lifecycle policy
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ java.lang.String getDryRunLifecyclePolicyResultId(); /** *
     * ID of the dry run result of the lifecycle policy
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters affected images listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters affected images listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); /** *
     * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ java.lang.String getOrderBy(); /** *
     * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest} */ public static final class ListDryRunLifecyclePolicyResultAffectedImagesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest) ListDryRunLifecyclePolicyResultAffectedImagesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListDryRunLifecyclePolicyResultAffectedImagesRequest.newBuilder() to construct. private ListDryRunLifecyclePolicyResultAffectedImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListDryRunLifecyclePolicyResultAffectedImagesRequest() { dryRunLifecyclePolicyResultId_ = ""; pageToken_ = ""; filter_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListDryRunLifecyclePolicyResultAffectedImagesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListDryRunLifecyclePolicyResultAffectedImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); dryRunLifecyclePolicyResultId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.Builder.class); } public static final int DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object dryRunLifecyclePolicyResultId_; /** *
     * ID of the dry run result of the lifecycle policy
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ @java.lang.Override public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } } /** *
     * ID of the dry run result of the lifecycle policy
     * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ @java.lang.Override public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters affected images listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters affected images listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** *
     * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ @java.lang.Override public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** *
     * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
     * The default sorting order is ascending.
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ @java.lang.Override public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRunLifecyclePolicyResultId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dryRunLifecyclePolicyResultId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, dryRunLifecyclePolicyResultId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest) obj; if (!getDryRunLifecyclePolicyResultId() .equals(other.getDryRunLifecyclePolicyResultId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!getOrderBy() .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DRY_RUN_LIFECYCLE_POLICY_RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getDryRunLifecyclePolicyResultId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); dryRunLifecyclePolicyResultId_ = ""; pageSize_ = 0L; pageToken_ = ""; filter_ = ""; orderBy_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest(this); result.dryRunLifecyclePolicyResultId_ = dryRunLifecyclePolicyResultId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; result.orderBy_ = orderBy_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest.getDefaultInstance()) return this; if (!other.getDryRunLifecyclePolicyResultId().isEmpty()) { dryRunLifecyclePolicyResultId_ = other.dryRunLifecyclePolicyResultId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } if (!other.getOrderBy().isEmpty()) { orderBy_ = other.orderBy_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object dryRunLifecyclePolicyResultId_ = ""; /** *
       * ID of the dry run result of the lifecycle policy
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The dryRunLifecyclePolicyResultId. */ public java.lang.String getDryRunLifecyclePolicyResultId() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dryRunLifecyclePolicyResultId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the dry run result of the lifecycle policy
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for dryRunLifecyclePolicyResultId. */ public com.google.protobuf.ByteString getDryRunLifecyclePolicyResultIdBytes() { java.lang.Object ref = dryRunLifecyclePolicyResultId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dryRunLifecyclePolicyResultId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the dry run result of the lifecycle policy
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearDryRunLifecyclePolicyResultId() { dryRunLifecyclePolicyResultId_ = getDefaultInstance().getDryRunLifecyclePolicyResultId(); onChanged(); return this; } /** *
       * ID of the dry run result of the lifecycle policy
       * 
* * string dry_run_lifecycle_policy_result_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for dryRunLifecyclePolicyResultId to set. * @return This builder for chaining. */ public Builder setDryRunLifecyclePolicyResultIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dryRunLifecyclePolicyResultId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "0-1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters affected images listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters affected images listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters affected images listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters affected images listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters affected images listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } private java.lang.Object orderBy_ = ""; /** *
       * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The orderBy to set. * @return This builder for chaining. */ public Builder setOrderBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value; onChanged(); return this; } /** *
       * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearOrderBy() { orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** *
       * Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
       * The default sorting order is ascending.
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for orderBy to set. * @return This builder for chaining. */ public Builder setOrderByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesRequest) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListDryRunLifecyclePolicyResultAffectedImagesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListDryRunLifecyclePolicyResultAffectedImagesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListDryRunLifecyclePolicyResultAffectedImagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ java.util.List getAffectedImagesList(); /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image getAffectedImages(int index); /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ int getAffectedImagesCount(); /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ java.util.List getAffectedImagesOrBuilderList(); /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder getAffectedImagesOrBuilder( int index); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse} */ public static final class ListDryRunLifecyclePolicyResultAffectedImagesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse) ListDryRunLifecyclePolicyResultAffectedImagesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListDryRunLifecyclePolicyResultAffectedImagesResponse.newBuilder() to construct. private ListDryRunLifecyclePolicyResultAffectedImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListDryRunLifecyclePolicyResultAffectedImagesResponse() { affectedImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListDryRunLifecyclePolicyResultAffectedImagesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListDryRunLifecyclePolicyResultAffectedImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { affectedImages_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } affectedImages_.add( input.readMessage(yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { affectedImages_ = java.util.Collections.unmodifiableList(affectedImages_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.Builder.class); } public static final int AFFECTED_IMAGES_FIELD_NUMBER = 1; private java.util.List affectedImages_; /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ @java.lang.Override public java.util.List getAffectedImagesList() { return affectedImages_; } /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ @java.lang.Override public java.util.List getAffectedImagesOrBuilderList() { return affectedImages_; } /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ @java.lang.Override public int getAffectedImagesCount() { return affectedImages_.size(); } /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image getAffectedImages(int index) { return affectedImages_.get(index); } /** *
     * List of affected images.
     * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ @java.lang.Override public yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder getAffectedImagesOrBuilder( int index) { return affectedImages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
     * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < affectedImages_.size(); i++) { output.writeMessage(1, affectedImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < affectedImages_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, affectedImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse)) { return super.equals(obj); } yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse other = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse) obj; if (!getAffectedImagesList() .equals(other.getAffectedImagesList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getAffectedImagesCount() > 0) { hash = (37 * hash) + AFFECTED_IMAGES_FIELD_NUMBER; hash = (53 * hash) + getAffectedImagesList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse) yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.class, yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.Builder.class); } // Construct using yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAffectedImagesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (affectedImagesBuilder_ == null) { affectedImages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { affectedImagesBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse getDefaultInstanceForType() { return yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse build() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse buildPartial() { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse result = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse(this); int from_bitField0_ = bitField0_; if (affectedImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { affectedImages_ = java.util.Collections.unmodifiableList(affectedImages_); bitField0_ = (bitField0_ & ~0x00000001); } result.affectedImages_ = affectedImages_; } else { result.affectedImages_ = affectedImagesBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse) { return mergeFrom((yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse other) { if (other == yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse.getDefaultInstance()) return this; if (affectedImagesBuilder_ == null) { if (!other.affectedImages_.isEmpty()) { if (affectedImages_.isEmpty()) { affectedImages_ = other.affectedImages_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAffectedImagesIsMutable(); affectedImages_.addAll(other.affectedImages_); } onChanged(); } } else { if (!other.affectedImages_.isEmpty()) { if (affectedImagesBuilder_.isEmpty()) { affectedImagesBuilder_.dispose(); affectedImagesBuilder_ = null; affectedImages_ = other.affectedImages_; bitField0_ = (bitField0_ & ~0x00000001); affectedImagesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAffectedImagesFieldBuilder() : null; } else { affectedImagesBuilder_.addAllMessages(other.affectedImages_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List affectedImages_ = java.util.Collections.emptyList(); private void ensureAffectedImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { affectedImages_ = new java.util.ArrayList(affectedImages_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder, yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder> affectedImagesBuilder_; /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public java.util.List getAffectedImagesList() { if (affectedImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(affectedImages_); } else { return affectedImagesBuilder_.getMessageList(); } } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public int getAffectedImagesCount() { if (affectedImagesBuilder_ == null) { return affectedImages_.size(); } else { return affectedImagesBuilder_.getCount(); } } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image getAffectedImages(int index) { if (affectedImagesBuilder_ == null) { return affectedImages_.get(index); } else { return affectedImagesBuilder_.getMessage(index); } } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder setAffectedImages( int index, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image value) { if (affectedImagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAffectedImagesIsMutable(); affectedImages_.set(index, value); onChanged(); } else { affectedImagesBuilder_.setMessage(index, value); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder setAffectedImages( int index, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder builderForValue) { if (affectedImagesBuilder_ == null) { ensureAffectedImagesIsMutable(); affectedImages_.set(index, builderForValue.build()); onChanged(); } else { affectedImagesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder addAffectedImages(yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image value) { if (affectedImagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAffectedImagesIsMutable(); affectedImages_.add(value); onChanged(); } else { affectedImagesBuilder_.addMessage(value); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder addAffectedImages( int index, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image value) { if (affectedImagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAffectedImagesIsMutable(); affectedImages_.add(index, value); onChanged(); } else { affectedImagesBuilder_.addMessage(index, value); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder addAffectedImages( yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder builderForValue) { if (affectedImagesBuilder_ == null) { ensureAffectedImagesIsMutable(); affectedImages_.add(builderForValue.build()); onChanged(); } else { affectedImagesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder addAffectedImages( int index, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder builderForValue) { if (affectedImagesBuilder_ == null) { ensureAffectedImagesIsMutable(); affectedImages_.add(index, builderForValue.build()); onChanged(); } else { affectedImagesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder addAllAffectedImages( java.lang.Iterable values) { if (affectedImagesBuilder_ == null) { ensureAffectedImagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, affectedImages_); onChanged(); } else { affectedImagesBuilder_.addAllMessages(values); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder clearAffectedImages() { if (affectedImagesBuilder_ == null) { affectedImages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { affectedImagesBuilder_.clear(); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public Builder removeAffectedImages(int index) { if (affectedImagesBuilder_ == null) { ensureAffectedImagesIsMutable(); affectedImages_.remove(index); onChanged(); } else { affectedImagesBuilder_.remove(index); } return this; } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder getAffectedImagesBuilder( int index) { return getAffectedImagesFieldBuilder().getBuilder(index); } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder getAffectedImagesOrBuilder( int index) { if (affectedImagesBuilder_ == null) { return affectedImages_.get(index); } else { return affectedImagesBuilder_.getMessageOrBuilder(index); } } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public java.util.List getAffectedImagesOrBuilderList() { if (affectedImagesBuilder_ != null) { return affectedImagesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(affectedImages_); } } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder addAffectedImagesBuilder() { return getAffectedImagesFieldBuilder().addBuilder( yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.getDefaultInstance()); } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder addAffectedImagesBuilder( int index) { return getAffectedImagesFieldBuilder().addBuilder( index, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.getDefaultInstance()); } /** *
       * List of affected images.
       * 
* * repeated .yandex.cloud.containerregistry.v1.Image affected_images = 1; */ public java.util.List getAffectedImagesBuilderList() { return getAffectedImagesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder, yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder> getAffectedImagesFieldBuilder() { if (affectedImagesBuilder_ == null) { affectedImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image, yandex.cloud.api.containerregistry.v1.ImageOuterClass.Image.Builder, yandex.cloud.api.containerregistry.v1.ImageOuterClass.ImageOrBuilder>( affectedImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); affectedImages_ = null; } return affectedImagesBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
       * for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.containerregistry.v1.ListDryRunLifecyclePolicyResultAffectedImagesResponse) private static final yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse(); } public static yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListDryRunLifecyclePolicyResultAffectedImagesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListDryRunLifecyclePolicyResultAffectedImagesResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public yandex.cloud.api.containerregistry.v1.LifecyclePolicyServiceOuterClass.ListDryRunLifecyclePolicyResultAffectedImagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n@yandex/cloud/containerregistry/v1/life" + "cycle_policy_service.proto\022!yandex.cloud" + ".containerregistry.v1\032 yandex/cloud/api/" + "operation.proto\032-yandex/cloud/containerr" + "egistry/v1/image.proto\0328yandex/cloud/con" + "tainerregistry/v1/lifecycle_policy.proto" + "\032&yandex/cloud/operation/operation.proto" + "\032\035yandex/cloud/validation.proto\032 google/" + "protobuf/field_mask.proto\032\037google/protob" + "uf/timestamp.proto\032\034google/api/annotatio" + "ns.proto\"F\n\031GetLifecyclePolicyRequest\022)\n" + "\023lifecycle_policy_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50" + "\"\345\001\n\034ListLifecyclePoliciesRequest\022\037\n\013reg" + "istry_id\030\001 \001(\tB\010\212\3101\004<=50H\000\022!\n\rrepository" + "_id\030\006 \001(\tB\010\212\3101\004<=50H\000\022\035\n\tpage_size\030\002 \001(\003" + "B\n\372\3071\0060-1000\022\035\n\npage_token\030\003 \001(\tB\t\212\3101\005<=" + "100\022\032\n\006filter\030\004 \001(\tB\n\212\3101\006<=1000\022\033\n\010order" + "_by\030\005 \001(\tB\t\212\3101\005<=100B\n\n\002id\022\004\300\3011\001\"\210\001\n\035Lis" + "tLifecyclePoliciesResponse\022N\n\022lifecycle_" + "policies\030\001 \003(\01322.yandex.cloud.containerr" + "egistry.v1.LifecyclePolicy\022\027\n\017next_page_" + "token\030\002 \001(\t\"\246\002\n\034CreateLifecyclePolicyReq" + "uest\022#\n\rrepository_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=5" + "0\022/\n\004name\030\002 \001(\tB!\362\3071\035|[a-z][-a-z0-9]{1,6" + "1}[a-z0-9]\022\036\n\013description\030\003 \001(\tB\t\212\3101\005<=2" + "56\022O\n\006status\030\004 \001(\01629.yandex.cloud.contai" + "nerregistry.v1.LifecyclePolicy.StatusB\004\350" + "\3071\001\022?\n\005rules\030\005 \003(\01320.yandex.cloud.contai" + "nerregistry.v1.LifecycleRule\"\335\002\n\034UpdateL" + "ifecyclePolicyRequest\022)\n\023lifecycle_polic" + "y_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022/\n\013update_mask\030" + "\002 \001(\0132\032.google.protobuf.FieldMask\022/\n\004nam" + "e\030\003 \001(\tB!\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-" + "9]\022\036\n\013description\030\004 \001(\tB\t\212\3101\005<=256\022O\n\006st" + "atus\030\005 \001(\01629.yandex.cloud.containerregis" + "try.v1.LifecyclePolicy.StatusB\004\350\3071\001\022?\n\005r" + "ules\030\006 \003(\01320.yandex.cloud.containerregis" + "try.v1.LifecycleRule\"I\n\034DeleteLifecycleP" + "olicyRequest\022)\n\023lifecycle_policy_id\030\001 \001(" + "\tB\014\350\3071\001\212\3101\004<=50\"<\n\035CreateLifecyclePolicy" + "Metadata\022\033\n\023lifecycle_policy_id\030\001 \001(\t\"<\n" + "\035UpdateLifecyclePolicyMetadata\022\033\n\023lifecy" + "cle_policy_id\030\001 \001(\t\"<\n\035DeleteLifecyclePo" + "licyMetadata\022\033\n\023lifecycle_policy_id\030\001 \001(" + "\t\"I\n\034DryRunLifecyclePolicyRequest\022)\n\023lif" + "ecycle_policy_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\"h\n\035" + "DryRunLifecyclePolicyMetadata\022*\n\"dry_run" + "_lifecycle_policy_result_id\030\001 \001(\t\022\033\n\023lif" + "ecycle_policy_id\030\002 \001(\t\"\261\001\n\033DryRunLifecyc" + "lePolicyResult\022*\n\"dry_run_lifecycle_poli" + "cy_result_id\030\001 \001(\t\022\033\n\023lifecycle_policy_i" + "d\030\002 \001(\t\022*\n\006run_at\030\003 \001(\0132\032.google.protobu" + "f.Timestamp\022\035\n\025affected_images_count\030\004 \001" + "(\003\"a\n%GetDryRunLifecyclePolicyResultRequ" + "est\0228\n\"dry_run_lifecycle_policy_result_i" + "d\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\"\313\001\n\'ListDryRunLife" + "cyclePolicyResultsRequest\022)\n\023lifecycle_p" + "olicy_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022\035\n\tpage_siz" + "e\030\002 \001(\003B\n\372\3071\0060-1000\022\035\n\npage_token\030\003 \001(\tB" + "\t\212\3101\005<=100\022\032\n\006filter\030\004 \001(\tB\n\212\3101\006<=1000\022\033" + "\n\010order_by\030\005 \001(\tB\t\212\3101\005<=100\"\255\001\n(ListDryR" + "unLifecyclePolicyResultsResponse\022h\n dry_" + "run_lifecycle_policy_results\030\001 \003(\0132>.yan" + "dex.cloud.containerregistry.v1.DryRunLif" + "ecyclePolicyResult\022\027\n\017next_page_token\030\002 " + "\001(\t\"\347\001\n4ListDryRunLifecyclePolicyResultA" + "ffectedImagesRequest\0228\n\"dry_run_lifecycl" + "e_policy_result_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022\035" + "\n\tpage_size\030\002 \001(\003B\n\372\3071\0060-1000\022\035\n\npage_to" + "ken\030\003 \001(\tB\t\212\3101\005<=100\022\032\n\006filter\030\004 \001(\tB\n\212\310" + "1\006<=1000\022\033\n\010order_by\030\005 \001(\tB\t\212\3101\005<=100\"\223\001" + "\n5ListDryRunLifecyclePolicyResultAffecte" + "dImagesResponse\022A\n\017affected_images\030\001 \003(\013" + "2(.yandex.cloud.containerregistry.v1.Ima" + "ge\022\027\n\017next_page_token\030\002 \001(\t2\202\021\n\026Lifecycl" + "ePolicyService\022\277\001\n\003Get\022<.yandex.cloud.co" + "ntainerregistry.v1.GetLifecyclePolicyReq" + "uest\0322.yandex.cloud.containerregistry.v1" + ".LifecyclePolicy\"F\202\323\344\223\002@\022>/container-reg" + "istry/v1/lifecyclePolicies/{lifecycle_po" + "licy_id}\022\273\001\n\004List\022?.yandex.cloud.contain" + "erregistry.v1.ListLifecyclePoliciesReque" + "st\[email protected]" + "istLifecyclePoliciesResponse\"0\202\323\344\223\002*\022(/c" + "ontainer-registry/v1/lifecyclePolicies\022\325" + "\001\n\006Create\022?.yandex.cloud.containerregist" + "ry.v1.CreateLifecyclePolicyRequest\032!.yan" + "dex.cloud.operation.Operation\"g\202\323\344\223\002-\"(/" + "container-registry/v1/lifecyclePolicies:" + "\001*\262\322*0\n\035CreateLifecyclePolicyMetadata\022\017L" + "ifecyclePolicy\022\353\001\n\006Update\022?.yandex.cloud" + ".containerregistry.v1.UpdateLifecyclePol" + "icyRequest\032!.yandex.cloud.operation.Oper" + "ation\"}\202\323\344\223\002C2>/container-registry/v1/li" + "fecyclePolicies/{lifecycle_policy_id}:\001*" + "\262\322*0\n\035UpdateLifecyclePolicyMetadata\022\017Lif" + "ecyclePolicy\022\357\001\n\006Delete\022?.yandex.cloud.c" + "ontainerregistry.v1.DeleteLifecyclePolic" + "yRequest\032!.yandex.cloud.operation.Operat" + "ion\"\200\001\202\323\344\223\002@*>/container-registry/v1/lif" + "ecyclePolicies/{lifecycle_policy_id}\262\322*6" + "\n\035DeleteLifecyclePolicyMetadata\022\025google." + "protobuf.Empty\022\374\001\n\006DryRun\022?.yandex.cloud" + ".containerregistry.v1.DryRunLifecyclePol" + "icyRequest\032!.yandex.cloud.operation.Oper" + "ation\"\215\001\202\323\344\223\002G\"B/container-registry/v1/d" + "ryRunLifecyclePolicy/{lifecycle_policy_i" + "d}:\001*\262\322*<\n\035DryRunLifecyclePolicyMetadata" + "\022\033DryRunLifecyclePolicyResult\022\375\001\n\017GetDry" + "RunResult\022H.yandex.cloud.containerregist" + "ry.v1.GetDryRunLifecyclePolicyResultRequ" + "est\032>.yandex.cloud.containerregistry.v1." + "DryRunLifecyclePolicyResult\"`\202\323\344\223\002Z\022X/co" + "ntainer-registry/v1/dryRunLifecyclePolic" + "yResults/{dry_run_lifecycle_policy_resul" + "t_id}\022\351\001\n\021ListDryRunResults\022J.yandex.clo" + "ud.containerregistry.v1.ListDryRunLifecy" + "clePolicyResultsRequest\032K.yandex.cloud.c" + "ontainerregistry.v1.ListDryRunLifecycleP" + "olicyResultsResponse\";\202\323\344\223\0025\0223/container" + "-registry/v1/dryRunLifecyclePolicyResult" + "s\022\304\002\n\036ListDryRunResultAffectedImages\022W.y" + "andex.cloud.containerregistry.v1.ListDry" + "RunLifecyclePolicyResultAffectedImagesRe" + "quest\032X.yandex.cloud.containerregistry.v" + "1.ListDryRunLifecyclePolicyResultAffecte" + "dImagesResponse\"o\202\323\344\223\002i\022g/container-regi" + "stry/v1/dryRunLifecyclePolicyResults/{dr" + "y_run_lifecycle_policy_result_id}:affect" + "edImagesB\200\001\n%yandex.cloud.api.containerr" + "egistry.v1ZWgithub.com/yandex-cloud/go-g" + "enproto/yandex/cloud/containerregistry/v" + "1;containerregistryb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { yandex.cloud.api.OperationOuterClass.getDescriptor(), yandex.cloud.api.containerregistry.v1.ImageOuterClass.getDescriptor(), yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.getDescriptor(), yandex.cloud.api.operation.OperationOuterClass.getDescriptor(), yandex.cloud.api.Validation.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_GetLifecyclePolicyRequest_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesRequest_descriptor, new java.lang.String[] { "RegistryId", "RepositoryId", "PageSize", "PageToken", "Filter", "OrderBy", "Id", }); internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListLifecyclePoliciesResponse_descriptor, new java.lang.String[] { "LifecyclePolicies", "NextPageToken", }); internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyRequest_descriptor, new java.lang.String[] { "RepositoryId", "Name", "Description", "Status", "Rules", }); internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyRequest_descriptor, new java.lang.String[] { "LifecyclePolicyId", "UpdateMask", "Name", "Description", "Status", "Rules", }); internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyRequest_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_CreateLifecyclePolicyMetadata_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_UpdateLifecyclePolicyMetadata_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_DeleteLifecyclePolicyMetadata_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyRequest_descriptor, new java.lang.String[] { "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyMetadata_descriptor, new java.lang.String[] { "DryRunLifecyclePolicyResultId", "LifecyclePolicyId", }); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_DryRunLifecyclePolicyResult_descriptor, new java.lang.String[] { "DryRunLifecyclePolicyResultId", "LifecyclePolicyId", "RunAt", "AffectedImagesCount", }); internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_GetDryRunLifecyclePolicyResultRequest_descriptor, new java.lang.String[] { "DryRunLifecyclePolicyResultId", }); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsRequest_descriptor, new java.lang.String[] { "LifecyclePolicyId", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultsResponse_descriptor, new java.lang.String[] { "DryRunLifecyclePolicyResults", "NextPageToken", }); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesRequest_descriptor, new java.lang.String[] { "DryRunLifecyclePolicyResultId", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_containerregistry_v1_ListDryRunLifecyclePolicyResultAffectedImagesResponse_descriptor, new java.lang.String[] { "AffectedImages", "NextPageToken", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); registry.add(yandex.cloud.api.OperationOuterClass.operation); registry.add(yandex.cloud.api.Validation.exactlyOne); registry.add(yandex.cloud.api.Validation.length); registry.add(yandex.cloud.api.Validation.pattern); registry.add(yandex.cloud.api.Validation.required); registry.add(yandex.cloud.api.Validation.value); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); yandex.cloud.api.OperationOuterClass.getDescriptor(); yandex.cloud.api.containerregistry.v1.ImageOuterClass.getDescriptor(); yandex.cloud.api.containerregistry.v1.LifecyclePolicyOuterClass.getDescriptor(); yandex.cloud.api.operation.OperationOuterClass.getDescriptor(); yandex.cloud.api.Validation.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy