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

nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto

package nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1;

/**
 * 
 * The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
 * 
* * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesRequest} */ public final class ListInstancesRequest extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancesRequest) ListInstancesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListInstancesRequest() { parent_ = ""; pageSize_ = 0; pageToken_ = ""; filter_ = ""; } @java.lang.Override public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListInstancesRequest( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); parent_ = s; break; } case 16: { pageSize_ = input.readInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); pageToken_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filter_ = s; break; } } } } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.class, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** *
   * Required. The name of the project for which a list of instances is
   * requested. Values are of the form `projects/<project>`.
   * 
* * string parent = 1; */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** *
   * Required. The name of the project for which a list of instances is
   * requested. Values are of the form `projects/<project>`.
   * 
* * string parent = 1; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parent_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** *
   * Number of instances to be returned in the response. If 0 or less, defaults
   * to the server's maximum allowed page size.
   * 
* * int32 page_size = 2; */ public int getPageSize() { return pageSize_; } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** *
   * If non-empty, `page_token` should contain a
   * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
   * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
   * 
* * string page_token = 3; */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** *
   * If non-empty, `page_token` should contain a
   * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
   * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
   * 
* * string page_token = 3; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** *
   * An expression for filtering the results of the request. Filter rules are
   * case insensitive. The fields eligible for filtering are:
   *   * `name`
   *   * `display_name`
   *   * `labels.key` where key is the name of a label
   * Some examples of using filters are:
   *   * `name:*` --> The instance has a name.
   *   * `name:Howl` --> The instance's name contains the string "howl".
   *   * `name:HOWL` --> Equivalent to above.
   *   * `NAME:howl` --> Equivalent to above.
   *   * `labels.env:*` --> The instance has the label "env".
   *   * `labels.env:dev` --> The instance has the label "env" and the value of
   *                        the label contains the string "dev".
   *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
   *                                  it has the label "env" with its value
   *                                  containing "dev".
   * 
* * string filter = 4; */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** *
   * An expression for filtering the results of the request. Filter rules are
   * case insensitive. The fields eligible for filtering are:
   *   * `name`
   *   * `display_name`
   *   * `labels.key` where key is the name of a label
   * Some examples of using filters are:
   *   * `name:*` --> The instance has a name.
   *   * `name:Howl` --> The instance's name contains the string "howl".
   *   * `name:HOWL` --> Equivalent to above.
   *   * `NAME:howl` --> Equivalent to above.
   *   * `labels.env:*` --> The instance has the label "env".
   *   * `labels.env:dev` --> The instance has the label "env" and the value of
   *                        the label contains the string "dev".
   *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
   *                                  it has the label "env" with its value
   *                                  containing "dev".
   * 
* * string filter = 4; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } if (!getFilterBytes().isEmpty()) { nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getParentBytes().isEmpty()) { size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (!getFilterBytes().isEmpty()) { size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } 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 nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest)) { return super.equals(obj); } nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest other = (nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest) obj; boolean result = true; result = result && getParent() .equals(other.getParent()); result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken() .equals(other.getPageToken()); result = result && getFilter() .equals(other.getFilter()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( java.nio.ByteBuffer data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( java.nio.ByteBuffer data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(byte[] data) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( byte[] data, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( java.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom( java.io.InputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
   * 
* * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesRequest} */ public static final class Builder extends nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancesRequest) nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequestOrBuilder { public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; } protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.class, nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class); } // Construct using nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); parent_ = ""; pageSize_ = 0; pageToken_ = ""; filter_ = ""; return this; } public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; } public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance(); } public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest build() { nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial() { nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest result = new nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) { if (other instanceof nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest) { return mergeFrom((nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest other) { if (other == nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } if (!other.getPageToken().isEmpty()) { pageToken_ = other.pageToken_; onChanged(); } if (!other.getFilter().isEmpty()) { filter_ = other.filter_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object parent_ = ""; /** *
     * Required. The name of the project for which a list of instances is
     * requested. Values are of the form `projects/<project>`.
     * 
* * string parent = 1; */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. The name of the project for which a list of instances is
     * requested. Values are of the form `projects/<project>`.
     * 
* * string parent = 1; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parent_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * Required. The name of the project for which a list of instances is
     * requested. Values are of the form `projects/<project>`.
     * 
* * string parent = 1; */ public Builder setParent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); return this; } /** *
     * Required. The name of the project for which a list of instances is
     * requested. Values are of the form `projects/<project>`.
     * 
* * string parent = 1; */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** *
     * Required. The name of the project for which a list of instances is
     * requested. Values are of the form `projects/<project>`.
     * 
* * string parent = 1; */ public Builder setParentBytes( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; } private int pageSize_ ; /** *
     * Number of instances to be returned in the response. If 0 or less, defaults
     * to the server's maximum allowed page size.
     * 
* * int32 page_size = 2; */ public int getPageSize() { return pageSize_; } /** *
     * Number of instances to be returned in the response. If 0 or less, defaults
     * to the server's maximum allowed page size.
     * 
* * int32 page_size = 2; */ public Builder setPageSize(int value) { pageSize_ = value; onChanged(); return this; } /** *
     * Number of instances to be returned in the response. If 0 or less, defaults
     * to the server's maximum allowed page size.
     * 
* * int32 page_size = 2; */ public Builder clearPageSize() { pageSize_ = 0; onChanged(); return this; } private java.lang.Object pageToken_ = ""; /** *
     * If non-empty, `page_token` should contain a
     * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
     * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
     * 
* * string page_token = 3; */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * If non-empty, `page_token` should contain a
     * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
     * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
     * 
* * string page_token = 3; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pageToken_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * If non-empty, `page_token` should contain a
     * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
     * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
     * 
* * string page_token = 3; */ public Builder setPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pageToken_ = value; onChanged(); return this; } /** *
     * If non-empty, `page_token` should contain a
     * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
     * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
     * 
* * string page_token = 3; */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** *
     * If non-empty, `page_token` should contain a
     * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
     * previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
     * 
* * string page_token = 3; */ public Builder setPageTokenBytes( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; onChanged(); return this; } private java.lang.Object filter_ = ""; /** *
     * An expression for filtering the results of the request. Filter rules are
     * case insensitive. The fields eligible for filtering are:
     *   * `name`
     *   * `display_name`
     *   * `labels.key` where key is the name of a label
     * Some examples of using filters are:
     *   * `name:*` --> The instance has a name.
     *   * `name:Howl` --> The instance's name contains the string "howl".
     *   * `name:HOWL` --> Equivalent to above.
     *   * `NAME:howl` --> Equivalent to above.
     *   * `labels.env:*` --> The instance has the label "env".
     *   * `labels.env:dev` --> The instance has the label "env" and the value of
     *                        the label contains the string "dev".
     *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
     *                                  it has the label "env" with its value
     *                                  containing "dev".
     * 
* * string filter = 4; */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs = (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * An expression for filtering the results of the request. Filter rules are
     * case insensitive. The fields eligible for filtering are:
     *   * `name`
     *   * `display_name`
     *   * `labels.key` where key is the name of a label
     * Some examples of using filters are:
     *   * `name:*` --> The instance has a name.
     *   * `name:Howl` --> The instance's name contains the string "howl".
     *   * `name:HOWL` --> Equivalent to above.
     *   * `NAME:howl` --> Equivalent to above.
     *   * `labels.env:*` --> The instance has the label "env".
     *   * `labels.env:dev` --> The instance has the label "env" and the value of
     *                        the label contains the string "dev".
     *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
     *                                  it has the label "env" with its value
     *                                  containing "dev".
     * 
* * string filter = 4; */ public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b = nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filter_ = b; return b; } else { return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * An expression for filtering the results of the request. Filter rules are
     * case insensitive. The fields eligible for filtering are:
     *   * `name`
     *   * `display_name`
     *   * `labels.key` where key is the name of a label
     * Some examples of using filters are:
     *   * `name:*` --> The instance has a name.
     *   * `name:Howl` --> The instance's name contains the string "howl".
     *   * `name:HOWL` --> Equivalent to above.
     *   * `NAME:howl` --> Equivalent to above.
     *   * `labels.env:*` --> The instance has the label "env".
     *   * `labels.env:dev` --> The instance has the label "env" and the value of
     *                        the label contains the string "dev".
     *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
     *                                  it has the label "env" with its value
     *                                  containing "dev".
     * 
* * string filter = 4; */ public Builder setFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); return this; } /** *
     * An expression for filtering the results of the request. Filter rules are
     * case insensitive. The fields eligible for filtering are:
     *   * `name`
     *   * `display_name`
     *   * `labels.key` where key is the name of a label
     * Some examples of using filters are:
     *   * `name:*` --> The instance has a name.
     *   * `name:Howl` --> The instance's name contains the string "howl".
     *   * `name:HOWL` --> Equivalent to above.
     *   * `NAME:howl` --> Equivalent to above.
     *   * `labels.env:*` --> The instance has the label "env".
     *   * `labels.env:dev` --> The instance has the label "env" and the value of
     *                        the label contains the string "dev".
     *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
     *                                  it has the label "env" with its value
     *                                  containing "dev".
     * 
* * string filter = 4; */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** *
     * An expression for filtering the results of the request. Filter rules are
     * case insensitive. The fields eligible for filtering are:
     *   * `name`
     *   * `display_name`
     *   * `labels.key` where key is the name of a label
     * Some examples of using filters are:
     *   * `name:*` --> The instance has a name.
     *   * `name:Howl` --> The instance's name contains the string "howl".
     *   * `name:HOWL` --> Equivalent to above.
     *   * `NAME:howl` --> Equivalent to above.
     *   * `labels.env:*` --> The instance has the label "env".
     *   * `labels.env:dev` --> The instance has the label "env" and the value of
     *                        the label contains the string "dev".
     *   * `name:howl labels.env:dev` --> The instance's name contains "howl" and
     *                                  it has the label "env" with its value
     *                                  containing "dev".
     * 
* * string filter = 4; */ public Builder setFilterBytes( nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; onChanged(); return this; } public final Builder setUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } /** * @deprecated Use the following instead: *

     * protoBuilder.setParent(projectName.toString());
     * 
*/ @Deprecated public final Builder setParentWithProjectName(nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ProjectName value) { if (value == null) { return setParent(""); } return setParent(value.toString()); } /** * @deprecated Use the following instead: *

     * ProjectName.parse(protoBuilder.getParent());
     * 
*/ @Deprecated public final nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ProjectName getParentAsProjectName() { java.lang.String str = getParent(); if (str.isEmpty()) { return null; } return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ProjectName.parse(str); } // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesRequest) } /** * @deprecated Use the following instead: *

   * ProjectName.parse(protoObject.getParent());
   * 
*/ @Deprecated public final nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ProjectName getParentAsProjectName() { java.lang.String str = getParent(); if (str.isEmpty()) { return null; } return nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ProjectName.parse(str); } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesRequest) private static final nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest(); } public static nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() { public ListInstancesRequest parsePartialFrom( nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input, nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException { return new ListInstancesRequest(input, extensionRegistry); } }; public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public nl.topicus.jdbc.shaded.com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy