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

yandex.cloud.api.compute.v1.FilesystemServiceOuterClass Maven / Gradle / Ivy

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

package yandex.cloud.api.compute.v1;

public final class FilesystemServiceOuterClass {
  private FilesystemServiceOuterClass() {}
  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 GetFilesystemRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.GetFilesystemRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * ID of the filesystem to return.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem to return.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.GetFilesystemRequest} */ public static final class GetFilesystemRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.GetFilesystemRequest) GetFilesystemRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetFilesystemRequest.newBuilder() to construct. private GetFilesystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFilesystemRequest() { filesystemId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFilesystemRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetFilesystemRequest( 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(); filesystemId_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem to return.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem to return.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest 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.compute.v1.GetFilesystemRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.GetFilesystemRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.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(); filesystemId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest(this); result.filesystemId_ = filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem to return.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem to return.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem to return.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem to return.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem to return.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = 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.compute.v1.GetFilesystemRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.GetFilesystemRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFilesystemRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetFilesystemRequest(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.compute.v1.FilesystemServiceOuterClass.GetFilesystemRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFilesystemsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.ListFilesystemsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the folder to list filesystems in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ java.lang.String getFolderId(); /** *
     * ID of the folder to list filesystems in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ com.google.protobuf.ByteString getFolderIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`,
     * the service returns a [ListFilesystemsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
     * Each condition has the form `<field> <operator> <value>`, where:
     * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
     * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
     * 3. `<value>` represents a value.
     * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
     * Each condition has the form `<field> <operator> <value>`, where:
     * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
     * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
     * 3. `<value>` represents a value.
     * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); /** *
     * By which column the listing should be ordered and in which direction,
     * format is "createdAt desc". "id asc" if omitted.
     * The default sorting order is ascending
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ java.lang.String getOrderBy(); /** *
     * By which column the listing should be ordered and in which direction,
     * format is "createdAt desc". "id asc" if omitted.
     * The default sorting order is ascending
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.ListFilesystemsRequest} */ public static final class ListFilesystemsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.ListFilesystemsRequest) ListFilesystemsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFilesystemsRequest.newBuilder() to construct. private ListFilesystemsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFilesystemsRequest() { folderId_ = ""; pageToken_ = ""; filter_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFilesystemsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFilesystemsRequest( 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(); folderId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.Builder.class); } public static final int FOLDER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object folderId_; /** *
     * ID of the folder to list filesystems in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ @java.lang.Override public java.lang.String getFolderId() { java.lang.Object ref = folderId_; 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(); folderId_ = s; return s; } } /** *
     * ID of the folder to list filesystems in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ @java.lang.Override public com.google.protobuf.ByteString getFolderIdBytes() { java.lang.Object ref = folderId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); folderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`,
     * the service returns a [ListFilesystemsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters resources listed in the response.
     * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
     * Each condition has the form `<field> <operator> <value>`, where:
     * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
     * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
     * 3. `<value>` represents a value.
     * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
     * A filter expression that filters resources listed in the response.
     * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
     * Each condition has the form `<field> <operator> <value>`, where:
     * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
     * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
     * 3. `<value>` represents a value.
     * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
     * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** *
     * By which column the listing should be ordered and in which direction,
     * format is "createdAt desc". "id asc" if omitted.
     * The default sorting order is ascending
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ @java.lang.Override public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** *
     * By which column the listing should be ordered and in which direction,
     * format is "createdAt desc". "id asc" if omitted.
     * The default sorting order is ascending
     * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ @java.lang.Override public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, folderId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, folderId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest) obj; if (!getFolderId() .equals(other.getFolderId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) return false; if (!getFilter() .equals(other.getFilter())) return false; if (!getOrderBy() .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FOLDER_ID_FIELD_NUMBER; hash = (53 * hash) + getFolderId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest 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.compute.v1.ListFilesystemsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.ListFilesystemsRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.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(); folderId_ = ""; pageSize_ = 0L; pageToken_ = ""; filter_ = ""; orderBy_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest(this); result.folderId_ = folderId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; result.orderBy_ = orderBy_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest.getDefaultInstance()) return this; if (!other.getFolderId().isEmpty()) { folderId_ = other.folderId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } if (!other.getOrderBy().isEmpty()) { orderBy_ = other.orderBy_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object folderId_ = ""; /** *
       * ID of the folder to list filesystems in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ public java.lang.String getFolderId() { java.lang.Object ref = folderId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); folderId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the folder to list filesystems in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ public com.google.protobuf.ByteString getFolderIdBytes() { java.lang.Object ref = folderId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); folderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the folder to list filesystems in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The folderId to set. * @return This builder for chaining. */ public Builder setFolderId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } folderId_ = value; onChanged(); return this; } /** *
       * ID of the folder to list filesystems in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFolderId() { folderId_ = getDefaultInstance().getFolderId(); onChanged(); return this; } /** *
       * ID of the folder to list filesystems in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for folderId to set. * @return This builder for chaining. */ public Builder setFolderIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); folderId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`,
       * the service returns a [ListFilesystemsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`,
       * the service returns a [ListFilesystemsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`,
       * the service returns a [ListFilesystemsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters resources listed in the response.
       * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
       * Each condition has the form `<field> <operator> <value>`, where:
       * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
       * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
       * 3. `<value>` represents a value.
       * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
       * Each condition has the form `<field> <operator> <value>`, where:
       * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
       * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
       * 3. `<value>` represents a value.
       * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A filter expression that filters resources listed in the response.
       * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
       * Each condition has the form `<field> <operator> <value>`, where:
       * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
       * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
       * 3. `<value>` represents a value.
       * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The filter to set. * @return This builder for chaining. */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
       * Each condition has the form `<field> <operator> <value>`, where:
       * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
       * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
       * 3. `<value>` represents a value.
       * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @return This builder for chaining. */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
       * A filter expression that filters resources listed in the response.
       * The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`.
       * Each condition has the form `<field> <operator> <value>`, where:
       * 1. `<field>` is the field name. Currently you can use filtering only on the limited number of fields.
       * 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
       * 3. `<value>` represents a value.
       * String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
       * 
* * string filter = 4 [(.yandex.cloud.length) = "<=1000"]; * @param value The bytes for filter to set. * @return This builder for chaining. */ public Builder setFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } private java.lang.Object orderBy_ = ""; /** *
       * By which column the listing should be ordered and in which direction,
       * format is "createdAt desc". "id asc" if omitted.
       * The default sorting order is ascending
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * By which column the listing should be ordered and in which direction,
       * format is "createdAt desc". "id asc" if omitted.
       * The default sorting order is ascending
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for orderBy. */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); orderBy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * By which column the listing should be ordered and in which direction,
       * format is "createdAt desc". "id asc" if omitted.
       * The default sorting order is ascending
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The orderBy to set. * @return This builder for chaining. */ public Builder setOrderBy( java.lang.String value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value; onChanged(); return this; } /** *
       * By which column the listing should be ordered and in which direction,
       * format is "createdAt desc". "id asc" if omitted.
       * The default sorting order is ascending
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearOrderBy() { orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** *
       * By which column the listing should be ordered and in which direction,
       * format is "createdAt desc". "id asc" if omitted.
       * The default sorting order is ascending
       * 
* * string order_by = 5 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for orderBy to set. * @return This builder for chaining. */ public Builder setOrderByBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.compute.v1.ListFilesystemsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.ListFilesystemsRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFilesystemsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFilesystemsRequest(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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFilesystemsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.ListFilesystemsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ java.util.List getFilesystemsList(); /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem getFilesystems(int index); /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ int getFilesystemsCount(); /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ java.util.List getFilesystemsOrBuilderList(); /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder getFilesystemsOrBuilder( int index); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.ListFilesystemsResponse} */ public static final class ListFilesystemsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.ListFilesystemsResponse) ListFilesystemsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFilesystemsResponse.newBuilder() to construct. private ListFilesystemsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFilesystemsResponse() { filesystems_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFilesystemsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFilesystemsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { filesystems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } filesystems_.add( input.readMessage(yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { filesystems_ = java.util.Collections.unmodifiableList(filesystems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.Builder.class); } public static final int FILESYSTEMS_FIELD_NUMBER = 1; private java.util.List filesystems_; /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ @java.lang.Override public java.util.List getFilesystemsList() { return filesystems_; } /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ @java.lang.Override public java.util.List getFilesystemsOrBuilderList() { return filesystems_; } /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ @java.lang.Override public int getFilesystemsCount() { return filesystems_.size(); } /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem getFilesystems(int index) { return filesystems_.get(index); } /** *
     * List of filesystems in the specified folder.
     * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder getFilesystemsOrBuilder( int index) { return filesystems_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filesystems_.size(); i++) { output.writeMessage(1, filesystems_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < filesystems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, filesystems_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse) obj; if (!getFilesystemsList() .equals(other.getFilesystemsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFilesystemsCount() > 0) { hash = (37 * hash) + FILESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getFilesystemsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse 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.compute.v1.ListFilesystemsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.ListFilesystemsResponse) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFilesystemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (filesystemsBuilder_ == null) { filesystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { filesystemsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse(this); int from_bitField0_ = bitField0_; if (filesystemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filesystems_ = java.util.Collections.unmodifiableList(filesystems_); bitField0_ = (bitField0_ & ~0x00000001); } result.filesystems_ = filesystems_; } else { result.filesystems_ = filesystemsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse.getDefaultInstance()) return this; if (filesystemsBuilder_ == null) { if (!other.filesystems_.isEmpty()) { if (filesystems_.isEmpty()) { filesystems_ = other.filesystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFilesystemsIsMutable(); filesystems_.addAll(other.filesystems_); } onChanged(); } } else { if (!other.filesystems_.isEmpty()) { if (filesystemsBuilder_.isEmpty()) { filesystemsBuilder_.dispose(); filesystemsBuilder_ = null; filesystems_ = other.filesystems_; bitField0_ = (bitField0_ & ~0x00000001); filesystemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFilesystemsFieldBuilder() : null; } else { filesystemsBuilder_.addAllMessages(other.filesystems_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List filesystems_ = java.util.Collections.emptyList(); private void ensureFilesystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filesystems_ = new java.util.ArrayList(filesystems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder, yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder> filesystemsBuilder_; /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public java.util.List getFilesystemsList() { if (filesystemsBuilder_ == null) { return java.util.Collections.unmodifiableList(filesystems_); } else { return filesystemsBuilder_.getMessageList(); } } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public int getFilesystemsCount() { if (filesystemsBuilder_ == null) { return filesystems_.size(); } else { return filesystemsBuilder_.getCount(); } } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem getFilesystems(int index) { if (filesystemsBuilder_ == null) { return filesystems_.get(index); } else { return filesystemsBuilder_.getMessage(index); } } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder setFilesystems( int index, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem value) { if (filesystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesystemsIsMutable(); filesystems_.set(index, value); onChanged(); } else { filesystemsBuilder_.setMessage(index, value); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder setFilesystems( int index, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder builderForValue) { if (filesystemsBuilder_ == null) { ensureFilesystemsIsMutable(); filesystems_.set(index, builderForValue.build()); onChanged(); } else { filesystemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder addFilesystems(yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem value) { if (filesystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesystemsIsMutable(); filesystems_.add(value); onChanged(); } else { filesystemsBuilder_.addMessage(value); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder addFilesystems( int index, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem value) { if (filesystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFilesystemsIsMutable(); filesystems_.add(index, value); onChanged(); } else { filesystemsBuilder_.addMessage(index, value); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder addFilesystems( yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder builderForValue) { if (filesystemsBuilder_ == null) { ensureFilesystemsIsMutable(); filesystems_.add(builderForValue.build()); onChanged(); } else { filesystemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder addFilesystems( int index, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder builderForValue) { if (filesystemsBuilder_ == null) { ensureFilesystemsIsMutable(); filesystems_.add(index, builderForValue.build()); onChanged(); } else { filesystemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder addAllFilesystems( java.lang.Iterable values) { if (filesystemsBuilder_ == null) { ensureFilesystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, filesystems_); onChanged(); } else { filesystemsBuilder_.addAllMessages(values); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder clearFilesystems() { if (filesystemsBuilder_ == null) { filesystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { filesystemsBuilder_.clear(); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public Builder removeFilesystems(int index) { if (filesystemsBuilder_ == null) { ensureFilesystemsIsMutable(); filesystems_.remove(index); onChanged(); } else { filesystemsBuilder_.remove(index); } return this; } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder getFilesystemsBuilder( int index) { return getFilesystemsFieldBuilder().getBuilder(index); } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder getFilesystemsOrBuilder( int index) { if (filesystemsBuilder_ == null) { return filesystems_.get(index); } else { return filesystemsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public java.util.List getFilesystemsOrBuilderList() { if (filesystemsBuilder_ != null) { return filesystemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(filesystems_); } } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder addFilesystemsBuilder() { return getFilesystemsFieldBuilder().addBuilder( yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.getDefaultInstance()); } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder addFilesystemsBuilder( int index) { return getFilesystemsFieldBuilder().addBuilder( index, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.getDefaultInstance()); } /** *
       * List of filesystems in the specified folder.
       * 
* * repeated .yandex.cloud.compute.v1.Filesystem filesystems = 1; */ public java.util.List getFilesystemsBuilderList() { return getFilesystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder, yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder> getFilesystemsFieldBuilder() { if (filesystemsBuilder_ == null) { filesystemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem, yandex.cloud.api.compute.v1.FilesystemOuterClass.Filesystem.Builder, yandex.cloud.api.compute.v1.FilesystemOuterClass.FilesystemOrBuilder>( filesystems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); filesystems_ = null; } return filesystemsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.compute.v1.ListFilesystemsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.ListFilesystemsResponse) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFilesystemsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFilesystemsResponse(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.compute.v1.FilesystemServiceOuterClass.ListFilesystemsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateFilesystemRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.CreateFilesystemRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the folder to create a filesystem in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ java.lang.String getFolderId(); /** *
     * ID of the folder to create a filesystem in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ com.google.protobuf.ByteString getFolderIdBytes(); /** *
     * Name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ java.lang.String getName(); /** *
     * Name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Description of the filesystem.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * Description of the filesystem.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ int getLabelsCount(); /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.util.Map getLabelsMap(); /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrThrow( java.lang.String key); /** *
     * ID of the filesystem type.
     * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
     * The filesystem type cannot be updated after the filesystem creation.
     * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The typeId. */ java.lang.String getTypeId(); /** *
     * ID of the filesystem type.
     * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
     * The filesystem type cannot be updated after the filesystem creation.
     * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for typeId. */ com.google.protobuf.ByteString getTypeIdBytes(); /** *
     * ID of the availability zone where the filesystem resides.
     * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
     * A filesystem can be attached only to virtual machines residing in the same availability zone.
     * The filesystem availability zone cannot be updated after the filesystem creation.
     * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The zoneId. */ java.lang.String getZoneId(); /** *
     * ID of the availability zone where the filesystem resides.
     * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
     * A filesystem can be attached only to virtual machines residing in the same availability zone.
     * The filesystem availability zone cannot be updated after the filesystem creation.
     * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for zoneId. */ com.google.protobuf.ByteString getZoneIdBytes(); /** *
     * Size of the filesystem, specified in bytes.
     * The size of the filesystem cannot be updated after the filesystem creation.
     * 
* * int64 size = 7 [(.yandex.cloud.required) = true]; * @return The size. */ long getSize(); /** *
     * Block size used for the filesystem, specified in bytes.
     * The block size cannot be updated after the filesystem creation.
     * Default value: 4096.
     * 
* * int64 block_size = 8; * @return The blockSize. */ long getBlockSize(); } /** * Protobuf type {@code yandex.cloud.compute.v1.CreateFilesystemRequest} */ public static final class CreateFilesystemRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.CreateFilesystemRequest) CreateFilesystemRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateFilesystemRequest.newBuilder() to construct. private CreateFilesystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateFilesystemRequest() { folderId_ = ""; name_ = ""; description_ = ""; typeId_ = ""; zoneId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateFilesystemRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateFilesystemRequest( 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(); folderId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); typeId_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); zoneId_ = s; break; } case 56: { size_ = input.readInt64(); break; } case 64: { blockSize_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.Builder.class); } public static final int FOLDER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object folderId_; /** *
     * ID of the folder to create a filesystem in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ @java.lang.Override public java.lang.String getFolderId() { java.lang.Object ref = folderId_; 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(); folderId_ = s; return s; } } /** *
     * ID of the folder to create a filesystem in.
     * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
     * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ @java.lang.Override public com.google.protobuf.ByteString getFolderIdBytes() { java.lang.Object ref = folderId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); folderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** *
     * Description of the filesystem.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * Description of the filesystem.
     * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LABELS_FIELD_NUMBER = 4; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int TYPE_ID_FIELD_NUMBER = 5; private volatile java.lang.Object typeId_; /** *
     * ID of the filesystem type.
     * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
     * The filesystem type cannot be updated after the filesystem creation.
     * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The typeId. */ @java.lang.Override public java.lang.String getTypeId() { java.lang.Object ref = typeId_; 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(); typeId_ = s; return s; } } /** *
     * ID of the filesystem type.
     * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
     * The filesystem type cannot be updated after the filesystem creation.
     * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for typeId. */ @java.lang.Override public com.google.protobuf.ByteString getTypeIdBytes() { java.lang.Object ref = typeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ZONE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object zoneId_; /** *
     * ID of the availability zone where the filesystem resides.
     * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
     * A filesystem can be attached only to virtual machines residing in the same availability zone.
     * The filesystem availability zone cannot be updated after the filesystem creation.
     * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The zoneId. */ @java.lang.Override public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; 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(); zoneId_ = s; return s; } } /** *
     * ID of the availability zone where the filesystem resides.
     * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
     * A filesystem can be attached only to virtual machines residing in the same availability zone.
     * The filesystem availability zone cannot be updated after the filesystem creation.
     * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for zoneId. */ @java.lang.Override public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zoneId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIZE_FIELD_NUMBER = 7; private long size_; /** *
     * Size of the filesystem, specified in bytes.
     * The size of the filesystem cannot be updated after the filesystem creation.
     * 
* * int64 size = 7 [(.yandex.cloud.required) = true]; * @return The size. */ @java.lang.Override public long getSize() { return size_; } public static final int BLOCK_SIZE_FIELD_NUMBER = 8; private long blockSize_; /** *
     * Block size used for the filesystem, specified in bytes.
     * The block size cannot be updated after the filesystem creation.
     * Default value: 4096.
     * 
* * int64 block_size = 8; * @return The blockSize. */ @java.lang.Override public long getBlockSize() { return blockSize_; } 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(folderId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, folderId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, typeId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, zoneId_); } if (size_ != 0L) { output.writeInt64(7, size_); } if (blockSize_ != 0L) { output.writeInt64(8, blockSize_); } 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(folderId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, folderId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, typeId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, zoneId_); } if (size_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, size_); } if (blockSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, blockSize_); } 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest) obj; if (!getFolderId() .equals(other.getFolderId())) return false; if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (!getTypeId() .equals(other.getTypeId())) return false; if (!getZoneId() .equals(other.getZoneId())) return false; if (getSize() != other.getSize()) return false; if (getBlockSize() != other.getBlockSize()) 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) + FOLDER_ID_FIELD_NUMBER; hash = (53 * hash) + getFolderId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + TYPE_ID_FIELD_NUMBER; hash = (53 * hash) + getTypeId().hashCode(); hash = (37 * hash) + ZONE_ID_FIELD_NUMBER; hash = (53 * hash) + getZoneId().hashCode(); hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSize()); hash = (37 * hash) + BLOCK_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBlockSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest 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.compute.v1.CreateFilesystemRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.CreateFilesystemRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.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(); folderId_ = ""; name_ = ""; description_ = ""; internalGetMutableLabels().clear(); typeId_ = ""; zoneId_ = ""; size_ = 0L; blockSize_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest(this); int from_bitField0_ = bitField0_; result.folderId_ = folderId_; result.name_ = name_; result.description_ = description_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); result.typeId_ = typeId_; result.zoneId_ = zoneId_; result.size_ = size_; result.blockSize_ = blockSize_; 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest.getDefaultInstance()) return this; if (!other.getFolderId().isEmpty()) { folderId_ = other.folderId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); if (!other.getTypeId().isEmpty()) { typeId_ = other.typeId_; onChanged(); } if (!other.getZoneId().isEmpty()) { zoneId_ = other.zoneId_; onChanged(); } if (other.getSize() != 0L) { setSize(other.getSize()); } if (other.getBlockSize() != 0L) { setBlockSize(other.getBlockSize()); } 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object folderId_ = ""; /** *
       * ID of the folder to create a filesystem in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The folderId. */ public java.lang.String getFolderId() { java.lang.Object ref = folderId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); folderId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the folder to create a filesystem in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for folderId. */ public com.google.protobuf.ByteString getFolderIdBytes() { java.lang.Object ref = folderId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); folderId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the folder to create a filesystem in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The folderId to set. * @return This builder for chaining. */ public Builder setFolderId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } folderId_ = value; onChanged(); return this; } /** *
       * ID of the folder to create a filesystem in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFolderId() { folderId_ = getDefaultInstance().getFolderId(); onChanged(); return this; } /** *
       * ID of the folder to create a filesystem in.
       * To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
       * 
* * string folder_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for folderId to set. * @return This builder for chaining. */ public Builder setFolderIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); folderId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 2 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * Description of the filesystem.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Description of the filesystem.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Description of the filesystem.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * Description of the filesystem.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * Description of the filesystem.
       * 
* * string description = 3 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** *
       * Filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * 
* * map<string, string> labels = 4 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); return this; } private java.lang.Object typeId_ = ""; /** *
       * ID of the filesystem type.
       * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
       * The filesystem type cannot be updated after the filesystem creation.
       * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The typeId. */ public java.lang.String getTypeId() { java.lang.Object ref = typeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); typeId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem type.
       * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
       * The filesystem type cannot be updated after the filesystem creation.
       * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return The bytes for typeId. */ public com.google.protobuf.ByteString getTypeIdBytes() { java.lang.Object ref = typeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); typeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem type.
       * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
       * The filesystem type cannot be updated after the filesystem creation.
       * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @param value The typeId to set. * @return This builder for chaining. */ public Builder setTypeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } typeId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem type.
       * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
       * The filesystem type cannot be updated after the filesystem creation.
       * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearTypeId() { typeId_ = getDefaultInstance().getTypeId(); onChanged(); return this; } /** *
       * ID of the filesystem type.
       * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
       * The filesystem type cannot be updated after the filesystem creation.
       * 
* * string type_id = 5 [(.yandex.cloud.length) = "<=50"]; * @param value The bytes for typeId to set. * @return This builder for chaining. */ public Builder setTypeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); typeId_ = value; onChanged(); return this; } private java.lang.Object zoneId_ = ""; /** *
       * ID of the availability zone where the filesystem resides.
       * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
       * A filesystem can be attached only to virtual machines residing in the same availability zone.
       * The filesystem availability zone cannot be updated after the filesystem creation.
       * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the availability zone where the filesystem resides.
       * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
       * A filesystem can be attached only to virtual machines residing in the same availability zone.
       * The filesystem availability zone cannot be updated after the filesystem creation.
       * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for zoneId. */ public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zoneId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the availability zone where the filesystem resides.
       * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
       * A filesystem can be attached only to virtual machines residing in the same availability zone.
       * The filesystem availability zone cannot be updated after the filesystem creation.
       * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The zoneId to set. * @return This builder for chaining. */ public Builder setZoneId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } zoneId_ = value; onChanged(); return this; } /** *
       * ID of the availability zone where the filesystem resides.
       * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
       * A filesystem can be attached only to virtual machines residing in the same availability zone.
       * The filesystem availability zone cannot be updated after the filesystem creation.
       * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearZoneId() { zoneId_ = getDefaultInstance().getZoneId(); onChanged(); return this; } /** *
       * ID of the availability zone where the filesystem resides.
       * To get a list of available zones, make a [yandex.cloud.compute.v1.ZoneService.List] request.
       * A filesystem can be attached only to virtual machines residing in the same availability zone.
       * The filesystem availability zone cannot be updated after the filesystem creation.
       * 
* * string zone_id = 6 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for zoneId to set. * @return This builder for chaining. */ public Builder setZoneIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; onChanged(); return this; } private long size_ ; /** *
       * Size of the filesystem, specified in bytes.
       * The size of the filesystem cannot be updated after the filesystem creation.
       * 
* * int64 size = 7 [(.yandex.cloud.required) = true]; * @return The size. */ @java.lang.Override public long getSize() { return size_; } /** *
       * Size of the filesystem, specified in bytes.
       * The size of the filesystem cannot be updated after the filesystem creation.
       * 
* * int64 size = 7 [(.yandex.cloud.required) = true]; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(long value) { size_ = value; onChanged(); return this; } /** *
       * Size of the filesystem, specified in bytes.
       * The size of the filesystem cannot be updated after the filesystem creation.
       * 
* * int64 size = 7 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0L; onChanged(); return this; } private long blockSize_ ; /** *
       * Block size used for the filesystem, specified in bytes.
       * The block size cannot be updated after the filesystem creation.
       * Default value: 4096.
       * 
* * int64 block_size = 8; * @return The blockSize. */ @java.lang.Override public long getBlockSize() { return blockSize_; } /** *
       * Block size used for the filesystem, specified in bytes.
       * The block size cannot be updated after the filesystem creation.
       * Default value: 4096.
       * 
* * int64 block_size = 8; * @param value The blockSize to set. * @return This builder for chaining. */ public Builder setBlockSize(long value) { blockSize_ = value; onChanged(); return this; } /** *
       * Block size used for the filesystem, specified in bytes.
       * The block size cannot be updated after the filesystem creation.
       * Default value: 4096.
       * 
* * int64 block_size = 8; * @return This builder for chaining. */ public Builder clearBlockSize() { blockSize_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.compute.v1.CreateFilesystemRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.CreateFilesystemRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateFilesystemRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateFilesystemRequest(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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateFilesystemMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.CreateFilesystemMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem that is being created.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem that is being created.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.CreateFilesystemMetadata} */ public static final class CreateFilesystemMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.CreateFilesystemMetadata) CreateFilesystemMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use CreateFilesystemMetadata.newBuilder() to construct. private CreateFilesystemMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateFilesystemMetadata() { filesystemId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateFilesystemMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateFilesystemMetadata( 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(); filesystemId_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem that is being created.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem that is being created.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata 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.compute.v1.CreateFilesystemMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.CreateFilesystemMetadata) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.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(); filesystemId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata(this); result.filesystemId_ = filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem that is being created.
       * 
* * string filesystem_id = 1; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem that is being created.
       * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem that is being created.
       * 
* * string filesystem_id = 1; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem that is being created.
       * 
* * string filesystem_id = 1; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem that is being created.
       * 
* * string filesystem_id = 1; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = 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.compute.v1.CreateFilesystemMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.CreateFilesystemMetadata) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateFilesystemMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateFilesystemMetadata(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.compute.v1.FilesystemServiceOuterClass.CreateFilesystemMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateFilesystemRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.UpdateFilesystemRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem to update.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem to update.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** *
     * New name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ java.lang.String getName(); /** *
     * New name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * New description of the filesystem.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ java.lang.String getDescription(); /** *
     * New description of the filesystem.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ int getLabelsCount(); /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.util.Map getLabelsMap(); /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ java.lang.String getLabelsOrThrow( java.lang.String key); /** *
     * Size of the filesystem, specified in bytes.
     * 
* * int64 size = 6; * @return The size. */ long getSize(); } /** * Protobuf type {@code yandex.cloud.compute.v1.UpdateFilesystemRequest} */ public static final class UpdateFilesystemRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.UpdateFilesystemRequest) UpdateFilesystemRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateFilesystemRequest.newBuilder() to construct. private UpdateFilesystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateFilesystemRequest() { filesystemId_ = ""; name_ = ""; description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateFilesystemRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateFilesystemRequest( 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(); filesystemId_ = s; break; } case 18: { com.google.protobuf.FieldMask.Builder subBuilder = null; if (updateMask_ != null) { subBuilder = updateMask_.toBuilder(); } updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updateMask_); updateMask_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put( labels__.getKey(), labels__.getValue()); break; } case 48: { size_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem to update.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem to update.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ @java.lang.Override public boolean hasUpdateMask() { return updateMask_ != null; } /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ @java.lang.Override public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** *
     * Field mask that specifies which attributes of the filesystem should be updated.
     * 
* * .google.protobuf.FieldMask update_mask = 2; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** *
     * New name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * New name of the filesystem. The name must be unique within the folder.
     * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** *
     * New description of the filesystem.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** *
     * New description of the filesystem.
     * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LABELS_FIELD_NUMBER = 5; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * New filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     * Existing set of labels is completely replaced by the provided set, so if you just want
     * to add or remove a label:
     * 1. Get the current set of labels with a [FilesystemService.Get] request.
     * 2. Add or remove a label in this set.
     * 3. Send the new set in this field.
     * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SIZE_FIELD_NUMBER = 6; private long size_; /** *
     * Size of the filesystem, specified in bytes.
     * 
* * int64 size = 6; * @return The size. */ @java.lang.Override public long getSize() { return size_; } 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (size_ != 0L) { output.writeInt64(6, size_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } if (updateMask_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUpdateMask()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, labels__); } if (size_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { if (!getUpdateMask() .equals(other.getUpdateMask())) return false; } if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!internalGetLabels().equals( other.internalGetLabels())) return false; if (getSize() != other.getSize()) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest 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.compute.v1.UpdateFilesystemRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.UpdateFilesystemRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.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(); filesystemId_ = ""; if (updateMaskBuilder_ == null) { updateMask_ = null; } else { updateMask_ = null; updateMaskBuilder_ = null; } name_ = ""; description_ = ""; internalGetMutableLabels().clear(); size_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest(this); int from_bitField0_ = bitField0_; result.filesystemId_ = filesystemId_; if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { result.updateMask_ = updateMaskBuilder_.build(); } result.name_ = name_; result.description_ = description_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); result.size_ = size_; 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; onChanged(); } if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } internalGetMutableLabels().mergeFrom( other.internalGetLabels()); if (other.getSize() != 0L) { setSize(other.getSize()); } 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem to update.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem to update.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem to update.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem to update.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem to update.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = value; onChanged(); return this; } private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateMask_ = value; onChanged(); } else { updateMaskBuilder_.setMessage(value); } return this; } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder setUpdateMask( com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); } else { updateMaskBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } onChanged(); } else { updateMaskBuilder_.mergeFrom(value); } return this; } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { updateMask_ = null; onChanged(); } else { updateMask_ = null; updateMaskBuilder_ = null; } return this; } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** *
       * Field mask that specifies which attributes of the filesystem should be updated.
       * 
* * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } private java.lang.Object name_ = ""; /** *
       * New name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * New name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * New name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * New name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * New name of the filesystem. The name must be unique within the folder.
       * 
* * string name = 3 [(.yandex.cloud.pattern) = "|[a-z]([-a-z0-9]{0,61}[a-z0-9])?"]; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
       * New description of the filesystem.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * New description of the filesystem.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * New description of the filesystem.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
       * New description of the filesystem.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
       * New description of the filesystem.
       * 
* * string description = 4 [(.yandex.cloud.length) = "<=256"]; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { onChanged();; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField( LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public boolean containsLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ @java.lang.Override public java.lang.String getLabelsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap() .clear(); return this; } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder removeLabels( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putLabels( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap() .put(key, value); return this; } /** *
       * New filesystem labels as `key:value` pairs.
       * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
       * Existing set of labels is completely replaced by the provided set, so if you just want
       * to add or remove a label:
       * 1. Get the current set of labels with a [FilesystemService.Get] request.
       * 2. Add or remove a label in this set.
       * 3. Send the new set in this field.
       * 
* * map<string, string> labels = 5 [(.yandex.cloud.pattern) = "[-_./\\@0-9a-z]*", (.yandex.cloud.size) = "<=64", (.yandex.cloud.length) = "<=63", (.yandex.cloud.map_key) = { ... } */ public Builder putAllLabels( java.util.Map values) { internalGetMutableLabels().getMutableMap() .putAll(values); return this; } private long size_ ; /** *
       * Size of the filesystem, specified in bytes.
       * 
* * int64 size = 6; * @return The size. */ @java.lang.Override public long getSize() { return size_; } /** *
       * Size of the filesystem, specified in bytes.
       * 
* * int64 size = 6; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(long value) { size_ = value; onChanged(); return this; } /** *
       * Size of the filesystem, specified in bytes.
       * 
* * int64 size = 6; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.compute.v1.UpdateFilesystemRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.UpdateFilesystemRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateFilesystemRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateFilesystemRequest(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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateFilesystemMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.UpdateFilesystemMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem that is being updated.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem that is being updated.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.UpdateFilesystemMetadata} */ public static final class UpdateFilesystemMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.UpdateFilesystemMetadata) UpdateFilesystemMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateFilesystemMetadata.newBuilder() to construct. private UpdateFilesystemMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateFilesystemMetadata() { filesystemId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateFilesystemMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateFilesystemMetadata( 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(); filesystemId_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem that is being updated.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem that is being updated.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata 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.compute.v1.UpdateFilesystemMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.UpdateFilesystemMetadata) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.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(); filesystemId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata(this); result.filesystemId_ = filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem that is being updated.
       * 
* * string filesystem_id = 1; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem that is being updated.
       * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem that is being updated.
       * 
* * string filesystem_id = 1; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem that is being updated.
       * 
* * string filesystem_id = 1; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem that is being updated.
       * 
* * string filesystem_id = 1; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = 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.compute.v1.UpdateFilesystemMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.UpdateFilesystemMetadata) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateFilesystemMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateFilesystemMetadata(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.compute.v1.FilesystemServiceOuterClass.UpdateFilesystemMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteFilesystemRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.DeleteFilesystemRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem to delete.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem to delete.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.DeleteFilesystemRequest} */ public static final class DeleteFilesystemRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.DeleteFilesystemRequest) DeleteFilesystemRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteFilesystemRequest.newBuilder() to construct. private DeleteFilesystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteFilesystemRequest() { filesystemId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteFilesystemRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteFilesystemRequest( 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(); filesystemId_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem to delete.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem to delete.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest 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.compute.v1.DeleteFilesystemRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.DeleteFilesystemRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.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(); filesystemId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest(this); result.filesystemId_ = filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem to delete.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem to delete.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem to delete.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem to delete.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem to delete.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = 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.compute.v1.DeleteFilesystemRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.DeleteFilesystemRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteFilesystemRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteFilesystemRequest(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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteFilesystemMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.DeleteFilesystemMetadata) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem that is being deleted.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem that is being deleted.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.DeleteFilesystemMetadata} */ public static final class DeleteFilesystemMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.DeleteFilesystemMetadata) DeleteFilesystemMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteFilesystemMetadata.newBuilder() to construct. private DeleteFilesystemMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteFilesystemMetadata() { filesystemId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteFilesystemMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteFilesystemMetadata( 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(); filesystemId_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem that is being deleted.
     * 
* * string filesystem_id = 1; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem that is being deleted.
     * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata 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.compute.v1.DeleteFilesystemMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.DeleteFilesystemMetadata) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.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(); filesystemId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata(this); result.filesystemId_ = filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; 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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem that is being deleted.
       * 
* * string filesystem_id = 1; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem that is being deleted.
       * 
* * string filesystem_id = 1; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem that is being deleted.
       * 
* * string filesystem_id = 1; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem that is being deleted.
       * 
* * string filesystem_id = 1; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem that is being deleted.
       * 
* * string filesystem_id = 1; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = 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.compute.v1.DeleteFilesystemMetadata) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.DeleteFilesystemMetadata) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteFilesystemMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteFilesystemMetadata(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.compute.v1.FilesystemServiceOuterClass.DeleteFilesystemMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFilesystemOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.ListFilesystemOperationsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the filesystem to list operations for.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ java.lang.String getFilesystemId(); /** *
     * ID of the filesystem to list operations for.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ com.google.protobuf.ByteString getFilesystemIdBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListFilesystemOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ long getPageSize(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ java.lang.String getPageToken(); /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.ListFilesystemOperationsRequest} */ public static final class ListFilesystemOperationsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.ListFilesystemOperationsRequest) ListFilesystemOperationsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFilesystemOperationsRequest.newBuilder() to construct. private ListFilesystemOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFilesystemOperationsRequest() { filesystemId_ = ""; pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFilesystemOperationsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFilesystemOperationsRequest( 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(); filesystemId_ = s; break; } case 16: { pageSize_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = 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.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.Builder.class); } public static final int FILESYSTEM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object filesystemId_; /** *
     * ID of the filesystem to list operations for.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ @java.lang.Override public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; 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(); filesystemId_ = s; return s; } } /** *
     * ID of the filesystem to list operations for.
     * To get the filesystem ID, make a [FilesystemService.List] request.
     * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ @java.lang.Override public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private long pageSize_; /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than `page_size`, the service returns a [ListFilesystemOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
     * Page token. To get the next page of results, set `page_token` to the
     * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
     * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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(filesystemId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filesystemId_); } if (pageSize_ != 0L) { output.writeInt64(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } 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(filesystemId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filesystemId_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest) obj; if (!getFilesystemId() .equals(other.getFilesystemId())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken() .equals(other.getPageToken())) 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) + FILESYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getFilesystemId().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest 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.compute.v1.ListFilesystemOperationsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.ListFilesystemOperationsRequest) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.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(); filesystemId_ = ""; pageSize_ = 0L; pageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest(this); result.filesystemId_ = filesystemId_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest.getDefaultInstance()) return this; if (!other.getFilesystemId().isEmpty()) { filesystemId_ = other.filesystemId_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filesystemId_ = ""; /** *
       * ID of the filesystem to list operations for.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The filesystemId. */ public java.lang.String getFilesystemId() { java.lang.Object ref = filesystemId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filesystemId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the filesystem to list operations for.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for filesystemId. */ public com.google.protobuf.ByteString getFilesystemIdBytes() { java.lang.Object ref = filesystemId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filesystemId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the filesystem to list operations for.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filesystemId_ = value; onChanged(); return this; } /** *
       * ID of the filesystem to list operations for.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearFilesystemId() { filesystemId_ = getDefaultInstance().getFilesystemId(); onChanged(); return this; } /** *
       * ID of the filesystem to list operations for.
       * To get the filesystem ID, make a [FilesystemService.List] request.
       * 
* * string filesystem_id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for filesystemId to set. * @return This builder for chaining. */ public Builder setFilesystemIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filesystemId_ = value; onChanged(); return this; } private long pageSize_ ; /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListFilesystemOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListFilesystemOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
       * The maximum number of results per page to return. If the number of available
       * results is larger than `page_size`, the service returns a [ListFilesystemOperationsResponse.next_page_token]
       * that can be used to get the next page of results in subsequent list requests.
       * 
* * int64 page_size = 2 [(.yandex.cloud.value) = "<=1000"]; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The pageToken to set. * @return This builder for chaining. */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @return This builder for chaining. */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
       * Page token. To get the next page of results, set `page_token` to the
       * [ListFilesystemOperationsResponse.next_page_token] returned by a previous list request.
       * 
* * string page_token = 3 [(.yandex.cloud.length) = "<=100"]; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ public Builder setPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } @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.compute.v1.ListFilesystemOperationsRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.ListFilesystemOperationsRequest) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFilesystemOperationsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFilesystemOperationsRequest(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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFilesystemOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.compute.v1.ListFilesystemOperationsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ java.util.List getOperationsList(); /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index); /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ int getOperationsCount(); /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ java.util.List getOperationsOrBuilderList(); /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); } /** * Protobuf type {@code yandex.cloud.compute.v1.ListFilesystemOperationsResponse} */ public static final class ListFilesystemOperationsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.compute.v1.ListFilesystemOperationsResponse) ListFilesystemOperationsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFilesystemOperationsResponse.newBuilder() to construct. private ListFilesystemOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFilesystemOperationsResponse() { operations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFilesystemOperationsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFilesystemOperationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } operations_.add( input.readMessage(yandex.cloud.api.operation.OperationOuterClass.Operation.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); nextPageToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public java.util.List getOperationsList() { return operations_; } /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public java.util.List getOperationsOrBuilderList() { return operations_; } /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public int getOperationsCount() { return operations_.size(); } /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index) { return operations_.get(index); } /** *
     * List of operations for the specified filesystem.
     * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ @java.lang.Override public yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index) { return operations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** *
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < operations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse)) { return super.equals(obj); } yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse other = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse) obj; if (!getOperationsList() .equals(other.getOperationsList())) return false; if (!getNextPageToken() .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getOperationsCount() > 0) { hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getOperationsList().hashCode(); } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse 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.compute.v1.ListFilesystemOperationsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.compute.v1.ListFilesystemOperationsResponse) yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.class, yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.Builder.class); } // Construct using yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOperationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { operationsBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse getDefaultInstanceForType() { return yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse build() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse buildPartial() { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse result = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); bitField0_ = (bitField0_ & ~0x00000001); } result.operations_ = operations_; } else { result.operations_ = operationsBuilder_.build(); } result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse) { return mergeFrom((yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse other) { if (other == yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse.getDefaultInstance()) return this; if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); } onChanged(); } } else { if (!other.operations_.isEmpty()) { if (operationsBuilder_.isEmpty()) { operationsBuilder_.dispose(); operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } } } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List operations_ = java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder> operationsBuilder_; /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsList() { if (operationsBuilder_ == null) { return java.util.Collections.unmodifiableList(operations_); } else { return operationsBuilder_.getMessageList(); } } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public int getOperationsCount() { if (operationsBuilder_ == null) { return operations_.size(); } else { return operationsBuilder_.getCount(); } } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation getOperations(int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessage(index); } } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder setOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder setOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations(yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addOperations( int index, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder clearOperations() { if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { operationsBuilder_.clear(); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public Builder removeOperations(int index) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.remove(index); onChanged(); } else { operationsBuilder_.remove(index); } return this; } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder getOperationsBuilder( int index) { return getOperationsFieldBuilder().getBuilder(index); } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder getOperationsOrBuilder( int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(operations_); } } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder addOperationsBuilder() { return getOperationsFieldBuilder().addBuilder( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()); } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public yandex.cloud.api.operation.OperationOuterClass.Operation.Builder addOperationsBuilder( int index) { return getOperationsFieldBuilder().addBuilder( index, yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()); } /** *
       * List of operations for the specified filesystem.
       * 
* * repeated .yandex.cloud.operation.Operation operations = 1; */ public java.util.List getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.operation.OperationOuterClass.Operation, yandex.cloud.api.operation.OperationOuterClass.Operation.Builder, yandex.cloud.api.operation.OperationOuterClass.OperationOrBuilder>( operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextPageToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** *
       * Token for getting the next page of the list. If the number of results is greater than
       * the specified [ListFilesystemOperationsRequest.page_size], use `next_page_token` as the value
       * for the [ListFilesystemOperationsRequest.page_token] parameter in the next list request.
       * Each subsequent page will have its own `next_page_token` to continue paging through the results.
       * 
* * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ public Builder setNextPageTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.compute.v1.ListFilesystemOperationsResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.compute.v1.ListFilesystemOperationsResponse) private static final yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse(); } public static yandex.cloud.api.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFilesystemOperationsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFilesystemOperationsResponse(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.compute.v1.FilesystemServiceOuterClass.ListFilesystemOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n0yandex/cloud/compute/v1/filesystem_ser" + "vice.proto\022\027yandex.cloud.compute.v1\032\034goo" + "gle/api/annotations.proto\032 google/protob" + "uf/field_mask.proto\032 yandex/cloud/api/op" + "eration.proto\032(yandex/cloud/compute/v1/f" + "ilesystem.proto\032&yandex/cloud/operation/" + "operation.proto\032\035yandex/cloud/validation" + ".proto\";\n\024GetFilesystemRequest\022#\n\rfilesy" + "stem_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\"\260\001\n\026ListFile" + "systemsRequest\022\037\n\tfolder_id\030\001 \001(\tB\014\350\3071\001\212" + "\3101\004<=50\022\035\n\tpage_size\030\002 \001(\003B\n\372\3071\006<=1000\022\035" + "\n\npage_token\030\003 \001(\tB\t\212\3101\005<=100\022\032\n\006filter\030" + "\004 \001(\tB\n\212\3101\006<=1000\022\033\n\010order_by\030\005 \001(\tB\t\212\3101" + "\005<=100\"l\n\027ListFilesystemsResponse\0228\n\013fil" + "esystems\030\001 \003(\0132#.yandex.cloud.compute.v1" + ".Filesystem\022\027\n\017next_page_token\030\002 \001(\t\"\267\003\n" + "\027CreateFilesystemRequest\022\037\n\tfolder_id\030\001 " + "\001(\tB\014\350\3071\001\212\3101\004<=50\0222\n\004name\030\002 \001(\tB$\362\3071 |[a" + "-z]([-a-z0-9]{0,61}[a-z0-9])?\022\036\n\013descrip" + "tion\030\003 \001(\tB\t\212\3101\005<=256\022\225\001\n\006labels\030\004 \003(\0132<" + ".yandex.cloud.compute.v1.CreateFilesyste" + "mRequest.LabelsEntryBG\202\3101\004<=64\212\3101\004<=63\362\307" + "1\017[-_./\\@0-9a-z]*\262\3101\006\032\0041-63\262\3101\026\022\024[a-z][-" + "_./\\@0-9a-z]*\022\031\n\007type_id\030\005 \001(\tB\010\212\3101\004<=50" + "\022\035\n\007zone_id\030\006 \001(\tB\014\350\3071\001\212\3101\004<=50\022\022\n\004size\030" + "\007 \001(\003B\004\350\3071\001\022\022\n\nblock_size\030\010 \001(\003\032-\n\013Label" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"1" + "\n\030CreateFilesystemMetadata\022\025\n\rfilesystem" + "_id\030\001 \001(\t\"\230\003\n\027UpdateFilesystemRequest\022#\n" + "\rfilesystem_id\030\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022/\n\013up" + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + "ask\0222\n\004name\030\003 \001(\tB$\362\3071 |[a-z]([-a-z0-9]{" + "0,61}[a-z0-9])?\022\036\n\013description\030\004 \001(\tB\t\212\310" + "1\005<=256\022\225\001\n\006labels\030\005 \003(\0132<.yandex.cloud." + "compute.v1.UpdateFilesystemRequest.Label" + "sEntryBG\202\3101\004<=64\212\3101\004<=63\362\3071\017[-_./\\@0-9a-" + "z]*\262\3101\006\032\0041-63\262\3101\026\022\024[a-z][-_./\\@0-9a-z]*\022" + "\014\n\004size\030\006 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"1\n\030UpdateFilesystem" + "Metadata\022\025\n\rfilesystem_id\030\001 \001(\t\">\n\027Delet" + "eFilesystemRequest\022#\n\rfilesystem_id\030\001 \001(" + "\tB\014\350\3071\001\212\3101\004<=50\"1\n\030DeleteFilesystemMetad" + "ata\022\025\n\rfilesystem_id\030\001 \001(\t\"\204\001\n\037ListFiles" + "ystemOperationsRequest\022#\n\rfilesystem_id\030" + "\001 \001(\tB\014\350\3071\001\212\3101\004<=50\022\035\n\tpage_size\030\002 \001(\003B\n" + "\372\3071\006<=1000\022\035\n\npage_token\030\003 \001(\tB\t\212\3101\005<=10" + "0\"r\n ListFilesystemOperationsResponse\0225\n" + "\noperations\030\001 \003(\0132!.yandex.cloud.operati" + "on.Operation\022\027\n\017next_page_token\030\002 \001(\t2\243\010" + "\n\021FilesystemService\022\212\001\n\003Get\022-.yandex.clo" + "ud.compute.v1.GetFilesystemRequest\032#.yan" + "dex.cloud.compute.v1.Filesystem\"/\202\323\344\223\002)\022" + "\'/compute/v1/filesystems/{filesystem_id}" + "\022\212\001\n\004List\022/.yandex.cloud.compute.v1.List" + "FilesystemsRequest\0320.yandex.cloud.comput" + "e.v1.ListFilesystemsResponse\"\037\202\323\344\223\002\031\022\027/c" + "ompute/v1/filesystems\022\253\001\n\006Create\0220.yande" + "x.cloud.compute.v1.CreateFilesystemReque" + "st\032!.yandex.cloud.operation.Operation\"L\202" + "\323\344\223\002\034\"\027/compute/v1/filesystems:\001*\262\322*&\n\030C" + "reateFilesystemMetadata\022\nFilesystem\022\273\001\n\006" + "Update\0220.yandex.cloud.compute.v1.UpdateF" + "ilesystemRequest\032!.yandex.cloud.operatio" + "n.Operation\"\\\202\323\344\223\002,2\'/compute/v1/filesys" + "tems/{filesystem_id}:\001*\262\322*&\n\030UpdateFiles" + "ystemMetadata\022\nFilesystem\022\303\001\n\006Delete\0220.y" + "andex.cloud.compute.v1.DeleteFilesystemR" + "equest\032!.yandex.cloud.operation.Operatio" + "n\"d\202\323\344\223\002)*\'/compute/v1/filesystems/{file" + "system_id}\262\322*1\n\030DeleteFilesystemMetadata" + "\022\025google.protobuf.Empty\022\301\001\n\016ListOperatio" + "ns\0228.yandex.cloud.compute.v1.ListFilesys" + "temOperationsRequest\0329.yandex.cloud.comp" + "ute.v1.ListFilesystemOperationsResponse\"" + ":\202\323\344\223\0024\0222/compute/v1/filesystems/{filesy" + "stem_id}/operationsBb\n\033yandex.cloud.api." + "compute.v1ZCgithub.com/yandex-cloud/go-g" + "enproto/yandex/cloud/compute/v1;computeb" + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), yandex.cloud.api.OperationOuterClass.getDescriptor(), yandex.cloud.api.compute.v1.FilesystemOuterClass.getDescriptor(), yandex.cloud.api.operation.OperationOuterClass.getDescriptor(), yandex.cloud.api.Validation.getDescriptor(), }); internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_GetFilesystemRequest_descriptor, new java.lang.String[] { "FilesystemId", }); internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_ListFilesystemsRequest_descriptor, new java.lang.String[] { "FolderId", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_ListFilesystemsResponse_descriptor, new java.lang.String[] { "Filesystems", "NextPageToken", }); internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor, new java.lang.String[] { "FolderId", "Name", "Description", "Labels", "TypeId", "ZoneId", "Size", "BlockSize", }); internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_descriptor = internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_CreateFilesystemRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_CreateFilesystemMetadata_descriptor, new java.lang.String[] { "FilesystemId", }); internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor, new java.lang.String[] { "FilesystemId", "UpdateMask", "Name", "Description", "Labels", "Size", }); internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_descriptor = internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_UpdateFilesystemRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_UpdateFilesystemMetadata_descriptor, new java.lang.String[] { "FilesystemId", }); internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_DeleteFilesystemRequest_descriptor, new java.lang.String[] { "FilesystemId", }); internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_DeleteFilesystemMetadata_descriptor, new java.lang.String[] { "FilesystemId", }); internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsRequest_descriptor, new java.lang.String[] { "FilesystemId", "PageSize", "PageToken", }); internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_compute_v1_ListFilesystemOperationsResponse_descriptor, new java.lang.String[] { "Operations", "NextPageToken", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); registry.add(yandex.cloud.api.OperationOuterClass.operation); registry.add(yandex.cloud.api.Validation.length); registry.add(yandex.cloud.api.Validation.mapKey); registry.add(yandex.cloud.api.Validation.pattern); registry.add(yandex.cloud.api.Validation.required); registry.add(yandex.cloud.api.Validation.size); registry.add(yandex.cloud.api.Validation.value); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); yandex.cloud.api.OperationOuterClass.getDescriptor(); yandex.cloud.api.compute.v1.FilesystemOuterClass.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