com.google.apphosting.base.protos.SystemServicePb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: system_service.proto
package com.google.apphosting.base.protos;
public final class SystemServicePb {
private SystemServicePb() {}
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 SystemServiceErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.SystemServiceError)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code java.apphosting.SystemServiceError}
*/
public static final class SystemServiceError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.SystemServiceError)
SystemServiceErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use SystemServiceError.newBuilder() to construct.
private SystemServiceError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SystemServiceError() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SystemServiceError();
}
@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.base.protos.SystemServicePb.internal_static_java_apphosting_SystemServiceError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_SystemServiceError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.class, com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.Builder.class);
}
/**
* Protobuf enum {@code java.apphosting.SystemServiceError.ErrorCode}
*/
public enum ErrorCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Not an error.
*
*
* OK = 0;
*/
OK(0),
/**
*
* Unexpected internal error.
*
*
* INTERNAL_ERROR = 1;
*/
INTERNAL_ERROR(1),
/**
*
* The specified request can only be run from a backend instance.
*
*
* BACKEND_REQUIRED = 2;
*/
BACKEND_REQUIRED(2),
/**
*
* Limit on the number of active background requests reached for this app
* version.
*
*
* LIMIT_REACHED = 3;
*/
LIMIT_REACHED(3),
;
/**
*
* Not an error.
*
*
* OK = 0;
*/
public static final int OK_VALUE = 0;
/**
*
* Unexpected internal error.
*
*
* INTERNAL_ERROR = 1;
*/
public static final int INTERNAL_ERROR_VALUE = 1;
/**
*
* The specified request can only be run from a backend instance.
*
*
* BACKEND_REQUIRED = 2;
*/
public static final int BACKEND_REQUIRED_VALUE = 2;
/**
*
* Limit on the number of active background requests reached for this app
* version.
*
*
* LIMIT_REACHED = 3;
*/
public static final int LIMIT_REACHED_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorCode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ErrorCode forNumber(int value) {
switch (value) {
case 0: return OK;
case 1: return INTERNAL_ERROR;
case 2: return BACKEND_REQUIRED;
case 3: return LIMIT_REACHED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ErrorCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ErrorCode findValueByNumber(int number) {
return ErrorCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.getDescriptor().getEnumTypes().get(0);
}
private static final ErrorCode[] VALUES = values();
public static ErrorCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private ErrorCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:java.apphosting.SystemServiceError.ErrorCode)
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.base.protos.SystemServicePb.SystemServiceError)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.SystemServicePb.SystemServiceError other = (com.google.apphosting.base.protos.SystemServicePb.SystemServiceError) obj;
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();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError 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.SystemServiceError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.SystemServiceError)
com.google.apphosting.base.protos.SystemServicePb.SystemServiceErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_SystemServiceError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_SystemServiceError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.class, com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.Builder.class);
}
// Construct using com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_SystemServiceError_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.SystemServiceError getDefaultInstanceForType() {
return com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.SystemServiceError build() {
com.google.apphosting.base.protos.SystemServicePb.SystemServiceError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.SystemServiceError buildPartial() {
com.google.apphosting.base.protos.SystemServicePb.SystemServiceError result = new com.google.apphosting.base.protos.SystemServicePb.SystemServiceError(this);
onBuilt();
return result;
}
@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.base.protos.SystemServicePb.SystemServiceError) {
return mergeFrom((com.google.apphosting.base.protos.SystemServicePb.SystemServiceError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.SystemServicePb.SystemServiceError other) {
if (other == com.google.apphosting.base.protos.SystemServicePb.SystemServiceError.getDefaultInstance()) return this;
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;
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;
}
@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.SystemServiceError)
}
// @@protoc_insertion_point(class_scope:java.apphosting.SystemServiceError)
private static final com.google.apphosting.base.protos.SystemServicePb.SystemServiceError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SystemServicePb.SystemServiceError();
}
public static com.google.apphosting.base.protos.SystemServicePb.SystemServiceError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SystemServiceError 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.base.protos.SystemServicePb.SystemServiceError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StartBackgroundRequestRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.StartBackgroundRequestRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code java.apphosting.StartBackgroundRequestRequest}
*/
public static final class StartBackgroundRequestRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.StartBackgroundRequestRequest)
StartBackgroundRequestRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StartBackgroundRequestRequest.newBuilder() to construct.
private StartBackgroundRequestRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StartBackgroundRequestRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StartBackgroundRequestRequest();
}
@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.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.class, com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.Builder.class);
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.base.protos.SystemServicePb.StartBackgroundRequestRequest)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest other = (com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest) obj;
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();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest 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.StartBackgroundRequestRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.StartBackgroundRequestRequest)
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.class, com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.Builder.class);
}
// Construct using com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest getDefaultInstanceForType() {
return com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest build() {
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest buildPartial() {
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest result = new com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest(this);
onBuilt();
return result;
}
@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.base.protos.SystemServicePb.StartBackgroundRequestRequest) {
return mergeFrom((com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest other) {
if (other == com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest.getDefaultInstance()) return this;
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;
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;
}
@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.StartBackgroundRequestRequest)
}
// @@protoc_insertion_point(class_scope:java.apphosting.StartBackgroundRequestRequest)
private static final com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest();
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StartBackgroundRequestRequest 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.base.protos.SystemServicePb.StartBackgroundRequestRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StartBackgroundRequestResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.StartBackgroundRequestResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return Whether the requestId field is set.
*/
boolean hasRequestId();
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The requestId.
*/
java.lang.String getRequestId();
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString
getRequestIdBytes();
}
/**
* Protobuf type {@code java.apphosting.StartBackgroundRequestResponse}
*/
public static final class StartBackgroundRequestResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.StartBackgroundRequestResponse)
StartBackgroundRequestResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StartBackgroundRequestResponse.newBuilder() to construct.
private StartBackgroundRequestResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StartBackgroundRequestResponse() {
requestId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StartBackgroundRequestResponse();
}
@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.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.class, com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.Builder.class);
}
private int bitField0_;
public static final int REQUEST_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object requestId_ = "";
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return Whether the requestId field is set.
*/
@java.lang.Override
public boolean hasRequestId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The requestId.
*/
@java.lang.Override
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
requestId_ = s;
}
return s;
}
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The bytes for requestId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
}
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.GeneratedMessageV3.computeStringSize(1, requestId_);
}
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.base.protos.SystemServicePb.StartBackgroundRequestResponse)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse other = (com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse) obj;
if (hasRequestId() != other.hasRequestId()) return false;
if (hasRequestId()) {
if (!getRequestId()
.equals(other.getRequestId())) 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 (hasRequestId()) {
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse 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.StartBackgroundRequestResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.StartBackgroundRequestResponse)
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.class, com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.Builder.class);
}
// Construct using com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
requestId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.SystemServicePb.internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse getDefaultInstanceForType() {
return com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse build() {
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse buildPartial() {
com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse result = new com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.requestId_ = requestId_;
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.base.protos.SystemServicePb.StartBackgroundRequestResponse) {
return mergeFrom((com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse other) {
if (other == com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse.getDefaultInstance()) return this;
if (other.hasRequestId()) {
requestId_ = other.requestId_;
bitField0_ |= 0x00000001;
onChanged();
}
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 10: {
requestId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
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 java.lang.Object requestId_ = "";
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return Whether the requestId field is set.
*/
public boolean hasRequestId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The requestId.
*/
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
requestId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return The bytes for requestId.
*/
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
requestId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Every /_ah/background request will have an X-AppEngine-BackgroundRequest
* header, whose value will be equal to this parameter, the request_id.
*
*
* optional string request_id = 1;
* @param value The bytes for requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
requestId_ = value;
bitField0_ |= 0x00000001;
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.StartBackgroundRequestResponse)
}
// @@protoc_insertion_point(class_scope:java.apphosting.StartBackgroundRequestResponse)
private static final com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse();
}
public static com.google.apphosting.base.protos.SystemServicePb.StartBackgroundRequestResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StartBackgroundRequestResponse 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.base.protos.SystemServicePb.StartBackgroundRequestResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_SystemServiceError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_SystemServiceError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_StartBackgroundRequestRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_StartBackgroundRequestResponse_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\024system_service.proto\022\017java.apphosting\"" +
"f\n\022SystemServiceError\"P\n\tErrorCode\022\006\n\002OK" +
"\020\000\022\022\n\016INTERNAL_ERROR\020\001\022\024\n\020BACKEND_REQUIR" +
"ED\020\002\022\021\n\rLIMIT_REACHED\020\003\"\037\n\035StartBackgrou" +
"ndRequestRequest\"4\n\036StartBackgroundReque" +
"stResponse\022\022\n\nrequest_id\030\001 \001(\tB4\n!com.go" +
"ogle.apphosting.base.protosB\017SystemServi" +
"cePb"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_java_apphosting_SystemServiceError_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_java_apphosting_SystemServiceError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_SystemServiceError_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_java_apphosting_StartBackgroundRequestRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_StartBackgroundRequestRequest_descriptor,
new java.lang.String[] { });
internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_java_apphosting_StartBackgroundRequestResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_StartBackgroundRequestResponse_descriptor,
new java.lang.String[] { "RequestId", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy