@java.lang.Override public com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The name of the project for which a list of instances is * requested. Values are of the form `projects/<project>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * 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]. * </pre> * * <code>string page_token = 3;</code> */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /**
/** * * * <pre> * 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". * </pre> * * <code>string filter = 4;</code> */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRequest other) { if (other == 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; }
io.grpc.protobuf.ProtoUtils.marshaller( com.google.spanner.admin.instance.v1.ListInstancesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
@java.lang.Override public com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The name of the project for which a list of instances is * requested. Values are of the form `projects/<project>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * 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]. * </pre> * * <code>string page_token = 3;</code> */ public Builder clearPageToken() { pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /**
/** * * * <pre> * 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". * </pre> * * <code>string filter = 4;</code> */ public Builder clearFilter() { filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRequest other) { if (other == 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; }