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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update generation configuration at Tue Oct 29 02:26:16 UTC 2024 #2388

Merged
merged 2 commits into from
Oct 29, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.49.0
googleapis_commitish: 48d30c4966ef9ea31b897e13f75d8f94070cc8e9
googleapis_commitish: ba8ea80f25d19bde8501cd51f314391f8d39bde8
libraries_bom_version: 26.49.0
template_excludes:
- .gitignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,42 @@ public boolean getClientSideMetricsEnabled() {
return clientSideMetricsEnabled_;
}

public static final int TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER = 9;
private boolean trafficDirectorEnabled_ = false;
/**
*
*
* <pre>
* Notify the server that the client using Traffic Director endpoint.
* </pre>
*
* <code>bool traffic_director_enabled = 9;</code>
*
* @return The trafficDirectorEnabled.
*/
@java.lang.Override
public boolean getTrafficDirectorEnabled() {
return trafficDirectorEnabled_;
}

public static final int DIRECT_ACCESS_REQUESTED_FIELD_NUMBER = 10;
private boolean directAccessRequested_ = false;
/**
*
*
* <pre>
* Notify the server that the client explicitly opted in for Direct Access.
* </pre>
*
* <code>bool direct_access_requested = 10;</code>
*
* @return The directAccessRequested.
*/
@java.lang.Override
public boolean getDirectAccessRequested() {
return directAccessRequested_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand Down Expand Up @@ -237,6 +273,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (clientSideMetricsEnabled_ != false) {
output.writeBool(8, clientSideMetricsEnabled_);
}
if (trafficDirectorEnabled_ != false) {
output.writeBool(9, trafficDirectorEnabled_);
}
if (directAccessRequested_ != false) {
output.writeBool(10, directAccessRequested_);
}
getUnknownFields().writeTo(output);
}

Expand Down Expand Up @@ -267,6 +309,12 @@ public int getSerializedSize() {
if (clientSideMetricsEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, clientSideMetricsEnabled_);
}
if (trafficDirectorEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, trafficDirectorEnabled_);
}
if (directAccessRequested_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, directAccessRequested_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand All @@ -289,6 +337,8 @@ public boolean equals(final java.lang.Object obj) {
if (getRoutingCookie() != other.getRoutingCookie()) return false;
if (getRetryInfo() != other.getRetryInfo()) return false;
if (getClientSideMetricsEnabled() != other.getClientSideMetricsEnabled()) return false;
if (getTrafficDirectorEnabled() != other.getTrafficDirectorEnabled()) return false;
if (getDirectAccessRequested() != other.getDirectAccessRequested()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
Expand All @@ -314,6 +364,10 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRetryInfo());
hash = (37 * hash) + CLIENT_SIDE_METRICS_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClientSideMetricsEnabled());
hash = (37 * hash) + TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTrafficDirectorEnabled());
hash = (37 * hash) + DIRECT_ACCESS_REQUESTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDirectAccessRequested());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
Expand Down Expand Up @@ -466,6 +520,8 @@ public Builder clear() {
routingCookie_ = false;
retryInfo_ = false;
clientSideMetricsEnabled_ = false;
trafficDirectorEnabled_ = false;
directAccessRequested_ = false;
return this;
}

Expand Down Expand Up @@ -522,6 +578,12 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
if (((from_bitField0_ & 0x00000040) != 0)) {
result.clientSideMetricsEnabled_ = clientSideMetricsEnabled_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.trafficDirectorEnabled_ = trafficDirectorEnabled_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.directAccessRequested_ = directAccessRequested_;
}
}

@java.lang.Override
Expand Down Expand Up @@ -590,6 +652,12 @@ public Builder mergeFrom(com.google.bigtable.v2.FeatureFlags other) {
if (other.getClientSideMetricsEnabled() != false) {
setClientSideMetricsEnabled(other.getClientSideMetricsEnabled());
}
if (other.getTrafficDirectorEnabled() != false) {
setTrafficDirectorEnabled(other.getTrafficDirectorEnabled());
}
if (other.getDirectAccessRequested() != false) {
setDirectAccessRequested(other.getDirectAccessRequested());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
Expand Down Expand Up @@ -658,6 +726,18 @@ public Builder mergeFrom(
bitField0_ |= 0x00000040;
break;
} // case 64
case 72:
{
trafficDirectorEnabled_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 72
case 80:
{
directAccessRequested_ = input.readBool();
bitField0_ |= 0x00000100;
break;
} // case 80
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -1072,6 +1152,112 @@ public Builder clearClientSideMetricsEnabled() {
return this;
}

private boolean trafficDirectorEnabled_;
/**
*
*
* <pre>
* Notify the server that the client using Traffic Director endpoint.
* </pre>
*
* <code>bool traffic_director_enabled = 9;</code>
*
* @return The trafficDirectorEnabled.
*/
@java.lang.Override
public boolean getTrafficDirectorEnabled() {
return trafficDirectorEnabled_;
}
/**
*
*
* <pre>
* Notify the server that the client using Traffic Director endpoint.
* </pre>
*
* <code>bool traffic_director_enabled = 9;</code>
*
* @param value The trafficDirectorEnabled to set.
* @return This builder for chaining.
*/
public Builder setTrafficDirectorEnabled(boolean value) {

trafficDirectorEnabled_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
*
* <pre>
* Notify the server that the client using Traffic Director endpoint.
* </pre>
*
* <code>bool traffic_director_enabled = 9;</code>
*
* @return This builder for chaining.
*/
public Builder clearTrafficDirectorEnabled() {
bitField0_ = (bitField0_ & ~0x00000080);
trafficDirectorEnabled_ = false;
onChanged();
return this;
}

private boolean directAccessRequested_;
/**
*
*
* <pre>
* Notify the server that the client explicitly opted in for Direct Access.
* </pre>
*
* <code>bool direct_access_requested = 10;</code>
*
* @return The directAccessRequested.
*/
@java.lang.Override
public boolean getDirectAccessRequested() {
return directAccessRequested_;
}
/**
*
*
* <pre>
* Notify the server that the client explicitly opted in for Direct Access.
* </pre>
*
* <code>bool direct_access_requested = 10;</code>
*
* @param value The directAccessRequested to set.
* @return This builder for chaining.
*/
public Builder setDirectAccessRequested(boolean value) {

directAccessRequested_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
*
* <pre>
* Notify the server that the client explicitly opted in for Direct Access.
* </pre>
*
* <code>bool direct_access_requested = 10;</code>
*
* @return This builder for chaining.
*/
public Builder clearDirectAccessRequested() {
bitField0_ = (bitField0_ & ~0x00000100);
directAccessRequested_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,30 @@ public interface FeatureFlagsOrBuilder
* @return The clientSideMetricsEnabled.
*/
boolean getClientSideMetricsEnabled();

/**
*
*
* <pre>
* Notify the server that the client using Traffic Director endpoint.
* </pre>
*
* <code>bool traffic_director_enabled = 9;</code>
*
* @return The trafficDirectorEnabled.
*/
boolean getTrafficDirectorEnabled();

/**
*
*
* <pre>
* Notify the server that the client explicitly opted in for Direct Access.
* </pre>
*
* <code>bool direct_access_requested = 10;</code>
*
* @return The directAccessRequested.
*/
boolean getDirectAccessRequested();
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/bigtable/v2/feature_flags.proto"
+ "\022\022google.bigtable.v2\"\333\001\n\014FeatureFlags\022\025\n"
+ "\022\022google.bigtable.v2\"\236\002\n\014FeatureFlags\022\025\n"
+ "\rreverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate"
+ "_limit\030\003 \001(\010\022\037\n\027mutate_rows_rate_limit2\030"
+ "\005 \001(\010\022\"\n\032last_scanned_row_responses\030\004 \001("
+ "\010\022\026\n\016routing_cookie\030\006 \001(\010\022\022\n\nretry_info\030"
+ "\007 \001(\010\022#\n\033client_side_metrics_enabled\030\010 \001"
+ "(\010B\273\001\n\026com.google.bigtable.v2B\021FeatureFl"
+ "agsProtoP\001Z8cloud.google.com/go/bigtable"
+ "/apiv2/bigtablepb;bigtablepb\252\002\030Google.Cl"
+ "oud.Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\"
+ "V2\352\002\033Google::Cloud::Bigtable::V2b\006proto3"
+ "(\010\022 \n\030traffic_director_enabled\030\t \001(\010\022\037\n\027"
+ "direct_access_requested\030\n \001(\010B\273\001\n\026com.go"
+ "ogle.bigtable.v2B\021FeatureFlagsProtoP\001Z8c"
+ "loud.google.com/go/bigtable/apiv2/bigtab"
+ "lepb;bigtablepb\252\002\030Google.Cloud.Bigtable."
+ "V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::"
+ "Cloud::Bigtable::V2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -70,6 +72,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"RoutingCookie",
"RetryInfo",
"ClientSideMetricsEnabled",
"TrafficDirectorEnabled",
"DirectAccessRequested",
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ message FeatureFlags {

// Notify the server that the client has client side metrics enabled.
bool client_side_metrics_enabled = 8;

// Notify the server that the client using Traffic Director endpoint.
bool traffic_director_enabled = 9;

// Notify the server that the client explicitly opted in for Direct Access.
bool direct_access_requested = 10;
}
Loading