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

yandex.cloud.api.billing.v1.ServiceServiceOuterClass Maven / Gradle / Ivy

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

package yandex.cloud.api.billing.v1;

public final class ServiceServiceOuterClass {
  private ServiceServiceOuterClass() {}
  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 GetServiceRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.billing.v1.GetServiceRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * ID of the service to return.
     * To get the service ID, use [ServiceService.List] request.
     * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The id. */ java.lang.String getId(); /** *
     * ID of the service to return.
     * To get the service ID, use [ServiceService.List] request.
     * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); } /** * Protobuf type {@code yandex.cloud.billing.v1.GetServiceRequest} */ public static final class GetServiceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.billing.v1.GetServiceRequest) GetServiceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetServiceRequest.newBuilder() to construct. private GetServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetServiceRequest() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetServiceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetServiceRequest( 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(); id_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * ID of the service to return.
     * To get the service ID, use [ServiceService.List] request.
     * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * ID of the service to return.
     * To get the service ID, use [ServiceService.List] request.
     * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = 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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest)) { return super.equals(obj); } yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest other = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest) obj; if (!getId() .equals(other.getId())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest 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.billing.v1.GetServiceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.billing.v1.GetServiceRequest) yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.Builder.class); } // Construct using yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.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(); id_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest getDefaultInstanceForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest build() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest buildPartial() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest result = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest(this); result.id_ = id_; 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest) { return mergeFrom((yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest other) { if (other == yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; 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.billing.v1.ServiceServiceOuterClass.GetServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * ID of the service to return.
       * To get the service ID, use [ServiceService.List] request.
       * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the service to return.
       * To get the service ID, use [ServiceService.List] request.
       * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the service to return.
       * To get the service ID, use [ServiceService.List] request.
       * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * ID of the service to return.
       * To get the service ID, use [ServiceService.List] request.
       * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * ID of the service to return.
       * To get the service ID, use [ServiceService.List] request.
       * 
* * string id = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=50"]; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = 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.billing.v1.GetServiceRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.billing.v1.GetServiceRequest) private static final yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest(); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.GetServiceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetServiceRequest(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.billing.v1.ServiceServiceOuterClass.GetServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListServicesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.billing.v1.ListServicesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 1 [(.yandex.cloud.length) = "<=1000"]; * @return The filter. */ java.lang.String getFilter(); /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 1 [(.yandex.cloud.length) = "<=1000"]; * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); /** *
     * The maximum number of results per page to return. If the number of available
     * results is larger than [page_size],
     * the service returns a [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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.billing.v1.ListServicesRequest} */ public static final class ListServicesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.billing.v1.ListServicesRequest) ListServicesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListServicesRequest.newBuilder() to construct. private ListServicesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListServicesRequest() { filter_ = ""; pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListServicesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListServicesRequest( 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(); filter_ = 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.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.Builder.class); } public static final int FILTER_FIELD_NUMBER = 1; private volatile java.lang.Object filter_; /** *
     * A filter expression that filters resources listed in the response.
     * The expression must specify:
     * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 1 [(.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 must specify:
     * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * 
* * string filter = 1 [(.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 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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } 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(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest)) { return super.equals(obj); } yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest other = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest) obj; if (!getFilter() .equals(other.getFilter())) 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) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest 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.billing.v1.ListServicesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.billing.v1.ListServicesRequest) yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.Builder.class); } // Construct using yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.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(); filter_ = ""; pageSize_ = 0L; pageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest getDefaultInstanceForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest build() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest buildPartial() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest result = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest(this); result.filter_ = filter_; 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest) { return mergeFrom((yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest other) { if (other == yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest.getDefaultInstance()) return this; if (!other.getFilter().isEmpty()) { filter_ = other.filter_; 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.billing.v1.ServiceServiceOuterClass.ListServicesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filter_ = ""; /** *
       * A filter expression that filters resources listed in the response.
       * The expression must specify:
       * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 1 [(.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 must specify:
       * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 1 [(.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 must specify:
       * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 1 [(.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 must specify:
       * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 1 [(.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 must specify:
       * 1. The field name. Currently you can use filtering only on the [yandex.cloud.billing.v1.Service.id] field.
       * 2. An `=` operator.
       * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
       * 
* * string filter = 1 [(.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 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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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 [ListServicesResponse.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.billing.v1.ListServicesRequest) } // @@protoc_insertion_point(class_scope:yandex.cloud.billing.v1.ListServicesRequest) private static final yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest(); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListServicesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListServicesRequest(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.billing.v1.ServiceServiceOuterClass.ListServicesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListServicesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.billing.v1.ListServicesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ java.util.List getServicesList(); /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ yandex.cloud.api.billing.v1.ServiceOuterClass.Service getServices(int index); /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ int getServicesCount(); /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ java.util.List getServicesOrBuilderList(); /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder getServicesOrBuilder( int index); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListServicesRequest.page_size], use
     * [next_page_token] as the value
     * for the [ListServicesRequest.page_token] query parameter
     * in the next list request. Each subsequent list request 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(); /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListServicesRequest.page_size], use
     * [next_page_token] as the value
     * for the [ListServicesRequest.page_token] query parameter
     * in the next list request. Each subsequent list request 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.billing.v1.ListServicesResponse} */ public static final class ListServicesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.billing.v1.ListServicesResponse) ListServicesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListServicesResponse.newBuilder() to construct. private ListServicesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListServicesResponse() { services_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListServicesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListServicesResponse( 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)) { services_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } services_.add( input.readMessage(yandex.cloud.api.billing.v1.ServiceOuterClass.Service.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)) { services_ = java.util.Collections.unmodifiableList(services_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.Builder.class); } public static final int SERVICES_FIELD_NUMBER = 1; private java.util.List services_; /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ @java.lang.Override public java.util.List getServicesList() { return services_; } /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ @java.lang.Override public java.util.List getServicesOrBuilderList() { return services_; } /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ @java.lang.Override public int getServicesCount() { return services_.size(); } /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ @java.lang.Override public yandex.cloud.api.billing.v1.ServiceOuterClass.Service getServices(int index) { return services_.get(index); } /** *
     * List of services.
     * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ @java.lang.Override public yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder getServicesOrBuilder( int index) { return services_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListServicesRequest.page_size], use
     * [next_page_token] as the value
     * for the [ListServicesRequest.page_token] query parameter
     * in the next list request. Each subsequent list request 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; } } /** *
     * This token allows you to get the next page of results for list requests. If the number of results
     * is larger than [ListServicesRequest.page_size], use
     * [next_page_token] as the value
     * for the [ListServicesRequest.page_token] query parameter
     * in the next list request. Each subsequent list request 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 < services_.size(); i++) { output.writeMessage(1, services_.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 < services_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, services_.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.billing.v1.ServiceServiceOuterClass.ListServicesResponse)) { return super.equals(obj); } yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse other = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse) obj; if (!getServicesList() .equals(other.getServicesList())) 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 (getServicesCount() > 0) { hash = (37 * hash) + SERVICES_FIELD_NUMBER; hash = (53 * hash) + getServicesList().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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse 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.billing.v1.ListServicesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.billing.v1.ListServicesResponse) yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.class, yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.Builder.class); } // Construct using yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getServicesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (servicesBuilder_ == null) { services_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { servicesBuilder_.clear(); } nextPageToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse getDefaultInstanceForType() { return yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse build() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse buildPartial() { yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse result = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse(this); int from_bitField0_ = bitField0_; if (servicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { services_ = java.util.Collections.unmodifiableList(services_); bitField0_ = (bitField0_ & ~0x00000001); } result.services_ = services_; } else { result.services_ = servicesBuilder_.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.billing.v1.ServiceServiceOuterClass.ListServicesResponse) { return mergeFrom((yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse other) { if (other == yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse.getDefaultInstance()) return this; if (servicesBuilder_ == null) { if (!other.services_.isEmpty()) { if (services_.isEmpty()) { services_ = other.services_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServicesIsMutable(); services_.addAll(other.services_); } onChanged(); } } else { if (!other.services_.isEmpty()) { if (servicesBuilder_.isEmpty()) { servicesBuilder_.dispose(); servicesBuilder_ = null; services_ = other.services_; bitField0_ = (bitField0_ & ~0x00000001); servicesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServicesFieldBuilder() : null; } else { servicesBuilder_.addAllMessages(other.services_); } } } 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.billing.v1.ServiceServiceOuterClass.ListServicesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List services_ = java.util.Collections.emptyList(); private void ensureServicesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { services_ = new java.util.ArrayList(services_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.billing.v1.ServiceOuterClass.Service, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder, yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder> servicesBuilder_; /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public java.util.List getServicesList() { if (servicesBuilder_ == null) { return java.util.Collections.unmodifiableList(services_); } else { return servicesBuilder_.getMessageList(); } } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public int getServicesCount() { if (servicesBuilder_ == null) { return services_.size(); } else { return servicesBuilder_.getCount(); } } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public yandex.cloud.api.billing.v1.ServiceOuterClass.Service getServices(int index) { if (servicesBuilder_ == null) { return services_.get(index); } else { return servicesBuilder_.getMessage(index); } } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder setServices( int index, yandex.cloud.api.billing.v1.ServiceOuterClass.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServicesIsMutable(); services_.set(index, value); onChanged(); } else { servicesBuilder_.setMessage(index, value); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder setServices( int index, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.set(index, builderForValue.build()); onChanged(); } else { servicesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder addServices(yandex.cloud.api.billing.v1.ServiceOuterClass.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServicesIsMutable(); services_.add(value); onChanged(); } else { servicesBuilder_.addMessage(value); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder addServices( int index, yandex.cloud.api.billing.v1.ServiceOuterClass.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServicesIsMutable(); services_.add(index, value); onChanged(); } else { servicesBuilder_.addMessage(index, value); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder addServices( yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(builderForValue.build()); onChanged(); } else { servicesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder addServices( int index, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(index, builderForValue.build()); onChanged(); } else { servicesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder addAllServices( java.lang.Iterable values) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, services_); onChanged(); } else { servicesBuilder_.addAllMessages(values); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder clearServices() { if (servicesBuilder_ == null) { services_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { servicesBuilder_.clear(); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public Builder removeServices(int index) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.remove(index); onChanged(); } else { servicesBuilder_.remove(index); } return this; } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder getServicesBuilder( int index) { return getServicesFieldBuilder().getBuilder(index); } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder getServicesOrBuilder( int index) { if (servicesBuilder_ == null) { return services_.get(index); } else { return servicesBuilder_.getMessageOrBuilder(index); } } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public java.util.List getServicesOrBuilderList() { if (servicesBuilder_ != null) { return servicesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(services_); } } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder addServicesBuilder() { return getServicesFieldBuilder().addBuilder( yandex.cloud.api.billing.v1.ServiceOuterClass.Service.getDefaultInstance()); } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder addServicesBuilder( int index) { return getServicesFieldBuilder().addBuilder( index, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.getDefaultInstance()); } /** *
       * List of services.
       * 
* * repeated .yandex.cloud.billing.v1.Service services = 1; */ public java.util.List getServicesBuilderList() { return getServicesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.billing.v1.ServiceOuterClass.Service, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder, yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder> getServicesFieldBuilder() { if (servicesBuilder_ == null) { servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.billing.v1.ServiceOuterClass.Service, yandex.cloud.api.billing.v1.ServiceOuterClass.Service.Builder, yandex.cloud.api.billing.v1.ServiceOuterClass.ServiceOrBuilder>( services_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); services_ = null; } return servicesBuilder_; } private java.lang.Object nextPageToken_ = ""; /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListServicesRequest.page_size], use
       * [next_page_token] as the value
       * for the [ListServicesRequest.page_token] query parameter
       * in the next list request. Each subsequent list request 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; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListServicesRequest.page_size], use
       * [next_page_token] as the value
       * for the [ListServicesRequest.page_token] query parameter
       * in the next list request. Each subsequent list request 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; } } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListServicesRequest.page_size], use
       * [next_page_token] as the value
       * for the [ListServicesRequest.page_token] query parameter
       * in the next list request. Each subsequent list request 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; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListServicesRequest.page_size], use
       * [next_page_token] as the value
       * for the [ListServicesRequest.page_token] query parameter
       * in the next list request. Each subsequent list request 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; } /** *
       * This token allows you to get the next page of results for list requests. If the number of results
       * is larger than [ListServicesRequest.page_size], use
       * [next_page_token] as the value
       * for the [ListServicesRequest.page_token] query parameter
       * in the next list request. Each subsequent list request 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.billing.v1.ListServicesResponse) } // @@protoc_insertion_point(class_scope:yandex.cloud.billing.v1.ListServicesResponse) private static final yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse(); } public static yandex.cloud.api.billing.v1.ServiceServiceOuterClass.ListServicesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListServicesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListServicesResponse(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.billing.v1.ServiceServiceOuterClass.ListServicesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_billing_v1_GetServiceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_billing_v1_ListServicesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_billing_v1_ListServicesResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n-yandex/cloud/billing/v1/service_servic" + "e.proto\022\027yandex.cloud.billing.v1\032\034google" + "/api/annotations.proto\032%yandex/cloud/bil" + "ling/v1/service.proto\032\035yandex/cloud/vali" + "dation.proto\"-\n\021GetServiceRequest\022\030\n\002id\030" + "\001 \001(\tB\014\350\3071\001\212\3101\004<=50\"o\n\023ListServicesReque" + "st\022\032\n\006filter\030\001 \001(\tB\n\212\3101\006<=1000\022\035\n\tpage_s" + "ize\030\002 \001(\003B\n\372\3071\006<=1000\022\035\n\npage_token\030\003 \001(" + "\tB\t\212\3101\005<=100\"c\n\024ListServicesResponse\0222\n\010" + "services\030\001 \003(\0132 .yandex.cloud.billing.v1" + ".Service\022\027\n\017next_page_token\030\002 \001(\t2\214\002\n\016Se" + "rviceService\022v\n\003Get\022*.yandex.cloud.billi" + "ng.v1.GetServiceRequest\032 .yandex.cloud.b" + "illing.v1.Service\"!\202\323\344\223\002\033\022\031/billing/v1/s" + "ervices/{id}\022\201\001\n\004List\022,.yandex.cloud.bil" + "ling.v1.ListServicesRequest\032-.yandex.clo" + "ud.billing.v1.ListServicesResponse\"\034\202\323\344\223" + "\002\026\022\024/billing/v1/servicesBb\n\033yandex.cloud" + ".api.billing.v1ZCgithub.com/yandex-cloud" + "/go-genproto/yandex/cloud/billing/v1;bil" + "lingb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), yandex.cloud.api.billing.v1.ServiceOuterClass.getDescriptor(), yandex.cloud.api.Validation.getDescriptor(), }); internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_billing_v1_GetServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_billing_v1_GetServiceRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_billing_v1_ListServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_billing_v1_ListServicesRequest_descriptor, new java.lang.String[] { "Filter", "PageSize", "PageToken", }); internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_billing_v1_ListServicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_billing_v1_ListServicesResponse_descriptor, new java.lang.String[] { "Services", "NextPageToken", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); registry.add(yandex.cloud.api.Validation.length); registry.add(yandex.cloud.api.Validation.required); registry.add(yandex.cloud.api.Validation.value); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); yandex.cloud.api.billing.v1.ServiceOuterClass.getDescriptor(); yandex.cloud.api.Validation.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy