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

yandex.cloud.api.cdn.v1.CacheServiceOuterClass Maven / Gradle / Ivy

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

package yandex.cloud.api.cdn.v1;

public final class CacheServiceOuterClass {
  private CacheServiceOuterClass() {}
  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 PurgeCacheRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.cdn.v1.PurgeCacheRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * ID of the resource to perform purge operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * ID of the resource to perform purge operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @return A list containing the paths. */ java.util.List getPathsList(); /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @return The count of paths. */ int getPathsCount(); /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ com.google.protobuf.ByteString getPathsBytes(int index); } /** * Protobuf type {@code yandex.cloud.cdn.v1.PurgeCacheRequest} */ public static final class PurgeCacheRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.cdn.v1.PurgeCacheRequest) PurgeCacheRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PurgeCacheRequest.newBuilder() to construct. private PurgeCacheRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PurgeCacheRequest() { resourceId_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PurgeCacheRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PurgeCacheRequest( 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(); resourceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } paths_.add(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)) { paths_ = paths_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** *
     * ID of the resource to perform purge operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * ID of the resource to perform purge operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList paths_; /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @return A list containing the paths. */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** *
     * Set of paths:
     * Paths of the files to remove from the cache.
     * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
     * If an empty array of paths is specified, the cache is purged entirely.  
     * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(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(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } for (int i = 0; i < paths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(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(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } { int dataSize = 0; for (int i = 0; i < paths_.size(); i++) { dataSize += computeStringSizeNoTag(paths_.getRaw(i)); } size += dataSize; size += 1 * getPathsList().size(); } 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest)) { return super.equals(obj); } yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest other = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest) obj; if (!getResourceId() .equals(other.getResourceId())) return false; if (!getPathsList() .equals(other.getPathsList())) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); if (getPathsCount() > 0) { hash = (37 * hash) + PATHS_FIELD_NUMBER; hash = (53 * hash) + getPathsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest 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.cdn.v1.PurgeCacheRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.cdn.v1.PurgeCacheRequest) yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.Builder.class); } // Construct using yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.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(); resourceId_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest getDefaultInstanceForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest build() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest buildPartial() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest result = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest(this); int from_bitField0_ = bitField0_; result.resourceId_ = resourceId_; if (((bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.paths_ = paths_; 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest) { return mergeFrom((yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest other) { if (other == yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (!other.paths_.isEmpty()) { if (paths_.isEmpty()) { paths_ = other.paths_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePathsIsMutable(); paths_.addAll(other.paths_); } 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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object resourceId_ = ""; /** *
       * ID of the resource to perform purge operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the resource to perform purge operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the resource to perform purge operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * ID of the resource to perform purge operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * ID of the resource to perform purge operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; } } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @return A list containing the paths. */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ public Builder setPaths( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param value The paths to add. * @return This builder for chaining. */ public Builder addPaths( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param values The paths to add. * @return This builder for chaining. */ public Builder addAllPaths( java.lang.Iterable values) { ensurePathsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, paths_); onChanged(); return this; } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @return This builder for chaining. */ public Builder clearPaths() { paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Set of paths:
       * Paths of the files to remove from the cache.
       * You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
       * If an empty array of paths is specified, the cache is purged entirely.  
       * 
* * repeated string paths = 2; * @param value The bytes of the paths to add. * @return This builder for chaining. */ public Builder addPathsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(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.cdn.v1.PurgeCacheRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.cdn.v1.PurgeCacheRequest) private static final yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest(); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PurgeCacheRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PurgeCacheRequest(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.cdn.v1.CacheServiceOuterClass.PurgeCacheRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PurgeCacheMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.cdn.v1.PurgeCacheMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); } /** * Protobuf type {@code yandex.cloud.cdn.v1.PurgeCacheMetadata} */ public static final class PurgeCacheMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.cdn.v1.PurgeCacheMetadata) PurgeCacheMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use PurgeCacheMetadata.newBuilder() to construct. private PurgeCacheMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PurgeCacheMetadata() { resourceId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PurgeCacheMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PurgeCacheMetadata( 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(); resourceId_ = 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.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = 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(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } 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(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata)) { return super.equals(obj); } yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata other = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata) obj; if (!getResourceId() .equals(other.getResourceId())) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata 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.cdn.v1.PurgeCacheMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.cdn.v1.PurgeCacheMetadata) yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.Builder.class); } // Construct using yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.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(); resourceId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata getDefaultInstanceForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata build() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata buildPartial() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata result = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata(this); result.resourceId_ = resourceId_; 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata) { return mergeFrom((yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata other) { if (other == yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; 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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object resourceId_ = ""; /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = 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.cdn.v1.PurgeCacheMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.cdn.v1.PurgeCacheMetadata) private static final yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata(); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PurgeCacheMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PurgeCacheMetadata(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.cdn.v1.CacheServiceOuterClass.PurgeCacheMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PrefetchCacheRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.cdn.v1.PrefetchCacheRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the resource to perform prefetch operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * ID of the resource to perform prefetch operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @return A list containing the paths. */ java.util.List getPathsList(); /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @return The count of paths. */ int getPathsCount(); /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ com.google.protobuf.ByteString getPathsBytes(int index); } /** * Protobuf type {@code yandex.cloud.cdn.v1.PrefetchCacheRequest} */ public static final class PrefetchCacheRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.cdn.v1.PrefetchCacheRequest) PrefetchCacheRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PrefetchCacheRequest.newBuilder() to construct. private PrefetchCacheRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PrefetchCacheRequest() { resourceId_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PrefetchCacheRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrefetchCacheRequest( 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(); resourceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } paths_.add(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)) { paths_ = paths_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** *
     * ID of the resource to perform prefetch operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * ID of the resource to perform prefetch operation on.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList paths_; /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @return A list containing the paths. */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** *
     * Set of paths to prefetch.
     * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(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(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } for (int i = 0; i < paths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(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(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } { int dataSize = 0; for (int i = 0; i < paths_.size(); i++) { dataSize += computeStringSizeNoTag(paths_.getRaw(i)); } size += dataSize; size += 1 * getPathsList().size(); } 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest)) { return super.equals(obj); } yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest other = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest) obj; if (!getResourceId() .equals(other.getResourceId())) return false; if (!getPathsList() .equals(other.getPathsList())) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); if (getPathsCount() > 0) { hash = (37 * hash) + PATHS_FIELD_NUMBER; hash = (53 * hash) + getPathsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest 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.cdn.v1.PrefetchCacheRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.cdn.v1.PrefetchCacheRequest) yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.Builder.class); } // Construct using yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.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(); resourceId_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest getDefaultInstanceForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest build() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest buildPartial() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest result = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest(this); int from_bitField0_ = bitField0_; result.resourceId_ = resourceId_; if (((bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.paths_ = paths_; 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest) { return mergeFrom((yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest other) { if (other == yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (!other.paths_.isEmpty()) { if (paths_.isEmpty()) { paths_ = other.paths_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePathsIsMutable(); paths_.addAll(other.paths_); } 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object resourceId_ = ""; /** *
       * ID of the resource to perform prefetch operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the resource to perform prefetch operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the resource to perform prefetch operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * ID of the resource to perform prefetch operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * ID of the resource to perform prefetch operation on.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; } } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @return A list containing the paths. */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param index The index of the element to return. * @return The paths at the given index. */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ public Builder setPaths( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param value The paths to add. * @return This builder for chaining. */ public Builder addPaths( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param values The paths to add. * @return This builder for chaining. */ public Builder addAllPaths( java.lang.Iterable values) { ensurePathsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, paths_); onChanged(); return this; } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @return This builder for chaining. */ public Builder clearPaths() { paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Set of paths to prefetch.
       * 
* * repeated string paths = 2; * @param value The bytes of the paths to add. * @return This builder for chaining. */ public Builder addPathsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(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.cdn.v1.PrefetchCacheRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.cdn.v1.PrefetchCacheRequest) private static final yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest(); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrefetchCacheRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PrefetchCacheRequest(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.cdn.v1.CacheServiceOuterClass.PrefetchCacheRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PrefetchCacheMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.cdn.v1.PrefetchCacheMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); } /** * Protobuf type {@code yandex.cloud.cdn.v1.PrefetchCacheMetadata} */ public static final class PrefetchCacheMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.cdn.v1.PrefetchCacheMetadata) PrefetchCacheMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use PrefetchCacheMetadata.newBuilder() to construct. private PrefetchCacheMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PrefetchCacheMetadata() { resourceId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PrefetchCacheMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PrefetchCacheMetadata( 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(); resourceId_ = 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.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * ID of the resource.
     * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = 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(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } 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(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata)) { return super.equals(obj); } yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata other = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata) obj; if (!getResourceId() .equals(other.getResourceId())) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata 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.cdn.v1.PrefetchCacheMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.cdn.v1.PrefetchCacheMetadata) yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.class, yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.Builder.class); } // Construct using yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.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(); resourceId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata getDefaultInstanceForType() { return yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata build() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata buildPartial() { yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata result = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata(this); result.resourceId_ = resourceId_; 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata) { return mergeFrom((yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata other) { if (other == yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; 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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object resourceId_ = ""; /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * ID of the resource.
       * 
* * string resource_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = 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.cdn.v1.PrefetchCacheMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.cdn.v1.PrefetchCacheMetadata) private static final yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata(); } public static yandex.cloud.api.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrefetchCacheMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PrefetchCacheMetadata(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.cdn.v1.CacheServiceOuterClass.PrefetchCacheMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_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/cdn/v1/cache_service.prot" + "o\022\023yandex.cloud.cdn.v1\032\034google/api/annot" + "ations.proto\032 yandex/cloud/api/operation" + ".proto\032&yandex/cloud/operation/operation" + ".proto\032\035yandex/cloud/validation.proto\"E\n" + "\021PurgeCacheRequest\022!\n\013resource_id\030\001 \001(\tB" + "\014\350\3071\001\212\3101\004<=50\022\r\n\005paths\030\002 \003(\t\"7\n\022PurgeCac" + "heMetadata\022!\n\013resource_id\030\001 \001(\tB\014\350\3071\001\212\3101" + "\004<=50\"H\n\024PrefetchCacheRequest\022!\n\013resourc" + "e_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022\r\n\005paths\030\002 \003(\t\"" + ":\n\025PrefetchCacheMetadata\022!\n\013resource_id\030" + "\001 \001(\tB\014\350\3071\001\212\3101\004<=502\376\002\n\014CacheService\022\257\001\n" + "\005Purge\022&.yandex.cloud.cdn.v1.PurgeCacheR" + "equest\032!.yandex.cloud.operation.Operatio" + "n\"[\202\323\344\223\002&\"!/cdn/v1/cache/{resource_id}:p" + "urge:\001*\262\322*+\n\022PurgeCacheMetadata\022\025google." + "protobuf.Empty\022\273\001\n\010Prefetch\022).yandex.clo" + "ud.cdn.v1.PrefetchCacheRequest\032!.yandex." + "cloud.operation.Operation\"a\202\323\344\223\002)\"$/cdn/" + "v1/cache/{resource_id}:prefetch:\001*\262\322*.\n\025" + "PrefetchCacheMetadata\022\025google.protobuf.E" + "mptyBV\n\027yandex.cloud.api.cdn.v1Z;github." + "com/yandex-cloud/go-genproto/yandex/clou" + "d/cdn/v1;cdnb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), yandex.cloud.api.OperationOuterClass.getDescriptor(), yandex.cloud.api.operation.OperationOuterClass.getDescriptor(), yandex.cloud.api.Validation.getDescriptor(), }); internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_cdn_v1_PurgeCacheRequest_descriptor, new java.lang.String[] { "ResourceId", "Paths", }); internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_cdn_v1_PurgeCacheMetadata_descriptor, new java.lang.String[] { "ResourceId", }); internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_cdn_v1_PrefetchCacheRequest_descriptor, new java.lang.String[] { "ResourceId", "Paths", }); internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_cdn_v1_PrefetchCacheMetadata_descriptor, new java.lang.String[] { "ResourceId", }); 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.length); registry.add(yandex.cloud.api.Validation.required); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); yandex.cloud.api.OperationOuterClass.getDescriptor(); yandex.cloud.api.operation.OperationOuterClass.getDescriptor(); yandex.cloud.api.Validation.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy