com.google.apphosting.executor.Group Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: group.proto
package com.google.apphosting.executor;
public final class Group {
private Group() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface GroupRefOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GroupRef)
com.google.protobuf.MessageOrBuilder {
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return Whether the customer field is set.
*/
boolean hasCustomer();
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return The customer.
*/
com.google.protobuf.ByteString getCustomer();
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return The name.
*/
com.google.protobuf.ByteString getName();
}
/**
* Protobuf type {@code java.apphosting.GroupRef}
*/
public static final class GroupRef extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GroupRef)
GroupRefOrBuilder {
private static final long serialVersionUID = 0L;
// Use GroupRef.newBuilder() to construct.
private GroupRef(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupRef() {
customer_ = com.google.protobuf.ByteString.EMPTY;
name_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GroupRef();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupRef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupRef.class, com.google.apphosting.executor.Group.GroupRef.Builder.class);
}
private int bitField0_;
public static final int CUSTOMER_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString customer_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return Whether the customer field is set.
*/
@java.lang.Override
public boolean hasCustomer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return The customer.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCustomer() {
return customer_;
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getName() {
return name_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasCustomer()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBytes(1, customer_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, name_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, customer_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, name_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.executor.Group.GroupRef)) {
return super.equals(obj);
}
com.google.apphosting.executor.Group.GroupRef other = (com.google.apphosting.executor.Group.GroupRef) obj;
if (hasCustomer() != other.hasCustomer()) return false;
if (hasCustomer()) {
if (!getCustomer()
.equals(other.getCustomer())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCustomer()) {
hash = (37 * hash) + CUSTOMER_FIELD_NUMBER;
hash = (53 * hash) + getCustomer().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupRef parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupRef parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupRef parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.executor.Group.GroupRef prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GroupRef}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GroupRef)
com.google.apphosting.executor.Group.GroupRefOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupRef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupRef.class, com.google.apphosting.executor.Group.GroupRef.Builder.class);
}
// Construct using com.google.apphosting.executor.Group.GroupRef.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
customer_ = com.google.protobuf.ByteString.EMPTY;
name_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupRef_descriptor;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRef getDefaultInstanceForType() {
return com.google.apphosting.executor.Group.GroupRef.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRef build() {
com.google.apphosting.executor.Group.GroupRef result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRef buildPartial() {
com.google.apphosting.executor.Group.GroupRef result = new com.google.apphosting.executor.Group.GroupRef(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.apphosting.executor.Group.GroupRef result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.customer_ = customer_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.executor.Group.GroupRef) {
return mergeFrom((com.google.apphosting.executor.Group.GroupRef)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.executor.Group.GroupRef other) {
if (other == com.google.apphosting.executor.Group.GroupRef.getDefaultInstance()) return this;
if (other.hasCustomer()) {
setCustomer(other.getCustomer());
}
if (other.hasName()) {
setName(other.getName());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasCustomer()) {
return false;
}
if (!hasName()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
customer_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
name_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString customer_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return Whether the customer field is set.
*/
@java.lang.Override
public boolean hasCustomer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return The customer.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCustomer() {
return customer_;
}
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @param value The customer to set.
* @return This builder for chaining.
*/
public Builder setCustomer(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
customer_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Customer to which the group belongs.
* Note characters not allowed: , + : " <space> and all control characters.
* The customer has either of the following two values:
* 1. `apphosting/task-queue-api` used by App Engine Task Queue, App Engine
* Cron, Cloud Tasks, and Cloud Scheduler.
* 2. `cloud/cloud-storage` used by a cloud-storage in a direct integration
* with Executor (which we would like to deprecate).
*
*
* required bytes customer = 1;
* @return This builder for chaining.
*/
public Builder clearCustomer() {
bitField0_ = (bitField0_ & ~0x00000001);
customer_ = getDefaultInstance().getCustomer();
onChanged();
return this;
}
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getName() {
return name_;
}
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Name of the group.
*
*
* required bytes name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GroupRef)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GroupRef)
private static final com.google.apphosting.executor.Group.GroupRef DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.executor.Group.GroupRef();
}
public static com.google.apphosting.executor.Group.GroupRef getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GroupRef parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRef getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GroupThrottlingParametersOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GroupThrottlingParameters)
com.google.protobuf.MessageOrBuilder {
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return Whether the overrideBucketRefillPerSecond field is set.
*/
boolean hasOverrideBucketRefillPerSecond();
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return The overrideBucketRefillPerSecond.
*/
double getOverrideBucketRefillPerSecond();
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return Whether the overrideBucketCapacity field is set.
*/
boolean hasOverrideBucketCapacity();
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return The overrideBucketCapacity.
*/
double getOverrideBucketCapacity();
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return Whether the overrideMaxConcurrentRequests field is set.
*/
boolean hasOverrideMaxConcurrentRequests();
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return The overrideMaxConcurrentRequests.
*/
int getOverrideMaxConcurrentRequests();
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return Whether the overrideMaxPullRequestsPerSecond field is set.
*/
boolean hasOverrideMaxPullRequestsPerSecond();
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return The overrideMaxPullRequestsPerSecond.
*/
int getOverrideMaxPullRequestsPerSecond();
}
/**
* Protobuf type {@code java.apphosting.GroupThrottlingParameters}
*/
public static final class GroupThrottlingParameters extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GroupThrottlingParameters)
GroupThrottlingParametersOrBuilder {
private static final long serialVersionUID = 0L;
// Use GroupThrottlingParameters.newBuilder() to construct.
private GroupThrottlingParameters(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupThrottlingParameters() {
overrideBucketRefillPerSecond_ = -1D;
overrideBucketCapacity_ = -1D;
overrideMaxConcurrentRequests_ = -1;
overrideMaxPullRequestsPerSecond_ = -1;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GroupThrottlingParameters();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupThrottlingParameters_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupThrottlingParameters_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupThrottlingParameters.class, com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder.class);
}
private int bitField0_;
public static final int OVERRIDE_BUCKET_REFILL_PER_SECOND_FIELD_NUMBER = 1;
private double overrideBucketRefillPerSecond_ = -1D;
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return Whether the overrideBucketRefillPerSecond field is set.
*/
@java.lang.Override
public boolean hasOverrideBucketRefillPerSecond() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return The overrideBucketRefillPerSecond.
*/
@java.lang.Override
public double getOverrideBucketRefillPerSecond() {
return overrideBucketRefillPerSecond_;
}
public static final int OVERRIDE_BUCKET_CAPACITY_FIELD_NUMBER = 2;
private double overrideBucketCapacity_ = -1D;
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return Whether the overrideBucketCapacity field is set.
*/
@java.lang.Override
public boolean hasOverrideBucketCapacity() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return The overrideBucketCapacity.
*/
@java.lang.Override
public double getOverrideBucketCapacity() {
return overrideBucketCapacity_;
}
public static final int OVERRIDE_MAX_CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
private int overrideMaxConcurrentRequests_ = -1;
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return Whether the overrideMaxConcurrentRequests field is set.
*/
@java.lang.Override
public boolean hasOverrideMaxConcurrentRequests() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return The overrideMaxConcurrentRequests.
*/
@java.lang.Override
public int getOverrideMaxConcurrentRequests() {
return overrideMaxConcurrentRequests_;
}
public static final int OVERRIDE_MAX_PULL_REQUESTS_PER_SECOND_FIELD_NUMBER = 4;
private int overrideMaxPullRequestsPerSecond_ = -1;
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return Whether the overrideMaxPullRequestsPerSecond field is set.
*/
@java.lang.Override
public boolean hasOverrideMaxPullRequestsPerSecond() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return The overrideMaxPullRequestsPerSecond.
*/
@java.lang.Override
public int getOverrideMaxPullRequestsPerSecond() {
return overrideMaxPullRequestsPerSecond_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeDouble(1, overrideBucketRefillPerSecond_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeDouble(2, overrideBucketCapacity_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, overrideMaxConcurrentRequests_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt32(4, overrideMaxPullRequestsPerSecond_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, overrideBucketRefillPerSecond_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, overrideBucketCapacity_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, overrideMaxConcurrentRequests_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, overrideMaxPullRequestsPerSecond_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.executor.Group.GroupThrottlingParameters)) {
return super.equals(obj);
}
com.google.apphosting.executor.Group.GroupThrottlingParameters other = (com.google.apphosting.executor.Group.GroupThrottlingParameters) obj;
if (hasOverrideBucketRefillPerSecond() != other.hasOverrideBucketRefillPerSecond()) return false;
if (hasOverrideBucketRefillPerSecond()) {
if (java.lang.Double.doubleToLongBits(getOverrideBucketRefillPerSecond())
!= java.lang.Double.doubleToLongBits(
other.getOverrideBucketRefillPerSecond())) return false;
}
if (hasOverrideBucketCapacity() != other.hasOverrideBucketCapacity()) return false;
if (hasOverrideBucketCapacity()) {
if (java.lang.Double.doubleToLongBits(getOverrideBucketCapacity())
!= java.lang.Double.doubleToLongBits(
other.getOverrideBucketCapacity())) return false;
}
if (hasOverrideMaxConcurrentRequests() != other.hasOverrideMaxConcurrentRequests()) return false;
if (hasOverrideMaxConcurrentRequests()) {
if (getOverrideMaxConcurrentRequests()
!= other.getOverrideMaxConcurrentRequests()) return false;
}
if (hasOverrideMaxPullRequestsPerSecond() != other.hasOverrideMaxPullRequestsPerSecond()) return false;
if (hasOverrideMaxPullRequestsPerSecond()) {
if (getOverrideMaxPullRequestsPerSecond()
!= other.getOverrideMaxPullRequestsPerSecond()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOverrideBucketRefillPerSecond()) {
hash = (37 * hash) + OVERRIDE_BUCKET_REFILL_PER_SECOND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getOverrideBucketRefillPerSecond()));
}
if (hasOverrideBucketCapacity()) {
hash = (37 * hash) + OVERRIDE_BUCKET_CAPACITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getOverrideBucketCapacity()));
}
if (hasOverrideMaxConcurrentRequests()) {
hash = (37 * hash) + OVERRIDE_MAX_CONCURRENT_REQUESTS_FIELD_NUMBER;
hash = (53 * hash) + getOverrideMaxConcurrentRequests();
}
if (hasOverrideMaxPullRequestsPerSecond()) {
hash = (37 * hash) + OVERRIDE_MAX_PULL_REQUESTS_PER_SECOND_FIELD_NUMBER;
hash = (53 * hash) + getOverrideMaxPullRequestsPerSecond();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.executor.Group.GroupThrottlingParameters prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GroupThrottlingParameters}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GroupThrottlingParameters)
com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupThrottlingParameters_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupThrottlingParameters_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupThrottlingParameters.class, com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder.class);
}
// Construct using com.google.apphosting.executor.Group.GroupThrottlingParameters.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
overrideBucketRefillPerSecond_ = -1D;
overrideBucketCapacity_ = -1D;
overrideMaxConcurrentRequests_ = -1;
overrideMaxPullRequestsPerSecond_ = -1;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupThrottlingParameters_descriptor;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParameters getDefaultInstanceForType() {
return com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParameters build() {
com.google.apphosting.executor.Group.GroupThrottlingParameters result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParameters buildPartial() {
com.google.apphosting.executor.Group.GroupThrottlingParameters result = new com.google.apphosting.executor.Group.GroupThrottlingParameters(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.apphosting.executor.Group.GroupThrottlingParameters result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.overrideBucketRefillPerSecond_ = overrideBucketRefillPerSecond_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.overrideBucketCapacity_ = overrideBucketCapacity_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.overrideMaxConcurrentRequests_ = overrideMaxConcurrentRequests_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.overrideMaxPullRequestsPerSecond_ = overrideMaxPullRequestsPerSecond_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.executor.Group.GroupThrottlingParameters) {
return mergeFrom((com.google.apphosting.executor.Group.GroupThrottlingParameters)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.executor.Group.GroupThrottlingParameters other) {
if (other == com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance()) return this;
if (other.hasOverrideBucketRefillPerSecond()) {
setOverrideBucketRefillPerSecond(other.getOverrideBucketRefillPerSecond());
}
if (other.hasOverrideBucketCapacity()) {
setOverrideBucketCapacity(other.getOverrideBucketCapacity());
}
if (other.hasOverrideMaxConcurrentRequests()) {
setOverrideMaxConcurrentRequests(other.getOverrideMaxConcurrentRequests());
}
if (other.hasOverrideMaxPullRequestsPerSecond()) {
setOverrideMaxPullRequestsPerSecond(other.getOverrideMaxPullRequestsPerSecond());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
overrideBucketRefillPerSecond_ = input.readDouble();
bitField0_ |= 0x00000001;
break;
} // case 9
case 17: {
overrideBucketCapacity_ = input.readDouble();
bitField0_ |= 0x00000002;
break;
} // case 17
case 24: {
overrideMaxConcurrentRequests_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
overrideMaxPullRequestsPerSecond_ = input.readInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private double overrideBucketRefillPerSecond_ = -1D;
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return Whether the overrideBucketRefillPerSecond field is set.
*/
@java.lang.Override
public boolean hasOverrideBucketRefillPerSecond() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return The overrideBucketRefillPerSecond.
*/
@java.lang.Override
public double getOverrideBucketRefillPerSecond() {
return overrideBucketRefillPerSecond_;
}
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @param value The overrideBucketRefillPerSecond to set.
* @return This builder for chaining.
*/
public Builder setOverrideBucketRefillPerSecond(double value) {
overrideBucketRefillPerSecond_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Override user-specified per-queue throttling parameters. Queue
* overrides take precedence over group overrides--i.e. if the
* individual queue has override parameters, prefer those. 0 is
* functionally equivalent to paused. Ignore if unset or < 0.
* TODO: Check the claim about being
* functionally equivalent to paused. Will the queue show as
* "paused" in the admin console? How will the queue appear in the
* admin console? In general, will the overrides be visible in the
* admin console?
*
*
* optional double override_bucket_refill_per_second = 1 [default = -1];
* @return This builder for chaining.
*/
public Builder clearOverrideBucketRefillPerSecond() {
bitField0_ = (bitField0_ & ~0x00000001);
overrideBucketRefillPerSecond_ = -1D;
onChanged();
return this;
}
private double overrideBucketCapacity_ = -1D;
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return Whether the overrideBucketCapacity field is set.
*/
@java.lang.Override
public boolean hasOverrideBucketCapacity() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return The overrideBucketCapacity.
*/
@java.lang.Override
public double getOverrideBucketCapacity() {
return overrideBucketCapacity_;
}
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @param value The overrideBucketCapacity to set.
* @return This builder for chaining.
*/
public Builder setOverrideBucketCapacity(double value) {
overrideBucketCapacity_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional double override_bucket_capacity = 2 [default = -1];
* @return This builder for chaining.
*/
public Builder clearOverrideBucketCapacity() {
bitField0_ = (bitField0_ & ~0x00000002);
overrideBucketCapacity_ = -1D;
onChanged();
return this;
}
private int overrideMaxConcurrentRequests_ = -1;
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return Whether the overrideMaxConcurrentRequests field is set.
*/
@java.lang.Override
public boolean hasOverrideMaxConcurrentRequests() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return The overrideMaxConcurrentRequests.
*/
@java.lang.Override
public int getOverrideMaxConcurrentRequests() {
return overrideMaxConcurrentRequests_;
}
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @param value The overrideMaxConcurrentRequests to set.
* @return This builder for chaining.
*/
public Builder setOverrideMaxConcurrentRequests(int value) {
overrideMaxConcurrentRequests_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional int32 override_max_concurrent_requests = 3 [default = -1];
* @return This builder for chaining.
*/
public Builder clearOverrideMaxConcurrentRequests() {
bitField0_ = (bitField0_ & ~0x00000004);
overrideMaxConcurrentRequests_ = -1;
onChanged();
return this;
}
private int overrideMaxPullRequestsPerSecond_ = -1;
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return Whether the overrideMaxPullRequestsPerSecond field is set.
*/
@java.lang.Override
public boolean hasOverrideMaxPullRequestsPerSecond() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return The overrideMaxPullRequestsPerSecond.
*/
@java.lang.Override
public int getOverrideMaxPullRequestsPerSecond() {
return overrideMaxPullRequestsPerSecond_;
}
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @param value The overrideMaxPullRequestsPerSecond to set.
* @return This builder for chaining.
*/
public Builder setOverrideMaxPullRequestsPerSecond(int value) {
overrideMaxPullRequestsPerSecond_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional int32 override_max_pull_requests_per_second = 4 [default = -1];
* @return This builder for chaining.
*/
public Builder clearOverrideMaxPullRequestsPerSecond() {
bitField0_ = (bitField0_ & ~0x00000008);
overrideMaxPullRequestsPerSecond_ = -1;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GroupThrottlingParameters)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GroupThrottlingParameters)
private static final com.google.apphosting.executor.Group.GroupThrottlingParameters DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.executor.Group.GroupThrottlingParameters();
}
public static com.google.apphosting.executor.Group.GroupThrottlingParameters getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GroupThrottlingParameters parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParameters getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GroupDefinitionOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.GroupDefinition)
com.google.protobuf.MessageOrBuilder {
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return Whether the oBSOLETEDisabled field is set.
*/
boolean hasOBSOLETEDisabled();
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return The oBSOLETEDisabled.
*/
boolean getOBSOLETEDisabled();
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return Whether the groupRef field is set.
*/
boolean hasGroupRef();
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return The groupRef.
*/
com.google.apphosting.executor.Group.GroupRef getGroupRef();
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
com.google.apphosting.executor.Group.GroupRefOrBuilder getGroupRefOrBuilder();
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return Whether the groupThrottlingParameters field is set.
*/
boolean hasGroupThrottlingParameters();
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return The groupThrottlingParameters.
*/
com.google.apphosting.executor.Group.GroupThrottlingParameters getGroupThrottlingParameters();
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder getGroupThrottlingParametersOrBuilder();
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return Whether the projectInfo field is set.
*/
boolean hasProjectInfo();
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return The projectInfo.
*/
com.google.apphosting.executor.Group.ProjectInfo getProjectInfo();
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
com.google.apphosting.executor.Group.ProjectInfoOrBuilder getProjectInfoOrBuilder();
}
/**
* Protobuf type {@code java.apphosting.GroupDefinition}
*/
public static final class GroupDefinition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.GroupDefinition)
GroupDefinitionOrBuilder {
private static final long serialVersionUID = 0L;
// Use GroupDefinition.newBuilder() to construct.
private GroupDefinition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupDefinition() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GroupDefinition();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupDefinition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupDefinition.class, com.google.apphosting.executor.Group.GroupDefinition.Builder.class);
}
private int bitField0_;
public static final int OBSOLETE_DISABLED_FIELD_NUMBER = 2;
private boolean oBSOLETEDisabled_ = false;
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return Whether the oBSOLETEDisabled field is set.
*/
@java.lang.Override
public boolean hasOBSOLETEDisabled() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return The oBSOLETEDisabled.
*/
@java.lang.Override
public boolean getOBSOLETEDisabled() {
return oBSOLETEDisabled_;
}
public static final int GROUP_REF_FIELD_NUMBER = 1;
private com.google.apphosting.executor.Group.GroupRef groupRef_;
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return Whether the groupRef field is set.
*/
@java.lang.Override
public boolean hasGroupRef() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return The groupRef.
*/
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRef getGroupRef() {
return groupRef_ == null ? com.google.apphosting.executor.Group.GroupRef.getDefaultInstance() : groupRef_;
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
@java.lang.Override
public com.google.apphosting.executor.Group.GroupRefOrBuilder getGroupRefOrBuilder() {
return groupRef_ == null ? com.google.apphosting.executor.Group.GroupRef.getDefaultInstance() : groupRef_;
}
public static final int GROUP_THROTTLING_PARAMETERS_FIELD_NUMBER = 6;
private com.google.apphosting.executor.Group.GroupThrottlingParameters groupThrottlingParameters_;
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return Whether the groupThrottlingParameters field is set.
*/
@java.lang.Override
public boolean hasGroupThrottlingParameters() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return The groupThrottlingParameters.
*/
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParameters getGroupThrottlingParameters() {
return groupThrottlingParameters_ == null ? com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance() : groupThrottlingParameters_;
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
@java.lang.Override
public com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder getGroupThrottlingParametersOrBuilder() {
return groupThrottlingParameters_ == null ? com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance() : groupThrottlingParameters_;
}
public static final int PROJECT_INFO_FIELD_NUMBER = 7;
private com.google.apphosting.executor.Group.ProjectInfo projectInfo_;
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return Whether the projectInfo field is set.
*/
@java.lang.Override
public boolean hasProjectInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return The projectInfo.
*/
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfo getProjectInfo() {
return projectInfo_ == null ? com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance() : projectInfo_;
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfoOrBuilder getProjectInfoOrBuilder() {
return projectInfo_ == null ? com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance() : projectInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasGroupRef()) {
memoizedIsInitialized = 0;
return false;
}
if (!getGroupRef().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(1, getGroupRef());
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(2, oBSOLETEDisabled_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(6, getGroupThrottlingParameters());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(7, getProjectInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getGroupRef());
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, oBSOLETEDisabled_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getGroupThrottlingParameters());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getProjectInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.executor.Group.GroupDefinition)) {
return super.equals(obj);
}
com.google.apphosting.executor.Group.GroupDefinition other = (com.google.apphosting.executor.Group.GroupDefinition) obj;
if (hasOBSOLETEDisabled() != other.hasOBSOLETEDisabled()) return false;
if (hasOBSOLETEDisabled()) {
if (getOBSOLETEDisabled()
!= other.getOBSOLETEDisabled()) return false;
}
if (hasGroupRef() != other.hasGroupRef()) return false;
if (hasGroupRef()) {
if (!getGroupRef()
.equals(other.getGroupRef())) return false;
}
if (hasGroupThrottlingParameters() != other.hasGroupThrottlingParameters()) return false;
if (hasGroupThrottlingParameters()) {
if (!getGroupThrottlingParameters()
.equals(other.getGroupThrottlingParameters())) return false;
}
if (hasProjectInfo() != other.hasProjectInfo()) return false;
if (hasProjectInfo()) {
if (!getProjectInfo()
.equals(other.getProjectInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOBSOLETEDisabled()) {
hash = (37 * hash) + OBSOLETE_DISABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getOBSOLETEDisabled());
}
if (hasGroupRef()) {
hash = (37 * hash) + GROUP_REF_FIELD_NUMBER;
hash = (53 * hash) + getGroupRef().hashCode();
}
if (hasGroupThrottlingParameters()) {
hash = (37 * hash) + GROUP_THROTTLING_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getGroupThrottlingParameters().hashCode();
}
if (hasProjectInfo()) {
hash = (37 * hash) + PROJECT_INFO_FIELD_NUMBER;
hash = (53 * hash) + getProjectInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.GroupDefinition parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.executor.Group.GroupDefinition prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.GroupDefinition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.GroupDefinition)
com.google.apphosting.executor.Group.GroupDefinitionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupDefinition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.GroupDefinition.class, com.google.apphosting.executor.Group.GroupDefinition.Builder.class);
}
// Construct using com.google.apphosting.executor.Group.GroupDefinition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getGroupRefFieldBuilder();
getGroupThrottlingParametersFieldBuilder();
getProjectInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
oBSOLETEDisabled_ = false;
groupRef_ = null;
if (groupRefBuilder_ != null) {
groupRefBuilder_.dispose();
groupRefBuilder_ = null;
}
groupThrottlingParameters_ = null;
if (groupThrottlingParametersBuilder_ != null) {
groupThrottlingParametersBuilder_.dispose();
groupThrottlingParametersBuilder_ = null;
}
projectInfo_ = null;
if (projectInfoBuilder_ != null) {
projectInfoBuilder_.dispose();
projectInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_GroupDefinition_descriptor;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupDefinition getDefaultInstanceForType() {
return com.google.apphosting.executor.Group.GroupDefinition.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupDefinition build() {
com.google.apphosting.executor.Group.GroupDefinition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupDefinition buildPartial() {
com.google.apphosting.executor.Group.GroupDefinition result = new com.google.apphosting.executor.Group.GroupDefinition(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.apphosting.executor.Group.GroupDefinition result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.oBSOLETEDisabled_ = oBSOLETEDisabled_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.groupRef_ = groupRefBuilder_ == null
? groupRef_
: groupRefBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.groupThrottlingParameters_ = groupThrottlingParametersBuilder_ == null
? groupThrottlingParameters_
: groupThrottlingParametersBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.projectInfo_ = projectInfoBuilder_ == null
? projectInfo_
: projectInfoBuilder_.build();
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.executor.Group.GroupDefinition) {
return mergeFrom((com.google.apphosting.executor.Group.GroupDefinition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.executor.Group.GroupDefinition other) {
if (other == com.google.apphosting.executor.Group.GroupDefinition.getDefaultInstance()) return this;
if (other.hasOBSOLETEDisabled()) {
setOBSOLETEDisabled(other.getOBSOLETEDisabled());
}
if (other.hasGroupRef()) {
mergeGroupRef(other.getGroupRef());
}
if (other.hasGroupThrottlingParameters()) {
mergeGroupThrottlingParameters(other.getGroupThrottlingParameters());
}
if (other.hasProjectInfo()) {
mergeProjectInfo(other.getProjectInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasGroupRef()) {
return false;
}
if (!getGroupRef().isInitialized()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getGroupRefFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 10
case 16: {
oBSOLETEDisabled_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 16
case 50: {
input.readMessage(
getGroupThrottlingParametersFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 50
case 58: {
input.readMessage(
getProjectInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean oBSOLETEDisabled_ ;
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return Whether the oBSOLETEDisabled field is set.
*/
@java.lang.Override
public boolean hasOBSOLETEDisabled() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return The oBSOLETEDisabled.
*/
@java.lang.Override
public boolean getOBSOLETEDisabled() {
return oBSOLETEDisabled_;
}
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @param value The oBSOLETEDisabled to set.
* @return This builder for chaining.
*/
public Builder setOBSOLETEDisabled(boolean value) {
oBSOLETEDisabled_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* NOTE: The proto compiler used by the python2.7 runtime is very old,
* and thus does not understand the 'reserved' keyword.
* TODO(b/29157040): Once the compiler has been updated, convert this into a
* reserved tag number.
*
*
* optional bool OBSOLETE_disabled = 2;
* @return This builder for chaining.
*/
public Builder clearOBSOLETEDisabled() {
bitField0_ = (bitField0_ & ~0x00000001);
oBSOLETEDisabled_ = false;
onChanged();
return this;
}
private com.google.apphosting.executor.Group.GroupRef groupRef_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupRef, com.google.apphosting.executor.Group.GroupRef.Builder, com.google.apphosting.executor.Group.GroupRefOrBuilder> groupRefBuilder_;
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return Whether the groupRef field is set.
*/
public boolean hasGroupRef() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
* @return The groupRef.
*/
public com.google.apphosting.executor.Group.GroupRef getGroupRef() {
if (groupRefBuilder_ == null) {
return groupRef_ == null ? com.google.apphosting.executor.Group.GroupRef.getDefaultInstance() : groupRef_;
} else {
return groupRefBuilder_.getMessage();
}
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public Builder setGroupRef(com.google.apphosting.executor.Group.GroupRef value) {
if (groupRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
groupRef_ = value;
} else {
groupRefBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public Builder setGroupRef(
com.google.apphosting.executor.Group.GroupRef.Builder builderForValue) {
if (groupRefBuilder_ == null) {
groupRef_ = builderForValue.build();
} else {
groupRefBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public Builder mergeGroupRef(com.google.apphosting.executor.Group.GroupRef value) {
if (groupRefBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
groupRef_ != null &&
groupRef_ != com.google.apphosting.executor.Group.GroupRef.getDefaultInstance()) {
getGroupRefBuilder().mergeFrom(value);
} else {
groupRef_ = value;
}
} else {
groupRefBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public Builder clearGroupRef() {
bitField0_ = (bitField0_ & ~0x00000002);
groupRef_ = null;
if (groupRefBuilder_ != null) {
groupRefBuilder_.dispose();
groupRefBuilder_ = null;
}
onChanged();
return this;
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public com.google.apphosting.executor.Group.GroupRef.Builder getGroupRefBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getGroupRefFieldBuilder().getBuilder();
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
public com.google.apphosting.executor.Group.GroupRefOrBuilder getGroupRefOrBuilder() {
if (groupRefBuilder_ != null) {
return groupRefBuilder_.getMessageOrBuilder();
} else {
return groupRef_ == null ?
com.google.apphosting.executor.Group.GroupRef.getDefaultInstance() : groupRef_;
}
}
/**
* required .java.apphosting.GroupRef group_ref = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupRef, com.google.apphosting.executor.Group.GroupRef.Builder, com.google.apphosting.executor.Group.GroupRefOrBuilder>
getGroupRefFieldBuilder() {
if (groupRefBuilder_ == null) {
groupRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupRef, com.google.apphosting.executor.Group.GroupRef.Builder, com.google.apphosting.executor.Group.GroupRefOrBuilder>(
getGroupRef(),
getParentForChildren(),
isClean());
groupRef_ = null;
}
return groupRefBuilder_;
}
private com.google.apphosting.executor.Group.GroupThrottlingParameters groupThrottlingParameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupThrottlingParameters, com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder, com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder> groupThrottlingParametersBuilder_;
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return Whether the groupThrottlingParameters field is set.
*/
public boolean hasGroupThrottlingParameters() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
* @return The groupThrottlingParameters.
*/
public com.google.apphosting.executor.Group.GroupThrottlingParameters getGroupThrottlingParameters() {
if (groupThrottlingParametersBuilder_ == null) {
return groupThrottlingParameters_ == null ? com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance() : groupThrottlingParameters_;
} else {
return groupThrottlingParametersBuilder_.getMessage();
}
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public Builder setGroupThrottlingParameters(com.google.apphosting.executor.Group.GroupThrottlingParameters value) {
if (groupThrottlingParametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
groupThrottlingParameters_ = value;
} else {
groupThrottlingParametersBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public Builder setGroupThrottlingParameters(
com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder builderForValue) {
if (groupThrottlingParametersBuilder_ == null) {
groupThrottlingParameters_ = builderForValue.build();
} else {
groupThrottlingParametersBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public Builder mergeGroupThrottlingParameters(com.google.apphosting.executor.Group.GroupThrottlingParameters value) {
if (groupThrottlingParametersBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
groupThrottlingParameters_ != null &&
groupThrottlingParameters_ != com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance()) {
getGroupThrottlingParametersBuilder().mergeFrom(value);
} else {
groupThrottlingParameters_ = value;
}
} else {
groupThrottlingParametersBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public Builder clearGroupThrottlingParameters() {
bitField0_ = (bitField0_ & ~0x00000004);
groupThrottlingParameters_ = null;
if (groupThrottlingParametersBuilder_ != null) {
groupThrottlingParametersBuilder_.dispose();
groupThrottlingParametersBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder getGroupThrottlingParametersBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getGroupThrottlingParametersFieldBuilder().getBuilder();
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
public com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder getGroupThrottlingParametersOrBuilder() {
if (groupThrottlingParametersBuilder_ != null) {
return groupThrottlingParametersBuilder_.getMessageOrBuilder();
} else {
return groupThrottlingParameters_ == null ?
com.google.apphosting.executor.Group.GroupThrottlingParameters.getDefaultInstance() : groupThrottlingParameters_;
}
}
/**
* optional .java.apphosting.GroupThrottlingParameters group_throttling_parameters = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupThrottlingParameters, com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder, com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder>
getGroupThrottlingParametersFieldBuilder() {
if (groupThrottlingParametersBuilder_ == null) {
groupThrottlingParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.GroupThrottlingParameters, com.google.apphosting.executor.Group.GroupThrottlingParameters.Builder, com.google.apphosting.executor.Group.GroupThrottlingParametersOrBuilder>(
getGroupThrottlingParameters(),
getParentForChildren(),
isClean());
groupThrottlingParameters_ = null;
}
return groupThrottlingParametersBuilder_;
}
private com.google.apphosting.executor.Group.ProjectInfo projectInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.ProjectInfo, com.google.apphosting.executor.Group.ProjectInfo.Builder, com.google.apphosting.executor.Group.ProjectInfoOrBuilder> projectInfoBuilder_;
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return Whether the projectInfo field is set.
*/
public boolean hasProjectInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
* @return The projectInfo.
*/
public com.google.apphosting.executor.Group.ProjectInfo getProjectInfo() {
if (projectInfoBuilder_ == null) {
return projectInfo_ == null ? com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance() : projectInfo_;
} else {
return projectInfoBuilder_.getMessage();
}
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public Builder setProjectInfo(com.google.apphosting.executor.Group.ProjectInfo value) {
if (projectInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
projectInfo_ = value;
} else {
projectInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public Builder setProjectInfo(
com.google.apphosting.executor.Group.ProjectInfo.Builder builderForValue) {
if (projectInfoBuilder_ == null) {
projectInfo_ = builderForValue.build();
} else {
projectInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public Builder mergeProjectInfo(com.google.apphosting.executor.Group.ProjectInfo value) {
if (projectInfoBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
projectInfo_ != null &&
projectInfo_ != com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance()) {
getProjectInfoBuilder().mergeFrom(value);
} else {
projectInfo_ = value;
}
} else {
projectInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public Builder clearProjectInfo() {
bitField0_ = (bitField0_ & ~0x00000008);
projectInfo_ = null;
if (projectInfoBuilder_ != null) {
projectInfoBuilder_.dispose();
projectInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public com.google.apphosting.executor.Group.ProjectInfo.Builder getProjectInfoBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getProjectInfoFieldBuilder().getBuilder();
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
public com.google.apphosting.executor.Group.ProjectInfoOrBuilder getProjectInfoOrBuilder() {
if (projectInfoBuilder_ != null) {
return projectInfoBuilder_.getMessageOrBuilder();
} else {
return projectInfo_ == null ?
com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance() : projectInfo_;
}
}
/**
* optional .java.apphosting.ProjectInfo project_info = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.ProjectInfo, com.google.apphosting.executor.Group.ProjectInfo.Builder, com.google.apphosting.executor.Group.ProjectInfoOrBuilder>
getProjectInfoFieldBuilder() {
if (projectInfoBuilder_ == null) {
projectInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.apphosting.executor.Group.ProjectInfo, com.google.apphosting.executor.Group.ProjectInfo.Builder, com.google.apphosting.executor.Group.ProjectInfoOrBuilder>(
getProjectInfo(),
getParentForChildren(),
isClean());
projectInfo_ = null;
}
return projectInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.GroupDefinition)
}
// @@protoc_insertion_point(class_scope:java.apphosting.GroupDefinition)
private static final com.google.apphosting.executor.Group.GroupDefinition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.executor.Group.GroupDefinition();
}
public static com.google.apphosting.executor.Group.GroupDefinition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GroupDefinition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.executor.Group.GroupDefinition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ProjectInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.ProjectInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return Whether the projectNumber field is set.
*/
boolean hasProjectNumber();
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return The projectNumber.
*/
long getProjectNumber();
}
/**
*
* Information about the project associated with this group.
*
*
* Protobuf type {@code java.apphosting.ProjectInfo}
*/
public static final class ProjectInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.ProjectInfo)
ProjectInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProjectInfo.newBuilder() to construct.
private ProjectInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProjectInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProjectInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_ProjectInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_ProjectInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.ProjectInfo.class, com.google.apphosting.executor.Group.ProjectInfo.Builder.class);
}
private int bitField0_;
public static final int PROJECT_NUMBER_FIELD_NUMBER = 1;
private long projectNumber_ = 0L;
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return Whether the projectNumber field is set.
*/
@java.lang.Override
public boolean hasProjectNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return The projectNumber.
*/
@java.lang.Override
public long getProjectNumber() {
return projectNumber_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, projectNumber_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectNumber_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.executor.Group.ProjectInfo)) {
return super.equals(obj);
}
com.google.apphosting.executor.Group.ProjectInfo other = (com.google.apphosting.executor.Group.ProjectInfo) obj;
if (hasProjectNumber() != other.hasProjectNumber()) return false;
if (hasProjectNumber()) {
if (getProjectNumber()
!= other.getProjectNumber()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasProjectNumber()) {
hash = (37 * hash) + PROJECT_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectNumber());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.executor.Group.ProjectInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.executor.Group.ProjectInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Information about the project associated with this group.
*
*
* Protobuf type {@code java.apphosting.ProjectInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.ProjectInfo)
com.google.apphosting.executor.Group.ProjectInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_ProjectInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_ProjectInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.executor.Group.ProjectInfo.class, com.google.apphosting.executor.Group.ProjectInfo.Builder.class);
}
// Construct using com.google.apphosting.executor.Group.ProjectInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
projectNumber_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.executor.Group.internal_static_java_apphosting_ProjectInfo_descriptor;
}
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfo getDefaultInstanceForType() {
return com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfo build() {
com.google.apphosting.executor.Group.ProjectInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfo buildPartial() {
com.google.apphosting.executor.Group.ProjectInfo result = new com.google.apphosting.executor.Group.ProjectInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.apphosting.executor.Group.ProjectInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.projectNumber_ = projectNumber_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.executor.Group.ProjectInfo) {
return mergeFrom((com.google.apphosting.executor.Group.ProjectInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.executor.Group.ProjectInfo other) {
if (other == com.google.apphosting.executor.Group.ProjectInfo.getDefaultInstance()) return this;
if (other.hasProjectNumber()) {
setProjectNumber(other.getProjectNumber());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
projectNumber_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long projectNumber_ ;
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return Whether the projectNumber field is set.
*/
@java.lang.Override
public boolean hasProjectNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return The projectNumber.
*/
@java.lang.Override
public long getProjectNumber() {
return projectNumber_;
}
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @param value The projectNumber to set.
* @return This builder for chaining.
*/
public Builder setProjectNumber(long value) {
projectNumber_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The GCP project number for the project associated with this group.
*
*
* optional int64 project_number = 1;
* @return This builder for chaining.
*/
public Builder clearProjectNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
projectNumber_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.ProjectInfo)
}
// @@protoc_insertion_point(class_scope:java.apphosting.ProjectInfo)
private static final com.google.apphosting.executor.Group.ProjectInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.executor.Group.ProjectInfo();
}
public static com.google.apphosting.executor.Group.ProjectInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProjectInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.executor.Group.ProjectInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GroupRef_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GroupRef_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GroupThrottlingParameters_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GroupThrottlingParameters_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_GroupDefinition_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_GroupDefinition_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_ProjectInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_ProjectInfo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\013group.proto\022\017java.apphosting\"*\n\010GroupR" +
"ef\022\020\n\010customer\030\001 \002(\014\022\014\n\004name\030\002 \002(\014\"\321\001\n\031G" +
"roupThrottlingParameters\022-\n!override_buc" +
"ket_refill_per_second\030\001 \001(\001:\002-1\022$\n\030overr" +
"ide_bucket_capacity\030\002 \001(\001:\002-1\022,\n overrid" +
"e_max_concurrent_requests\030\003 \001(\005:\002-1\0221\n%o" +
"verride_max_pull_requests_per_second\030\004 \001" +
"(\005:\002-1\"\337\001\n\017GroupDefinition\022\031\n\021OBSOLETE_d" +
"isabled\030\002 \001(\010\022,\n\tgroup_ref\030\001 \002(\0132\031.java." +
"apphosting.GroupRef\022O\n\033group_throttling_" +
"parameters\030\006 \001(\0132*.java.apphosting.Group" +
"ThrottlingParameters\0222\n\014project_info\030\007 \001" +
"(\0132\034.java.apphosting.ProjectInfo\"%\n\013Proj" +
"ectInfo\022\026\n\016project_number\030\001 \001(\003B \n\036com.g" +
"oogle.apphosting.executor"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_java_apphosting_GroupRef_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_java_apphosting_GroupRef_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GroupRef_descriptor,
new java.lang.String[] { "Customer", "Name", });
internal_static_java_apphosting_GroupThrottlingParameters_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_java_apphosting_GroupThrottlingParameters_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GroupThrottlingParameters_descriptor,
new java.lang.String[] { "OverrideBucketRefillPerSecond", "OverrideBucketCapacity", "OverrideMaxConcurrentRequests", "OverrideMaxPullRequestsPerSecond", });
internal_static_java_apphosting_GroupDefinition_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_java_apphosting_GroupDefinition_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_GroupDefinition_descriptor,
new java.lang.String[] { "OBSOLETEDisabled", "GroupRef", "GroupThrottlingParameters", "ProjectInfo", });
internal_static_java_apphosting_ProjectInfo_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_java_apphosting_ProjectInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_ProjectInfo_descriptor,
new java.lang.String[] { "ProjectNumber", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy