Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(generator): update protoc to v3.15.3 #654

Merged
merged 2 commits into from Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -229,6 +229,22 @@ public com.google.protobuf.ByteString getNameBytes() {
}

public static final int ROW_KEY_PREFIX_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* Delete all rows that start with this row key prefix. Prefix cannot be
* zero length.
* </pre>
*
* <code>bytes row_key_prefix = 2;</code>
*
* @return Whether the rowKeyPrefix field is set.
*/
@java.lang.Override
public boolean hasRowKeyPrefix() {
return targetCase_ == 2;
}
/**
*
*
Expand All @@ -250,6 +266,21 @@ public com.google.protobuf.ByteString getRowKeyPrefix() {
}

public static final int DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* Delete all rows in the table. Setting this to false is a no-op.
* </pre>
*
* <code>bool delete_all_data_from_table = 3;</code>
*
* @return Whether the deleteAllDataFromTable field is set.
*/
@java.lang.Override
public boolean hasDeleteAllDataFromTable() {
return targetCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -791,6 +822,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* Delete all rows that start with this row key prefix. Prefix cannot be
* zero length.
* </pre>
*
* <code>bytes row_key_prefix = 2;</code>
*
* @return Whether the rowKeyPrefix field is set.
*/
public boolean hasRowKeyPrefix() {
return targetCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -852,6 +898,20 @@ public Builder clearRowKeyPrefix() {
return this;
}

/**
*
*
* <pre>
* Delete all rows in the table. Setting this to false is a no-op.
* </pre>
*
* <code>bool delete_all_data_from_table = 3;</code>
*
* @return Whether the deleteAllDataFromTable field is set.
*/
public boolean hasDeleteAllDataFromTable() {
return targetCase_ == 3;
}
/**
*
*
Expand Down
Expand Up @@ -56,6 +56,19 @@ public interface DropRowRangeRequestOrBuilder
*/
com.google.protobuf.ByteString getNameBytes();

/**
*
*
* <pre>
* Delete all rows that start with this row key prefix. Prefix cannot be
* zero length.
* </pre>
*
* <code>bytes row_key_prefix = 2;</code>
*
* @return Whether the rowKeyPrefix field is set.
*/
boolean hasRowKeyPrefix();
/**
*
*
Expand All @@ -70,6 +83,18 @@ public interface DropRowRangeRequestOrBuilder
*/
com.google.protobuf.ByteString getRowKeyPrefix();

/**
*
*
* <pre>
* Delete all rows in the table. Setting this to false is a no-op.
* </pre>
*
* <code>bool delete_all_data_from_table = 3;</code>
*
* @return Whether the deleteAllDataFromTable field is set.
*/
boolean hasDeleteAllDataFromTable();
/**
*
*
Expand Down
Expand Up @@ -2186,6 +2186,21 @@ public RuleCase getRuleCase() {
}

public static final int MAX_NUM_VERSIONS_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* Delete all cells in a column except the most recent N.
* </pre>
*
* <code>int32 max_num_versions = 1;</code>
*
* @return Whether the maxNumVersions field is set.
*/
@java.lang.Override
public boolean hasMaxNumVersions() {
return ruleCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -2797,6 +2812,20 @@ public Builder clearRule() {
return this;
}

/**
*
*
* <pre>
* Delete all cells in a column except the most recent N.
* </pre>
*
* <code>int32 max_num_versions = 1;</code>
*
* @return Whether the maxNumVersions field is set.
*/
public boolean hasMaxNumVersions() {
return ruleCase_ == 1;
}
/**
*
*
Expand Down
Expand Up @@ -23,6 +23,18 @@ public interface GcRuleOrBuilder
// @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule)
com.google.protobuf.MessageOrBuilder {

/**
*
*
* <pre>
* Delete all cells in a column except the most recent N.
* </pre>
*
* <code>int32 max_num_versions = 1;</code>
*
* @return Whether the maxNumVersions field is set.
*/
boolean hasMaxNumVersions();
/**
*
*
Expand Down
Expand Up @@ -238,6 +238,19 @@ public interface ModificationOrBuilder
*/
com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder();

/**
*
*
* <pre>
* Drop (delete) the column family with the given ID, or fail if no such
* family exists.
* </pre>
*
* <code>bool drop = 4;</code>
*
* @return Whether the drop field is set.
*/
boolean hasDrop();
/**
*
*
Expand Down Expand Up @@ -594,6 +607,22 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
}

public static final int DROP_FIELD_NUMBER = 4;
/**
*
*
* <pre>
* Drop (delete) the column family with the given ID, or fail if no such
* family exists.
* </pre>
*
* <code>bool drop = 4;</code>
*
* @return Whether the drop field is set.
*/
@java.lang.Override
public boolean hasDrop() {
return modCase_ == 4;
}
/**
*
*
Expand Down Expand Up @@ -1597,6 +1626,21 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
return updateBuilder_;
}

/**
*
*
* <pre>
* Drop (delete) the column family with the given ID, or fail if no such
* family exists.
* </pre>
*
* <code>bool drop = 4;</code>
*
* @return Whether the drop field is set.
*/
public boolean hasDrop() {
return modCase_ == 4;
}
/**
*
*
Expand Down
Expand Up @@ -284,6 +284,21 @@ public com.google.protobuf.ByteString getTableIdBytes() {
}

public static final int BACKUP_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* Name of the backup from which to restore. Values are of the form
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
* </pre>
*
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the backup field is set.
*/
public boolean hasBackup() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -977,6 +992,22 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* Name of the backup from which to restore. Values are of the form
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
* </pre>
*
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the backup field is set.
*/
@java.lang.Override
public boolean hasBackup() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down
Expand Up @@ -87,6 +87,19 @@ public interface RestoreTableRequestOrBuilder
*/
com.google.protobuf.ByteString getTableIdBytes();

/**
*
*
* <pre>
* Name of the backup from which to restore. Values are of the form
* `projects/&lt;project&gt;/instances/&lt;instance&gt;/clusters/&lt;cluster&gt;/backups/&lt;backup&gt;`.
* </pre>
*
* <code>string backup = 3 [(.google.api.resource_reference) = { ... }</code>
*
* @return Whether the backup field is set.
*/
boolean hasBackup();
/**
*
*
Expand Down
9 changes: 9 additions & 0 deletions proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/bigtable/v2/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>