Skip to content

Commit

Permalink
chore: regenerate firestore protos (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and BenWhitehead committed Dec 12, 2019
1 parent d8bebb3 commit f1f124f
Show file tree
Hide file tree
Showing 220 changed files with 7,798 additions and 1,015 deletions.
Expand Up @@ -41,6 +41,12 @@ private CreateIndexRequest() {
parent_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateIndexRequest();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private CreateIndexRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
Expand Down Expand Up @@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
Expand All @@ -158,6 +165,8 @@ public java.lang.String getParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
Expand All @@ -182,6 +191,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the index field is set.
*/
public boolean hasIndex() {
return index_ != null;
Expand All @@ -195,6 +206,8 @@ public boolean hasIndex() {
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The index.
*/
public com.google.firestore.admin.v1.Index getIndex() {
return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_;
Expand Down Expand Up @@ -570,6 +583,8 @@ public Builder mergeFrom(
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
Expand All @@ -593,6 +608,8 @@ public java.lang.String getParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
Expand All @@ -616,6 +633,9 @@ public com.google.protobuf.ByteString getParentBytes() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The parent to set.
* @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
Expand All @@ -637,6 +657,8 @@ public Builder setParent(java.lang.String value) {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return This builder for chaining.
*/
public Builder clearParent() {

Expand All @@ -655,6 +677,9 @@ public Builder clearParent() {
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The bytes for parent to set.
* @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down Expand Up @@ -682,6 +707,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the index field is set.
*/
public boolean hasIndex() {
return indexBuilder_ != null || index_ != null;
Expand All @@ -695,6 +722,8 @@ public boolean hasIndex() {
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The index.
*/
public com.google.firestore.admin.v1.Index getIndex() {
if (indexBuilder_ == null) {
Expand Down
Expand Up @@ -34,6 +34,8 @@ public interface CreateIndexRequestOrBuilder
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The parent.
*/
java.lang.String getParent();
/**
Expand All @@ -47,6 +49,8 @@ public interface CreateIndexRequestOrBuilder
* <code>
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();

Expand All @@ -59,6 +63,8 @@ public interface CreateIndexRequestOrBuilder
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return Whether the index field is set.
*/
boolean hasIndex();
/**
Expand All @@ -70,6 +76,8 @@ public interface CreateIndexRequestOrBuilder
*
* <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
* </code>
*
* @return The index.
*/
com.google.firestore.admin.v1.Index getIndex();
/**
Expand Down
Expand Up @@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;

// AUTO-GENERATED DOCUMENTATION AND CLASS
/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class DatabaseName implements ResourceName {

Expand Down
Expand Up @@ -41,6 +41,12 @@ private DeleteIndexRequest() {
name_ = "";
}

@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteIndexRequest();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
Expand All @@ -54,7 +60,6 @@ private DeleteIndexRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
Expand Down Expand Up @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
Expand All @@ -142,6 +149,8 @@ public java.lang.String getName() {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
Expand Down Expand Up @@ -484,6 +493,8 @@ public Builder mergeFrom(
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
Expand All @@ -507,6 +518,8 @@ public java.lang.String getName() {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
Expand All @@ -530,6 +543,9 @@ public com.google.protobuf.ByteString getNameBytes() {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
Expand All @@ -551,6 +567,8 @@ public Builder setName(java.lang.String value) {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return This builder for chaining.
*/
public Builder clearName() {

Expand All @@ -569,6 +587,9 @@ public Builder clearName() {
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
Expand Down
Expand Up @@ -34,6 +34,8 @@ public interface DeleteIndexRequestOrBuilder
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The name.
*/
java.lang.String getName();
/**
Expand All @@ -47,6 +49,8 @@ public interface DeleteIndexRequestOrBuilder
* <code>
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
* </code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}

0 comments on commit f1f124f

Please sign in to comment.