All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.apphosting.base.protos.RuntimePb Maven / Gradle / Ivy

There is a newer version: 2.0.31
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: runtime.proto

package com.google.apphosting.base.protos;

public final class RuntimePb {
  private RuntimePb() {}
  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 UPRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:java.apphosting.UPRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required string app_id = 1;
     * @return Whether the appId field is set.
     */
    boolean hasAppId();
    /**
     * required string app_id = 1;
     * @return The appId.
     */
    java.lang.String getAppId();
    /**
     * required string app_id = 1;
     * @return The bytes for appId.
     */
    com.google.protobuf.ByteString
        getAppIdBytes();

    /**
     * 
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ boolean hasModuleId(); /** *
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return The moduleId. */ java.lang.String getModuleId(); /** *
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return The bytes for moduleId. */ com.google.protobuf.ByteString getModuleIdBytes(); /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return Whether the moduleVersionId field is set. */ boolean hasModuleVersionId(); /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return The moduleVersionId. */ java.lang.String getModuleVersionId(); /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return The bytes for moduleVersionId. */ com.google.protobuf.ByteString getModuleVersionIdBytes(); /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ boolean hasVersionId(); /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return The versionId. */ java.lang.String getVersionId(); /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return The bytes for versionId. */ com.google.protobuf.ByteString getVersionIdBytes(); /** * required string nickname = 3; * @return Whether the nickname field is set. */ boolean hasNickname(); /** * required string nickname = 3; * @return The nickname. */ java.lang.String getNickname(); /** * required string nickname = 3; * @return The bytes for nickname. */ com.google.protobuf.ByteString getNicknameBytes(); /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ boolean hasSecurityTicket(); /** * required string security_ticket = 4; * @return The securityTicket. */ java.lang.String getSecurityTicket(); /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ com.google.protobuf.ByteString getSecurityTicketBytes(); /** * optional bool is_admin = 7 [default = false]; * @return Whether the isAdmin field is set. */ boolean hasIsAdmin(); /** * optional bool is_admin = 7 [default = false]; * @return The isAdmin. */ boolean getIsAdmin(); /** * optional string email = 10 [default = ""]; * @return Whether the email field is set. */ boolean hasEmail(); /** * optional string email = 10 [default = ""]; * @return The email. */ java.lang.String getEmail(); /** * optional string email = 10 [default = ""]; * @return The bytes for email. */ com.google.protobuf.ByteString getEmailBytes(); /** * optional string auth_domain = 11 [default = ""]; * @return Whether the authDomain field is set. */ boolean hasAuthDomain(); /** * optional string auth_domain = 11 [default = ""]; * @return The authDomain. */ java.lang.String getAuthDomain(); /** * optional string auth_domain = 11 [default = ""]; * @return The bytes for authDomain. */ com.google.protobuf.ByteString getAuthDomainBytes(); /** * optional string user_organization = 17 [default = ""]; * @return Whether the userOrganization field is set. */ boolean hasUserOrganization(); /** * optional string user_organization = 17 [default = ""]; * @return The userOrganization. */ java.lang.String getUserOrganization(); /** * optional string user_organization = 17 [default = ""]; * @return The bytes for userOrganization. */ com.google.protobuf.ByteString getUserOrganizationBytes(); /** * required .java.apphosting.Handler handler = 5; * @return Whether the handler field is set. */ boolean hasHandler(); /** * required .java.apphosting.Handler handler = 5; * @return The handler. */ com.google.apphosting.base.protos.AppinfoPb.Handler getHandler(); /** * required .java.apphosting.Handler handler = 5; */ com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder getHandlerOrBuilder(); /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; * @return Whether the request field is set. */ boolean hasRequest(); /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; * @return The request. */ com.google.apphosting.base.protos.HttpPb.HttpRequest getRequest(); /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; */ com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder getRequestOrBuilder(); /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ java.util.List getRuntimeHeadersList(); /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index); /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ int getRuntimeHeadersCount(); /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ java.util.List getRuntimeHeadersOrBuilderList(); /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index); /** * optional string obfuscated_gaia_id = 14; * @return Whether the obfuscatedGaiaId field is set. */ boolean hasObfuscatedGaiaId(); /** * optional string obfuscated_gaia_id = 14; * @return The obfuscatedGaiaId. */ java.lang.String getObfuscatedGaiaId(); /** * optional string obfuscated_gaia_id = 14; * @return The bytes for obfuscatedGaiaId. */ com.google.protobuf.ByteString getObfuscatedGaiaIdBytes(); /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional int64 gaia_id = 8; * @return Whether the gaiaId field is set. */ boolean hasGaiaId(); /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional int64 gaia_id = 8; * @return The gaiaId. */ long getGaiaId(); /** * optional string gaia_session = 9; * @return Whether the gaiaSession field is set. */ boolean hasGaiaSession(); /** * optional string gaia_session = 9; * @return The gaiaSession. */ java.lang.String getGaiaSession(); /** * optional string gaia_session = 9; * @return The bytes for gaiaSession. */ com.google.protobuf.ByteString getGaiaSessionBytes(); /** * optional string authuser = 30; * @return Whether the authuser field is set. */ boolean hasAuthuser(); /** * optional string authuser = 30; * @return The authuser. */ java.lang.String getAuthuser(); /** * optional string authuser = 30; * @return The bytes for authuser. */ com.google.protobuf.ByteString getAuthuserBytes(); /** *
     * Is this app allowing trusted-only functionality in the runtime? Enabled
     * only if app has TRUSTED_RUNTIME_REQUESTS permission.
     * 
* * optional bool is_trusted_app = 12 [default = false]; * @return Whether the isTrustedApp field is set. */ boolean hasIsTrustedApp(); /** *
     * Is this app allowing trusted-only functionality in the runtime? Enabled
     * only if app has TRUSTED_RUNTIME_REQUESTS permission.
     * 
* * optional bool is_trusted_app = 12 [default = false]; * @return The isTrustedApp. */ boolean getIsTrustedApp(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return Whether the peerUsername field is set. */ boolean hasPeerUsername(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return The peerUsername. */ java.lang.String getPeerUsername(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return The bytes for peerUsername. */ com.google.protobuf.ByteString getPeerUsernameBytes(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return Whether the securityLevel field is set. */ boolean hasSecurityLevel(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return The securityLevel. */ java.lang.String getSecurityLevel(); /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return The bytes for securityLevel. */ com.google.protobuf.ByteString getSecurityLevelBytes(); /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return Whether the eventIdHash field is set. */ boolean hasEventIdHash(); /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return The eventIdHash. */ java.lang.String getEventIdHash(); /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return The bytes for eventIdHash. */ com.google.protobuf.ByteString getEventIdHashBytes(); /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return Whether the profilerSettings field is set. */ boolean hasProfilerSettings(); /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return The profilerSettings. */ com.google.apphosting.base.protos.CommonPb.ProfilerSettings getProfilerSettings(); /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder getProfilerSettingsOrBuilder(); /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return Whether the defaultVersionHostname field is set. */ boolean hasDefaultVersionHostname(); /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return The defaultVersionHostname. */ java.lang.String getDefaultVersionHostname(); /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return The bytes for defaultVersionHostname. */ com.google.protobuf.ByteString getDefaultVersionHostnameBytes(); /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return Whether the requestType field is set. */ boolean hasRequestType(); /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return The requestType. */ com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType getRequestType(); /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return Whether the appserverDatacenter field is set. */ boolean hasAppserverDatacenter(); /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return The appserverDatacenter. */ java.lang.String getAppserverDatacenter(); /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return The bytes for appserverDatacenter. */ com.google.protobuf.ByteString getAppserverDatacenterBytes(); /** * optional string appserver_task_bns = 32; * @return Whether the appserverTaskBns field is set. */ boolean hasAppserverTaskBns(); /** * optional string appserver_task_bns = 32; * @return The appserverTaskBns. */ java.lang.String getAppserverTaskBns(); /** * optional string appserver_task_bns = 32; * @return The bytes for appserverTaskBns. */ com.google.protobuf.ByteString getAppserverTaskBnsBytes(); /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return Whether the requestLogId field is set. */ boolean hasRequestLogId(); /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return The requestLogId. */ java.lang.String getRequestLogId(); /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return The bytes for requestLogId. */ com.google.protobuf.ByteString getRequestLogIdBytes(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return Whether the traceContext field is set. */ boolean hasTraceContext(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return The traceContext. */ com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder(); } /** *
   * Request from the Trusted Process (AppServer) to the Untrusted Process (a
   * clone running on a Gen 1 App Engine runtime (python27g, php55g, java8).)
   * Next tag: 49
   * 
* * Protobuf type {@code java.apphosting.UPRequest} */ public static final class UPRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UPRequest) UPRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UPRequest.newBuilder() to construct. private UPRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UPRequest() { appId_ = ""; moduleId_ = "default"; moduleVersionId_ = ""; versionId_ = ""; nickname_ = ""; securityTicket_ = ""; email_ = ""; authDomain_ = ""; userOrganization_ = ""; runtimeHeaders_ = java.util.Collections.emptyList(); obfuscatedGaiaId_ = ""; gaiaSession_ = ""; authuser_ = ""; peerUsername_ = ""; securityLevel_ = ""; eventIdHash_ = ""; defaultVersionHostname_ = ""; requestType_ = 0; appserverDatacenter_ = ""; appserverTaskBns_ = ""; requestLogId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UPRequest(); } @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.RuntimePb.internal_static_java_apphosting_UPRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPRequest.class, com.google.apphosting.base.protos.RuntimePb.UPRequest.Builder.class); } /** * Protobuf enum {@code java.apphosting.UPRequest.RequestType} */ public enum RequestType implements com.google.protobuf.ProtocolMessageEnum { /** * OTHER = 0; */ OTHER(0), /** * SHUTDOWN = 1; */ SHUTDOWN(1), /** * BACKGROUND = 2; */ BACKGROUND(2), ; /** * OTHER = 0; */ public static final int OTHER_VALUE = 0; /** * SHUTDOWN = 1; */ public static final int SHUTDOWN_VALUE = 1; /** * BACKGROUND = 2; */ public static final int BACKGROUND_VALUE = 2; 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 RequestType 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 RequestType forNumber(int value) { switch (value) { case 0: return OTHER; case 1: return SHUTDOWN; case 2: return BACKGROUND; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RequestType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RequestType findValueByNumber(int number) { return RequestType.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.RuntimePb.UPRequest.getDescriptor().getEnumTypes().get(0); } private static final RequestType[] VALUES = values(); public static RequestType 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 RequestType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.UPRequest.RequestType) } /** * Protobuf enum {@code java.apphosting.UPRequest.Deadline} */ public enum Deadline implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Constant that represents the amount of time we add into the request
       * deadline over stubby to ensure that we can cause the clone to throw
       * an exception instead of having stubby or the sandbox kill the clone
       * 
* * RPC_DEADLINE_PADDING_SECONDS = 30; */ RPC_DEADLINE_PADDING_SECONDS(30), ; /** *
       * Constant that represents the amount of time we add into the request
       * deadline over stubby to ensure that we can cause the clone to throw
       * an exception instead of having stubby or the sandbox kill the clone
       * 
* * RPC_DEADLINE_PADDING_SECONDS = 30; */ public static final int RPC_DEADLINE_PADDING_SECONDS_VALUE = 30; 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 Deadline 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 Deadline forNumber(int value) { switch (value) { case 30: return RPC_DEADLINE_PADDING_SECONDS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Deadline> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Deadline findValueByNumber(int number) { return Deadline.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.RuntimePb.UPRequest.getDescriptor().getEnumTypes().get(1); } private static final Deadline[] VALUES = values(); public static Deadline 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 Deadline(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.UPRequest.Deadline) } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object appId_ = ""; /** * required string app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * required string app_id = 1; * @return The appId. */ @java.lang.Override public java.lang.String getAppId() { java.lang.Object ref = appId_; 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()) { appId_ = s; } return s; } } /** * required string app_id = 1; * @return The bytes for appId. */ @java.lang.Override public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MODULE_ID_FIELD_NUMBER = 37; @SuppressWarnings("serial") private volatile java.lang.Object moduleId_ = "default"; /** *
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ @java.lang.Override public boolean hasModuleId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return The moduleId. */ @java.lang.Override public java.lang.String getModuleId() { java.lang.Object ref = moduleId_; 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()) { moduleId_ = s; } return s; } } /** *
     * This field will only contain the engine_id portion of the version_id field.
     * 
* * optional string module_id = 37 [default = "default"]; * @return The bytes for moduleId. */ @java.lang.Override public com.google.protobuf.ByteString getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MODULE_VERSION_ID_FIELD_NUMBER = 38; @SuppressWarnings("serial") private volatile java.lang.Object moduleVersionId_ = ""; /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return Whether the moduleVersionId field is set. */ @java.lang.Override public boolean hasModuleVersionId() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return The moduleVersionId. */ @java.lang.Override public java.lang.String getModuleVersionId() { java.lang.Object ref = moduleVersionId_; 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()) { moduleVersionId_ = s; } return s; } } /** *
     * This will have the engine_version and minor version timestamp in the format
     * engine_version.timestamp
     * 
* * optional string module_version_id = 38; * @return The bytes for moduleVersionId. */ @java.lang.Override public com.google.protobuf.ByteString getModuleVersionIdBytes() { java.lang.Object ref = moduleVersionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleVersionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object versionId_ = ""; /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ @java.lang.Override public boolean hasVersionId() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return The versionId. */ @java.lang.Override public java.lang.String getVersionId() { java.lang.Object ref = versionId_; 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()) { versionId_ = s; } return s; } } /** *
     * This will have the engine_id, engine_version and minor version timestamp,
     * in the format '[engine_id:]engine_version.timestamp'.
     * 
* * required string version_id = 2; * @return The bytes for versionId. */ @java.lang.Override public com.google.protobuf.ByteString getVersionIdBytes() { java.lang.Object ref = versionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NICKNAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object nickname_ = ""; /** * required string nickname = 3; * @return Whether the nickname field is set. */ @java.lang.Override public boolean hasNickname() { return ((bitField0_ & 0x00000010) != 0); } /** * required string nickname = 3; * @return The nickname. */ @java.lang.Override public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } } /** * required string nickname = 3; * @return The bytes for nickname. */ @java.lang.Override public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SECURITY_TICKET_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object securityTicket_ = ""; /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ @java.lang.Override public boolean hasSecurityTicket() { return ((bitField0_ & 0x00000020) != 0); } /** * required string security_ticket = 4; * @return The securityTicket. */ @java.lang.Override public java.lang.String getSecurityTicket() { java.lang.Object ref = securityTicket_; 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()) { securityTicket_ = s; } return s; } } /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityTicketBytes() { java.lang.Object ref = securityTicket_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_ADMIN_FIELD_NUMBER = 7; private boolean isAdmin_ = false; /** * optional bool is_admin = 7 [default = false]; * @return Whether the isAdmin field is set. */ @java.lang.Override public boolean hasIsAdmin() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool is_admin = 7 [default = false]; * @return The isAdmin. */ @java.lang.Override public boolean getIsAdmin() { return isAdmin_; } public static final int EMAIL_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object email_ = ""; /** * optional string email = 10 [default = ""]; * @return Whether the email field is set. */ @java.lang.Override public boolean hasEmail() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string email = 10 [default = ""]; * @return The email. */ @java.lang.Override public java.lang.String getEmail() { java.lang.Object ref = email_; 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()) { email_ = s; } return s; } } /** * optional string email = 10 [default = ""]; * @return The bytes for email. */ @java.lang.Override public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); email_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTH_DOMAIN_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object authDomain_ = ""; /** * optional string auth_domain = 11 [default = ""]; * @return Whether the authDomain field is set. */ @java.lang.Override public boolean hasAuthDomain() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string auth_domain = 11 [default = ""]; * @return The authDomain. */ @java.lang.Override public java.lang.String getAuthDomain() { java.lang.Object ref = authDomain_; 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()) { authDomain_ = s; } return s; } } /** * optional string auth_domain = 11 [default = ""]; * @return The bytes for authDomain. */ @java.lang.Override public com.google.protobuf.ByteString getAuthDomainBytes() { java.lang.Object ref = authDomain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_ORGANIZATION_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object userOrganization_ = ""; /** * optional string user_organization = 17 [default = ""]; * @return Whether the userOrganization field is set. */ @java.lang.Override public boolean hasUserOrganization() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string user_organization = 17 [default = ""]; * @return The userOrganization. */ @java.lang.Override public java.lang.String getUserOrganization() { java.lang.Object ref = userOrganization_; 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()) { userOrganization_ = s; } return s; } } /** * optional string user_organization = 17 [default = ""]; * @return The bytes for userOrganization. */ @java.lang.Override public com.google.protobuf.ByteString getUserOrganizationBytes() { java.lang.Object ref = userOrganization_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userOrganization_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HANDLER_FIELD_NUMBER = 5; private com.google.apphosting.base.protos.AppinfoPb.Handler handler_; /** * required .java.apphosting.Handler handler = 5; * @return Whether the handler field is set. */ @java.lang.Override public boolean hasHandler() { return ((bitField0_ & 0x00000400) != 0); } /** * required .java.apphosting.Handler handler = 5; * @return The handler. */ @java.lang.Override public com.google.apphosting.base.protos.AppinfoPb.Handler getHandler() { return handler_ == null ? com.google.apphosting.base.protos.AppinfoPb.Handler.getDefaultInstance() : handler_; } /** * required .java.apphosting.Handler handler = 5; */ @java.lang.Override public com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder getHandlerOrBuilder() { return handler_ == null ? com.google.apphosting.base.protos.AppinfoPb.Handler.getDefaultInstance() : handler_; } public static final int REQUEST_FIELD_NUMBER = 6; private com.google.apphosting.base.protos.HttpPb.HttpRequest request_; /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; * @return Whether the request field is set. */ @java.lang.Override public boolean hasRequest() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; * @return The request. */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.HttpRequest getRequest() { return request_ == null ? com.google.apphosting.base.protos.HttpPb.HttpRequest.getDefaultInstance() : request_; } /** *
     * If 'request' is empty, assume the request PB is in 'shared_buffer'.
     * 
* * optional .java.apphosting.HttpRequest request = 6; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder getRequestOrBuilder() { return request_ == null ? com.google.apphosting.base.protos.HttpPb.HttpRequest.getDefaultInstance() : request_; } public static final int RUNTIME_HEADERS_FIELD_NUMBER = 13; @SuppressWarnings("serial") private java.util.List runtimeHeaders_; /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ @java.lang.Override public java.util.List getRuntimeHeadersList() { return runtimeHeaders_; } /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ @java.lang.Override public java.util.List getRuntimeHeadersOrBuilderList() { return runtimeHeaders_; } /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ @java.lang.Override public int getRuntimeHeadersCount() { return runtimeHeaders_.size(); } /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index) { return runtimeHeaders_.get(index); } /** *
     * Headers appended by Google, or that have been sanitized from the
     * HttpRequest.  These are not intended to be seen by application code.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index) { return runtimeHeaders_.get(index); } public static final int OBFUSCATED_GAIA_ID_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object obfuscatedGaiaId_ = ""; /** * optional string obfuscated_gaia_id = 14; * @return Whether the obfuscatedGaiaId field is set. */ @java.lang.Override public boolean hasObfuscatedGaiaId() { return ((bitField0_ & 0x00001000) != 0); } /** * optional string obfuscated_gaia_id = 14; * @return The obfuscatedGaiaId. */ @java.lang.Override public java.lang.String getObfuscatedGaiaId() { java.lang.Object ref = obfuscatedGaiaId_; 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()) { obfuscatedGaiaId_ = s; } return s; } } /** * optional string obfuscated_gaia_id = 14; * @return The bytes for obfuscatedGaiaId. */ @java.lang.Override public com.google.protobuf.ByteString getObfuscatedGaiaIdBytes() { java.lang.Object ref = obfuscatedGaiaId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); obfuscatedGaiaId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GAIA_ID_FIELD_NUMBER = 8; private long gaiaId_ = 0L; /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional int64 gaia_id = 8; * @return Whether the gaiaId field is set. */ @java.lang.Override public boolean hasGaiaId() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional int64 gaia_id = 8; * @return The gaiaId. */ @java.lang.Override public long getGaiaId() { return gaiaId_; } public static final int GAIA_SESSION_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object gaiaSession_ = ""; /** * optional string gaia_session = 9; * @return Whether the gaiaSession field is set. */ @java.lang.Override public boolean hasGaiaSession() { return ((bitField0_ & 0x00004000) != 0); } /** * optional string gaia_session = 9; * @return The gaiaSession. */ @java.lang.Override public java.lang.String getGaiaSession() { java.lang.Object ref = gaiaSession_; 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()) { gaiaSession_ = s; } return s; } } /** * optional string gaia_session = 9; * @return The bytes for gaiaSession. */ @java.lang.Override public com.google.protobuf.ByteString getGaiaSessionBytes() { java.lang.Object ref = gaiaSession_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gaiaSession_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTHUSER_FIELD_NUMBER = 30; @SuppressWarnings("serial") private volatile java.lang.Object authuser_ = ""; /** * optional string authuser = 30; * @return Whether the authuser field is set. */ @java.lang.Override public boolean hasAuthuser() { return ((bitField0_ & 0x00008000) != 0); } /** * optional string authuser = 30; * @return The authuser. */ @java.lang.Override public java.lang.String getAuthuser() { java.lang.Object ref = authuser_; 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()) { authuser_ = s; } return s; } } /** * optional string authuser = 30; * @return The bytes for authuser. */ @java.lang.Override public com.google.protobuf.ByteString getAuthuserBytes() { java.lang.Object ref = authuser_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authuser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_TRUSTED_APP_FIELD_NUMBER = 12; private boolean isTrustedApp_ = false; /** *
     * Is this app allowing trusted-only functionality in the runtime? Enabled
     * only if app has TRUSTED_RUNTIME_REQUESTS permission.
     * 
* * optional bool is_trusted_app = 12 [default = false]; * @return Whether the isTrustedApp field is set. */ @java.lang.Override public boolean hasIsTrustedApp() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * Is this app allowing trusted-only functionality in the runtime? Enabled
     * only if app has TRUSTED_RUNTIME_REQUESTS permission.
     * 
* * optional bool is_trusted_app = 12 [default = false]; * @return The isTrustedApp. */ @java.lang.Override public boolean getIsTrustedApp() { return isTrustedApp_; } public static final int PEER_USERNAME_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object peerUsername_ = ""; /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return Whether the peerUsername field is set. */ @java.lang.Override public boolean hasPeerUsername() { return ((bitField0_ & 0x00020000) != 0); } /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return The peerUsername. */ @java.lang.Override public java.lang.String getPeerUsername() { java.lang.Object ref = peerUsername_; 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()) { peerUsername_ = s; } return s; } } /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
     * the PFE.
     * 
* * optional string peer_username = 15; * @return The bytes for peerUsername. */ @java.lang.Override public com.google.protobuf.ByteString getPeerUsernameBytes() { java.lang.Object ref = peerUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); peerUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SECURITY_LEVEL_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object securityLevel_ = ""; /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return Whether the securityLevel field is set. */ @java.lang.Override public boolean hasSecurityLevel() { return ((bitField0_ & 0x00040000) != 0); } /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return The securityLevel. */ @java.lang.Override public java.lang.String getSecurityLevel() { java.lang.Object ref = securityLevel_; 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()) { securityLevel_ = s; } return s; } } /** *
     * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
     * the security level of the LOAS connection with the remote peer who
     * initiated this request with the first PFE who received the request.
     * 
* * optional string security_level = 16; * @return The bytes for securityLevel. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityLevelBytes() { java.lang.Object ref = securityLevel_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityLevel_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_ID_HASH_FIELD_NUMBER = 20; @SuppressWarnings("serial") private volatile java.lang.Object eventIdHash_ = ""; /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return Whether the eventIdHash field is set. */ @java.lang.Override public boolean hasEventIdHash() { return ((bitField0_ & 0x00080000) != 0); } /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return The eventIdHash. */ @java.lang.Override public java.lang.String getEventIdHash() { java.lang.Object ref = eventIdHash_; 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()) { eventIdHash_ = s; } return s; } } /** *
     * A hash of the event-id, used as a unique request identifier within the
     * requestlogs and applogs bigtables. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
     * 
* * optional string event_id_hash = 20; * @return The bytes for eventIdHash. */ @java.lang.Override public com.google.protobuf.ByteString getEventIdHashBytes() { java.lang.Object ref = eventIdHash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventIdHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROFILER_SETTINGS_FIELD_NUMBER = 23; private com.google.apphosting.base.protos.CommonPb.ProfilerSettings profilerSettings_; /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return Whether the profilerSettings field is set. */ @java.lang.Override public boolean hasProfilerSettings() { return ((bitField0_ & 0x00100000) != 0); } /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return The profilerSettings. */ @java.lang.Override public com.google.apphosting.base.protos.CommonPb.ProfilerSettings getProfilerSettings() { return profilerSettings_ == null ? com.google.apphosting.base.protos.CommonPb.ProfilerSettings.getDefaultInstance() : profilerSettings_; } /** *
     * If provided, a profiler will be attached for the duration of this request.
     * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ @java.lang.Override public com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder getProfilerSettingsOrBuilder() { return profilerSettings_ == null ? com.google.apphosting.base.protos.CommonPb.ProfilerSettings.getDefaultInstance() : profilerSettings_; } public static final int DEFAULT_VERSION_HOSTNAME_FIELD_NUMBER = 27; @SuppressWarnings("serial") private volatile java.lang.Object defaultVersionHostname_ = ""; /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return Whether the defaultVersionHostname field is set. */ @java.lang.Override public boolean hasDefaultVersionHostname() { return ((bitField0_ & 0x00200000) != 0); } /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return The defaultVersionHostname. */ @java.lang.Override public java.lang.String getDefaultVersionHostname() { java.lang.Object ref = defaultVersionHostname_; 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()) { defaultVersionHostname_ = s; } return s; } } /** *
     * Hostname of the default version of this app.
     * 
* * optional string default_version_hostname = 27; * @return The bytes for defaultVersionHostname. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultVersionHostnameBytes() { java.lang.Object ref = defaultVersionHostname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultVersionHostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REQUEST_TYPE_FIELD_NUMBER = 28; private int requestType_ = 0; /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return Whether the requestType field is set. */ @java.lang.Override public boolean hasRequestType() { return ((bitField0_ & 0x00400000) != 0); } /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return The requestType. */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType getRequestType() { com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType result = com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType.forNumber(requestType_); return result == null ? com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType.OTHER : result; } public static final int APPSERVER_DATACENTER_FIELD_NUMBER = 31; @SuppressWarnings("serial") private volatile java.lang.Object appserverDatacenter_ = ""; /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return Whether the appserverDatacenter field is set. */ @java.lang.Override public boolean hasAppserverDatacenter() { return ((bitField0_ & 0x00800000) != 0); } /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return The appserverDatacenter. */ @java.lang.Override public java.lang.String getAppserverDatacenter() { java.lang.Object ref = appserverDatacenter_; 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()) { appserverDatacenter_ = s; } return s; } } /** *
     * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
     * permission.
     * 
* * optional string appserver_datacenter = 31; * @return The bytes for appserverDatacenter. */ @java.lang.Override public com.google.protobuf.ByteString getAppserverDatacenterBytes() { java.lang.Object ref = appserverDatacenter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appserverDatacenter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APPSERVER_TASK_BNS_FIELD_NUMBER = 32; @SuppressWarnings("serial") private volatile java.lang.Object appserverTaskBns_ = ""; /** * optional string appserver_task_bns = 32; * @return Whether the appserverTaskBns field is set. */ @java.lang.Override public boolean hasAppserverTaskBns() { return ((bitField0_ & 0x01000000) != 0); } /** * optional string appserver_task_bns = 32; * @return The appserverTaskBns. */ @java.lang.Override public java.lang.String getAppserverTaskBns() { java.lang.Object ref = appserverTaskBns_; 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()) { appserverTaskBns_ = s; } return s; } } /** * optional string appserver_task_bns = 32; * @return The bytes for appserverTaskBns. */ @java.lang.Override public com.google.protobuf.ByteString getAppserverTaskBnsBytes() { java.lang.Object ref = appserverTaskBns_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appserverTaskBns_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REQUEST_LOG_ID_FIELD_NUMBER = 35; @SuppressWarnings("serial") private volatile java.lang.Object requestLogId_ = ""; /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return Whether the requestLogId field is set. */ @java.lang.Override public boolean hasRequestLogId() { return ((bitField0_ & 0x02000000) != 0); } /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return The requestLogId. */ @java.lang.Override public java.lang.String getRequestLogId() { java.lang.Object ref = requestLogId_; 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()) { requestLogId_ = s; } return s; } } /** *
     * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
     * can be correlated with the logs from other backends. For more info, see
     * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
     * 
* * optional string request_log_id = 35; * @return The bytes for requestLogId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestLogIdBytes() { java.lang.Object ref = requestLogId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); requestLogId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACE_CONTEXT_FIELD_NUMBER = 40; private com.google.apphosting.base.protos.TracePb.TraceContextProto traceContext_; /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return Whether the traceContext field is set. */ @java.lang.Override public boolean hasTraceContext() { return ((bitField0_ & 0x04000000) != 0); } /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return The traceContext. */ @java.lang.Override public com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext() { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ @java.lang.Override public com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder() { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } 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 (!hasAppId()) { memoizedIsInitialized = 0; return false; } if (!hasVersionId()) { memoizedIsInitialized = 0; return false; } if (!hasNickname()) { memoizedIsInitialized = 0; return false; } if (!hasSecurityTicket()) { memoizedIsInitialized = 0; return false; } if (!hasHandler()) { memoizedIsInitialized = 0; return false; } if (!getHandler().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasRequest()) { if (!getRequest().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getRuntimeHeadersCount(); i++) { if (!getRuntimeHeaders(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasProfilerSettings()) { if (!getProfilerSettings().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_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, appId_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionId_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nickname_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, securityTicket_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(5, getHandler()); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(6, getRequest()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, isAdmin_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeInt64(8, gaiaId_); } if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, gaiaSession_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, email_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, authDomain_); } if (((bitField0_ & 0x00010000) != 0)) { output.writeBool(12, isTrustedApp_); } for (int i = 0; i < runtimeHeaders_.size(); i++) { output.writeMessage(13, runtimeHeaders_.get(i)); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, obfuscatedGaiaId_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, peerUsername_); } if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, securityLevel_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, userOrganization_); } if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, eventIdHash_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeMessage(23, getProfilerSettings()); } if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27, defaultVersionHostname_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeEnum(28, requestType_); } if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, authuser_); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 31, appserverDatacenter_); } if (((bitField0_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 32, appserverTaskBns_); } if (((bitField0_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 35, requestLogId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 37, moduleId_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 38, moduleVersionId_); } if (((bitField0_ & 0x04000000) != 0)) { output.writeMessage(40, getTraceContext()); } 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, appId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, versionId_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickname_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, securityTicket_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getHandler()); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getRequest()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, isAdmin_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, gaiaId_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, gaiaSession_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, email_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, authDomain_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, isTrustedApp_); } for (int i = 0; i < runtimeHeaders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, runtimeHeaders_.get(i)); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, obfuscatedGaiaId_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, peerUsername_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, securityLevel_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, userOrganization_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, eventIdHash_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getProfilerSettings()); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, defaultVersionHostname_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(28, requestType_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, authuser_); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, appserverDatacenter_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, appserverTaskBns_); } if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, requestLogId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, moduleId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(38, moduleVersionId_); } if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, getTraceContext()); } 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.RuntimePb.UPRequest)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.UPRequest other = (com.google.apphosting.base.protos.RuntimePb.UPRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (hasModuleId() != other.hasModuleId()) return false; if (hasModuleId()) { if (!getModuleId() .equals(other.getModuleId())) return false; } if (hasModuleVersionId() != other.hasModuleVersionId()) return false; if (hasModuleVersionId()) { if (!getModuleVersionId() .equals(other.getModuleVersionId())) return false; } if (hasVersionId() != other.hasVersionId()) return false; if (hasVersionId()) { if (!getVersionId() .equals(other.getVersionId())) return false; } if (hasNickname() != other.hasNickname()) return false; if (hasNickname()) { if (!getNickname() .equals(other.getNickname())) return false; } if (hasSecurityTicket() != other.hasSecurityTicket()) return false; if (hasSecurityTicket()) { if (!getSecurityTicket() .equals(other.getSecurityTicket())) return false; } if (hasIsAdmin() != other.hasIsAdmin()) return false; if (hasIsAdmin()) { if (getIsAdmin() != other.getIsAdmin()) return false; } if (hasEmail() != other.hasEmail()) return false; if (hasEmail()) { if (!getEmail() .equals(other.getEmail())) return false; } if (hasAuthDomain() != other.hasAuthDomain()) return false; if (hasAuthDomain()) { if (!getAuthDomain() .equals(other.getAuthDomain())) return false; } if (hasUserOrganization() != other.hasUserOrganization()) return false; if (hasUserOrganization()) { if (!getUserOrganization() .equals(other.getUserOrganization())) return false; } if (hasHandler() != other.hasHandler()) return false; if (hasHandler()) { if (!getHandler() .equals(other.getHandler())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { if (!getRequest() .equals(other.getRequest())) return false; } if (!getRuntimeHeadersList() .equals(other.getRuntimeHeadersList())) return false; if (hasObfuscatedGaiaId() != other.hasObfuscatedGaiaId()) return false; if (hasObfuscatedGaiaId()) { if (!getObfuscatedGaiaId() .equals(other.getObfuscatedGaiaId())) return false; } if (hasGaiaId() != other.hasGaiaId()) return false; if (hasGaiaId()) { if (getGaiaId() != other.getGaiaId()) return false; } if (hasGaiaSession() != other.hasGaiaSession()) return false; if (hasGaiaSession()) { if (!getGaiaSession() .equals(other.getGaiaSession())) return false; } if (hasAuthuser() != other.hasAuthuser()) return false; if (hasAuthuser()) { if (!getAuthuser() .equals(other.getAuthuser())) return false; } if (hasIsTrustedApp() != other.hasIsTrustedApp()) return false; if (hasIsTrustedApp()) { if (getIsTrustedApp() != other.getIsTrustedApp()) return false; } if (hasPeerUsername() != other.hasPeerUsername()) return false; if (hasPeerUsername()) { if (!getPeerUsername() .equals(other.getPeerUsername())) return false; } if (hasSecurityLevel() != other.hasSecurityLevel()) return false; if (hasSecurityLevel()) { if (!getSecurityLevel() .equals(other.getSecurityLevel())) return false; } if (hasEventIdHash() != other.hasEventIdHash()) return false; if (hasEventIdHash()) { if (!getEventIdHash() .equals(other.getEventIdHash())) return false; } if (hasProfilerSettings() != other.hasProfilerSettings()) return false; if (hasProfilerSettings()) { if (!getProfilerSettings() .equals(other.getProfilerSettings())) return false; } if (hasDefaultVersionHostname() != other.hasDefaultVersionHostname()) return false; if (hasDefaultVersionHostname()) { if (!getDefaultVersionHostname() .equals(other.getDefaultVersionHostname())) return false; } if (hasRequestType() != other.hasRequestType()) return false; if (hasRequestType()) { if (requestType_ != other.requestType_) return false; } if (hasAppserverDatacenter() != other.hasAppserverDatacenter()) return false; if (hasAppserverDatacenter()) { if (!getAppserverDatacenter() .equals(other.getAppserverDatacenter())) return false; } if (hasAppserverTaskBns() != other.hasAppserverTaskBns()) return false; if (hasAppserverTaskBns()) { if (!getAppserverTaskBns() .equals(other.getAppserverTaskBns())) return false; } if (hasRequestLogId() != other.hasRequestLogId()) return false; if (hasRequestLogId()) { if (!getRequestLogId() .equals(other.getRequestLogId())) return false; } if (hasTraceContext() != other.hasTraceContext()) return false; if (hasTraceContext()) { if (!getTraceContext() .equals(other.getTraceContext())) 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 (hasAppId()) { hash = (37 * hash) + APP_ID_FIELD_NUMBER; hash = (53 * hash) + getAppId().hashCode(); } if (hasModuleId()) { hash = (37 * hash) + MODULE_ID_FIELD_NUMBER; hash = (53 * hash) + getModuleId().hashCode(); } if (hasModuleVersionId()) { hash = (37 * hash) + MODULE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getModuleVersionId().hashCode(); } if (hasVersionId()) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionId().hashCode(); } if (hasNickname()) { hash = (37 * hash) + NICKNAME_FIELD_NUMBER; hash = (53 * hash) + getNickname().hashCode(); } if (hasSecurityTicket()) { hash = (37 * hash) + SECURITY_TICKET_FIELD_NUMBER; hash = (53 * hash) + getSecurityTicket().hashCode(); } if (hasIsAdmin()) { hash = (37 * hash) + IS_ADMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsAdmin()); } if (hasEmail()) { hash = (37 * hash) + EMAIL_FIELD_NUMBER; hash = (53 * hash) + getEmail().hashCode(); } if (hasAuthDomain()) { hash = (37 * hash) + AUTH_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getAuthDomain().hashCode(); } if (hasUserOrganization()) { hash = (37 * hash) + USER_ORGANIZATION_FIELD_NUMBER; hash = (53 * hash) + getUserOrganization().hashCode(); } if (hasHandler()) { hash = (37 * hash) + HANDLER_FIELD_NUMBER; hash = (53 * hash) + getHandler().hashCode(); } if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } if (getRuntimeHeadersCount() > 0) { hash = (37 * hash) + RUNTIME_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getRuntimeHeadersList().hashCode(); } if (hasObfuscatedGaiaId()) { hash = (37 * hash) + OBFUSCATED_GAIA_ID_FIELD_NUMBER; hash = (53 * hash) + getObfuscatedGaiaId().hashCode(); } if (hasGaiaId()) { hash = (37 * hash) + GAIA_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGaiaId()); } if (hasGaiaSession()) { hash = (37 * hash) + GAIA_SESSION_FIELD_NUMBER; hash = (53 * hash) + getGaiaSession().hashCode(); } if (hasAuthuser()) { hash = (37 * hash) + AUTHUSER_FIELD_NUMBER; hash = (53 * hash) + getAuthuser().hashCode(); } if (hasIsTrustedApp()) { hash = (37 * hash) + IS_TRUSTED_APP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsTrustedApp()); } if (hasPeerUsername()) { hash = (37 * hash) + PEER_USERNAME_FIELD_NUMBER; hash = (53 * hash) + getPeerUsername().hashCode(); } if (hasSecurityLevel()) { hash = (37 * hash) + SECURITY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getSecurityLevel().hashCode(); } if (hasEventIdHash()) { hash = (37 * hash) + EVENT_ID_HASH_FIELD_NUMBER; hash = (53 * hash) + getEventIdHash().hashCode(); } if (hasProfilerSettings()) { hash = (37 * hash) + PROFILER_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getProfilerSettings().hashCode(); } if (hasDefaultVersionHostname()) { hash = (37 * hash) + DEFAULT_VERSION_HOSTNAME_FIELD_NUMBER; hash = (53 * hash) + getDefaultVersionHostname().hashCode(); } if (hasRequestType()) { hash = (37 * hash) + REQUEST_TYPE_FIELD_NUMBER; hash = (53 * hash) + requestType_; } if (hasAppserverDatacenter()) { hash = (37 * hash) + APPSERVER_DATACENTER_FIELD_NUMBER; hash = (53 * hash) + getAppserverDatacenter().hashCode(); } if (hasAppserverTaskBns()) { hash = (37 * hash) + APPSERVER_TASK_BNS_FIELD_NUMBER; hash = (53 * hash) + getAppserverTaskBns().hashCode(); } if (hasRequestLogId()) { hash = (37 * hash) + REQUEST_LOG_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestLogId().hashCode(); } if (hasTraceContext()) { hash = (37 * hash) + TRACE_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getTraceContext().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.UPRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest 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.RuntimePb.UPRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest 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.RuntimePb.UPRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest 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.RuntimePb.UPRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest 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.RuntimePb.UPRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest 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.RuntimePb.UPRequest 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.RuntimePb.UPRequest 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.RuntimePb.UPRequest 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; } /** *
     * Request from the Trusted Process (AppServer) to the Untrusted Process (a
     * clone running on a Gen 1 App Engine runtime (python27g, php55g, java8).)
     * Next tag: 49
     * 
* * Protobuf type {@code java.apphosting.UPRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UPRequest) com.google.apphosting.base.protos.RuntimePb.UPRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPRequest.class, com.google.apphosting.base.protos.RuntimePb.UPRequest.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.UPRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHandlerFieldBuilder(); getRequestFieldBuilder(); getRuntimeHeadersFieldBuilder(); getProfilerSettingsFieldBuilder(); getTraceContextFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = ""; moduleId_ = "default"; moduleVersionId_ = ""; versionId_ = ""; nickname_ = ""; securityTicket_ = ""; isAdmin_ = false; email_ = ""; authDomain_ = ""; userOrganization_ = ""; handler_ = null; if (handlerBuilder_ != null) { handlerBuilder_.dispose(); handlerBuilder_ = null; } request_ = null; if (requestBuilder_ != null) { requestBuilder_.dispose(); requestBuilder_ = null; } if (runtimeHeadersBuilder_ == null) { runtimeHeaders_ = java.util.Collections.emptyList(); } else { runtimeHeaders_ = null; runtimeHeadersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); obfuscatedGaiaId_ = ""; gaiaId_ = 0L; gaiaSession_ = ""; authuser_ = ""; isTrustedApp_ = false; peerUsername_ = ""; securityLevel_ = ""; eventIdHash_ = ""; profilerSettings_ = null; if (profilerSettingsBuilder_ != null) { profilerSettingsBuilder_.dispose(); profilerSettingsBuilder_ = null; } defaultVersionHostname_ = ""; requestType_ = 0; appserverDatacenter_ = ""; appserverTaskBns_ = ""; requestLogId_ = ""; traceContext_ = null; if (traceContextBuilder_ != null) { traceContextBuilder_.dispose(); traceContextBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPRequest_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPRequest getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.UPRequest.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPRequest build() { com.google.apphosting.base.protos.RuntimePb.UPRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPRequest buildPartial() { com.google.apphosting.base.protos.RuntimePb.UPRequest result = new com.google.apphosting.base.protos.RuntimePb.UPRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.base.protos.RuntimePb.UPRequest result) { if (runtimeHeadersBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { runtimeHeaders_ = java.util.Collections.unmodifiableList(runtimeHeaders_); bitField0_ = (bitField0_ & ~0x00001000); } result.runtimeHeaders_ = runtimeHeaders_; } else { result.runtimeHeaders_ = runtimeHeadersBuilder_.build(); } } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.UPRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.moduleId_ = moduleId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.moduleVersionId_ = moduleVersionId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.versionId_ = versionId_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.nickname_ = nickname_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.securityTicket_ = securityTicket_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.isAdmin_ = isAdmin_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.email_ = email_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.authDomain_ = authDomain_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.userOrganization_ = userOrganization_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.handler_ = handlerBuilder_ == null ? handler_ : handlerBuilder_.build(); to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { result.obfuscatedGaiaId_ = obfuscatedGaiaId_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.gaiaId_ = gaiaId_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.gaiaSession_ = gaiaSession_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.authuser_ = authuser_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.isTrustedApp_ = isTrustedApp_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.peerUsername_ = peerUsername_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00080000) != 0)) { result.securityLevel_ = securityLevel_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00100000) != 0)) { result.eventIdHash_ = eventIdHash_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.profilerSettings_ = profilerSettingsBuilder_ == null ? profilerSettings_ : profilerSettingsBuilder_.build(); to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.defaultVersionHostname_ = defaultVersionHostname_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.requestType_ = requestType_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x01000000) != 0)) { result.appserverDatacenter_ = appserverDatacenter_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x02000000) != 0)) { result.appserverTaskBns_ = appserverTaskBns_; to_bitField0_ |= 0x01000000; } if (((from_bitField0_ & 0x04000000) != 0)) { result.requestLogId_ = requestLogId_; to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x08000000) != 0)) { result.traceContext_ = traceContextBuilder_ == null ? traceContext_ : traceContextBuilder_.build(); to_bitField0_ |= 0x04000000; } 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.RuntimePb.UPRequest) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.UPRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.UPRequest other) { if (other == com.google.apphosting.base.protos.RuntimePb.UPRequest.getDefaultInstance()) return this; if (other.hasAppId()) { appId_ = other.appId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasModuleId()) { moduleId_ = other.moduleId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasModuleVersionId()) { moduleVersionId_ = other.moduleVersionId_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasVersionId()) { versionId_ = other.versionId_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasNickname()) { nickname_ = other.nickname_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasSecurityTicket()) { securityTicket_ = other.securityTicket_; bitField0_ |= 0x00000020; onChanged(); } if (other.hasIsAdmin()) { setIsAdmin(other.getIsAdmin()); } if (other.hasEmail()) { email_ = other.email_; bitField0_ |= 0x00000080; onChanged(); } if (other.hasAuthDomain()) { authDomain_ = other.authDomain_; bitField0_ |= 0x00000100; onChanged(); } if (other.hasUserOrganization()) { userOrganization_ = other.userOrganization_; bitField0_ |= 0x00000200; onChanged(); } if (other.hasHandler()) { mergeHandler(other.getHandler()); } if (other.hasRequest()) { mergeRequest(other.getRequest()); } if (runtimeHeadersBuilder_ == null) { if (!other.runtimeHeaders_.isEmpty()) { if (runtimeHeaders_.isEmpty()) { runtimeHeaders_ = other.runtimeHeaders_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.addAll(other.runtimeHeaders_); } onChanged(); } } else { if (!other.runtimeHeaders_.isEmpty()) { if (runtimeHeadersBuilder_.isEmpty()) { runtimeHeadersBuilder_.dispose(); runtimeHeadersBuilder_ = null; runtimeHeaders_ = other.runtimeHeaders_; bitField0_ = (bitField0_ & ~0x00001000); runtimeHeadersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRuntimeHeadersFieldBuilder() : null; } else { runtimeHeadersBuilder_.addAllMessages(other.runtimeHeaders_); } } } if (other.hasObfuscatedGaiaId()) { obfuscatedGaiaId_ = other.obfuscatedGaiaId_; bitField0_ |= 0x00002000; onChanged(); } if (other.hasGaiaId()) { setGaiaId(other.getGaiaId()); } if (other.hasGaiaSession()) { gaiaSession_ = other.gaiaSession_; bitField0_ |= 0x00008000; onChanged(); } if (other.hasAuthuser()) { authuser_ = other.authuser_; bitField0_ |= 0x00010000; onChanged(); } if (other.hasIsTrustedApp()) { setIsTrustedApp(other.getIsTrustedApp()); } if (other.hasPeerUsername()) { peerUsername_ = other.peerUsername_; bitField0_ |= 0x00040000; onChanged(); } if (other.hasSecurityLevel()) { securityLevel_ = other.securityLevel_; bitField0_ |= 0x00080000; onChanged(); } if (other.hasEventIdHash()) { eventIdHash_ = other.eventIdHash_; bitField0_ |= 0x00100000; onChanged(); } if (other.hasProfilerSettings()) { mergeProfilerSettings(other.getProfilerSettings()); } if (other.hasDefaultVersionHostname()) { defaultVersionHostname_ = other.defaultVersionHostname_; bitField0_ |= 0x00400000; onChanged(); } if (other.hasRequestType()) { setRequestType(other.getRequestType()); } if (other.hasAppserverDatacenter()) { appserverDatacenter_ = other.appserverDatacenter_; bitField0_ |= 0x01000000; onChanged(); } if (other.hasAppserverTaskBns()) { appserverTaskBns_ = other.appserverTaskBns_; bitField0_ |= 0x02000000; onChanged(); } if (other.hasRequestLogId()) { requestLogId_ = other.requestLogId_; bitField0_ |= 0x04000000; onChanged(); } if (other.hasTraceContext()) { mergeTraceContext(other.getTraceContext()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } if (!hasVersionId()) { return false; } if (!hasNickname()) { return false; } if (!hasSecurityTicket()) { return false; } if (!hasHandler()) { return false; } if (!getHandler().isInitialized()) { return false; } if (hasRequest()) { if (!getRequest().isInitialized()) { return false; } } for (int i = 0; i < getRuntimeHeadersCount(); i++) { if (!getRuntimeHeaders(i).isInitialized()) { return false; } } if (hasProfilerSettings()) { if (!getProfilerSettings().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: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { versionId_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 18 case 26: { nickname_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 26 case 34: { securityTicket_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 34 case 42: { input.readMessage( getHandlerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 42 case 50: { input.readMessage( getRequestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 50 case 56: { isAdmin_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { gaiaId_ = input.readInt64(); bitField0_ |= 0x00004000; break; } // case 64 case 74: { gaiaSession_ = input.readBytes(); bitField0_ |= 0x00008000; break; } // case 74 case 82: { email_ = input.readBytes(); bitField0_ |= 0x00000080; break; } // case 82 case 90: { authDomain_ = input.readBytes(); bitField0_ |= 0x00000100; break; } // case 90 case 96: { isTrustedApp_ = input.readBool(); bitField0_ |= 0x00020000; break; } // case 96 case 106: { com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader m = input.readMessage( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.PARSER, extensionRegistry); if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(m); } else { runtimeHeadersBuilder_.addMessage(m); } break; } // case 106 case 114: { obfuscatedGaiaId_ = input.readBytes(); bitField0_ |= 0x00002000; break; } // case 114 case 122: { peerUsername_ = input.readBytes(); bitField0_ |= 0x00040000; break; } // case 122 case 130: { securityLevel_ = input.readBytes(); bitField0_ |= 0x00080000; break; } // case 130 case 138: { userOrganization_ = input.readBytes(); bitField0_ |= 0x00000200; break; } // case 138 case 162: { eventIdHash_ = input.readBytes(); bitField0_ |= 0x00100000; break; } // case 162 case 186: { input.readMessage( getProfilerSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00200000; break; } // case 186 case 218: { defaultVersionHostname_ = input.readBytes(); bitField0_ |= 0x00400000; break; } // case 218 case 224: { int tmpRaw = input.readEnum(); com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType tmpValue = com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(28, tmpRaw); } else { requestType_ = tmpRaw; bitField0_ |= 0x00800000; } break; } // case 224 case 242: { authuser_ = input.readBytes(); bitField0_ |= 0x00010000; break; } // case 242 case 250: { appserverDatacenter_ = input.readBytes(); bitField0_ |= 0x01000000; break; } // case 250 case 258: { appserverTaskBns_ = input.readBytes(); bitField0_ |= 0x02000000; break; } // case 258 case 282: { requestLogId_ = input.readBytes(); bitField0_ |= 0x04000000; break; } // case 282 case 298: { moduleId_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 298 case 306: { moduleVersionId_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 306 case 322: { input.readMessage( getTraceContextFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x08000000; break; } // case 322 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 appId_ = ""; /** * required string app_id = 1; * @return Whether the appId field is set. */ public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** * required string app_id = 1; * @return The appId. */ public java.lang.String getAppId() { java.lang.Object ref = appId_; 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()) { appId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string app_id = 1; * @return The bytes for appId. */ public com.google.protobuf.ByteString getAppIdBytes() { java.lang.Object ref = appId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string app_id = 1; * @param value The appId to set. * @return This builder for chaining. */ public Builder setAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required string app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { appId_ = getDefaultInstance().getAppId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * required string app_id = 1; * @param value The bytes for appId to set. * @return This builder for chaining. */ public Builder setAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object moduleId_ = "default"; /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ public boolean hasModuleId() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @return The moduleId. */ public java.lang.String getModuleId() { java.lang.Object ref = moduleId_; 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()) { moduleId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @return The bytes for moduleId. */ public com.google.protobuf.ByteString getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @param value The moduleId to set. * @return This builder for chaining. */ public Builder setModuleId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } moduleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @return This builder for chaining. */ public Builder clearModuleId() { moduleId_ = getDefaultInstance().getModuleId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * This field will only contain the engine_id portion of the version_id field.
       * 
* * optional string module_id = 37 [default = "default"]; * @param value The bytes for moduleId to set. * @return This builder for chaining. */ public Builder setModuleIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } moduleId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object moduleVersionId_ = ""; /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @return Whether the moduleVersionId field is set. */ public boolean hasModuleVersionId() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @return The moduleVersionId. */ public java.lang.String getModuleVersionId() { java.lang.Object ref = moduleVersionId_; 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()) { moduleVersionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @return The bytes for moduleVersionId. */ public com.google.protobuf.ByteString getModuleVersionIdBytes() { java.lang.Object ref = moduleVersionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); moduleVersionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @param value The moduleVersionId to set. * @return This builder for chaining. */ public Builder setModuleVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } moduleVersionId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @return This builder for chaining. */ public Builder clearModuleVersionId() { moduleVersionId_ = getDefaultInstance().getModuleVersionId(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * This will have the engine_version and minor version timestamp in the format
       * engine_version.timestamp
       * 
* * optional string module_version_id = 38; * @param value The bytes for moduleVersionId to set. * @return This builder for chaining. */ public Builder setModuleVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } moduleVersionId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object versionId_ = ""; /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ public boolean hasVersionId() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @return The versionId. */ public java.lang.String getVersionId() { java.lang.Object ref = versionId_; 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()) { versionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @return The bytes for versionId. */ public com.google.protobuf.ByteString getVersionIdBytes() { java.lang.Object ref = versionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } versionId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = getDefaultInstance().getVersionId(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * This will have the engine_id, engine_version and minor version timestamp,
       * in the format '[engine_id:]engine_version.timestamp'.
       * 
* * required string version_id = 2; * @param value The bytes for versionId to set. * @return This builder for chaining. */ public Builder setVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } versionId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object nickname_ = ""; /** * required string nickname = 3; * @return Whether the nickname field is set. */ public boolean hasNickname() { return ((bitField0_ & 0x00000010) != 0); } /** * required string nickname = 3; * @return The nickname. */ public java.lang.String getNickname() { java.lang.Object ref = nickname_; 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()) { nickname_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string nickname = 3; * @return The bytes for nickname. */ public com.google.protobuf.ByteString getNicknameBytes() { java.lang.Object ref = nickname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nickname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string nickname = 3; * @param value The nickname to set. * @return This builder for chaining. */ public Builder setNickname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nickname_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * required string nickname = 3; * @return This builder for chaining. */ public Builder clearNickname() { nickname_ = getDefaultInstance().getNickname(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * required string nickname = 3; * @param value The bytes for nickname to set. * @return This builder for chaining. */ public Builder setNicknameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } nickname_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.lang.Object securityTicket_ = ""; /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ public boolean hasSecurityTicket() { return ((bitField0_ & 0x00000020) != 0); } /** * required string security_ticket = 4; * @return The securityTicket. */ public java.lang.String getSecurityTicket() { java.lang.Object ref = securityTicket_; 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()) { securityTicket_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ public com.google.protobuf.ByteString getSecurityTicketBytes() { java.lang.Object ref = securityTicket_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string security_ticket = 4; * @param value The securityTicket to set. * @return This builder for chaining. */ public Builder setSecurityTicket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } securityTicket_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * required string security_ticket = 4; * @return This builder for chaining. */ public Builder clearSecurityTicket() { securityTicket_ = getDefaultInstance().getSecurityTicket(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * required string security_ticket = 4; * @param value The bytes for securityTicket to set. * @return This builder for chaining. */ public Builder setSecurityTicketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } securityTicket_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private boolean isAdmin_ ; /** * optional bool is_admin = 7 [default = false]; * @return Whether the isAdmin field is set. */ @java.lang.Override public boolean hasIsAdmin() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool is_admin = 7 [default = false]; * @return The isAdmin. */ @java.lang.Override public boolean getIsAdmin() { return isAdmin_; } /** * optional bool is_admin = 7 [default = false]; * @param value The isAdmin to set. * @return This builder for chaining. */ public Builder setIsAdmin(boolean value) { isAdmin_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * optional bool is_admin = 7 [default = false]; * @return This builder for chaining. */ public Builder clearIsAdmin() { bitField0_ = (bitField0_ & ~0x00000040); isAdmin_ = false; onChanged(); return this; } private java.lang.Object email_ = ""; /** * optional string email = 10 [default = ""]; * @return Whether the email field is set. */ public boolean hasEmail() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string email = 10 [default = ""]; * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; 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()) { email_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string email = 10 [default = ""]; * @return The bytes for email. */ public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); email_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string email = 10 [default = ""]; * @param value The email to set. * @return This builder for chaining. */ public Builder setEmail( java.lang.String value) { if (value == null) { throw new NullPointerException(); } email_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional string email = 10 [default = ""]; * @return This builder for chaining. */ public Builder clearEmail() { email_ = getDefaultInstance().getEmail(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** * optional string email = 10 [default = ""]; * @param value The bytes for email to set. * @return This builder for chaining. */ public Builder setEmailBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } email_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object authDomain_ = ""; /** * optional string auth_domain = 11 [default = ""]; * @return Whether the authDomain field is set. */ public boolean hasAuthDomain() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string auth_domain = 11 [default = ""]; * @return The authDomain. */ public java.lang.String getAuthDomain() { java.lang.Object ref = authDomain_; 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()) { authDomain_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string auth_domain = 11 [default = ""]; * @return The bytes for authDomain. */ public com.google.protobuf.ByteString getAuthDomainBytes() { java.lang.Object ref = authDomain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string auth_domain = 11 [default = ""]; * @param value The authDomain to set. * @return This builder for chaining. */ public Builder setAuthDomain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } authDomain_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * optional string auth_domain = 11 [default = ""]; * @return This builder for chaining. */ public Builder clearAuthDomain() { authDomain_ = getDefaultInstance().getAuthDomain(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * optional string auth_domain = 11 [default = ""]; * @param value The bytes for authDomain to set. * @return This builder for chaining. */ public Builder setAuthDomainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } authDomain_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object userOrganization_ = ""; /** * optional string user_organization = 17 [default = ""]; * @return Whether the userOrganization field is set. */ public boolean hasUserOrganization() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string user_organization = 17 [default = ""]; * @return The userOrganization. */ public java.lang.String getUserOrganization() { java.lang.Object ref = userOrganization_; 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()) { userOrganization_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string user_organization = 17 [default = ""]; * @return The bytes for userOrganization. */ public com.google.protobuf.ByteString getUserOrganizationBytes() { java.lang.Object ref = userOrganization_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userOrganization_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string user_organization = 17 [default = ""]; * @param value The userOrganization to set. * @return This builder for chaining. */ public Builder setUserOrganization( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userOrganization_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional string user_organization = 17 [default = ""]; * @return This builder for chaining. */ public Builder clearUserOrganization() { userOrganization_ = getDefaultInstance().getUserOrganization(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** * optional string user_organization = 17 [default = ""]; * @param value The bytes for userOrganization to set. * @return This builder for chaining. */ public Builder setUserOrganizationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userOrganization_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private com.google.apphosting.base.protos.AppinfoPb.Handler handler_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.AppinfoPb.Handler, com.google.apphosting.base.protos.AppinfoPb.Handler.Builder, com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder> handlerBuilder_; /** * required .java.apphosting.Handler handler = 5; * @return Whether the handler field is set. */ public boolean hasHandler() { return ((bitField0_ & 0x00000400) != 0); } /** * required .java.apphosting.Handler handler = 5; * @return The handler. */ public com.google.apphosting.base.protos.AppinfoPb.Handler getHandler() { if (handlerBuilder_ == null) { return handler_ == null ? com.google.apphosting.base.protos.AppinfoPb.Handler.getDefaultInstance() : handler_; } else { return handlerBuilder_.getMessage(); } } /** * required .java.apphosting.Handler handler = 5; */ public Builder setHandler(com.google.apphosting.base.protos.AppinfoPb.Handler value) { if (handlerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } handler_ = value; } else { handlerBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * required .java.apphosting.Handler handler = 5; */ public Builder setHandler( com.google.apphosting.base.protos.AppinfoPb.Handler.Builder builderForValue) { if (handlerBuilder_ == null) { handler_ = builderForValue.build(); } else { handlerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * required .java.apphosting.Handler handler = 5; */ public Builder mergeHandler(com.google.apphosting.base.protos.AppinfoPb.Handler value) { if (handlerBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && handler_ != null && handler_ != com.google.apphosting.base.protos.AppinfoPb.Handler.getDefaultInstance()) { getHandlerBuilder().mergeFrom(value); } else { handler_ = value; } } else { handlerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** * required .java.apphosting.Handler handler = 5; */ public Builder clearHandler() { bitField0_ = (bitField0_ & ~0x00000400); handler_ = null; if (handlerBuilder_ != null) { handlerBuilder_.dispose(); handlerBuilder_ = null; } onChanged(); return this; } /** * required .java.apphosting.Handler handler = 5; */ public com.google.apphosting.base.protos.AppinfoPb.Handler.Builder getHandlerBuilder() { bitField0_ |= 0x00000400; onChanged(); return getHandlerFieldBuilder().getBuilder(); } /** * required .java.apphosting.Handler handler = 5; */ public com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder getHandlerOrBuilder() { if (handlerBuilder_ != null) { return handlerBuilder_.getMessageOrBuilder(); } else { return handler_ == null ? com.google.apphosting.base.protos.AppinfoPb.Handler.getDefaultInstance() : handler_; } } /** * required .java.apphosting.Handler handler = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.AppinfoPb.Handler, com.google.apphosting.base.protos.AppinfoPb.Handler.Builder, com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder> getHandlerFieldBuilder() { if (handlerBuilder_ == null) { handlerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.AppinfoPb.Handler, com.google.apphosting.base.protos.AppinfoPb.Handler.Builder, com.google.apphosting.base.protos.AppinfoPb.HandlerOrBuilder>( getHandler(), getParentForChildren(), isClean()); handler_ = null; } return handlerBuilder_; } private com.google.apphosting.base.protos.HttpPb.HttpRequest request_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpRequest, com.google.apphosting.base.protos.HttpPb.HttpRequest.Builder, com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder> requestBuilder_; /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; * @return The request. */ public com.google.apphosting.base.protos.HttpPb.HttpRequest getRequest() { if (requestBuilder_ == null) { return request_ == null ? com.google.apphosting.base.protos.HttpPb.HttpRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public Builder setRequest(com.google.apphosting.base.protos.HttpPb.HttpRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; } else { requestBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public Builder setRequest( com.google.apphosting.base.protos.HttpPb.HttpRequest.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); } else { requestBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public Builder mergeRequest(com.google.apphosting.base.protos.HttpPb.HttpRequest value) { if (requestBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && request_ != null && request_ != com.google.apphosting.base.protos.HttpPb.HttpRequest.getDefaultInstance()) { getRequestBuilder().mergeFrom(value); } else { request_ = value; } } else { requestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000800); request_ = null; if (requestBuilder_ != null) { requestBuilder_.dispose(); requestBuilder_ = null; } onChanged(); return this; } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public com.google.apphosting.base.protos.HttpPb.HttpRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000800; onChanged(); return getRequestFieldBuilder().getBuilder(); } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ public com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? com.google.apphosting.base.protos.HttpPb.HttpRequest.getDefaultInstance() : request_; } } /** *
       * If 'request' is empty, assume the request PB is in 'shared_buffer'.
       * 
* * optional .java.apphosting.HttpRequest request = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpRequest, com.google.apphosting.base.protos.HttpPb.HttpRequest.Builder, com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpRequest, com.google.apphosting.base.protos.HttpPb.HttpRequest.Builder, com.google.apphosting.base.protos.HttpPb.HttpRequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private java.util.List runtimeHeaders_ = java.util.Collections.emptyList(); private void ensureRuntimeHeadersIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { runtimeHeaders_ = new java.util.ArrayList(runtimeHeaders_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder> runtimeHeadersBuilder_; /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public java.util.List getRuntimeHeadersList() { if (runtimeHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(runtimeHeaders_); } else { return runtimeHeadersBuilder_.getMessageList(); } } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public int getRuntimeHeadersCount() { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.size(); } else { return runtimeHeadersBuilder_.getCount(); } } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index) { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.get(index); } else { return runtimeHeadersBuilder_.getMessage(index); } } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder setRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.set(index, value); onChanged(); } else { runtimeHeadersBuilder_.setMessage(index, value); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder setRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.set(index, builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder addRuntimeHeaders(com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(value); onChanged(); } else { runtimeHeadersBuilder_.addMessage(value); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder addRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(index, value); onChanged(); } else { runtimeHeadersBuilder_.addMessage(index, value); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder addRuntimeHeaders( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder addRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(index, builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder addAllRuntimeHeaders( java.lang.Iterable values) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, runtimeHeaders_); onChanged(); } else { runtimeHeadersBuilder_.addAllMessages(values); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder clearRuntimeHeaders() { if (runtimeHeadersBuilder_ == null) { runtimeHeaders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { runtimeHeadersBuilder_.clear(); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public Builder removeRuntimeHeaders(int index) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.remove(index); onChanged(); } else { runtimeHeadersBuilder_.remove(index); } return this; } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder getRuntimeHeadersBuilder( int index) { return getRuntimeHeadersFieldBuilder().getBuilder(index); } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index) { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.get(index); } else { return runtimeHeadersBuilder_.getMessageOrBuilder(index); } } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public java.util.List getRuntimeHeadersOrBuilderList() { if (runtimeHeadersBuilder_ != null) { return runtimeHeadersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(runtimeHeaders_); } } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder addRuntimeHeadersBuilder() { return getRuntimeHeadersFieldBuilder().addBuilder( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.getDefaultInstance()); } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder addRuntimeHeadersBuilder( int index) { return getRuntimeHeadersFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.getDefaultInstance()); } /** *
       * Headers appended by Google, or that have been sanitized from the
       * HttpRequest.  These are not intended to be seen by application code.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 13; */ public java.util.List getRuntimeHeadersBuilderList() { return getRuntimeHeadersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder> getRuntimeHeadersFieldBuilder() { if (runtimeHeadersBuilder_ == null) { runtimeHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder>( runtimeHeaders_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); runtimeHeaders_ = null; } return runtimeHeadersBuilder_; } private java.lang.Object obfuscatedGaiaId_ = ""; /** * optional string obfuscated_gaia_id = 14; * @return Whether the obfuscatedGaiaId field is set. */ public boolean hasObfuscatedGaiaId() { return ((bitField0_ & 0x00002000) != 0); } /** * optional string obfuscated_gaia_id = 14; * @return The obfuscatedGaiaId. */ public java.lang.String getObfuscatedGaiaId() { java.lang.Object ref = obfuscatedGaiaId_; 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()) { obfuscatedGaiaId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string obfuscated_gaia_id = 14; * @return The bytes for obfuscatedGaiaId. */ public com.google.protobuf.ByteString getObfuscatedGaiaIdBytes() { java.lang.Object ref = obfuscatedGaiaId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); obfuscatedGaiaId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string obfuscated_gaia_id = 14; * @param value The obfuscatedGaiaId to set. * @return This builder for chaining. */ public Builder setObfuscatedGaiaId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } obfuscatedGaiaId_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * optional string obfuscated_gaia_id = 14; * @return This builder for chaining. */ public Builder clearObfuscatedGaiaId() { obfuscatedGaiaId_ = getDefaultInstance().getObfuscatedGaiaId(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** * optional string obfuscated_gaia_id = 14; * @param value The bytes for obfuscatedGaiaId to set. * @return This builder for chaining. */ public Builder setObfuscatedGaiaIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } obfuscatedGaiaId_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private long gaiaId_ ; /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional int64 gaia_id = 8; * @return Whether the gaiaId field is set. */ @java.lang.Override public boolean hasGaiaId() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional int64 gaia_id = 8; * @return The gaiaId. */ @java.lang.Override public long getGaiaId() { return gaiaId_; } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional int64 gaia_id = 8; * @param value The gaiaId to set. * @return This builder for chaining. */ public Builder setGaiaId(long value) { gaiaId_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional int64 gaia_id = 8; * @return This builder for chaining. */ public Builder clearGaiaId() { bitField0_ = (bitField0_ & ~0x00004000); gaiaId_ = 0L; onChanged(); return this; } private java.lang.Object gaiaSession_ = ""; /** * optional string gaia_session = 9; * @return Whether the gaiaSession field is set. */ public boolean hasGaiaSession() { return ((bitField0_ & 0x00008000) != 0); } /** * optional string gaia_session = 9; * @return The gaiaSession. */ public java.lang.String getGaiaSession() { java.lang.Object ref = gaiaSession_; 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()) { gaiaSession_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string gaia_session = 9; * @return The bytes for gaiaSession. */ public com.google.protobuf.ByteString getGaiaSessionBytes() { java.lang.Object ref = gaiaSession_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gaiaSession_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string gaia_session = 9; * @param value The gaiaSession to set. * @return This builder for chaining. */ public Builder setGaiaSession( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gaiaSession_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** * optional string gaia_session = 9; * @return This builder for chaining. */ public Builder clearGaiaSession() { gaiaSession_ = getDefaultInstance().getGaiaSession(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } /** * optional string gaia_session = 9; * @param value The bytes for gaiaSession to set. * @return This builder for chaining. */ public Builder setGaiaSessionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } gaiaSession_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } private java.lang.Object authuser_ = ""; /** * optional string authuser = 30; * @return Whether the authuser field is set. */ public boolean hasAuthuser() { return ((bitField0_ & 0x00010000) != 0); } /** * optional string authuser = 30; * @return The authuser. */ public java.lang.String getAuthuser() { java.lang.Object ref = authuser_; 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()) { authuser_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string authuser = 30; * @return The bytes for authuser. */ public com.google.protobuf.ByteString getAuthuserBytes() { java.lang.Object ref = authuser_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authuser_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string authuser = 30; * @param value The authuser to set. * @return This builder for chaining. */ public Builder setAuthuser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } authuser_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * optional string authuser = 30; * @return This builder for chaining. */ public Builder clearAuthuser() { authuser_ = getDefaultInstance().getAuthuser(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** * optional string authuser = 30; * @param value The bytes for authuser to set. * @return This builder for chaining. */ public Builder setAuthuserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } authuser_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } private boolean isTrustedApp_ ; /** *
       * Is this app allowing trusted-only functionality in the runtime? Enabled
       * only if app has TRUSTED_RUNTIME_REQUESTS permission.
       * 
* * optional bool is_trusted_app = 12 [default = false]; * @return Whether the isTrustedApp field is set. */ @java.lang.Override public boolean hasIsTrustedApp() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * Is this app allowing trusted-only functionality in the runtime? Enabled
       * only if app has TRUSTED_RUNTIME_REQUESTS permission.
       * 
* * optional bool is_trusted_app = 12 [default = false]; * @return The isTrustedApp. */ @java.lang.Override public boolean getIsTrustedApp() { return isTrustedApp_; } /** *
       * Is this app allowing trusted-only functionality in the runtime? Enabled
       * only if app has TRUSTED_RUNTIME_REQUESTS permission.
       * 
* * optional bool is_trusted_app = 12 [default = false]; * @param value The isTrustedApp to set. * @return This builder for chaining. */ public Builder setIsTrustedApp(boolean value) { isTrustedApp_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * Is this app allowing trusted-only functionality in the runtime? Enabled
       * only if app has TRUSTED_RUNTIME_REQUESTS permission.
       * 
* * optional bool is_trusted_app = 12 [default = false]; * @return This builder for chaining. */ public Builder clearIsTrustedApp() { bitField0_ = (bitField0_ & ~0x00020000); isTrustedApp_ = false; onChanged(); return this; } private java.lang.Object peerUsername_ = ""; /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @return Whether the peerUsername field is set. */ public boolean hasPeerUsername() { return ((bitField0_ & 0x00040000) != 0); } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @return The peerUsername. */ public java.lang.String getPeerUsername() { java.lang.Object ref = peerUsername_; 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()) { peerUsername_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @return The bytes for peerUsername. */ public com.google.protobuf.ByteString getPeerUsernameBytes() { java.lang.Object ref = peerUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); peerUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @param value The peerUsername to set. * @return This builder for chaining. */ public Builder setPeerUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } peerUsername_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @return This builder for chaining. */ public Builder clearPeerUsername() { peerUsername_ = getDefaultInstance().getPeerUsername(); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the authenticated LOAS role of the original HTTPOverRPC Stubby request to
       * the PFE.
       * 
* * optional string peer_username = 15; * @param value The bytes for peerUsername to set. * @return This builder for chaining. */ public Builder setPeerUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } peerUsername_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } private java.lang.Object securityLevel_ = ""; /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @return Whether the securityLevel field is set. */ public boolean hasSecurityLevel() { return ((bitField0_ & 0x00080000) != 0); } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @return The securityLevel. */ public java.lang.String getSecurityLevel() { java.lang.Object ref = securityLevel_; 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()) { securityLevel_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @return The bytes for securityLevel. */ public com.google.protobuf.ByteString getSecurityLevelBytes() { java.lang.Object ref = securityLevel_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityLevel_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @param value The securityLevel to set. * @return This builder for chaining. */ public Builder setSecurityLevel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } securityLevel_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @return This builder for chaining. */ public Builder clearSecurityLevel() { securityLevel_ = getDefaultInstance().getSecurityLevel(); bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } /** *
       * Passed to applications with TRUSTED_RUNTIME_REQUESTS permission to indicate
       * the security level of the LOAS connection with the remote peer who
       * initiated this request with the first PFE who received the request.
       * 
* * optional string security_level = 16; * @param value The bytes for securityLevel to set. * @return This builder for chaining. */ public Builder setSecurityLevelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } securityLevel_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } private java.lang.Object eventIdHash_ = ""; /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @return Whether the eventIdHash field is set. */ public boolean hasEventIdHash() { return ((bitField0_ & 0x00100000) != 0); } /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @return The eventIdHash. */ public java.lang.String getEventIdHash() { java.lang.Object ref = eventIdHash_; 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()) { eventIdHash_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @return The bytes for eventIdHash. */ public com.google.protobuf.ByteString getEventIdHashBytes() { java.lang.Object ref = eventIdHash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventIdHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @param value The eventIdHash to set. * @return This builder for chaining. */ public Builder setEventIdHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventIdHash_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @return This builder for chaining. */ public Builder clearEventIdHash() { eventIdHash_ = getDefaultInstance().getEventIdHash(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } /** *
       * A hash of the event-id, used as a unique request identifier within the
       * requestlogs and applogs bigtables. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logs_design_doc.md.
       * 
* * optional string event_id_hash = 20; * @param value The bytes for eventIdHash to set. * @return This builder for chaining. */ public Builder setEventIdHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } eventIdHash_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } private com.google.apphosting.base.protos.CommonPb.ProfilerSettings profilerSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.CommonPb.ProfilerSettings, com.google.apphosting.base.protos.CommonPb.ProfilerSettings.Builder, com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder> profilerSettingsBuilder_; /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return Whether the profilerSettings field is set. */ public boolean hasProfilerSettings() { return ((bitField0_ & 0x00200000) != 0); } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; * @return The profilerSettings. */ public com.google.apphosting.base.protos.CommonPb.ProfilerSettings getProfilerSettings() { if (profilerSettingsBuilder_ == null) { return profilerSettings_ == null ? com.google.apphosting.base.protos.CommonPb.ProfilerSettings.getDefaultInstance() : profilerSettings_; } else { return profilerSettingsBuilder_.getMessage(); } } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public Builder setProfilerSettings(com.google.apphosting.base.protos.CommonPb.ProfilerSettings value) { if (profilerSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profilerSettings_ = value; } else { profilerSettingsBuilder_.setMessage(value); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public Builder setProfilerSettings( com.google.apphosting.base.protos.CommonPb.ProfilerSettings.Builder builderForValue) { if (profilerSettingsBuilder_ == null) { profilerSettings_ = builderForValue.build(); } else { profilerSettingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public Builder mergeProfilerSettings(com.google.apphosting.base.protos.CommonPb.ProfilerSettings value) { if (profilerSettingsBuilder_ == null) { if (((bitField0_ & 0x00200000) != 0) && profilerSettings_ != null && profilerSettings_ != com.google.apphosting.base.protos.CommonPb.ProfilerSettings.getDefaultInstance()) { getProfilerSettingsBuilder().mergeFrom(value); } else { profilerSettings_ = value; } } else { profilerSettingsBuilder_.mergeFrom(value); } bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public Builder clearProfilerSettings() { bitField0_ = (bitField0_ & ~0x00200000); profilerSettings_ = null; if (profilerSettingsBuilder_ != null) { profilerSettingsBuilder_.dispose(); profilerSettingsBuilder_ = null; } onChanged(); return this; } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public com.google.apphosting.base.protos.CommonPb.ProfilerSettings.Builder getProfilerSettingsBuilder() { bitField0_ |= 0x00200000; onChanged(); return getProfilerSettingsFieldBuilder().getBuilder(); } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ public com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder getProfilerSettingsOrBuilder() { if (profilerSettingsBuilder_ != null) { return profilerSettingsBuilder_.getMessageOrBuilder(); } else { return profilerSettings_ == null ? com.google.apphosting.base.protos.CommonPb.ProfilerSettings.getDefaultInstance() : profilerSettings_; } } /** *
       * If provided, a profiler will be attached for the duration of this request.
       * 
* * optional .java.apphosting.ProfilerSettings profiler_settings = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.CommonPb.ProfilerSettings, com.google.apphosting.base.protos.CommonPb.ProfilerSettings.Builder, com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder> getProfilerSettingsFieldBuilder() { if (profilerSettingsBuilder_ == null) { profilerSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.CommonPb.ProfilerSettings, com.google.apphosting.base.protos.CommonPb.ProfilerSettings.Builder, com.google.apphosting.base.protos.CommonPb.ProfilerSettingsOrBuilder>( getProfilerSettings(), getParentForChildren(), isClean()); profilerSettings_ = null; } return profilerSettingsBuilder_; } private java.lang.Object defaultVersionHostname_ = ""; /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @return Whether the defaultVersionHostname field is set. */ public boolean hasDefaultVersionHostname() { return ((bitField0_ & 0x00400000) != 0); } /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @return The defaultVersionHostname. */ public java.lang.String getDefaultVersionHostname() { java.lang.Object ref = defaultVersionHostname_; 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()) { defaultVersionHostname_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @return The bytes for defaultVersionHostname. */ public com.google.protobuf.ByteString getDefaultVersionHostnameBytes() { java.lang.Object ref = defaultVersionHostname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultVersionHostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @param value The defaultVersionHostname to set. * @return This builder for chaining. */ public Builder setDefaultVersionHostname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultVersionHostname_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @return This builder for chaining. */ public Builder clearDefaultVersionHostname() { defaultVersionHostname_ = getDefaultInstance().getDefaultVersionHostname(); bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } /** *
       * Hostname of the default version of this app.
       * 
* * optional string default_version_hostname = 27; * @param value The bytes for defaultVersionHostname to set. * @return This builder for chaining. */ public Builder setDefaultVersionHostnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } defaultVersionHostname_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } private int requestType_ = 0; /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return Whether the requestType field is set. */ @java.lang.Override public boolean hasRequestType() { return ((bitField0_ & 0x00800000) != 0); } /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return The requestType. */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType getRequestType() { com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType result = com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType.forNumber(requestType_); return result == null ? com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType.OTHER : result; } /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @param value The requestType to set. * @return This builder for chaining. */ public Builder setRequestType(com.google.apphosting.base.protos.RuntimePb.UPRequest.RequestType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00800000; requestType_ = value.getNumber(); onChanged(); return this; } /** * optional .java.apphosting.UPRequest.RequestType request_type = 28 [default = OTHER]; * @return This builder for chaining. */ public Builder clearRequestType() { bitField0_ = (bitField0_ & ~0x00800000); requestType_ = 0; onChanged(); return this; } private java.lang.Object appserverDatacenter_ = ""; /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @return Whether the appserverDatacenter field is set. */ public boolean hasAppserverDatacenter() { return ((bitField0_ & 0x01000000) != 0); } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @return The appserverDatacenter. */ public java.lang.String getAppserverDatacenter() { java.lang.Object ref = appserverDatacenter_; 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()) { appserverDatacenter_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @return The bytes for appserverDatacenter. */ public com.google.protobuf.ByteString getAppserverDatacenterBytes() { java.lang.Object ref = appserverDatacenter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appserverDatacenter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @param value The appserverDatacenter to set. * @return This builder for chaining. */ public Builder setAppserverDatacenter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } appserverDatacenter_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @return This builder for chaining. */ public Builder clearAppserverDatacenter() { appserverDatacenter_ = getDefaultInstance().getAppserverDatacenter(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } /** *
       * These values are only provided to apps with TRUSTED_RUNTIME_REQUESTS
       * permission.
       * 
* * optional string appserver_datacenter = 31; * @param value The bytes for appserverDatacenter to set. * @return This builder for chaining. */ public Builder setAppserverDatacenterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appserverDatacenter_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } private java.lang.Object appserverTaskBns_ = ""; /** * optional string appserver_task_bns = 32; * @return Whether the appserverTaskBns field is set. */ public boolean hasAppserverTaskBns() { return ((bitField0_ & 0x02000000) != 0); } /** * optional string appserver_task_bns = 32; * @return The appserverTaskBns. */ public java.lang.String getAppserverTaskBns() { java.lang.Object ref = appserverTaskBns_; 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()) { appserverTaskBns_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string appserver_task_bns = 32; * @return The bytes for appserverTaskBns. */ public com.google.protobuf.ByteString getAppserverTaskBnsBytes() { java.lang.Object ref = appserverTaskBns_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); appserverTaskBns_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string appserver_task_bns = 32; * @param value The appserverTaskBns to set. * @return This builder for chaining. */ public Builder setAppserverTaskBns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } appserverTaskBns_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** * optional string appserver_task_bns = 32; * @return This builder for chaining. */ public Builder clearAppserverTaskBns() { appserverTaskBns_ = getDefaultInstance().getAppserverTaskBns(); bitField0_ = (bitField0_ & ~0x02000000); onChanged(); return this; } /** * optional string appserver_task_bns = 32; * @param value The bytes for appserverTaskBns to set. * @return This builder for chaining. */ public Builder setAppserverTaskBnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appserverTaskBns_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } private java.lang.Object requestLogId_ = ""; /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @return Whether the requestLogId field is set. */ public boolean hasRequestLogId() { return ((bitField0_ & 0x04000000) != 0); } /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @return The requestLogId. */ public java.lang.String getRequestLogId() { java.lang.Object ref = requestLogId_; 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()) { requestLogId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @return The bytes for requestLogId. */ public com.google.protobuf.ByteString getRequestLogIdBytes() { java.lang.Object ref = requestLogId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); requestLogId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @param value The requestLogId to set. * @return This builder for chaining. */ public Builder setRequestLogId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } requestLogId_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @return This builder for chaining. */ public Builder clearRequestLogId() { requestLogId_ = getDefaultInstance().getRequestLogId(); bitField0_ = (bitField0_ & ~0x04000000); onChanged(); return this; } /** *
       * Equivalent of event_id_hash for Logs v2. This is a user-visible token that
       * can be correlated with the logs from other backends. For more info, see
       * http://g3doc/apphosting/g3doc/wiki-carryover/logsv2Design_doc.md#Row_Name_Format.
       * 
* * optional string request_log_id = 35; * @param value The bytes for requestLogId to set. * @return This builder for chaining. */ public Builder setRequestLogIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } requestLogId_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } private com.google.apphosting.base.protos.TracePb.TraceContextProto traceContext_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder> traceContextBuilder_; /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return Whether the traceContext field is set. */ public boolean hasTraceContext() { return ((bitField0_ & 0x08000000) != 0); } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; * @return The traceContext. */ public com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext() { if (traceContextBuilder_ == null) { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } else { return traceContextBuilder_.getMessage(); } } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public Builder setTraceContext(com.google.apphosting.base.protos.TracePb.TraceContextProto value) { if (traceContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceContext_ = value; } else { traceContextBuilder_.setMessage(value); } bitField0_ |= 0x08000000; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public Builder setTraceContext( com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder builderForValue) { if (traceContextBuilder_ == null) { traceContext_ = builderForValue.build(); } else { traceContextBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public Builder mergeTraceContext(com.google.apphosting.base.protos.TracePb.TraceContextProto value) { if (traceContextBuilder_ == null) { if (((bitField0_ & 0x08000000) != 0) && traceContext_ != null && traceContext_ != com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance()) { getTraceContextBuilder().mergeFrom(value); } else { traceContext_ = value; } } else { traceContextBuilder_.mergeFrom(value); } bitField0_ |= 0x08000000; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public Builder clearTraceContext() { bitField0_ = (bitField0_ & ~0x08000000); traceContext_ = null; if (traceContextBuilder_ != null) { traceContextBuilder_.dispose(); traceContextBuilder_ = null; } onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder getTraceContextBuilder() { bitField0_ |= 0x08000000; onChanged(); return getTraceContextFieldBuilder().getBuilder(); } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ public com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder() { if (traceContextBuilder_ != null) { return traceContextBuilder_.getMessageOrBuilder(); } else { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 40; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder> getTraceContextFieldBuilder() { if (traceContextBuilder_ == null) { traceContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder>( getTraceContext(), getParentForChildren(), isClean()); traceContext_ = null; } return traceContextBuilder_; } @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.UPRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.UPRequest) private static final com.google.apphosting.base.protos.RuntimePb.UPRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.UPRequest(); } public static com.google.apphosting.base.protos.RuntimePb.UPRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UPRequest 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.RuntimePb.UPRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PendingCloudDebuggerActionOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.PendingCloudDebuggerAction) com.google.protobuf.MessageOrBuilder { /** *
     * If true, debuggee registration is pending
     * 
* * optional bool debuggee_registration = 1; * @return Whether the debuggeeRegistration field is set. */ boolean hasDebuggeeRegistration(); /** *
     * If true, debuggee registration is pending
     * 
* * optional bool debuggee_registration = 1; * @return The debuggeeRegistration. */ boolean getDebuggeeRegistration(); /** *
     * If true, breakpoint updates are ready.
     * 
* * optional bool breakpoint_updates = 2; * @return Whether the breakpointUpdates field is set. */ boolean hasBreakpointUpdates(); /** *
     * If true, breakpoint updates are ready.
     * 
* * optional bool breakpoint_updates = 2; * @return The breakpointUpdates. */ boolean getBreakpointUpdates(); } /** *
   * Representation of pending Cloud Debugger actions
   * 
* * Protobuf type {@code java.apphosting.PendingCloudDebuggerAction} */ public static final class PendingCloudDebuggerAction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.PendingCloudDebuggerAction) PendingCloudDebuggerActionOrBuilder { private static final long serialVersionUID = 0L; // Use PendingCloudDebuggerAction.newBuilder() to construct. private PendingCloudDebuggerAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PendingCloudDebuggerAction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PendingCloudDebuggerAction(); } @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.RuntimePb.internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_PendingCloudDebuggerAction_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.class, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder.class); } private int bitField0_; public static final int DEBUGGEE_REGISTRATION_FIELD_NUMBER = 1; private boolean debuggeeRegistration_ = false; /** *
     * If true, debuggee registration is pending
     * 
* * optional bool debuggee_registration = 1; * @return Whether the debuggeeRegistration field is set. */ @java.lang.Override public boolean hasDebuggeeRegistration() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * If true, debuggee registration is pending
     * 
* * optional bool debuggee_registration = 1; * @return The debuggeeRegistration. */ @java.lang.Override public boolean getDebuggeeRegistration() { return debuggeeRegistration_; } public static final int BREAKPOINT_UPDATES_FIELD_NUMBER = 2; private boolean breakpointUpdates_ = false; /** *
     * If true, breakpoint updates are ready.
     * 
* * optional bool breakpoint_updates = 2; * @return Whether the breakpointUpdates field is set. */ @java.lang.Override public boolean hasBreakpointUpdates() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * If true, breakpoint updates are ready.
     * 
* * optional bool breakpoint_updates = 2; * @return The breakpointUpdates. */ @java.lang.Override public boolean getBreakpointUpdates() { return breakpointUpdates_; } 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.writeBool(1, debuggeeRegistration_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, breakpointUpdates_); } 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 .computeBoolSize(1, debuggeeRegistration_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, breakpointUpdates_); } 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.RuntimePb.PendingCloudDebuggerAction)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction other = (com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction) obj; if (hasDebuggeeRegistration() != other.hasDebuggeeRegistration()) return false; if (hasDebuggeeRegistration()) { if (getDebuggeeRegistration() != other.getDebuggeeRegistration()) return false; } if (hasBreakpointUpdates() != other.hasBreakpointUpdates()) return false; if (hasBreakpointUpdates()) { if (getBreakpointUpdates() != other.getBreakpointUpdates()) 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 (hasDebuggeeRegistration()) { hash = (37 * hash) + DEBUGGEE_REGISTRATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDebuggeeRegistration()); } if (hasBreakpointUpdates()) { hash = (37 * hash) + BREAKPOINT_UPDATES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBreakpointUpdates()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction 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; } /** *
     * Representation of pending Cloud Debugger actions
     * 
* * Protobuf type {@code java.apphosting.PendingCloudDebuggerAction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.PendingCloudDebuggerAction) com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_PendingCloudDebuggerAction_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.class, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; debuggeeRegistration_ = false; breakpointUpdates_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction build() { com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction buildPartial() { com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction result = new com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.debuggeeRegistration_ = debuggeeRegistration_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.breakpointUpdates_ = breakpointUpdates_; 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.base.protos.RuntimePb.PendingCloudDebuggerAction) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction other) { if (other == com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance()) return this; if (other.hasDebuggeeRegistration()) { setDebuggeeRegistration(other.getDebuggeeRegistration()); } if (other.hasBreakpointUpdates()) { setBreakpointUpdates(other.getBreakpointUpdates()); } 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: { debuggeeRegistration_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { breakpointUpdates_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 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 debuggeeRegistration_ ; /** *
       * If true, debuggee registration is pending
       * 
* * optional bool debuggee_registration = 1; * @return Whether the debuggeeRegistration field is set. */ @java.lang.Override public boolean hasDebuggeeRegistration() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * If true, debuggee registration is pending
       * 
* * optional bool debuggee_registration = 1; * @return The debuggeeRegistration. */ @java.lang.Override public boolean getDebuggeeRegistration() { return debuggeeRegistration_; } /** *
       * If true, debuggee registration is pending
       * 
* * optional bool debuggee_registration = 1; * @param value The debuggeeRegistration to set. * @return This builder for chaining. */ public Builder setDebuggeeRegistration(boolean value) { debuggeeRegistration_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * If true, debuggee registration is pending
       * 
* * optional bool debuggee_registration = 1; * @return This builder for chaining. */ public Builder clearDebuggeeRegistration() { bitField0_ = (bitField0_ & ~0x00000001); debuggeeRegistration_ = false; onChanged(); return this; } private boolean breakpointUpdates_ ; /** *
       * If true, breakpoint updates are ready.
       * 
* * optional bool breakpoint_updates = 2; * @return Whether the breakpointUpdates field is set. */ @java.lang.Override public boolean hasBreakpointUpdates() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * If true, breakpoint updates are ready.
       * 
* * optional bool breakpoint_updates = 2; * @return The breakpointUpdates. */ @java.lang.Override public boolean getBreakpointUpdates() { return breakpointUpdates_; } /** *
       * If true, breakpoint updates are ready.
       * 
* * optional bool breakpoint_updates = 2; * @param value The breakpointUpdates to set. * @return This builder for chaining. */ public Builder setBreakpointUpdates(boolean value) { breakpointUpdates_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If true, breakpoint updates are ready.
       * 
* * optional bool breakpoint_updates = 2; * @return This builder for chaining. */ public Builder clearBreakpointUpdates() { bitField0_ = (bitField0_ & ~0x00000002); breakpointUpdates_ = false; 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.PendingCloudDebuggerAction) } // @@protoc_insertion_point(class_scope:java.apphosting.PendingCloudDebuggerAction) private static final com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction(); } public static com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PendingCloudDebuggerAction 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.RuntimePb.PendingCloudDebuggerAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UPResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UPResponse) com.google.protobuf.MessageOrBuilder { /** * required int32 error = 1; * @return Whether the error field is set. */ boolean hasError(); /** * required int32 error = 1; * @return The error. */ int getError(); /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return Whether the errorMessage field is set. */ boolean hasErrorMessage(); /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ java.util.List getLogMessagesList(); /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages getLogMessages(int index); /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ int getLogMessagesCount(); /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ java.util.List getLogMessagesOrBuilderList(); /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder getLogMessagesOrBuilder( int index); /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return Whether the httpResponse field is set. */ boolean hasHttpResponse(); /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return The httpResponse. */ com.google.apphosting.base.protos.HttpPb.HttpResponse getHttpResponse(); /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder getHttpResponseOrBuilder(); /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ java.util.List getRuntimeHeadersList(); /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index); /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ int getRuntimeHeadersCount(); /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ java.util.List getRuntimeHeadersOrBuilderList(); /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index); /** *
     * Our estimate of the number of user mega-cycles (1M cycles) spent
     * servicing this request.
     * 
* * optional int64 user_mcycles = 4; * @return Whether the userMcycles field is set. */ boolean hasUserMcycles(); /** *
     * Our estimate of the number of user mega-cycles (1M cycles) spent
     * servicing this request.
     * 
* * optional int64 user_mcycles = 4; * @return The userMcycles. */ long getUserMcycles(); /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ java.util.List getAppLogList(); /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ com.google.apphosting.base.protos.AppLogsPb.AppLogLine getAppLog(int index); /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ int getAppLogCount(); /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ java.util.List getAppLogOrBuilderList(); /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder getAppLogOrBuilder( int index); /** * repeated group RuntimeLogLine = 10 { ... } */ java.util.List getRuntimeLogLineList(); /** * repeated group RuntimeLogLine = 10 { ... } */ com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine getRuntimeLogLine(int index); /** * repeated group RuntimeLogLine = 10 { ... } */ int getRuntimeLogLineCount(); /** * repeated group RuntimeLogLine = 10 { ... } */ java.util.List getRuntimeLogLineOrBuilderList(); /** * repeated group RuntimeLogLine = 10 { ... } */ com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder getRuntimeLogLineOrBuilder( int index); /** *
     * Did anything happen which made it unsafe for this clone to
     * process additional requests? This is used in
     * Clone Runtime --> Sandbox communication, and should not be used
     * elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool terminate_clone = 16 [default = false]; * @return Whether the terminateClone field is set. */ boolean hasTerminateClone(); /** *
     * Did anything happen which made it unsafe for this clone to
     * process additional requests? This is used in
     * Clone Runtime --> Sandbox communication, and should not be used
     * elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool terminate_clone = 16 [default = false]; * @return The terminateClone. */ boolean getTerminateClone(); /** *
     * Is the clone in an unclean state, preventing it from processing
     * additional requests? This flag constitutes a refinement of
     * terminate_clone above and should always be set in conjunction with it.
     * This is used in Clone Runtime --> Sandbox communication, and
     * should not be used elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return Whether the cloneIsInUncleanState field is set. */ boolean hasCloneIsInUncleanState(); /** *
     * Is the clone in an unclean state, preventing it from processing
     * additional requests? This flag constitutes a refinement of
     * terminate_clone above and should always be set in conjunction with it.
     * This is used in Clone Runtime --> Sandbox communication, and
     * should not be used elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return The cloneIsInUncleanState. */ boolean getCloneIsInUncleanState(); /** *
     * Serialized form of cloud.trace.TraceEventsProto.
     * We use the serialized form instead of the proto due to API version
     * incompatibility. runtime.proto requires Python and Java API v1 while
     * TraceEventsProto exposes v2.
     * 
* * optional bytes serialized_trace = 33; * @return Whether the serializedTrace field is set. */ boolean hasSerializedTrace(); /** *
     * Serialized form of cloud.trace.TraceEventsProto.
     * We use the serialized form instead of the proto due to API version
     * incompatibility. runtime.proto requires Python and Java API v1 while
     * TraceEventsProto exposes v2.
     * 
* * optional bytes serialized_trace = 33; * @return The serializedTrace. */ com.google.protobuf.ByteString getSerializedTrace(); /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return Whether the pendingCloudDebuggerAction field is set. */ boolean hasPendingCloudDebuggerAction(); /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return The pendingCloudDebuggerAction. */ com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction getPendingCloudDebuggerAction(); /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder getPendingCloudDebuggerActionOrBuilder(); } /** *
   * Response to an EvaluationRuntime.HandleRequest call to a clone running on a
   * Gen 1 App Engine runtime (python27g, php55g, java8).
   * Next tag: 90
   * 
* * Protobuf type {@code java.apphosting.UPResponse} */ public static final class UPResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UPResponse) UPResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UPResponse.newBuilder() to construct. private UPResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UPResponse() { errorMessage_ = ""; logMessages_ = java.util.Collections.emptyList(); runtimeHeaders_ = java.util.Collections.emptyList(); appLog_ = java.util.Collections.emptyList(); runtimeLogLine_ = java.util.Collections.emptyList(); serializedTrace_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UPResponse(); } @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.RuntimePb.internal_static_java_apphosting_UPResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.Builder.class); } /** *
     * Next tag: 51
     * 
* * Protobuf enum {@code java.apphosting.UPResponse.ERROR} */ public enum ERROR implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Normal response
       * 
* * OK = 0; */ OK(0), /** *
       * Error which is the application's fault, and results in a 500 HTTP
       * response code. For example, if the sandboxed python code threw an
       * exception, the response should be APP_FAILURE.
       * 
* * APP_FAILURE = 1; */ APP_FAILURE(1), /** *
       * System-level errors that are not the application's fault, and which
       * result in a 500 HTTP response code being returned to the user.
       * 
* * RESOURCE_NOT_FOUND = 2; */ RESOURCE_NOT_FOUND(2), /** * UNKNOWN_HANDLER = 3; */ UNKNOWN_HANDLER(3), /** * UNKNOWN_API_VERSION = 6; */ UNKNOWN_API_VERSION(6), /** * LOG_FATAL_DEATH = 7; */ LOG_FATAL_DEATH(7), /** *
       * The clone died.
       * For Titanium, CLONE_DEATH is used for gvisor crashes such as a Sentry
       * crash or a gofer crash.
       * Clone deaths as a result of container crashes are assigned more
       * specific codes (USER_CONTAINER_CRASH or GOOGLE_CONTAINER_CRASH).
       * 
* * CLONE_DEATH = 8; */ CLONE_DEATH(8), /** *
       * A end user controlled container crashed.
       * 
* * USER_CONTAINER_CRASH = 23; */ USER_CONTAINER_CRASH(23), /** *
       * A Google controlled container crashed.
       * 
* * GOOGLE_CONTAINER_CRASH = 24; */ GOOGLE_CONTAINER_CRASH(24), /** *
       * The sandboxed process requested to be killed (not GAE).
       * 
* * APP_REQUESTED_KILL = 25; */ APP_REQUESTED_KILL(25), /** * ABORTED = 9; */ ABORTED(9), /** * PENDING_DISABLED = 10; */ PENDING_DISABLED(10), /** * BUFFER_ERROR = 15; */ BUFFER_ERROR(15), /** *
       * Invalid security ticket provided to runtime.
       * 
* * INVALID_TICKET = 11; */ INVALID_TICKET(11), /** *
       * The runtime doesn't know about the requested app.  Likely the runtime
       * restarted without notifying the appserver.
       * 
* * UNKNOWN_APP = 4; */ UNKNOWN_APP(4), /** *
       * Since the response may be computed in an independent process
       * which we communicate with via RPCs, there is a chance for
       * unexpected RPC errors. We record those here.
       * 
* * RPC_FAILURE = 5; */ RPC_FAILURE(5), /** *
       * The request attempted to contact a server replica that was stopped.
       * 
* * SERVER_DOWN = 12; */ SERVER_DOWN(12), /** *
       * The request terminated when a server that was handling the request was
       * stopped.
       * 
* * SERVER_STOPPED = 13; */ SERVER_STOPPED(13), /** *
       * A shutdown request was unable to run.
       * 
* * SHUTDOWN_FAILURE = 14; */ SHUTDOWN_FAILURE(14), /** *
       * A background request was unable to run.
       * 
* * BACKGROUND_FAILURE = 16; */ BACKGROUND_FAILURE(16), /** *
       * A snapshot request was unable to run.
       * 
* * SNAPSHOT_FAILURE = 32; */ SNAPSHOT_FAILURE(32), /** *
       * Pending queue for app was too large, could not accept additional
       * requests.
       * 
* * PENDING_QUEUE_TOO_LARGE = 17; */ PENDING_QUEUE_TOO_LARGE(17), /** *
       * The application's binary was not found. This can happen if the appserver
       * is using a newer compiler_version than that of the last successful app
       * compilation for this app. It's similar to RESOURCE_NOT_FOUND.
       * (Go only.)
       * 
* * APP_BINARY_NOT_FOUND = 18; */ APP_BINARY_NOT_FOUND(18), /** *
       * One or more threads created by this request is still running.
       * 
* * THREADS_STILL_RUNNING = 19; */ THREADS_STILL_RUNNING(19), /** *
       * A deadline exceeded exception occurred while importing modules during a
       * loading request (Python 2.7 only).
       * 
* * DEADLINE_DURING_LOADING = 22; */ DEADLINE_DURING_LOADING(22), /** *
       * Unexpected error, eg config missing.
       * 
* * UNEXPECTED_ERROR = 26; */ UNEXPECTED_ERROR(26), /** *
       * An app version that can not start its clone too many times will
       * see its traffic dropped using the SHED code.
       * 
* * SHED = 27; */ SHED(27), /** * SHED_GOOGLE_ERROR = 35; */ SHED_GOOGLE_ERROR(35), /** *
       * GSE App failed readiness check.
       * 
* * FAILED_READINESS_CHECK = 28; */ FAILED_READINESS_CHECK(28), /** *
       * GSE App broke connection to supervisor.
       * 
* * USER_CONTAINER_CONNECTION_ERROR = 29; */ USER_CONTAINER_CONNECTION_ERROR(29), /** *
       * Quota check failed.
       * 
* * QUOTA_CHECK_FAILED = 30; */ QUOTA_CHECK_FAILED(30), /** *
       * Billing is disabled for the project.
       * 
* * BILLING_DISABLED = 31; */ BILLING_DISABLED(31), /** *
       * Request was not authenticated.
       * 
* * AUTHENTICATION_FAILURE = 33; */ AUTHENTICATION_FAILURE(33), /** *
       * Request was not authorized.
       * 
* * AUTHORIZATION_FAILURE = 34; */ AUTHORIZATION_FAILURE(34), /** *
       * Response size too large (not used for chunked transfer encoding).
       * 
* * RESPONSE_SIZE_TOO_LARGE = 36; */ RESPONSE_SIZE_TOO_LARGE(36), /** *
       * Total size of chunked responses buffered by Appserver excceeded the
       * maximum buffer size.
       * 
* * CHUNKED_RESPONSE_BUFFER_LIMIT_EXCEEDED = 37; */ CHUNKED_RESPONSE_BUFFER_LIMIT_EXCEEDED(37), /** *
       * Bidirectional stream between PFE and Appserver initialization timed out.
       * 
* * BIDI_STREAM_INIT_TIMEOUT = 38; */ BIDI_STREAM_INIT_TIMEOUT(38), /** *
       * Total size of responses buffered in the bidirectional stream response
       * buffer exceeded maximum buffer size.
       * 
* * BIDI_STREAM_RESPONSE_BUFFER_LIMIT_EXCEEDED = 39; */ BIDI_STREAM_RESPONSE_BUFFER_LIMIT_EXCEEDED(39), /** *
       * Bidirectional stream had insufficient initial quota to send all the
       * response headers.
       * 
* * BIDI_STREAM_INSUFFICIENT_INITIAL_QUOTA = 40; */ BIDI_STREAM_INSUFFICIENT_INITIAL_QUOTA(40), /** *
       * Bidirectional stream returned NOT_ENOUGH_QUOTA when Appserver tried
       * to send data. This is unexpected because Appserver only sends new
       * data when bidi stream notifies Appserver that there is enough quota.
       * 
* * BIDI_STREAM_NOT_ENOUGH_QUOTA = 41; */ BIDI_STREAM_NOT_ENOUGH_QUOTA(41), /** *
       * Bidirectional stream had negative quota after proto overhead was
       * subtracted.
       * 
* * BIDI_STREAM_NEGATIVE_QUOTA = 42; */ BIDI_STREAM_NEGATIVE_QUOTA(42), /** *
       * Bidirectional stream returned error when Appserver tried to send data.
       * 
* * BIDI_STREAM_SEND_ERROR = 43; */ BIDI_STREAM_SEND_ERROR(43), /** *
       * Appserver failed to schedule a quota notification through the
       * bidirectional stream.
       * 
* * BIDI_STREAM_SCHEDULE_QUOTA_NOTIFICATION_ERROR = 44; */ BIDI_STREAM_SCHEDULE_QUOTA_NOTIFICATION_ERROR(44), /** *
       * Request failed to finish streaming the response due to deadline timeout
       * 
* * BIDI_STREAM_TIMEOUT = 45; */ BIDI_STREAM_TIMEOUT(45), /** *
       * Request was intended to be handled by QFE -> node envoy, but routing
       * information required for this could not be sent to the PFE.
       * 
* * APPSERVER_QFE_NODE_SELECTION_RESPONSE_ERROR = 46; */ APPSERVER_QFE_NODE_SELECTION_RESPONSE_ERROR(46), /** *
       * This request was meant to route to Node Envoy however there was a
       * failure to connect to Node Envoy.
       * 
* * NODE_ENVOY_CONNECTION_FAILURE = 47; */ NODE_ENVOY_CONNECTION_FAILURE(47), /** *
       * Appserver didn't receive a StartHTTPRequest RPC from envoy.
       * 
* * NO_START_HTTP_REQUEST_RECEIVED = 48; */ NO_START_HTTP_REQUEST_RECEIVED(48), /** *
       * The cluster check timed out.
       * 
* * NODE_ENVOY_CLUSTER_CHECK_TIMEOUT = 49; */ NODE_ENVOY_CLUSTER_CHECK_TIMEOUT(49), /** *
       * Request failed due to Node Envoy downstream (mostly QFE) connection
       * termination.
       * This is an unexpected infrastructure error, as the connection between
       * QFE and Node Envoy shouldn't be terminated.
       * 
* * NODE_ENVOY_DOWNSTREAM_CONNECTION_TERMINATION = 50; */ NODE_ENVOY_DOWNSTREAM_CONNECTION_TERMINATION(50), ; /** *
       * Normal response
       * 
* * OK = 0; */ public static final int OK_VALUE = 0; /** *
       * Error which is the application's fault, and results in a 500 HTTP
       * response code. For example, if the sandboxed python code threw an
       * exception, the response should be APP_FAILURE.
       * 
* * APP_FAILURE = 1; */ public static final int APP_FAILURE_VALUE = 1; /** *
       * System-level errors that are not the application's fault, and which
       * result in a 500 HTTP response code being returned to the user.
       * 
* * RESOURCE_NOT_FOUND = 2; */ public static final int RESOURCE_NOT_FOUND_VALUE = 2; /** * UNKNOWN_HANDLER = 3; */ public static final int UNKNOWN_HANDLER_VALUE = 3; /** * UNKNOWN_API_VERSION = 6; */ public static final int UNKNOWN_API_VERSION_VALUE = 6; /** * LOG_FATAL_DEATH = 7; */ public static final int LOG_FATAL_DEATH_VALUE = 7; /** *
       * The clone died.
       * For Titanium, CLONE_DEATH is used for gvisor crashes such as a Sentry
       * crash or a gofer crash.
       * Clone deaths as a result of container crashes are assigned more
       * specific codes (USER_CONTAINER_CRASH or GOOGLE_CONTAINER_CRASH).
       * 
* * CLONE_DEATH = 8; */ public static final int CLONE_DEATH_VALUE = 8; /** *
       * A end user controlled container crashed.
       * 
* * USER_CONTAINER_CRASH = 23; */ public static final int USER_CONTAINER_CRASH_VALUE = 23; /** *
       * A Google controlled container crashed.
       * 
* * GOOGLE_CONTAINER_CRASH = 24; */ public static final int GOOGLE_CONTAINER_CRASH_VALUE = 24; /** *
       * The sandboxed process requested to be killed (not GAE).
       * 
* * APP_REQUESTED_KILL = 25; */ public static final int APP_REQUESTED_KILL_VALUE = 25; /** * ABORTED = 9; */ public static final int ABORTED_VALUE = 9; /** * PENDING_DISABLED = 10; */ public static final int PENDING_DISABLED_VALUE = 10; /** * BUFFER_ERROR = 15; */ public static final int BUFFER_ERROR_VALUE = 15; /** *
       * Invalid security ticket provided to runtime.
       * 
* * INVALID_TICKET = 11; */ public static final int INVALID_TICKET_VALUE = 11; /** *
       * The runtime doesn't know about the requested app.  Likely the runtime
       * restarted without notifying the appserver.
       * 
* * UNKNOWN_APP = 4; */ public static final int UNKNOWN_APP_VALUE = 4; /** *
       * Since the response may be computed in an independent process
       * which we communicate with via RPCs, there is a chance for
       * unexpected RPC errors. We record those here.
       * 
* * RPC_FAILURE = 5; */ public static final int RPC_FAILURE_VALUE = 5; /** *
       * The request attempted to contact a server replica that was stopped.
       * 
* * SERVER_DOWN = 12; */ public static final int SERVER_DOWN_VALUE = 12; /** *
       * The request terminated when a server that was handling the request was
       * stopped.
       * 
* * SERVER_STOPPED = 13; */ public static final int SERVER_STOPPED_VALUE = 13; /** *
       * A shutdown request was unable to run.
       * 
* * SHUTDOWN_FAILURE = 14; */ public static final int SHUTDOWN_FAILURE_VALUE = 14; /** *
       * A background request was unable to run.
       * 
* * BACKGROUND_FAILURE = 16; */ public static final int BACKGROUND_FAILURE_VALUE = 16; /** *
       * A snapshot request was unable to run.
       * 
* * SNAPSHOT_FAILURE = 32; */ public static final int SNAPSHOT_FAILURE_VALUE = 32; /** *
       * Pending queue for app was too large, could not accept additional
       * requests.
       * 
* * PENDING_QUEUE_TOO_LARGE = 17; */ public static final int PENDING_QUEUE_TOO_LARGE_VALUE = 17; /** *
       * The application's binary was not found. This can happen if the appserver
       * is using a newer compiler_version than that of the last successful app
       * compilation for this app. It's similar to RESOURCE_NOT_FOUND.
       * (Go only.)
       * 
* * APP_BINARY_NOT_FOUND = 18; */ public static final int APP_BINARY_NOT_FOUND_VALUE = 18; /** *
       * One or more threads created by this request is still running.
       * 
* * THREADS_STILL_RUNNING = 19; */ public static final int THREADS_STILL_RUNNING_VALUE = 19; /** *
       * A deadline exceeded exception occurred while importing modules during a
       * loading request (Python 2.7 only).
       * 
* * DEADLINE_DURING_LOADING = 22; */ public static final int DEADLINE_DURING_LOADING_VALUE = 22; /** *
       * Unexpected error, eg config missing.
       * 
* * UNEXPECTED_ERROR = 26; */ public static final int UNEXPECTED_ERROR_VALUE = 26; /** *
       * An app version that can not start its clone too many times will
       * see its traffic dropped using the SHED code.
       * 
* * SHED = 27; */ public static final int SHED_VALUE = 27; /** * SHED_GOOGLE_ERROR = 35; */ public static final int SHED_GOOGLE_ERROR_VALUE = 35; /** *
       * GSE App failed readiness check.
       * 
* * FAILED_READINESS_CHECK = 28; */ public static final int FAILED_READINESS_CHECK_VALUE = 28; /** *
       * GSE App broke connection to supervisor.
       * 
* * USER_CONTAINER_CONNECTION_ERROR = 29; */ public static final int USER_CONTAINER_CONNECTION_ERROR_VALUE = 29; /** *
       * Quota check failed.
       * 
* * QUOTA_CHECK_FAILED = 30; */ public static final int QUOTA_CHECK_FAILED_VALUE = 30; /** *
       * Billing is disabled for the project.
       * 
* * BILLING_DISABLED = 31; */ public static final int BILLING_DISABLED_VALUE = 31; /** *
       * Request was not authenticated.
       * 
* * AUTHENTICATION_FAILURE = 33; */ public static final int AUTHENTICATION_FAILURE_VALUE = 33; /** *
       * Request was not authorized.
       * 
* * AUTHORIZATION_FAILURE = 34; */ public static final int AUTHORIZATION_FAILURE_VALUE = 34; /** *
       * Response size too large (not used for chunked transfer encoding).
       * 
* * RESPONSE_SIZE_TOO_LARGE = 36; */ public static final int RESPONSE_SIZE_TOO_LARGE_VALUE = 36; /** *
       * Total size of chunked responses buffered by Appserver excceeded the
       * maximum buffer size.
       * 
* * CHUNKED_RESPONSE_BUFFER_LIMIT_EXCEEDED = 37; */ public static final int CHUNKED_RESPONSE_BUFFER_LIMIT_EXCEEDED_VALUE = 37; /** *
       * Bidirectional stream between PFE and Appserver initialization timed out.
       * 
* * BIDI_STREAM_INIT_TIMEOUT = 38; */ public static final int BIDI_STREAM_INIT_TIMEOUT_VALUE = 38; /** *
       * Total size of responses buffered in the bidirectional stream response
       * buffer exceeded maximum buffer size.
       * 
* * BIDI_STREAM_RESPONSE_BUFFER_LIMIT_EXCEEDED = 39; */ public static final int BIDI_STREAM_RESPONSE_BUFFER_LIMIT_EXCEEDED_VALUE = 39; /** *
       * Bidirectional stream had insufficient initial quota to send all the
       * response headers.
       * 
* * BIDI_STREAM_INSUFFICIENT_INITIAL_QUOTA = 40; */ public static final int BIDI_STREAM_INSUFFICIENT_INITIAL_QUOTA_VALUE = 40; /** *
       * Bidirectional stream returned NOT_ENOUGH_QUOTA when Appserver tried
       * to send data. This is unexpected because Appserver only sends new
       * data when bidi stream notifies Appserver that there is enough quota.
       * 
* * BIDI_STREAM_NOT_ENOUGH_QUOTA = 41; */ public static final int BIDI_STREAM_NOT_ENOUGH_QUOTA_VALUE = 41; /** *
       * Bidirectional stream had negative quota after proto overhead was
       * subtracted.
       * 
* * BIDI_STREAM_NEGATIVE_QUOTA = 42; */ public static final int BIDI_STREAM_NEGATIVE_QUOTA_VALUE = 42; /** *
       * Bidirectional stream returned error when Appserver tried to send data.
       * 
* * BIDI_STREAM_SEND_ERROR = 43; */ public static final int BIDI_STREAM_SEND_ERROR_VALUE = 43; /** *
       * Appserver failed to schedule a quota notification through the
       * bidirectional stream.
       * 
* * BIDI_STREAM_SCHEDULE_QUOTA_NOTIFICATION_ERROR = 44; */ public static final int BIDI_STREAM_SCHEDULE_QUOTA_NOTIFICATION_ERROR_VALUE = 44; /** *
       * Request failed to finish streaming the response due to deadline timeout
       * 
* * BIDI_STREAM_TIMEOUT = 45; */ public static final int BIDI_STREAM_TIMEOUT_VALUE = 45; /** *
       * Request was intended to be handled by QFE -> node envoy, but routing
       * information required for this could not be sent to the PFE.
       * 
* * APPSERVER_QFE_NODE_SELECTION_RESPONSE_ERROR = 46; */ public static final int APPSERVER_QFE_NODE_SELECTION_RESPONSE_ERROR_VALUE = 46; /** *
       * This request was meant to route to Node Envoy however there was a
       * failure to connect to Node Envoy.
       * 
* * NODE_ENVOY_CONNECTION_FAILURE = 47; */ public static final int NODE_ENVOY_CONNECTION_FAILURE_VALUE = 47; /** *
       * Appserver didn't receive a StartHTTPRequest RPC from envoy.
       * 
* * NO_START_HTTP_REQUEST_RECEIVED = 48; */ public static final int NO_START_HTTP_REQUEST_RECEIVED_VALUE = 48; /** *
       * The cluster check timed out.
       * 
* * NODE_ENVOY_CLUSTER_CHECK_TIMEOUT = 49; */ public static final int NODE_ENVOY_CLUSTER_CHECK_TIMEOUT_VALUE = 49; /** *
       * Request failed due to Node Envoy downstream (mostly QFE) connection
       * termination.
       * This is an unexpected infrastructure error, as the connection between
       * QFE and Node Envoy shouldn't be terminated.
       * 
* * NODE_ENVOY_DOWNSTREAM_CONNECTION_TERMINATION = 50; */ public static final int NODE_ENVOY_DOWNSTREAM_CONNECTION_TERMINATION_VALUE = 50; 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 ERROR 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 ERROR forNumber(int value) { switch (value) { case 0: return OK; case 1: return APP_FAILURE; case 2: return RESOURCE_NOT_FOUND; case 3: return UNKNOWN_HANDLER; case 6: return UNKNOWN_API_VERSION; case 7: return LOG_FATAL_DEATH; case 8: return CLONE_DEATH; case 23: return USER_CONTAINER_CRASH; case 24: return GOOGLE_CONTAINER_CRASH; case 25: return APP_REQUESTED_KILL; case 9: return ABORTED; case 10: return PENDING_DISABLED; case 15: return BUFFER_ERROR; case 11: return INVALID_TICKET; case 4: return UNKNOWN_APP; case 5: return RPC_FAILURE; case 12: return SERVER_DOWN; case 13: return SERVER_STOPPED; case 14: return SHUTDOWN_FAILURE; case 16: return BACKGROUND_FAILURE; case 32: return SNAPSHOT_FAILURE; case 17: return PENDING_QUEUE_TOO_LARGE; case 18: return APP_BINARY_NOT_FOUND; case 19: return THREADS_STILL_RUNNING; case 22: return DEADLINE_DURING_LOADING; case 26: return UNEXPECTED_ERROR; case 27: return SHED; case 35: return SHED_GOOGLE_ERROR; case 28: return FAILED_READINESS_CHECK; case 29: return USER_CONTAINER_CONNECTION_ERROR; case 30: return QUOTA_CHECK_FAILED; case 31: return BILLING_DISABLED; case 33: return AUTHENTICATION_FAILURE; case 34: return AUTHORIZATION_FAILURE; case 36: return RESPONSE_SIZE_TOO_LARGE; case 37: return CHUNKED_RESPONSE_BUFFER_LIMIT_EXCEEDED; case 38: return BIDI_STREAM_INIT_TIMEOUT; case 39: return BIDI_STREAM_RESPONSE_BUFFER_LIMIT_EXCEEDED; case 40: return BIDI_STREAM_INSUFFICIENT_INITIAL_QUOTA; case 41: return BIDI_STREAM_NOT_ENOUGH_QUOTA; case 42: return BIDI_STREAM_NEGATIVE_QUOTA; case 43: return BIDI_STREAM_SEND_ERROR; case 44: return BIDI_STREAM_SCHEDULE_QUOTA_NOTIFICATION_ERROR; case 45: return BIDI_STREAM_TIMEOUT; case 46: return APPSERVER_QFE_NODE_SELECTION_RESPONSE_ERROR; case 47: return NODE_ENVOY_CONNECTION_FAILURE; case 48: return NO_START_HTTP_REQUEST_RECEIVED; case 49: return NODE_ENVOY_CLUSTER_CHECK_TIMEOUT; case 50: return NODE_ENVOY_DOWNSTREAM_CONNECTION_TERMINATION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ERROR> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ERROR findValueByNumber(int number) { return ERROR.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.RuntimePb.UPResponse.getDescriptor().getEnumTypes().get(0); } private static final ERROR[] VALUES = values(); public static ERROR 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 ERROR(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.UPResponse.ERROR) } public interface LogMessagesOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UPResponse.LogMessages) com.google.protobuf.MessageOrBuilder { /** * optional string tenant_project_message = 1; * @return Whether the tenantProjectMessage field is set. */ boolean hasTenantProjectMessage(); /** * optional string tenant_project_message = 1; * @return The tenantProjectMessage. */ java.lang.String getTenantProjectMessage(); /** * optional string tenant_project_message = 1; * @return The bytes for tenantProjectMessage. */ com.google.protobuf.ByteString getTenantProjectMessageBytes(); /** * optional string user_project_message = 2; * @return Whether the userProjectMessage field is set. */ boolean hasUserProjectMessage(); /** * optional string user_project_message = 2; * @return The userProjectMessage. */ java.lang.String getUserProjectMessage(); /** * optional string user_project_message = 2; * @return The bytes for userProjectMessage. */ com.google.protobuf.ByteString getUserProjectMessageBytes(); /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return Whether the severity field is set. */ boolean hasSeverity(); /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return The severity. */ java.lang.String getSeverity(); /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return The bytes for severity. */ com.google.protobuf.ByteString getSeverityBytes(); } /** *
     * Optional messages to write to the tenant and user projects.
     * 
* * Protobuf type {@code java.apphosting.UPResponse.LogMessages} */ public static final class LogMessages extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UPResponse.LogMessages) LogMessagesOrBuilder { private static final long serialVersionUID = 0L; // Use LogMessages.newBuilder() to construct. private LogMessages(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogMessages() { tenantProjectMessage_ = ""; userProjectMessage_ = ""; severity_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogMessages(); } @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.RuntimePb.internal_static_java_apphosting_UPResponse_LogMessages_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_LogMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder.class); } private int bitField0_; public static final int TENANT_PROJECT_MESSAGE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenantProjectMessage_ = ""; /** * optional string tenant_project_message = 1; * @return Whether the tenantProjectMessage field is set. */ @java.lang.Override public boolean hasTenantProjectMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string tenant_project_message = 1; * @return The tenantProjectMessage. */ @java.lang.Override public java.lang.String getTenantProjectMessage() { java.lang.Object ref = tenantProjectMessage_; 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()) { tenantProjectMessage_ = s; } return s; } } /** * optional string tenant_project_message = 1; * @return The bytes for tenantProjectMessage. */ @java.lang.Override public com.google.protobuf.ByteString getTenantProjectMessageBytes() { java.lang.Object ref = tenantProjectMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tenantProjectMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_PROJECT_MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object userProjectMessage_ = ""; /** * optional string user_project_message = 2; * @return Whether the userProjectMessage field is set. */ @java.lang.Override public boolean hasUserProjectMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string user_project_message = 2; * @return The userProjectMessage. */ @java.lang.Override public java.lang.String getUserProjectMessage() { java.lang.Object ref = userProjectMessage_; 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()) { userProjectMessage_ = s; } return s; } } /** * optional string user_project_message = 2; * @return The bytes for userProjectMessage. */ @java.lang.Override public com.google.protobuf.ByteString getUserProjectMessageBytes() { java.lang.Object ref = userProjectMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userProjectMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object severity_ = ""; /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return Whether the severity field is set. */ @java.lang.Override public boolean hasSeverity() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return The severity. */ @java.lang.Override public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } } /** *
       * This should either be empty, or the name of one of the values in the
       * google.logging.type.LogSeverity enum:
       * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
       * 
* * optional string severity = 3; * @return The bytes for severity. */ @java.lang.Override public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = 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, tenantProjectMessage_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userProjectMessage_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, severity_); } 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, tenantProjectMessage_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userProjectMessage_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, severity_); } 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.RuntimePb.UPResponse.LogMessages)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages other = (com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages) obj; if (hasTenantProjectMessage() != other.hasTenantProjectMessage()) return false; if (hasTenantProjectMessage()) { if (!getTenantProjectMessage() .equals(other.getTenantProjectMessage())) return false; } if (hasUserProjectMessage() != other.hasUserProjectMessage()) return false; if (hasUserProjectMessage()) { if (!getUserProjectMessage() .equals(other.getUserProjectMessage())) return false; } if (hasSeverity() != other.hasSeverity()) return false; if (hasSeverity()) { if (!getSeverity() .equals(other.getSeverity())) 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 (hasTenantProjectMessage()) { hash = (37 * hash) + TENANT_PROJECT_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getTenantProjectMessage().hashCode(); } if (hasUserProjectMessage()) { hash = (37 * hash) + USER_PROJECT_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getUserProjectMessage().hashCode(); } if (hasSeverity()) { hash = (37 * hash) + SEVERITY_FIELD_NUMBER; hash = (53 * hash) + getSeverity().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages 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.RuntimePb.UPResponse.LogMessages 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; } /** *
       * Optional messages to write to the tenant and user projects.
       * 
* * Protobuf type {@code java.apphosting.UPResponse.LogMessages} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UPResponse.LogMessages) com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_LogMessages_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_LogMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tenantProjectMessage_ = ""; userProjectMessage_ = ""; severity_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_LogMessages_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages build() { com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages buildPartial() { com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages result = new com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.tenantProjectMessage_ = tenantProjectMessage_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.userProjectMessage_ = userProjectMessage_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.severity_ = severity_; to_bitField0_ |= 0x00000004; } 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.RuntimePb.UPResponse.LogMessages) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages other) { if (other == com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.getDefaultInstance()) return this; if (other.hasTenantProjectMessage()) { tenantProjectMessage_ = other.tenantProjectMessage_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasUserProjectMessage()) { userProjectMessage_ = other.userProjectMessage_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasSeverity()) { severity_ = other.severity_; bitField0_ |= 0x00000004; 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: { tenantProjectMessage_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { userProjectMessage_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { severity_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 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 tenantProjectMessage_ = ""; /** * optional string tenant_project_message = 1; * @return Whether the tenantProjectMessage field is set. */ public boolean hasTenantProjectMessage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string tenant_project_message = 1; * @return The tenantProjectMessage. */ public java.lang.String getTenantProjectMessage() { java.lang.Object ref = tenantProjectMessage_; 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()) { tenantProjectMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string tenant_project_message = 1; * @return The bytes for tenantProjectMessage. */ public com.google.protobuf.ByteString getTenantProjectMessageBytes() { java.lang.Object ref = tenantProjectMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tenantProjectMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string tenant_project_message = 1; * @param value The tenantProjectMessage to set. * @return This builder for chaining. */ public Builder setTenantProjectMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tenantProjectMessage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional string tenant_project_message = 1; * @return This builder for chaining. */ public Builder clearTenantProjectMessage() { tenantProjectMessage_ = getDefaultInstance().getTenantProjectMessage(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * optional string tenant_project_message = 1; * @param value The bytes for tenantProjectMessage to set. * @return This builder for chaining. */ public Builder setTenantProjectMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tenantProjectMessage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object userProjectMessage_ = ""; /** * optional string user_project_message = 2; * @return Whether the userProjectMessage field is set. */ public boolean hasUserProjectMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string user_project_message = 2; * @return The userProjectMessage. */ public java.lang.String getUserProjectMessage() { java.lang.Object ref = userProjectMessage_; 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()) { userProjectMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string user_project_message = 2; * @return The bytes for userProjectMessage. */ public com.google.protobuf.ByteString getUserProjectMessageBytes() { java.lang.Object ref = userProjectMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userProjectMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string user_project_message = 2; * @param value The userProjectMessage to set. * @return This builder for chaining. */ public Builder setUserProjectMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userProjectMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string user_project_message = 2; * @return This builder for chaining. */ public Builder clearUserProjectMessage() { userProjectMessage_ = getDefaultInstance().getUserProjectMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string user_project_message = 2; * @param value The bytes for userProjectMessage to set. * @return This builder for chaining. */ public Builder setUserProjectMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userProjectMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object severity_ = ""; /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @return Whether the severity field is set. */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; 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()) { severity_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @return The bytes for severity. */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @param value The severity to set. * @return This builder for chaining. */ public Builder setSeverity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } severity_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @return This builder for chaining. */ public Builder clearSeverity() { severity_ = getDefaultInstance().getSeverity(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
         * This should either be empty, or the name of one of the values in the
         * google.logging.type.LogSeverity enum:
         * http://google3/google/logging/type/log_severity.proto?l=36&rcl=236227742
         * 
* * optional string severity = 3; * @param value The bytes for severity to set. * @return This builder for chaining. */ public Builder setSeverityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } severity_ = value; bitField0_ |= 0x00000004; 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.UPResponse.LogMessages) } // @@protoc_insertion_point(class_scope:java.apphosting.UPResponse.LogMessages) private static final com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages(); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogMessages 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.RuntimePb.UPResponse.LogMessages getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RuntimeLogLineOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UPResponse.RuntimeLogLine) com.google.protobuf.MessageOrBuilder { /** *
       * From base/log_severity.h.
       * 
* * required int32 severity = 11; * @return Whether the severity field is set. */ boolean hasSeverity(); /** *
       * From base/log_severity.h.
       * 
* * required int32 severity = 11; * @return The severity. */ int getSeverity(); /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return Whether the message field is set. */ boolean hasMessage(); /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return The message. */ java.lang.String getMessage(); /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** *
     * Log statements emitted by the runtime process using google3 logging
     * statements like LOG. Unlike LogLine above, which is full of application
     * logs, the contents of this array are not exposed back to the developer. It
     * is instead used to diagnose runtime bugs.
     * This array is meant to hold all log statements that were generated in
     * processing this request. In actuality it includes all log statements that
     * have occurred since the last request completed.
     * 
* * Protobuf type {@code java.apphosting.UPResponse.RuntimeLogLine} */ public static final class RuntimeLogLine extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UPResponse.RuntimeLogLine) RuntimeLogLineOrBuilder { private static final long serialVersionUID = 0L; // Use RuntimeLogLine.newBuilder() to construct. private RuntimeLogLine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RuntimeLogLine() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RuntimeLogLine(); } @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.RuntimePb.internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_RuntimeLogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder.class); } private int bitField0_; public static final int SEVERITY_FIELD_NUMBER = 11; private int severity_ = 0; /** *
       * From base/log_severity.h.
       * 
* * required int32 severity = 11; * @return Whether the severity field is set. */ @java.lang.Override public boolean hasSeverity() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * From base/log_severity.h.
       * 
* * required int32 severity = 11; * @return The severity. */ @java.lang.Override public int getSeverity() { return severity_; } public static final int MESSAGE_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return Whether the message field is set. */ @java.lang.Override public boolean hasMessage() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** *
       * The entire log line as it would have appeared in the runtime logs.
       * 
* * required string message = 12; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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; if (!hasSeverity()) { memoizedIsInitialized = 0; return false; } if (!hasMessage()) { 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.writeInt32(11, severity_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, message_); } 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 .computeInt32Size(11, severity_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, message_); } 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.RuntimePb.UPResponse.RuntimeLogLine)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine other = (com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine) obj; if (hasSeverity() != other.hasSeverity()) return false; if (hasSeverity()) { if (getSeverity() != other.getSeverity()) return false; } if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) 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 (hasSeverity()) { hash = (37 * hash) + SEVERITY_FIELD_NUMBER; hash = (53 * hash) + getSeverity(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine 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; } /** *
       * Log statements emitted by the runtime process using google3 logging
       * statements like LOG. Unlike LogLine above, which is full of application
       * logs, the contents of this array are not exposed back to the developer. It
       * is instead used to diagnose runtime bugs.
       * This array is meant to hold all log statements that were generated in
       * processing this request. In actuality it includes all log statements that
       * have occurred since the last request completed.
       * 
* * Protobuf type {@code java.apphosting.UPResponse.RuntimeLogLine} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UPResponse.RuntimeLogLine) com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_RuntimeLogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; severity_ = 0; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine build() { com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine buildPartial() { com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine result = new com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.severity_ = severity_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.message_ = message_; 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.base.protos.RuntimePb.UPResponse.RuntimeLogLine) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine other) { if (other == com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.getDefaultInstance()) return this; if (other.hasSeverity()) { setSeverity(other.getSeverity()); } if (other.hasMessage()) { message_ = other.message_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasSeverity()) { return false; } if (!hasMessage()) { 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 88: { severity_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 88 case 98: { message_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 98 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 int severity_ ; /** *
         * From base/log_severity.h.
         * 
* * required int32 severity = 11; * @return Whether the severity field is set. */ @java.lang.Override public boolean hasSeverity() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * From base/log_severity.h.
         * 
* * required int32 severity = 11; * @return The severity. */ @java.lang.Override public int getSeverity() { return severity_; } /** *
         * From base/log_severity.h.
         * 
* * required int32 severity = 11; * @param value The severity to set. * @return This builder for chaining. */ public Builder setSeverity(int value) { severity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
         * From base/log_severity.h.
         * 
* * required int32 severity = 11; * @return This builder for chaining. */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000001); severity_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @return Whether the message field is set. */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
         * The entire log line as it would have appeared in the runtime logs.
         * 
* * required string message = 12; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; 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.UPResponse.RuntimeLogLine) } // @@protoc_insertion_point(class_scope:java.apphosting.UPResponse.RuntimeLogLine) private static final com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine(); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RuntimeLogLine 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.RuntimePb.UPResponse.RuntimeLogLine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int ERROR_FIELD_NUMBER = 1; private int error_ = 0; /** * required int32 error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return ((bitField0_ & 0x00000001) != 0); } /** * required int32 error = 1; * @return The error. */ @java.lang.Override public int getError() { return error_; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return Whether the errorMessage field is set. */ @java.lang.Override public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } } /** *
     * Error message for appserver logs.
     * 
* * optional string error_message = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOG_MESSAGES_FIELD_NUMBER = 64; @SuppressWarnings("serial") private java.util.List logMessages_; /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ @java.lang.Override public java.util.List getLogMessagesList() { return logMessages_; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ @java.lang.Override public java.util.List getLogMessagesOrBuilderList() { return logMessages_; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ @java.lang.Override public int getLogMessagesCount() { return logMessages_.size(); } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages getLogMessages(int index) { return logMessages_.get(index); } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder getLogMessagesOrBuilder( int index) { return logMessages_.get(index); } public static final int HTTP_RESPONSE_FIELD_NUMBER = 3; private com.google.apphosting.base.protos.HttpPb.HttpResponse httpResponse_; /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return Whether the httpResponse field is set. */ @java.lang.Override public boolean hasHttpResponse() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return The httpResponse. */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.HttpResponse getHttpResponse() { return httpResponse_ == null ? com.google.apphosting.base.protos.HttpPb.HttpResponse.getDefaultInstance() : httpResponse_; } /** *
     * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
     * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder getHttpResponseOrBuilder() { return httpResponse_ == null ? com.google.apphosting.base.protos.HttpPb.HttpResponse.getDefaultInstance() : httpResponse_; } public static final int RUNTIME_HEADERS_FIELD_NUMBER = 15; @SuppressWarnings("serial") private java.util.List runtimeHeaders_; /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ @java.lang.Override public java.util.List getRuntimeHeadersList() { return runtimeHeaders_; } /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ @java.lang.Override public java.util.List getRuntimeHeadersOrBuilderList() { return runtimeHeaders_; } /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ @java.lang.Override public int getRuntimeHeadersCount() { return runtimeHeaders_.size(); } /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index) { return runtimeHeaders_.get(index); } /** *
     * Headers added by the runtime, not by the app (barring an exploit).  Not
     * trusted, these headers must pass a allowlist and validation before being
     * returned to the user.
     * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ @java.lang.Override public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index) { return runtimeHeaders_.get(index); } public static final int USER_MCYCLES_FIELD_NUMBER = 4; private long userMcycles_ = 0L; /** *
     * Our estimate of the number of user mega-cycles (1M cycles) spent
     * servicing this request.
     * 
* * optional int64 user_mcycles = 4; * @return Whether the userMcycles field is set. */ @java.lang.Override public boolean hasUserMcycles() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Our estimate of the number of user mega-cycles (1M cycles) spent
     * servicing this request.
     * 
* * optional int64 user_mcycles = 4; * @return The userMcycles. */ @java.lang.Override public long getUserMcycles() { return userMcycles_; } public static final int APP_LOG_FIELD_NUMBER = 26; @SuppressWarnings("serial") private java.util.List appLog_; /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ @java.lang.Override public java.util.List getAppLogList() { return appLog_; } /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ @java.lang.Override public java.util.List getAppLogOrBuilderList() { return appLog_; } /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ @java.lang.Override public int getAppLogCount() { return appLog_.size(); } /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ @java.lang.Override public com.google.apphosting.base.protos.AppLogsPb.AppLogLine getAppLog(int index) { return appLog_.get(index); } /** *
     * Log statements emitted by the sandbox application. These will be stored in
     * bigtable and made available to the developers depending on space
     * limitations.
     * The order of entries in this array must be the order in which the
     * statements were emitted by the sandbox application. Due to inaccuracies of
     * time computation, we do not require that 'timestamp_usec' be either
     * strictly increasing or strictly non-decreasing. The order of the messages
     * is more important than the values in 'timestamp_usec'.
     * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ @java.lang.Override public com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder getAppLogOrBuilder( int index) { return appLog_.get(index); } public static final int RUNTIMELOGLINE_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List runtimeLogLine_; /** * repeated group RuntimeLogLine = 10 { ... } */ @java.lang.Override public java.util.List getRuntimeLogLineList() { return runtimeLogLine_; } /** * repeated group RuntimeLogLine = 10 { ... } */ @java.lang.Override public java.util.List getRuntimeLogLineOrBuilderList() { return runtimeLogLine_; } /** * repeated group RuntimeLogLine = 10 { ... } */ @java.lang.Override public int getRuntimeLogLineCount() { return runtimeLogLine_.size(); } /** * repeated group RuntimeLogLine = 10 { ... } */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine getRuntimeLogLine(int index) { return runtimeLogLine_.get(index); } /** * repeated group RuntimeLogLine = 10 { ... } */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder getRuntimeLogLineOrBuilder( int index) { return runtimeLogLine_.get(index); } public static final int TERMINATE_CLONE_FIELD_NUMBER = 16; private boolean terminateClone_ = false; /** *
     * Did anything happen which made it unsafe for this clone to
     * process additional requests? This is used in
     * Clone Runtime --> Sandbox communication, and should not be used
     * elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool terminate_clone = 16 [default = false]; * @return Whether the terminateClone field is set. */ @java.lang.Override public boolean hasTerminateClone() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Did anything happen which made it unsafe for this clone to
     * process additional requests? This is used in
     * Clone Runtime --> Sandbox communication, and should not be used
     * elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool terminate_clone = 16 [default = false]; * @return The terminateClone. */ @java.lang.Override public boolean getTerminateClone() { return terminateClone_; } public static final int CLONE_IS_IN_UNCLEAN_STATE_FIELD_NUMBER = 42; private boolean cloneIsInUncleanState_ = false; /** *
     * Is the clone in an unclean state, preventing it from processing
     * additional requests? This flag constitutes a refinement of
     * terminate_clone above and should always be set in conjunction with it.
     * This is used in Clone Runtime --> Sandbox communication, and
     * should not be used elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return Whether the cloneIsInUncleanState field is set. */ @java.lang.Override public boolean hasCloneIsInUncleanState() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Is the clone in an unclean state, preventing it from processing
     * additional requests? This flag constitutes a refinement of
     * terminate_clone above and should always be set in conjunction with it.
     * This is used in Clone Runtime --> Sandbox communication, and
     * should not be used elsewhere. Use clone_exit_reason() instead.
     * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return The cloneIsInUncleanState. */ @java.lang.Override public boolean getCloneIsInUncleanState() { return cloneIsInUncleanState_; } public static final int SERIALIZED_TRACE_FIELD_NUMBER = 33; private com.google.protobuf.ByteString serializedTrace_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Serialized form of cloud.trace.TraceEventsProto.
     * We use the serialized form instead of the proto due to API version
     * incompatibility. runtime.proto requires Python and Java API v1 while
     * TraceEventsProto exposes v2.
     * 
* * optional bytes serialized_trace = 33; * @return Whether the serializedTrace field is set. */ @java.lang.Override public boolean hasSerializedTrace() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Serialized form of cloud.trace.TraceEventsProto.
     * We use the serialized form instead of the proto due to API version
     * incompatibility. runtime.proto requires Python and Java API v1 while
     * TraceEventsProto exposes v2.
     * 
* * optional bytes serialized_trace = 33; * @return The serializedTrace. */ @java.lang.Override public com.google.protobuf.ByteString getSerializedTrace() { return serializedTrace_; } public static final int PENDING_CLOUD_DEBUGGER_ACTION_FIELD_NUMBER = 39; private com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction pendingCloudDebuggerAction_; /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return Whether the pendingCloudDebuggerAction field is set. */ @java.lang.Override public boolean hasPendingCloudDebuggerAction() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return The pendingCloudDebuggerAction. */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction getPendingCloudDebuggerAction() { return pendingCloudDebuggerAction_ == null ? com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance() : pendingCloudDebuggerAction_; } /** *
     * If set, Cloud Debugger should be invoked to complete pending actions.
     * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder getPendingCloudDebuggerActionOrBuilder() { return pendingCloudDebuggerAction_ == null ? com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance() : pendingCloudDebuggerAction_; } 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 (!hasError()) { memoizedIsInitialized = 0; return false; } if (hasHttpResponse()) { if (!getHttpResponse().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getRuntimeHeadersCount(); i++) { if (!getRuntimeHeaders(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getAppLogCount(); i++) { if (!getAppLog(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getRuntimeLogLineCount(); i++) { if (!getRuntimeLogLine(i).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_ & 0x00000001) != 0)) { output.writeInt32(1, error_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getHttpResponse()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, userMcycles_); } for (int i = 0; i < runtimeLogLine_.size(); i++) { output.writeGroup(10, runtimeLogLine_.get(i)); } for (int i = 0; i < runtimeHeaders_.size(); i++) { output.writeMessage(15, runtimeHeaders_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(16, terminateClone_); } for (int i = 0; i < appLog_.size(); i++) { output.writeMessage(26, appLog_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBytes(33, serializedTrace_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(39, getPendingCloudDebuggerAction()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(42, cloneIsInUncleanState_); } for (int i = 0; i < logMessages_.size(); i++) { output.writeMessage(64, logMessages_.get(i)); } 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 .computeInt32Size(1, error_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHttpResponse()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, userMcycles_); } for (int i = 0; i < runtimeLogLine_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeGroupSize(10, runtimeLogLine_.get(i)); } for (int i = 0; i < runtimeHeaders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, runtimeHeaders_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, terminateClone_); } for (int i = 0; i < appLog_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, appLog_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(33, serializedTrace_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, getPendingCloudDebuggerAction()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(42, cloneIsInUncleanState_); } for (int i = 0; i < logMessages_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(64, logMessages_.get(i)); } 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.RuntimePb.UPResponse)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.UPResponse other = (com.google.apphosting.base.protos.RuntimePb.UPResponse) obj; if (hasError() != other.hasError()) return false; if (hasError()) { if (getError() != other.getError()) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) return false; } if (!getLogMessagesList() .equals(other.getLogMessagesList())) return false; if (hasHttpResponse() != other.hasHttpResponse()) return false; if (hasHttpResponse()) { if (!getHttpResponse() .equals(other.getHttpResponse())) return false; } if (!getRuntimeHeadersList() .equals(other.getRuntimeHeadersList())) return false; if (hasUserMcycles() != other.hasUserMcycles()) return false; if (hasUserMcycles()) { if (getUserMcycles() != other.getUserMcycles()) return false; } if (!getAppLogList() .equals(other.getAppLogList())) return false; if (!getRuntimeLogLineList() .equals(other.getRuntimeLogLineList())) return false; if (hasTerminateClone() != other.hasTerminateClone()) return false; if (hasTerminateClone()) { if (getTerminateClone() != other.getTerminateClone()) return false; } if (hasCloneIsInUncleanState() != other.hasCloneIsInUncleanState()) return false; if (hasCloneIsInUncleanState()) { if (getCloneIsInUncleanState() != other.getCloneIsInUncleanState()) return false; } if (hasSerializedTrace() != other.hasSerializedTrace()) return false; if (hasSerializedTrace()) { if (!getSerializedTrace() .equals(other.getSerializedTrace())) return false; } if (hasPendingCloudDebuggerAction() != other.hasPendingCloudDebuggerAction()) return false; if (hasPendingCloudDebuggerAction()) { if (!getPendingCloudDebuggerAction() .equals(other.getPendingCloudDebuggerAction())) 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 (hasError()) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError(); } if (hasErrorMessage()) { hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } if (getLogMessagesCount() > 0) { hash = (37 * hash) + LOG_MESSAGES_FIELD_NUMBER; hash = (53 * hash) + getLogMessagesList().hashCode(); } if (hasHttpResponse()) { hash = (37 * hash) + HTTP_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getHttpResponse().hashCode(); } if (getRuntimeHeadersCount() > 0) { hash = (37 * hash) + RUNTIME_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getRuntimeHeadersList().hashCode(); } if (hasUserMcycles()) { hash = (37 * hash) + USER_MCYCLES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserMcycles()); } if (getAppLogCount() > 0) { hash = (37 * hash) + APP_LOG_FIELD_NUMBER; hash = (53 * hash) + getAppLogList().hashCode(); } if (getRuntimeLogLineCount() > 0) { hash = (37 * hash) + RUNTIMELOGLINE_FIELD_NUMBER; hash = (53 * hash) + getRuntimeLogLineList().hashCode(); } if (hasTerminateClone()) { hash = (37 * hash) + TERMINATE_CLONE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTerminateClone()); } if (hasCloneIsInUncleanState()) { hash = (37 * hash) + CLONE_IS_IN_UNCLEAN_STATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCloneIsInUncleanState()); } if (hasSerializedTrace()) { hash = (37 * hash) + SERIALIZED_TRACE_FIELD_NUMBER; hash = (53 * hash) + getSerializedTrace().hashCode(); } if (hasPendingCloudDebuggerAction()) { hash = (37 * hash) + PENDING_CLOUD_DEBUGGER_ACTION_FIELD_NUMBER; hash = (53 * hash) + getPendingCloudDebuggerAction().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.UPResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse 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.RuntimePb.UPResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse 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.RuntimePb.UPResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse 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.RuntimePb.UPResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse 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.RuntimePb.UPResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse 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.RuntimePb.UPResponse 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.RuntimePb.UPResponse 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.RuntimePb.UPResponse 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; } /** *
     * Response to an EvaluationRuntime.HandleRequest call to a clone running on a
     * Gen 1 App Engine runtime (python27g, php55g, java8).
     * Next tag: 90
     * 
* * Protobuf type {@code java.apphosting.UPResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UPResponse) com.google.apphosting.base.protos.RuntimePb.UPResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPResponse.class, com.google.apphosting.base.protos.RuntimePb.UPResponse.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.UPResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogMessagesFieldBuilder(); getHttpResponseFieldBuilder(); getRuntimeHeadersFieldBuilder(); getAppLogFieldBuilder(); getRuntimeLogLineFieldBuilder(); getPendingCloudDebuggerActionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; error_ = 0; errorMessage_ = ""; if (logMessagesBuilder_ == null) { logMessages_ = java.util.Collections.emptyList(); } else { logMessages_ = null; logMessagesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); httpResponse_ = null; if (httpResponseBuilder_ != null) { httpResponseBuilder_.dispose(); httpResponseBuilder_ = null; } if (runtimeHeadersBuilder_ == null) { runtimeHeaders_ = java.util.Collections.emptyList(); } else { runtimeHeaders_ = null; runtimeHeadersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); userMcycles_ = 0L; if (appLogBuilder_ == null) { appLog_ = java.util.Collections.emptyList(); } else { appLog_ = null; appLogBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (runtimeLogLineBuilder_ == null) { runtimeLogLine_ = java.util.Collections.emptyList(); } else { runtimeLogLine_ = null; runtimeLogLineBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); terminateClone_ = false; cloneIsInUncleanState_ = false; serializedTrace_ = com.google.protobuf.ByteString.EMPTY; pendingCloudDebuggerAction_ = null; if (pendingCloudDebuggerActionBuilder_ != null) { pendingCloudDebuggerActionBuilder_.dispose(); pendingCloudDebuggerActionBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPResponse_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.UPResponse.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse build() { com.google.apphosting.base.protos.RuntimePb.UPResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPResponse buildPartial() { com.google.apphosting.base.protos.RuntimePb.UPResponse result = new com.google.apphosting.base.protos.RuntimePb.UPResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.base.protos.RuntimePb.UPResponse result) { if (logMessagesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { logMessages_ = java.util.Collections.unmodifiableList(logMessages_); bitField0_ = (bitField0_ & ~0x00000004); } result.logMessages_ = logMessages_; } else { result.logMessages_ = logMessagesBuilder_.build(); } if (runtimeHeadersBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { runtimeHeaders_ = java.util.Collections.unmodifiableList(runtimeHeaders_); bitField0_ = (bitField0_ & ~0x00000010); } result.runtimeHeaders_ = runtimeHeaders_; } else { result.runtimeHeaders_ = runtimeHeadersBuilder_.build(); } if (appLogBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { appLog_ = java.util.Collections.unmodifiableList(appLog_); bitField0_ = (bitField0_ & ~0x00000040); } result.appLog_ = appLog_; } else { result.appLog_ = appLogBuilder_.build(); } if (runtimeLogLineBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { runtimeLogLine_ = java.util.Collections.unmodifiableList(runtimeLogLine_); bitField0_ = (bitField0_ & ~0x00000080); } result.runtimeLogLine_ = runtimeLogLine_; } else { result.runtimeLogLine_ = runtimeLogLineBuilder_.build(); } } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.UPResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.error_ = error_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.errorMessage_ = errorMessage_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.httpResponse_ = httpResponseBuilder_ == null ? httpResponse_ : httpResponseBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.userMcycles_ = userMcycles_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000100) != 0)) { result.terminateClone_ = terminateClone_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000200) != 0)) { result.cloneIsInUncleanState_ = cloneIsInUncleanState_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000400) != 0)) { result.serializedTrace_ = serializedTrace_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000800) != 0)) { result.pendingCloudDebuggerAction_ = pendingCloudDebuggerActionBuilder_ == null ? pendingCloudDebuggerAction_ : pendingCloudDebuggerActionBuilder_.build(); to_bitField0_ |= 0x00000080; } 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.RuntimePb.UPResponse) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.UPResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.UPResponse other) { if (other == com.google.apphosting.base.protos.RuntimePb.UPResponse.getDefaultInstance()) return this; if (other.hasError()) { setError(other.getError()); } if (other.hasErrorMessage()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000002; onChanged(); } if (logMessagesBuilder_ == null) { if (!other.logMessages_.isEmpty()) { if (logMessages_.isEmpty()) { logMessages_ = other.logMessages_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureLogMessagesIsMutable(); logMessages_.addAll(other.logMessages_); } onChanged(); } } else { if (!other.logMessages_.isEmpty()) { if (logMessagesBuilder_.isEmpty()) { logMessagesBuilder_.dispose(); logMessagesBuilder_ = null; logMessages_ = other.logMessages_; bitField0_ = (bitField0_ & ~0x00000004); logMessagesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogMessagesFieldBuilder() : null; } else { logMessagesBuilder_.addAllMessages(other.logMessages_); } } } if (other.hasHttpResponse()) { mergeHttpResponse(other.getHttpResponse()); } if (runtimeHeadersBuilder_ == null) { if (!other.runtimeHeaders_.isEmpty()) { if (runtimeHeaders_.isEmpty()) { runtimeHeaders_ = other.runtimeHeaders_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.addAll(other.runtimeHeaders_); } onChanged(); } } else { if (!other.runtimeHeaders_.isEmpty()) { if (runtimeHeadersBuilder_.isEmpty()) { runtimeHeadersBuilder_.dispose(); runtimeHeadersBuilder_ = null; runtimeHeaders_ = other.runtimeHeaders_; bitField0_ = (bitField0_ & ~0x00000010); runtimeHeadersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRuntimeHeadersFieldBuilder() : null; } else { runtimeHeadersBuilder_.addAllMessages(other.runtimeHeaders_); } } } if (other.hasUserMcycles()) { setUserMcycles(other.getUserMcycles()); } if (appLogBuilder_ == null) { if (!other.appLog_.isEmpty()) { if (appLog_.isEmpty()) { appLog_ = other.appLog_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureAppLogIsMutable(); appLog_.addAll(other.appLog_); } onChanged(); } } else { if (!other.appLog_.isEmpty()) { if (appLogBuilder_.isEmpty()) { appLogBuilder_.dispose(); appLogBuilder_ = null; appLog_ = other.appLog_; bitField0_ = (bitField0_ & ~0x00000040); appLogBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAppLogFieldBuilder() : null; } else { appLogBuilder_.addAllMessages(other.appLog_); } } } if (runtimeLogLineBuilder_ == null) { if (!other.runtimeLogLine_.isEmpty()) { if (runtimeLogLine_.isEmpty()) { runtimeLogLine_ = other.runtimeLogLine_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.addAll(other.runtimeLogLine_); } onChanged(); } } else { if (!other.runtimeLogLine_.isEmpty()) { if (runtimeLogLineBuilder_.isEmpty()) { runtimeLogLineBuilder_.dispose(); runtimeLogLineBuilder_ = null; runtimeLogLine_ = other.runtimeLogLine_; bitField0_ = (bitField0_ & ~0x00000080); runtimeLogLineBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRuntimeLogLineFieldBuilder() : null; } else { runtimeLogLineBuilder_.addAllMessages(other.runtimeLogLine_); } } } if (other.hasTerminateClone()) { setTerminateClone(other.getTerminateClone()); } if (other.hasCloneIsInUncleanState()) { setCloneIsInUncleanState(other.getCloneIsInUncleanState()); } if (other.hasSerializedTrace()) { setSerializedTrace(other.getSerializedTrace()); } if (other.hasPendingCloudDebuggerAction()) { mergePendingCloudDebuggerAction(other.getPendingCloudDebuggerAction()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasError()) { return false; } if (hasHttpResponse()) { if (!getHttpResponse().isInitialized()) { return false; } } for (int i = 0; i < getRuntimeHeadersCount(); i++) { if (!getRuntimeHeaders(i).isInitialized()) { return false; } } for (int i = 0; i < getAppLogCount(); i++) { if (!getAppLog(i).isInitialized()) { return false; } } for (int i = 0; i < getRuntimeLogLineCount(); i++) { if (!getRuntimeLogLine(i).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 8: { error_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { errorMessage_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getHttpResponseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 26 case 32: { userMcycles_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 32 case 83: { com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine m = input.readGroup(10, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.PARSER, extensionRegistry); if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.add(m); } else { runtimeLogLineBuilder_.addMessage(m); } break; } // case 83 case 122: { com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader m = input.readMessage( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.PARSER, extensionRegistry); if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(m); } else { runtimeHeadersBuilder_.addMessage(m); } break; } // case 122 case 128: { terminateClone_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 128 case 210: { com.google.apphosting.base.protos.AppLogsPb.AppLogLine m = input.readMessage( com.google.apphosting.base.protos.AppLogsPb.AppLogLine.PARSER, extensionRegistry); if (appLogBuilder_ == null) { ensureAppLogIsMutable(); appLog_.add(m); } else { appLogBuilder_.addMessage(m); } break; } // case 210 case 266: { serializedTrace_ = input.readBytes(); bitField0_ |= 0x00000400; break; } // case 266 case 314: { input.readMessage( getPendingCloudDebuggerActionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 314 case 336: { cloneIsInUncleanState_ = input.readBool(); bitField0_ |= 0x00000200; break; } // case 336 case 514: { com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages m = input.readMessage( com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.PARSER, extensionRegistry); if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); logMessages_.add(m); } else { logMessagesBuilder_.addMessage(m); } break; } // case 514 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 int error_ ; /** * required int32 error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return ((bitField0_ & 0x00000001) != 0); } /** * required int32 error = 1; * @return The error. */ @java.lang.Override public int getError() { return error_; } /** * required int32 error = 1; * @param value The error to set. * @return This builder for chaining. */ public Builder setError(int value) { error_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required int32 error = 1; * @return This builder for chaining. */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000001); error_ = 0; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Error message for appserver logs.
       * 
* * optional string error_message = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List logMessages_ = java.util.Collections.emptyList(); private void ensureLogMessagesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { logMessages_ = new java.util.ArrayList(logMessages_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder> logMessagesBuilder_; /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public java.util.List getLogMessagesList() { if (logMessagesBuilder_ == null) { return java.util.Collections.unmodifiableList(logMessages_); } else { return logMessagesBuilder_.getMessageList(); } } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public int getLogMessagesCount() { if (logMessagesBuilder_ == null) { return logMessages_.size(); } else { return logMessagesBuilder_.getCount(); } } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages getLogMessages(int index) { if (logMessagesBuilder_ == null) { return logMessages_.get(index); } else { return logMessagesBuilder_.getMessage(index); } } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder setLogMessages( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages value) { if (logMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogMessagesIsMutable(); logMessages_.set(index, value); onChanged(); } else { logMessagesBuilder_.setMessage(index, value); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder setLogMessages( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder builderForValue) { if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); logMessages_.set(index, builderForValue.build()); onChanged(); } else { logMessagesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder addLogMessages(com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages value) { if (logMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogMessagesIsMutable(); logMessages_.add(value); onChanged(); } else { logMessagesBuilder_.addMessage(value); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder addLogMessages( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages value) { if (logMessagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogMessagesIsMutable(); logMessages_.add(index, value); onChanged(); } else { logMessagesBuilder_.addMessage(index, value); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder addLogMessages( com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder builderForValue) { if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); logMessages_.add(builderForValue.build()); onChanged(); } else { logMessagesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder addLogMessages( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder builderForValue) { if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); logMessages_.add(index, builderForValue.build()); onChanged(); } else { logMessagesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder addAllLogMessages( java.lang.Iterable values) { if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logMessages_); onChanged(); } else { logMessagesBuilder_.addAllMessages(values); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder clearLogMessages() { if (logMessagesBuilder_ == null) { logMessages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { logMessagesBuilder_.clear(); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public Builder removeLogMessages(int index) { if (logMessagesBuilder_ == null) { ensureLogMessagesIsMutable(); logMessages_.remove(index); onChanged(); } else { logMessagesBuilder_.remove(index); } return this; } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder getLogMessagesBuilder( int index) { return getLogMessagesFieldBuilder().getBuilder(index); } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder getLogMessagesOrBuilder( int index) { if (logMessagesBuilder_ == null) { return logMessages_.get(index); } else { return logMessagesBuilder_.getMessageOrBuilder(index); } } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public java.util.List getLogMessagesOrBuilderList() { if (logMessagesBuilder_ != null) { return logMessagesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logMessages_); } } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder addLogMessagesBuilder() { return getLogMessagesFieldBuilder().addBuilder( com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.getDefaultInstance()); } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder addLogMessagesBuilder( int index) { return getLogMessagesFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.getDefaultInstance()); } /** * repeated .java.apphosting.UPResponse.LogMessages log_messages = 64; */ public java.util.List getLogMessagesBuilderList() { return getLogMessagesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder> getLogMessagesFieldBuilder() { if (logMessagesBuilder_ == null) { logMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessages.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.LogMessagesOrBuilder>( logMessages_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); logMessages_ = null; } return logMessagesBuilder_; } private com.google.apphosting.base.protos.HttpPb.HttpResponse httpResponse_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpResponse, com.google.apphosting.base.protos.HttpPb.HttpResponse.Builder, com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder> httpResponseBuilder_; /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return Whether the httpResponse field is set. */ public boolean hasHttpResponse() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; * @return The httpResponse. */ public com.google.apphosting.base.protos.HttpPb.HttpResponse getHttpResponse() { if (httpResponseBuilder_ == null) { return httpResponse_ == null ? com.google.apphosting.base.protos.HttpPb.HttpResponse.getDefaultInstance() : httpResponse_; } else { return httpResponseBuilder_.getMessage(); } } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public Builder setHttpResponse(com.google.apphosting.base.protos.HttpPb.HttpResponse value) { if (httpResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } httpResponse_ = value; } else { httpResponseBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public Builder setHttpResponse( com.google.apphosting.base.protos.HttpPb.HttpResponse.Builder builderForValue) { if (httpResponseBuilder_ == null) { httpResponse_ = builderForValue.build(); } else { httpResponseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public Builder mergeHttpResponse(com.google.apphosting.base.protos.HttpPb.HttpResponse value) { if (httpResponseBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && httpResponse_ != null && httpResponse_ != com.google.apphosting.base.protos.HttpPb.HttpResponse.getDefaultInstance()) { getHttpResponseBuilder().mergeFrom(value); } else { httpResponse_ = value; } } else { httpResponseBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public Builder clearHttpResponse() { bitField0_ = (bitField0_ & ~0x00000008); httpResponse_ = null; if (httpResponseBuilder_ != null) { httpResponseBuilder_.dispose(); httpResponseBuilder_ = null; } onChanged(); return this; } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public com.google.apphosting.base.protos.HttpPb.HttpResponse.Builder getHttpResponseBuilder() { bitField0_ |= 0x00000008; onChanged(); return getHttpResponseFieldBuilder().getBuilder(); } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ public com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder getHttpResponseOrBuilder() { if (httpResponseBuilder_ != null) { return httpResponseBuilder_.getMessageOrBuilder(); } else { return httpResponse_ == null ? com.google.apphosting.base.protos.HttpPb.HttpResponse.getDefaultInstance() : httpResponse_; } } /** *
       * If 'http_response' is empty, assume the response PB is in 'shared_buffer'
       * 
* * optional .java.apphosting.HttpResponse http_response = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpResponse, com.google.apphosting.base.protos.HttpPb.HttpResponse.Builder, com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder> getHttpResponseFieldBuilder() { if (httpResponseBuilder_ == null) { httpResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.HttpResponse, com.google.apphosting.base.protos.HttpPb.HttpResponse.Builder, com.google.apphosting.base.protos.HttpPb.HttpResponseOrBuilder>( getHttpResponse(), getParentForChildren(), isClean()); httpResponse_ = null; } return httpResponseBuilder_; } private java.util.List runtimeHeaders_ = java.util.Collections.emptyList(); private void ensureRuntimeHeadersIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { runtimeHeaders_ = new java.util.ArrayList(runtimeHeaders_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder> runtimeHeadersBuilder_; /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public java.util.List getRuntimeHeadersList() { if (runtimeHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(runtimeHeaders_); } else { return runtimeHeadersBuilder_.getMessageList(); } } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public int getRuntimeHeadersCount() { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.size(); } else { return runtimeHeadersBuilder_.getCount(); } } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader getRuntimeHeaders(int index) { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.get(index); } else { return runtimeHeadersBuilder_.getMessage(index); } } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder setRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.set(index, value); onChanged(); } else { runtimeHeadersBuilder_.setMessage(index, value); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder setRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.set(index, builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder addRuntimeHeaders(com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(value); onChanged(); } else { runtimeHeadersBuilder_.addMessage(value); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder addRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader value) { if (runtimeHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(index, value); onChanged(); } else { runtimeHeadersBuilder_.addMessage(index, value); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder addRuntimeHeaders( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder addRuntimeHeaders( int index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder builderForValue) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.add(index, builderForValue.build()); onChanged(); } else { runtimeHeadersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder addAllRuntimeHeaders( java.lang.Iterable values) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, runtimeHeaders_); onChanged(); } else { runtimeHeadersBuilder_.addAllMessages(values); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder clearRuntimeHeaders() { if (runtimeHeadersBuilder_ == null) { runtimeHeaders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { runtimeHeadersBuilder_.clear(); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public Builder removeRuntimeHeaders(int index) { if (runtimeHeadersBuilder_ == null) { ensureRuntimeHeadersIsMutable(); runtimeHeaders_.remove(index); onChanged(); } else { runtimeHeadersBuilder_.remove(index); } return this; } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder getRuntimeHeadersBuilder( int index) { return getRuntimeHeadersFieldBuilder().getBuilder(index); } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder getRuntimeHeadersOrBuilder( int index) { if (runtimeHeadersBuilder_ == null) { return runtimeHeaders_.get(index); } else { return runtimeHeadersBuilder_.getMessageOrBuilder(index); } } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public java.util.List getRuntimeHeadersOrBuilderList() { if (runtimeHeadersBuilder_ != null) { return runtimeHeadersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(runtimeHeaders_); } } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder addRuntimeHeadersBuilder() { return getRuntimeHeadersFieldBuilder().addBuilder( com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.getDefaultInstance()); } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder addRuntimeHeadersBuilder( int index) { return getRuntimeHeadersFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.getDefaultInstance()); } /** *
       * Headers added by the runtime, not by the app (barring an exploit).  Not
       * trusted, these headers must pass a allowlist and validation before being
       * returned to the user.
       * 
* * repeated .java.apphosting.ParsedHttpHeader runtime_headers = 15; */ public java.util.List getRuntimeHeadersBuilderList() { return getRuntimeHeadersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder> getRuntimeHeadersFieldBuilder() { if (runtimeHeadersBuilder_ == null) { runtimeHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeader.Builder, com.google.apphosting.base.protos.HttpPb.ParsedHttpHeaderOrBuilder>( runtimeHeaders_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); runtimeHeaders_ = null; } return runtimeHeadersBuilder_; } private long userMcycles_ ; /** *
       * Our estimate of the number of user mega-cycles (1M cycles) spent
       * servicing this request.
       * 
* * optional int64 user_mcycles = 4; * @return Whether the userMcycles field is set. */ @java.lang.Override public boolean hasUserMcycles() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Our estimate of the number of user mega-cycles (1M cycles) spent
       * servicing this request.
       * 
* * optional int64 user_mcycles = 4; * @return The userMcycles. */ @java.lang.Override public long getUserMcycles() { return userMcycles_; } /** *
       * Our estimate of the number of user mega-cycles (1M cycles) spent
       * servicing this request.
       * 
* * optional int64 user_mcycles = 4; * @param value The userMcycles to set. * @return This builder for chaining. */ public Builder setUserMcycles(long value) { userMcycles_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Our estimate of the number of user mega-cycles (1M cycles) spent
       * servicing this request.
       * 
* * optional int64 user_mcycles = 4; * @return This builder for chaining. */ public Builder clearUserMcycles() { bitField0_ = (bitField0_ & ~0x00000020); userMcycles_ = 0L; onChanged(); return this; } private java.util.List appLog_ = java.util.Collections.emptyList(); private void ensureAppLogIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { appLog_ = new java.util.ArrayList(appLog_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.AppLogsPb.AppLogLine, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder, com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder> appLogBuilder_; /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public java.util.List getAppLogList() { if (appLogBuilder_ == null) { return java.util.Collections.unmodifiableList(appLog_); } else { return appLogBuilder_.getMessageList(); } } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public int getAppLogCount() { if (appLogBuilder_ == null) { return appLog_.size(); } else { return appLogBuilder_.getCount(); } } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public com.google.apphosting.base.protos.AppLogsPb.AppLogLine getAppLog(int index) { if (appLogBuilder_ == null) { return appLog_.get(index); } else { return appLogBuilder_.getMessage(index); } } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder setAppLog( int index, com.google.apphosting.base.protos.AppLogsPb.AppLogLine value) { if (appLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAppLogIsMutable(); appLog_.set(index, value); onChanged(); } else { appLogBuilder_.setMessage(index, value); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder setAppLog( int index, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder builderForValue) { if (appLogBuilder_ == null) { ensureAppLogIsMutable(); appLog_.set(index, builderForValue.build()); onChanged(); } else { appLogBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder addAppLog(com.google.apphosting.base.protos.AppLogsPb.AppLogLine value) { if (appLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAppLogIsMutable(); appLog_.add(value); onChanged(); } else { appLogBuilder_.addMessage(value); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder addAppLog( int index, com.google.apphosting.base.protos.AppLogsPb.AppLogLine value) { if (appLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAppLogIsMutable(); appLog_.add(index, value); onChanged(); } else { appLogBuilder_.addMessage(index, value); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder addAppLog( com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder builderForValue) { if (appLogBuilder_ == null) { ensureAppLogIsMutable(); appLog_.add(builderForValue.build()); onChanged(); } else { appLogBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder addAppLog( int index, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder builderForValue) { if (appLogBuilder_ == null) { ensureAppLogIsMutable(); appLog_.add(index, builderForValue.build()); onChanged(); } else { appLogBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder addAllAppLog( java.lang.Iterable values) { if (appLogBuilder_ == null) { ensureAppLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, appLog_); onChanged(); } else { appLogBuilder_.addAllMessages(values); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder clearAppLog() { if (appLogBuilder_ == null) { appLog_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { appLogBuilder_.clear(); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public Builder removeAppLog(int index) { if (appLogBuilder_ == null) { ensureAppLogIsMutable(); appLog_.remove(index); onChanged(); } else { appLogBuilder_.remove(index); } return this; } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder getAppLogBuilder( int index) { return getAppLogFieldBuilder().getBuilder(index); } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder getAppLogOrBuilder( int index) { if (appLogBuilder_ == null) { return appLog_.get(index); } else { return appLogBuilder_.getMessageOrBuilder(index); } } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public java.util.List getAppLogOrBuilderList() { if (appLogBuilder_ != null) { return appLogBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(appLog_); } } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder addAppLogBuilder() { return getAppLogFieldBuilder().addBuilder( com.google.apphosting.base.protos.AppLogsPb.AppLogLine.getDefaultInstance()); } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder addAppLogBuilder( int index) { return getAppLogFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.getDefaultInstance()); } /** *
       * Log statements emitted by the sandbox application. These will be stored in
       * bigtable and made available to the developers depending on space
       * limitations.
       * The order of entries in this array must be the order in which the
       * statements were emitted by the sandbox application. Due to inaccuracies of
       * time computation, we do not require that 'timestamp_usec' be either
       * strictly increasing or strictly non-decreasing. The order of the messages
       * is more important than the values in 'timestamp_usec'.
       * 
* * repeated .java.apphosting.AppLogLine app_log = 26; */ public java.util.List getAppLogBuilderList() { return getAppLogFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.AppLogsPb.AppLogLine, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder, com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder> getAppLogFieldBuilder() { if (appLogBuilder_ == null) { appLogBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.AppLogsPb.AppLogLine, com.google.apphosting.base.protos.AppLogsPb.AppLogLine.Builder, com.google.apphosting.base.protos.AppLogsPb.AppLogLineOrBuilder>( appLog_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); appLog_ = null; } return appLogBuilder_; } private java.util.List runtimeLogLine_ = java.util.Collections.emptyList(); private void ensureRuntimeLogLineIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { runtimeLogLine_ = new java.util.ArrayList(runtimeLogLine_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder> runtimeLogLineBuilder_; /** * repeated group RuntimeLogLine = 10 { ... } */ public java.util.List getRuntimeLogLineList() { if (runtimeLogLineBuilder_ == null) { return java.util.Collections.unmodifiableList(runtimeLogLine_); } else { return runtimeLogLineBuilder_.getMessageList(); } } /** * repeated group RuntimeLogLine = 10 { ... } */ public int getRuntimeLogLineCount() { if (runtimeLogLineBuilder_ == null) { return runtimeLogLine_.size(); } else { return runtimeLogLineBuilder_.getCount(); } } /** * repeated group RuntimeLogLine = 10 { ... } */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine getRuntimeLogLine(int index) { if (runtimeLogLineBuilder_ == null) { return runtimeLogLine_.get(index); } else { return runtimeLogLineBuilder_.getMessage(index); } } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder setRuntimeLogLine( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine value) { if (runtimeLogLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeLogLineIsMutable(); runtimeLogLine_.set(index, value); onChanged(); } else { runtimeLogLineBuilder_.setMessage(index, value); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder setRuntimeLogLine( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder builderForValue) { if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.set(index, builderForValue.build()); onChanged(); } else { runtimeLogLineBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder addRuntimeLogLine(com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine value) { if (runtimeLogLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeLogLineIsMutable(); runtimeLogLine_.add(value); onChanged(); } else { runtimeLogLineBuilder_.addMessage(value); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder addRuntimeLogLine( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine value) { if (runtimeLogLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRuntimeLogLineIsMutable(); runtimeLogLine_.add(index, value); onChanged(); } else { runtimeLogLineBuilder_.addMessage(index, value); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder addRuntimeLogLine( com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder builderForValue) { if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.add(builderForValue.build()); onChanged(); } else { runtimeLogLineBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder addRuntimeLogLine( int index, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder builderForValue) { if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.add(index, builderForValue.build()); onChanged(); } else { runtimeLogLineBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder addAllRuntimeLogLine( java.lang.Iterable values) { if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, runtimeLogLine_); onChanged(); } else { runtimeLogLineBuilder_.addAllMessages(values); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder clearRuntimeLogLine() { if (runtimeLogLineBuilder_ == null) { runtimeLogLine_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { runtimeLogLineBuilder_.clear(); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public Builder removeRuntimeLogLine(int index) { if (runtimeLogLineBuilder_ == null) { ensureRuntimeLogLineIsMutable(); runtimeLogLine_.remove(index); onChanged(); } else { runtimeLogLineBuilder_.remove(index); } return this; } /** * repeated group RuntimeLogLine = 10 { ... } */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder getRuntimeLogLineBuilder( int index) { return getRuntimeLogLineFieldBuilder().getBuilder(index); } /** * repeated group RuntimeLogLine = 10 { ... } */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder getRuntimeLogLineOrBuilder( int index) { if (runtimeLogLineBuilder_ == null) { return runtimeLogLine_.get(index); } else { return runtimeLogLineBuilder_.getMessageOrBuilder(index); } } /** * repeated group RuntimeLogLine = 10 { ... } */ public java.util.List getRuntimeLogLineOrBuilderList() { if (runtimeLogLineBuilder_ != null) { return runtimeLogLineBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(runtimeLogLine_); } } /** * repeated group RuntimeLogLine = 10 { ... } */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder addRuntimeLogLineBuilder() { return getRuntimeLogLineFieldBuilder().addBuilder( com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.getDefaultInstance()); } /** * repeated group RuntimeLogLine = 10 { ... } */ public com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder addRuntimeLogLineBuilder( int index) { return getRuntimeLogLineFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.getDefaultInstance()); } /** * repeated group RuntimeLogLine = 10 { ... } */ public java.util.List getRuntimeLogLineBuilderList() { return getRuntimeLogLineFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder> getRuntimeLogLineFieldBuilder() { if (runtimeLogLineBuilder_ == null) { runtimeLogLineBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLine.Builder, com.google.apphosting.base.protos.RuntimePb.UPResponse.RuntimeLogLineOrBuilder>( runtimeLogLine_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); runtimeLogLine_ = null; } return runtimeLogLineBuilder_; } private boolean terminateClone_ ; /** *
       * Did anything happen which made it unsafe for this clone to
       * process additional requests? This is used in
       * Clone Runtime --> Sandbox communication, and should not be used
       * elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool terminate_clone = 16 [default = false]; * @return Whether the terminateClone field is set. */ @java.lang.Override public boolean hasTerminateClone() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Did anything happen which made it unsafe for this clone to
       * process additional requests? This is used in
       * Clone Runtime --> Sandbox communication, and should not be used
       * elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool terminate_clone = 16 [default = false]; * @return The terminateClone. */ @java.lang.Override public boolean getTerminateClone() { return terminateClone_; } /** *
       * Did anything happen which made it unsafe for this clone to
       * process additional requests? This is used in
       * Clone Runtime --> Sandbox communication, and should not be used
       * elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool terminate_clone = 16 [default = false]; * @param value The terminateClone to set. * @return This builder for chaining. */ public Builder setTerminateClone(boolean value) { terminateClone_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Did anything happen which made it unsafe for this clone to
       * process additional requests? This is used in
       * Clone Runtime --> Sandbox communication, and should not be used
       * elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool terminate_clone = 16 [default = false]; * @return This builder for chaining. */ public Builder clearTerminateClone() { bitField0_ = (bitField0_ & ~0x00000100); terminateClone_ = false; onChanged(); return this; } private boolean cloneIsInUncleanState_ ; /** *
       * Is the clone in an unclean state, preventing it from processing
       * additional requests? This flag constitutes a refinement of
       * terminate_clone above and should always be set in conjunction with it.
       * This is used in Clone Runtime --> Sandbox communication, and
       * should not be used elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return Whether the cloneIsInUncleanState field is set. */ @java.lang.Override public boolean hasCloneIsInUncleanState() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Is the clone in an unclean state, preventing it from processing
       * additional requests? This flag constitutes a refinement of
       * terminate_clone above and should always be set in conjunction with it.
       * This is used in Clone Runtime --> Sandbox communication, and
       * should not be used elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return The cloneIsInUncleanState. */ @java.lang.Override public boolean getCloneIsInUncleanState() { return cloneIsInUncleanState_; } /** *
       * Is the clone in an unclean state, preventing it from processing
       * additional requests? This flag constitutes a refinement of
       * terminate_clone above and should always be set in conjunction with it.
       * This is used in Clone Runtime --> Sandbox communication, and
       * should not be used elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @param value The cloneIsInUncleanState to set. * @return This builder for chaining. */ public Builder setCloneIsInUncleanState(boolean value) { cloneIsInUncleanState_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Is the clone in an unclean state, preventing it from processing
       * additional requests? This flag constitutes a refinement of
       * terminate_clone above and should always be set in conjunction with it.
       * This is used in Clone Runtime --> Sandbox communication, and
       * should not be used elsewhere. Use clone_exit_reason() instead.
       * 
* * optional bool clone_is_in_unclean_state = 42 [default = false]; * @return This builder for chaining. */ public Builder clearCloneIsInUncleanState() { bitField0_ = (bitField0_ & ~0x00000200); cloneIsInUncleanState_ = false; onChanged(); return this; } private com.google.protobuf.ByteString serializedTrace_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Serialized form of cloud.trace.TraceEventsProto.
       * We use the serialized form instead of the proto due to API version
       * incompatibility. runtime.proto requires Python and Java API v1 while
       * TraceEventsProto exposes v2.
       * 
* * optional bytes serialized_trace = 33; * @return Whether the serializedTrace field is set. */ @java.lang.Override public boolean hasSerializedTrace() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Serialized form of cloud.trace.TraceEventsProto.
       * We use the serialized form instead of the proto due to API version
       * incompatibility. runtime.proto requires Python and Java API v1 while
       * TraceEventsProto exposes v2.
       * 
* * optional bytes serialized_trace = 33; * @return The serializedTrace. */ @java.lang.Override public com.google.protobuf.ByteString getSerializedTrace() { return serializedTrace_; } /** *
       * Serialized form of cloud.trace.TraceEventsProto.
       * We use the serialized form instead of the proto due to API version
       * incompatibility. runtime.proto requires Python and Java API v1 while
       * TraceEventsProto exposes v2.
       * 
* * optional bytes serialized_trace = 33; * @param value The serializedTrace to set. * @return This builder for chaining. */ public Builder setSerializedTrace(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } serializedTrace_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Serialized form of cloud.trace.TraceEventsProto.
       * We use the serialized form instead of the proto due to API version
       * incompatibility. runtime.proto requires Python and Java API v1 while
       * TraceEventsProto exposes v2.
       * 
* * optional bytes serialized_trace = 33; * @return This builder for chaining. */ public Builder clearSerializedTrace() { bitField0_ = (bitField0_ & ~0x00000400); serializedTrace_ = getDefaultInstance().getSerializedTrace(); onChanged(); return this; } private com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction pendingCloudDebuggerAction_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder> pendingCloudDebuggerActionBuilder_; /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return Whether the pendingCloudDebuggerAction field is set. */ public boolean hasPendingCloudDebuggerAction() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; * @return The pendingCloudDebuggerAction. */ public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction getPendingCloudDebuggerAction() { if (pendingCloudDebuggerActionBuilder_ == null) { return pendingCloudDebuggerAction_ == null ? com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance() : pendingCloudDebuggerAction_; } else { return pendingCloudDebuggerActionBuilder_.getMessage(); } } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public Builder setPendingCloudDebuggerAction(com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction value) { if (pendingCloudDebuggerActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pendingCloudDebuggerAction_ = value; } else { pendingCloudDebuggerActionBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public Builder setPendingCloudDebuggerAction( com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder builderForValue) { if (pendingCloudDebuggerActionBuilder_ == null) { pendingCloudDebuggerAction_ = builderForValue.build(); } else { pendingCloudDebuggerActionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public Builder mergePendingCloudDebuggerAction(com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction value) { if (pendingCloudDebuggerActionBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && pendingCloudDebuggerAction_ != null && pendingCloudDebuggerAction_ != com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance()) { getPendingCloudDebuggerActionBuilder().mergeFrom(value); } else { pendingCloudDebuggerAction_ = value; } } else { pendingCloudDebuggerActionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public Builder clearPendingCloudDebuggerAction() { bitField0_ = (bitField0_ & ~0x00000800); pendingCloudDebuggerAction_ = null; if (pendingCloudDebuggerActionBuilder_ != null) { pendingCloudDebuggerActionBuilder_.dispose(); pendingCloudDebuggerActionBuilder_ = null; } onChanged(); return this; } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder getPendingCloudDebuggerActionBuilder() { bitField0_ |= 0x00000800; onChanged(); return getPendingCloudDebuggerActionFieldBuilder().getBuilder(); } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ public com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder getPendingCloudDebuggerActionOrBuilder() { if (pendingCloudDebuggerActionBuilder_ != null) { return pendingCloudDebuggerActionBuilder_.getMessageOrBuilder(); } else { return pendingCloudDebuggerAction_ == null ? com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.getDefaultInstance() : pendingCloudDebuggerAction_; } } /** *
       * If set, Cloud Debugger should be invoked to complete pending actions.
       * 
* * optional .java.apphosting.PendingCloudDebuggerAction pending_cloud_debugger_action = 39; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder> getPendingCloudDebuggerActionFieldBuilder() { if (pendingCloudDebuggerActionBuilder_ == null) { pendingCloudDebuggerActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerAction.Builder, com.google.apphosting.base.protos.RuntimePb.PendingCloudDebuggerActionOrBuilder>( getPendingCloudDebuggerAction(), getParentForChildren(), isClean()); pendingCloudDebuggerAction_ = null; } return pendingCloudDebuggerActionBuilder_; } @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.UPResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.UPResponse) private static final com.google.apphosting.base.protos.RuntimePb.UPResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.UPResponse(); } public static com.google.apphosting.base.protos.RuntimePb.UPResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UPResponse 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.RuntimePb.UPResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UPAddDeleteOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UPAddDelete) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code java.apphosting.UPAddDelete} */ public static final class UPAddDelete extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UPAddDelete) UPAddDeleteOrBuilder { private static final long serialVersionUID = 0L; // Use UPAddDelete.newBuilder() to construct. private UPAddDelete(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UPAddDelete() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UPAddDelete(); } @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.RuntimePb.internal_static_java_apphosting_UPAddDelete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPAddDelete_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPAddDelete.class, com.google.apphosting.base.protos.RuntimePb.UPAddDelete.Builder.class); } /** * Protobuf enum {@code java.apphosting.UPAddDelete.ERROR} */ public enum ERROR implements com.google.protobuf.ProtocolMessageEnum { /** * FAILURE = 1; */ FAILURE(1), ; /** * FAILURE = 1; */ public static final int FAILURE_VALUE = 1; 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 ERROR 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 ERROR forNumber(int value) { switch (value) { case 1: return FAILURE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ERROR> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ERROR findValueByNumber(int number) { return ERROR.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.RuntimePb.UPAddDelete.getDescriptor().getEnumTypes().get(0); } private static final ERROR[] VALUES = values(); public static ERROR 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 ERROR(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.UPAddDelete.ERROR) } 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.RuntimePb.UPAddDelete)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.UPAddDelete other = (com.google.apphosting.base.protos.RuntimePb.UPAddDelete) 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.RuntimePb.UPAddDelete parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete 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.RuntimePb.UPAddDelete 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.UPAddDelete} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UPAddDelete) com.google.apphosting.base.protos.RuntimePb.UPAddDeleteOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPAddDelete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_UPAddDelete_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.UPAddDelete.class, com.google.apphosting.base.protos.RuntimePb.UPAddDelete.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.UPAddDelete.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.RuntimePb.internal_static_java_apphosting_UPAddDelete_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPAddDelete getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.UPAddDelete.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPAddDelete build() { com.google.apphosting.base.protos.RuntimePb.UPAddDelete result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.UPAddDelete buildPartial() { com.google.apphosting.base.protos.RuntimePb.UPAddDelete result = new com.google.apphosting.base.protos.RuntimePb.UPAddDelete(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.RuntimePb.UPAddDelete) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.UPAddDelete)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.UPAddDelete other) { if (other == com.google.apphosting.base.protos.RuntimePb.UPAddDelete.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.UPAddDelete) } // @@protoc_insertion_point(class_scope:java.apphosting.UPAddDelete) private static final com.google.apphosting.base.protos.RuntimePb.UPAddDelete DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.UPAddDelete(); } public static com.google.apphosting.base.protos.RuntimePb.UPAddDelete getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UPAddDelete 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.RuntimePb.UPAddDelete getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.APIRequest) com.google.protobuf.MessageOrBuilder { /** * required string api_package = 1; * @return Whether the apiPackage field is set. */ boolean hasApiPackage(); /** * required string api_package = 1; * @return The apiPackage. */ java.lang.String getApiPackage(); /** * required string api_package = 1; * @return The bytes for apiPackage. */ com.google.protobuf.ByteString getApiPackageBytes(); /** * required string call = 2; * @return Whether the call field is set. */ boolean hasCall(); /** * required string call = 2; * @return The call. */ java.lang.String getCall(); /** * required string call = 2; * @return The bytes for call. */ com.google.protobuf.ByteString getCallBytes(); /** * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ boolean hasPb(); /** * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ com.google.protobuf.ByteString getPb(); /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ boolean hasSecurityTicket(); /** * required string security_ticket = 4; * @return The securityTicket. */ java.lang.String getSecurityTicket(); /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ com.google.protobuf.ByteString getSecurityTicketBytes(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return Whether the traceContext field is set. */ boolean hasTraceContext(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return The traceContext. */ com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext(); /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder(); } /** *
   * Serialized version of a specific API call. The package and the call
   * indicate what PB definition to use. The pb field contains the
   * protocol buffer itself in bytes.
   * Next tag: 9
   * 
* * Protobuf type {@code java.apphosting.APIRequest} */ public static final class APIRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.APIRequest) APIRequestOrBuilder { private static final long serialVersionUID = 0L; // Use APIRequest.newBuilder() to construct. private APIRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIRequest() { apiPackage_ = ""; call_ = ""; pb_ = com.google.protobuf.ByteString.EMPTY; securityTicket_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new APIRequest(); } @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.RuntimePb.internal_static_java_apphosting_APIRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.APIRequest.class, com.google.apphosting.base.protos.RuntimePb.APIRequest.Builder.class); } private int bitField0_; public static final int API_PACKAGE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object apiPackage_ = ""; /** * required string api_package = 1; * @return Whether the apiPackage field is set. */ @java.lang.Override public boolean hasApiPackage() { return ((bitField0_ & 0x00000001) != 0); } /** * required string api_package = 1; * @return The apiPackage. */ @java.lang.Override public java.lang.String getApiPackage() { java.lang.Object ref = apiPackage_; 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()) { apiPackage_ = s; } return s; } } /** * required string api_package = 1; * @return The bytes for apiPackage. */ @java.lang.Override public com.google.protobuf.ByteString getApiPackageBytes() { java.lang.Object ref = apiPackage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiPackage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object call_ = ""; /** * required string call = 2; * @return Whether the call field is set. */ @java.lang.Override public boolean hasCall() { return ((bitField0_ & 0x00000002) != 0); } /** * required string call = 2; * @return The call. */ @java.lang.Override public java.lang.String getCall() { java.lang.Object ref = call_; 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()) { call_ = s; } return s; } } /** * required string call = 2; * @return The bytes for call. */ @java.lang.Override public com.google.protobuf.ByteString getCallBytes() { java.lang.Object ref = call_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); call_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PB_FIELD_NUMBER = 3; private com.google.protobuf.ByteString pb_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ @java.lang.Override public boolean hasPb() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ @java.lang.Override public com.google.protobuf.ByteString getPb() { return pb_; } public static final int SECURITY_TICKET_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object securityTicket_ = ""; /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ @java.lang.Override public boolean hasSecurityTicket() { return ((bitField0_ & 0x00000008) != 0); } /** * required string security_ticket = 4; * @return The securityTicket. */ @java.lang.Override public java.lang.String getSecurityTicket() { java.lang.Object ref = securityTicket_; 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()) { securityTicket_ = s; } return s; } } /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ @java.lang.Override public com.google.protobuf.ByteString getSecurityTicketBytes() { java.lang.Object ref = securityTicket_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACE_CONTEXT_FIELD_NUMBER = 8; private com.google.apphosting.base.protos.TracePb.TraceContextProto traceContext_; /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return Whether the traceContext field is set. */ @java.lang.Override public boolean hasTraceContext() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return The traceContext. */ @java.lang.Override public com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext() { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } /** *
     * The following fields are used by Tapper (go/tapper) to trace RPCs.
     * Trace context carries tracing state and options across servers.
     * If present, AppServer creates a child of this span for the API call and
     * records the span itself. So there is no need to include a "Trace" in the
     * APIResponse.
     * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ @java.lang.Override public com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder() { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } 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 (!hasApiPackage()) { memoizedIsInitialized = 0; return false; } if (!hasCall()) { memoizedIsInitialized = 0; return false; } if (!hasSecurityTicket()) { 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, apiPackage_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, call_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, pb_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, securityTicket_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(8, getTraceContext()); } 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, apiPackage_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, call_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, pb_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, securityTicket_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getTraceContext()); } 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.RuntimePb.APIRequest)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.APIRequest other = (com.google.apphosting.base.protos.RuntimePb.APIRequest) obj; if (hasApiPackage() != other.hasApiPackage()) return false; if (hasApiPackage()) { if (!getApiPackage() .equals(other.getApiPackage())) return false; } if (hasCall() != other.hasCall()) return false; if (hasCall()) { if (!getCall() .equals(other.getCall())) return false; } if (hasPb() != other.hasPb()) return false; if (hasPb()) { if (!getPb() .equals(other.getPb())) return false; } if (hasSecurityTicket() != other.hasSecurityTicket()) return false; if (hasSecurityTicket()) { if (!getSecurityTicket() .equals(other.getSecurityTicket())) return false; } if (hasTraceContext() != other.hasTraceContext()) return false; if (hasTraceContext()) { if (!getTraceContext() .equals(other.getTraceContext())) 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 (hasApiPackage()) { hash = (37 * hash) + API_PACKAGE_FIELD_NUMBER; hash = (53 * hash) + getApiPackage().hashCode(); } if (hasCall()) { hash = (37 * hash) + CALL_FIELD_NUMBER; hash = (53 * hash) + getCall().hashCode(); } if (hasPb()) { hash = (37 * hash) + PB_FIELD_NUMBER; hash = (53 * hash) + getPb().hashCode(); } if (hasSecurityTicket()) { hash = (37 * hash) + SECURITY_TICKET_FIELD_NUMBER; hash = (53 * hash) + getSecurityTicket().hashCode(); } if (hasTraceContext()) { hash = (37 * hash) + TRACE_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getTraceContext().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.APIRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest 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.RuntimePb.APIRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest 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.RuntimePb.APIRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest 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.RuntimePb.APIRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest 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.RuntimePb.APIRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest 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.RuntimePb.APIRequest 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.RuntimePb.APIRequest 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.RuntimePb.APIRequest 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; } /** *
     * Serialized version of a specific API call. The package and the call
     * indicate what PB definition to use. The pb field contains the
     * protocol buffer itself in bytes.
     * Next tag: 9
     * 
* * Protobuf type {@code java.apphosting.APIRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.APIRequest) com.google.apphosting.base.protos.RuntimePb.APIRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.APIRequest.class, com.google.apphosting.base.protos.RuntimePb.APIRequest.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.APIRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTraceContextFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; apiPackage_ = ""; call_ = ""; pb_ = com.google.protobuf.ByteString.EMPTY; securityTicket_ = ""; traceContext_ = null; if (traceContextBuilder_ != null) { traceContextBuilder_.dispose(); traceContextBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIRequest_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIRequest getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.APIRequest.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIRequest build() { com.google.apphosting.base.protos.RuntimePb.APIRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIRequest buildPartial() { com.google.apphosting.base.protos.RuntimePb.APIRequest result = new com.google.apphosting.base.protos.RuntimePb.APIRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.APIRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.apiPackage_ = apiPackage_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.call_ = call_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.pb_ = pb_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.securityTicket_ = securityTicket_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.traceContext_ = traceContextBuilder_ == null ? traceContext_ : traceContextBuilder_.build(); to_bitField0_ |= 0x00000010; } 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.RuntimePb.APIRequest) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.APIRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.APIRequest other) { if (other == com.google.apphosting.base.protos.RuntimePb.APIRequest.getDefaultInstance()) return this; if (other.hasApiPackage()) { apiPackage_ = other.apiPackage_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasCall()) { call_ = other.call_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasPb()) { setPb(other.getPb()); } if (other.hasSecurityTicket()) { securityTicket_ = other.securityTicket_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasTraceContext()) { mergeTraceContext(other.getTraceContext()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasApiPackage()) { return false; } if (!hasCall()) { return false; } if (!hasSecurityTicket()) { 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: { apiPackage_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { call_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { pb_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { securityTicket_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 case 66: { input.readMessage( getTraceContextFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 66 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 apiPackage_ = ""; /** * required string api_package = 1; * @return Whether the apiPackage field is set. */ public boolean hasApiPackage() { return ((bitField0_ & 0x00000001) != 0); } /** * required string api_package = 1; * @return The apiPackage. */ public java.lang.String getApiPackage() { java.lang.Object ref = apiPackage_; 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()) { apiPackage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string api_package = 1; * @return The bytes for apiPackage. */ public com.google.protobuf.ByteString getApiPackageBytes() { java.lang.Object ref = apiPackage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); apiPackage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string api_package = 1; * @param value The apiPackage to set. * @return This builder for chaining. */ public Builder setApiPackage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } apiPackage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required string api_package = 1; * @return This builder for chaining. */ public Builder clearApiPackage() { apiPackage_ = getDefaultInstance().getApiPackage(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * required string api_package = 1; * @param value The bytes for apiPackage to set. * @return This builder for chaining. */ public Builder setApiPackageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } apiPackage_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object call_ = ""; /** * required string call = 2; * @return Whether the call field is set. */ public boolean hasCall() { return ((bitField0_ & 0x00000002) != 0); } /** * required string call = 2; * @return The call. */ public java.lang.String getCall() { java.lang.Object ref = call_; 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()) { call_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string call = 2; * @return The bytes for call. */ public com.google.protobuf.ByteString getCallBytes() { java.lang.Object ref = call_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); call_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string call = 2; * @param value The call to set. * @return This builder for chaining. */ public Builder setCall( java.lang.String value) { if (value == null) { throw new NullPointerException(); } call_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required string call = 2; * @return This builder for chaining. */ public Builder clearCall() { call_ = getDefaultInstance().getCall(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * required string call = 2; * @param value The bytes for call to set. * @return This builder for chaining. */ public Builder setCallBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } call_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.ByteString pb_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ @java.lang.Override public boolean hasPb() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ @java.lang.Override public com.google.protobuf.ByteString getPb() { return pb_; } /** * optional bytes pb = 3 [ctype = CORD]; * @param value The pb to set. * @return This builder for chaining. */ public Builder setPb(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } pb_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional bytes pb = 3 [ctype = CORD]; * @return This builder for chaining. */ public Builder clearPb() { bitField0_ = (bitField0_ & ~0x00000004); pb_ = getDefaultInstance().getPb(); onChanged(); return this; } private java.lang.Object securityTicket_ = ""; /** * required string security_ticket = 4; * @return Whether the securityTicket field is set. */ public boolean hasSecurityTicket() { return ((bitField0_ & 0x00000008) != 0); } /** * required string security_ticket = 4; * @return The securityTicket. */ public java.lang.String getSecurityTicket() { java.lang.Object ref = securityTicket_; 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()) { securityTicket_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string security_ticket = 4; * @return The bytes for securityTicket. */ public com.google.protobuf.ByteString getSecurityTicketBytes() { java.lang.Object ref = securityTicket_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); securityTicket_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string security_ticket = 4; * @param value The securityTicket to set. * @return This builder for chaining. */ public Builder setSecurityTicket( java.lang.String value) { if (value == null) { throw new NullPointerException(); } securityTicket_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * required string security_ticket = 4; * @return This builder for chaining. */ public Builder clearSecurityTicket() { securityTicket_ = getDefaultInstance().getSecurityTicket(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * required string security_ticket = 4; * @param value The bytes for securityTicket to set. * @return This builder for chaining. */ public Builder setSecurityTicketBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } securityTicket_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.apphosting.base.protos.TracePb.TraceContextProto traceContext_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder> traceContextBuilder_; /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return Whether the traceContext field is set. */ public boolean hasTraceContext() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; * @return The traceContext. */ public com.google.apphosting.base.protos.TracePb.TraceContextProto getTraceContext() { if (traceContextBuilder_ == null) { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } else { return traceContextBuilder_.getMessage(); } } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public Builder setTraceContext(com.google.apphosting.base.protos.TracePb.TraceContextProto value) { if (traceContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceContext_ = value; } else { traceContextBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public Builder setTraceContext( com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder builderForValue) { if (traceContextBuilder_ == null) { traceContext_ = builderForValue.build(); } else { traceContextBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public Builder mergeTraceContext(com.google.apphosting.base.protos.TracePb.TraceContextProto value) { if (traceContextBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && traceContext_ != null && traceContext_ != com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance()) { getTraceContextBuilder().mergeFrom(value); } else { traceContext_ = value; } } else { traceContextBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public Builder clearTraceContext() { bitField0_ = (bitField0_ & ~0x00000010); traceContext_ = null; if (traceContextBuilder_ != null) { traceContextBuilder_.dispose(); traceContextBuilder_ = null; } onChanged(); return this; } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder getTraceContextBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTraceContextFieldBuilder().getBuilder(); } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ public com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder getTraceContextOrBuilder() { if (traceContextBuilder_ != null) { return traceContextBuilder_.getMessageOrBuilder(); } else { return traceContext_ == null ? com.google.apphosting.base.protos.TracePb.TraceContextProto.getDefaultInstance() : traceContext_; } } /** *
       * The following fields are used by Tapper (go/tapper) to trace RPCs.
       * Trace context carries tracing state and options across servers.
       * If present, AppServer creates a child of this span for the API call and
       * records the span itself. So there is no need to include a "Trace" in the
       * APIResponse.
       * 
* * optional .java.apphosting.TraceContextProto trace_context = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder> getTraceContextFieldBuilder() { if (traceContextBuilder_ == null) { traceContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.TracePb.TraceContextProto, com.google.apphosting.base.protos.TracePb.TraceContextProto.Builder, com.google.apphosting.base.protos.TracePb.TraceContextProtoOrBuilder>( getTraceContext(), getParentForChildren(), isClean()); traceContext_ = null; } return traceContextBuilder_; } @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.APIRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.APIRequest) private static final com.google.apphosting.base.protos.RuntimePb.APIRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.APIRequest(); } public static com.google.apphosting.base.protos.RuntimePb.APIRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIRequest 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.RuntimePb.APIRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.APIResponse) com.google.protobuf.MessageOrBuilder { /** * required int32 error = 1; * @return Whether the error field is set. */ boolean hasError(); /** * required int32 error = 1; * @return The error. */ int getError(); /** * optional string error_message = 2; * @return Whether the errorMessage field is set. */ boolean hasErrorMessage(); /** * optional string error_message = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** * optional string error_message = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
     * If error == RPC_ERROR, rpc_error, rpc_application_error, and
     * error_message describe the rpc error.
     * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return Whether the rpcError field is set. */ boolean hasRpcError(); /** *
     * If error == RPC_ERROR, rpc_error, rpc_application_error, and
     * error_message describe the rpc error.
     * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return The rpcError. */ com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError getRpcError(); /** *
     * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
     * 
* * optional int32 rpc_application_error = 7; * @return Whether the rpcApplicationError field is set. */ boolean hasRpcApplicationError(); /** *
     * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
     * 
* * optional int32 rpc_application_error = 7; * @return The rpcApplicationError. */ int getRpcApplicationError(); /** *
     * Returns the number of megacycles of CPU time used by this API
     * call, if any.
     * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return Whether the cpuUsage field is set. */ boolean hasCpuUsage(); /** *
     * Returns the number of megacycles of CPU time used by this API
     * call, if any.
     * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return The cpuUsage. */ long getCpuUsage(); /** *
     * If 'pb' is empty, then assume the response PB is in
     * 'shared_buffer_response'.
     * 
* * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ boolean hasPb(); /** *
     * If 'pb' is empty, then assume the response PB is in
     * 'shared_buffer_response'.
     * 
* * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ com.google.protobuf.ByteString getPb(); } /** * Protobuf type {@code java.apphosting.APIResponse} */ public static final class APIResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.APIResponse) APIResponseOrBuilder { private static final long serialVersionUID = 0L; // Use APIResponse.newBuilder() to construct. private APIResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIResponse() { errorMessage_ = ""; rpcError_ = 1; pb_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new APIResponse(); } @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.RuntimePb.internal_static_java_apphosting_APIResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.APIResponse.class, com.google.apphosting.base.protos.RuntimePb.APIResponse.Builder.class); } /** * Protobuf enum {@code java.apphosting.APIResponse.ERROR} */ public enum ERROR implements com.google.protobuf.ProtocolMessageEnum { /** * OK = 0; */ OK(0), /** * CALL_NOT_FOUND = 1; */ CALL_NOT_FOUND(1), /** * PARSE_ERROR = 2; */ PARSE_ERROR(2), /** * SECURITY_VIOLATION = 3; */ SECURITY_VIOLATION(3), /** * OVER_QUOTA = 4; */ OVER_QUOTA(4), /** * REQUEST_TOO_LARGE = 5; */ REQUEST_TOO_LARGE(5), /** * CAPABILITY_DISABLED = 6; */ CAPABILITY_DISABLED(6), /** * FEATURE_DISABLED = 7; */ FEATURE_DISABLED(7), /** * BAD_REQUEST = 8; */ BAD_REQUEST(8), /** *
       * Look at the error code in shared_buffer_response.
       * 
* * BUFFER_ERROR = 9; */ BUFFER_ERROR(9), /** * RESPONSE_TOO_LARGE = 10; */ RESPONSE_TOO_LARGE(10), /** * CANCELLED = 11; */ CANCELLED(11), /** * REPLAY_ERROR = 12; */ REPLAY_ERROR(12), /** * RPC_ERROR = 13; */ RPC_ERROR(13), ; /** * OK = 0; */ public static final int OK_VALUE = 0; /** * CALL_NOT_FOUND = 1; */ public static final int CALL_NOT_FOUND_VALUE = 1; /** * PARSE_ERROR = 2; */ public static final int PARSE_ERROR_VALUE = 2; /** * SECURITY_VIOLATION = 3; */ public static final int SECURITY_VIOLATION_VALUE = 3; /** * OVER_QUOTA = 4; */ public static final int OVER_QUOTA_VALUE = 4; /** * REQUEST_TOO_LARGE = 5; */ public static final int REQUEST_TOO_LARGE_VALUE = 5; /** * CAPABILITY_DISABLED = 6; */ public static final int CAPABILITY_DISABLED_VALUE = 6; /** * FEATURE_DISABLED = 7; */ public static final int FEATURE_DISABLED_VALUE = 7; /** * BAD_REQUEST = 8; */ public static final int BAD_REQUEST_VALUE = 8; /** *
       * Look at the error code in shared_buffer_response.
       * 
* * BUFFER_ERROR = 9; */ public static final int BUFFER_ERROR_VALUE = 9; /** * RESPONSE_TOO_LARGE = 10; */ public static final int RESPONSE_TOO_LARGE_VALUE = 10; /** * CANCELLED = 11; */ public static final int CANCELLED_VALUE = 11; /** * REPLAY_ERROR = 12; */ public static final int REPLAY_ERROR_VALUE = 12; /** * RPC_ERROR = 13; */ public static final int RPC_ERROR_VALUE = 13; 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 ERROR 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 ERROR forNumber(int value) { switch (value) { case 0: return OK; case 1: return CALL_NOT_FOUND; case 2: return PARSE_ERROR; case 3: return SECURITY_VIOLATION; case 4: return OVER_QUOTA; case 5: return REQUEST_TOO_LARGE; case 6: return CAPABILITY_DISABLED; case 7: return FEATURE_DISABLED; case 8: return BAD_REQUEST; case 9: return BUFFER_ERROR; case 10: return RESPONSE_TOO_LARGE; case 11: return CANCELLED; case 12: return REPLAY_ERROR; case 13: return RPC_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ERROR> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ERROR findValueByNumber(int number) { return ERROR.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.RuntimePb.APIResponse.getDescriptor().getEnumTypes().get(0); } private static final ERROR[] VALUES = values(); public static ERROR 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 ERROR(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.APIResponse.ERROR) } /** * Protobuf enum {@code java.apphosting.APIResponse.RpcError} */ public enum RpcError implements com.google.protobuf.ProtocolMessageEnum { /** * DEADLINE_EXCEEDED = 1; */ DEADLINE_EXCEEDED(1), /** * APPLICATION_ERROR = 2; */ APPLICATION_ERROR(2), /** * UNKNOWN_ERROR = 3; */ UNKNOWN_ERROR(3), ; /** * DEADLINE_EXCEEDED = 1; */ public static final int DEADLINE_EXCEEDED_VALUE = 1; /** * APPLICATION_ERROR = 2; */ public static final int APPLICATION_ERROR_VALUE = 2; /** * UNKNOWN_ERROR = 3; */ public static final int UNKNOWN_ERROR_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 RpcError 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 RpcError forNumber(int value) { switch (value) { case 1: return DEADLINE_EXCEEDED; case 2: return APPLICATION_ERROR; case 3: return UNKNOWN_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RpcError> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RpcError findValueByNumber(int number) { return RpcError.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.RuntimePb.APIResponse.getDescriptor().getEnumTypes().get(1); } private static final RpcError[] VALUES = values(); public static RpcError 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 RpcError(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.APIResponse.RpcError) } private int bitField0_; public static final int ERROR_FIELD_NUMBER = 1; private int error_ = 0; /** * required int32 error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return ((bitField0_ & 0x00000001) != 0); } /** * required int32 error = 1; * @return The error. */ @java.lang.Override public int getError() { return error_; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** * optional string error_message = 2; * @return Whether the errorMessage field is set. */ @java.lang.Override public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string error_message = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } } /** * optional string error_message = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RPC_ERROR_FIELD_NUMBER = 6; private int rpcError_ = 1; /** *
     * If error == RPC_ERROR, rpc_error, rpc_application_error, and
     * error_message describe the rpc error.
     * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return Whether the rpcError field is set. */ @java.lang.Override public boolean hasRpcError() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * If error == RPC_ERROR, rpc_error, rpc_application_error, and
     * error_message describe the rpc error.
     * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return The rpcError. */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError getRpcError() { com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError result = com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError.forNumber(rpcError_); return result == null ? com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError.DEADLINE_EXCEEDED : result; } public static final int RPC_APPLICATION_ERROR_FIELD_NUMBER = 7; private int rpcApplicationError_ = 0; /** *
     * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
     * 
* * optional int32 rpc_application_error = 7; * @return Whether the rpcApplicationError field is set. */ @java.lang.Override public boolean hasRpcApplicationError() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
     * 
* * optional int32 rpc_application_error = 7; * @return The rpcApplicationError. */ @java.lang.Override public int getRpcApplicationError() { return rpcApplicationError_; } public static final int CPU_USAGE_FIELD_NUMBER = 4; private long cpuUsage_ = 0L; /** *
     * Returns the number of megacycles of CPU time used by this API
     * call, if any.
     * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return Whether the cpuUsage field is set. */ @java.lang.Override public boolean hasCpuUsage() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Returns the number of megacycles of CPU time used by this API
     * call, if any.
     * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return The cpuUsage. */ @java.lang.Override public long getCpuUsage() { return cpuUsage_; } public static final int PB_FIELD_NUMBER = 3; private com.google.protobuf.ByteString pb_ = com.google.protobuf.ByteString.EMPTY; /** *
     * If 'pb' is empty, then assume the response PB is in
     * 'shared_buffer_response'.
     * 
* * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ @java.lang.Override public boolean hasPb() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * If 'pb' is empty, then assume the response PB is in
     * 'shared_buffer_response'.
     * 
* * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ @java.lang.Override public com.google.protobuf.ByteString getPb() { return pb_; } 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 (!hasError()) { 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.writeInt32(1, error_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(3, pb_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(4, cpuUsage_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(6, rpcError_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(7, rpcApplicationError_); } 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 .computeInt32Size(1, error_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, pb_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, cpuUsage_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, rpcError_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, rpcApplicationError_); } 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.RuntimePb.APIResponse)) { return super.equals(obj); } com.google.apphosting.base.protos.RuntimePb.APIResponse other = (com.google.apphosting.base.protos.RuntimePb.APIResponse) obj; if (hasError() != other.hasError()) return false; if (hasError()) { if (getError() != other.getError()) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) return false; } if (hasRpcError() != other.hasRpcError()) return false; if (hasRpcError()) { if (rpcError_ != other.rpcError_) return false; } if (hasRpcApplicationError() != other.hasRpcApplicationError()) return false; if (hasRpcApplicationError()) { if (getRpcApplicationError() != other.getRpcApplicationError()) return false; } if (hasCpuUsage() != other.hasCpuUsage()) return false; if (hasCpuUsage()) { if (getCpuUsage() != other.getCpuUsage()) return false; } if (hasPb() != other.hasPb()) return false; if (hasPb()) { if (!getPb() .equals(other.getPb())) 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 (hasError()) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError(); } if (hasErrorMessage()) { hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } if (hasRpcError()) { hash = (37 * hash) + RPC_ERROR_FIELD_NUMBER; hash = (53 * hash) + rpcError_; } if (hasRpcApplicationError()) { hash = (37 * hash) + RPC_APPLICATION_ERROR_FIELD_NUMBER; hash = (53 * hash) + getRpcApplicationError(); } if (hasCpuUsage()) { hash = (37 * hash) + CPU_USAGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCpuUsage()); } if (hasPb()) { hash = (37 * hash) + PB_FIELD_NUMBER; hash = (53 * hash) + getPb().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.RuntimePb.APIResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse 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.RuntimePb.APIResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse 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.RuntimePb.APIResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse 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.RuntimePb.APIResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse 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.RuntimePb.APIResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse 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.RuntimePb.APIResponse 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.RuntimePb.APIResponse 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.RuntimePb.APIResponse 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.APIResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.APIResponse) com.google.apphosting.base.protos.RuntimePb.APIResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.RuntimePb.APIResponse.class, com.google.apphosting.base.protos.RuntimePb.APIResponse.Builder.class); } // Construct using com.google.apphosting.base.protos.RuntimePb.APIResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; error_ = 0; errorMessage_ = ""; rpcError_ = 1; rpcApplicationError_ = 0; cpuUsage_ = 0L; pb_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.RuntimePb.internal_static_java_apphosting_APIResponse_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIResponse getDefaultInstanceForType() { return com.google.apphosting.base.protos.RuntimePb.APIResponse.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIResponse build() { com.google.apphosting.base.protos.RuntimePb.APIResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIResponse buildPartial() { com.google.apphosting.base.protos.RuntimePb.APIResponse result = new com.google.apphosting.base.protos.RuntimePb.APIResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.RuntimePb.APIResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.error_ = error_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.errorMessage_ = errorMessage_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.rpcError_ = rpcError_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.rpcApplicationError_ = rpcApplicationError_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.cpuUsage_ = cpuUsage_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.pb_ = pb_; to_bitField0_ |= 0x00000020; } 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.RuntimePb.APIResponse) { return mergeFrom((com.google.apphosting.base.protos.RuntimePb.APIResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.RuntimePb.APIResponse other) { if (other == com.google.apphosting.base.protos.RuntimePb.APIResponse.getDefaultInstance()) return this; if (other.hasError()) { setError(other.getError()); } if (other.hasErrorMessage()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasRpcError()) { setRpcError(other.getRpcError()); } if (other.hasRpcApplicationError()) { setRpcApplicationError(other.getRpcApplicationError()); } if (other.hasCpuUsage()) { setCpuUsage(other.getCpuUsage()); } if (other.hasPb()) { setPb(other.getPb()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasError()) { 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 8: { error_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { errorMessage_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { pb_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 26 case 32: { cpuUsage_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 32 case 48: { int tmpRaw = input.readEnum(); com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError tmpValue = com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(6, tmpRaw); } else { rpcError_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 48 case 56: { rpcApplicationError_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 56 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 int error_ ; /** * required int32 error = 1; * @return Whether the error field is set. */ @java.lang.Override public boolean hasError() { return ((bitField0_ & 0x00000001) != 0); } /** * required int32 error = 1; * @return The error. */ @java.lang.Override public int getError() { return error_; } /** * required int32 error = 1; * @param value The error to set. * @return This builder for chaining. */ public Builder setError(int value) { error_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required int32 error = 1; * @return This builder for chaining. */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000001); error_ = 0; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * optional string error_message = 2; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string error_message = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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()) { errorMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string error_message = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string error_message = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string error_message = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string error_message = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int rpcError_ = 1; /** *
       * If error == RPC_ERROR, rpc_error, rpc_application_error, and
       * error_message describe the rpc error.
       * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return Whether the rpcError field is set. */ @java.lang.Override public boolean hasRpcError() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * If error == RPC_ERROR, rpc_error, rpc_application_error, and
       * error_message describe the rpc error.
       * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return The rpcError. */ @java.lang.Override public com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError getRpcError() { com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError result = com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError.forNumber(rpcError_); return result == null ? com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError.DEADLINE_EXCEEDED : result; } /** *
       * If error == RPC_ERROR, rpc_error, rpc_application_error, and
       * error_message describe the rpc error.
       * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @param value The rpcError to set. * @return This builder for chaining. */ public Builder setRpcError(com.google.apphosting.base.protos.RuntimePb.APIResponse.RpcError value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; rpcError_ = value.getNumber(); onChanged(); return this; } /** *
       * If error == RPC_ERROR, rpc_error, rpc_application_error, and
       * error_message describe the rpc error.
       * 
* * optional .java.apphosting.APIResponse.RpcError rpc_error = 6; * @return This builder for chaining. */ public Builder clearRpcError() { bitField0_ = (bitField0_ & ~0x00000004); rpcError_ = 1; onChanged(); return this; } private int rpcApplicationError_ ; /** *
       * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
       * 
* * optional int32 rpc_application_error = 7; * @return Whether the rpcApplicationError field is set. */ @java.lang.Override public boolean hasRpcApplicationError() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
       * 
* * optional int32 rpc_application_error = 7; * @return The rpcApplicationError. */ @java.lang.Override public int getRpcApplicationError() { return rpcApplicationError_; } /** *
       * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
       * 
* * optional int32 rpc_application_error = 7; * @param value The rpcApplicationError to set. * @return This builder for chaining. */ public Builder setRpcApplicationError(int value) { rpcApplicationError_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Only set when error = RPC_ERROR and rpc_error = APPLICATION_ERROR.
       * 
* * optional int32 rpc_application_error = 7; * @return This builder for chaining. */ public Builder clearRpcApplicationError() { bitField0_ = (bitField0_ & ~0x00000008); rpcApplicationError_ = 0; onChanged(); return this; } private long cpuUsage_ ; /** *
       * Returns the number of megacycles of CPU time used by this API
       * call, if any.
       * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return Whether the cpuUsage field is set. */ @java.lang.Override public boolean hasCpuUsage() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Returns the number of megacycles of CPU time used by this API
       * call, if any.
       * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return The cpuUsage. */ @java.lang.Override public long getCpuUsage() { return cpuUsage_; } /** *
       * Returns the number of megacycles of CPU time used by this API
       * call, if any.
       * 
* * optional int64 cpu_usage = 4 [default = 0]; * @param value The cpuUsage to set. * @return This builder for chaining. */ public Builder setCpuUsage(long value) { cpuUsage_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Returns the number of megacycles of CPU time used by this API
       * call, if any.
       * 
* * optional int64 cpu_usage = 4 [default = 0]; * @return This builder for chaining. */ public Builder clearCpuUsage() { bitField0_ = (bitField0_ & ~0x00000010); cpuUsage_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString pb_ = com.google.protobuf.ByteString.EMPTY; /** *
       * If 'pb' is empty, then assume the response PB is in
       * 'shared_buffer_response'.
       * 
* * optional bytes pb = 3 [ctype = CORD]; * @return Whether the pb field is set. */ @java.lang.Override public boolean hasPb() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * If 'pb' is empty, then assume the response PB is in
       * 'shared_buffer_response'.
       * 
* * optional bytes pb = 3 [ctype = CORD]; * @return The pb. */ @java.lang.Override public com.google.protobuf.ByteString getPb() { return pb_; } /** *
       * If 'pb' is empty, then assume the response PB is in
       * 'shared_buffer_response'.
       * 
* * optional bytes pb = 3 [ctype = CORD]; * @param value The pb to set. * @return This builder for chaining. */ public Builder setPb(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } pb_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * If 'pb' is empty, then assume the response PB is in
       * 'shared_buffer_response'.
       * 
* * optional bytes pb = 3 [ctype = CORD]; * @return This builder for chaining. */ public Builder clearPb() { bitField0_ = (bitField0_ & ~0x00000020); pb_ = getDefaultInstance().getPb(); 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.APIResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.APIResponse) private static final com.google.apphosting.base.protos.RuntimePb.APIResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.RuntimePb.APIResponse(); } public static com.google.apphosting.base.protos.RuntimePb.APIResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIResponse 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.RuntimePb.APIResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UPRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UPRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_PendingCloudDebuggerAction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UPResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UPResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UPResponse_LogMessages_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UPResponse_LogMessages_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UPResponse_RuntimeLogLine_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UPAddDelete_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UPAddDelete_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_APIRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_APIRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_APIResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_APIResponse_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\rruntime.proto\022\017java.apphosting\032\016app_lo" + "gs.proto\032\rappinfo.proto\032\014common.proto\032\nh" + "ttp.proto\032\013trace.proto\"\351\007\n\tUPRequest\022\016\n\006" + "app_id\030\001 \002(\t\022\032\n\tmodule_id\030% \001(\t:\007default" + "\022\031\n\021module_version_id\030& \001(\t\022\022\n\nversion_i" + "d\030\002 \002(\t\022\020\n\010nickname\030\003 \002(\t\022\027\n\017security_ti" + "cket\030\004 \002(\t\022\027\n\010is_admin\030\007 \001(\010:\005false\022\017\n\005e" + "mail\030\n \001(\t:\000\022\025\n\013auth_domain\030\013 \001(\t:\000\022\033\n\021u" + "ser_organization\030\021 \001(\t:\000\022)\n\007handler\030\005 \002(" + "\0132\030.java.apphosting.Handler\022-\n\007request\030\006" + " \001(\0132\034.java.apphosting.HttpRequest\022:\n\017ru" + "ntime_headers\030\r \003(\0132!.java.apphosting.Pa" + "rsedHttpHeader\022\032\n\022obfuscated_gaia_id\030\016 \001" + "(\t\022\017\n\007gaia_id\030\010 \001(\003\022\024\n\014gaia_session\030\t \001(" + "\t\022\020\n\010authuser\030\036 \001(\t\022\035\n\016is_trusted_app\030\014 " + "\001(\010:\005false\022\025\n\rpeer_username\030\017 \001(\t\022\026\n\016sec" + "urity_level\030\020 \001(\t\022\025\n\revent_id_hash\030\024 \001(\t" + "\022<\n\021profiler_settings\030\027 \001(\0132!.java.appho" + "sting.ProfilerSettings\022 \n\030default_versio" + "n_hostname\030\033 \001(\t\022C\n\014request_type\030\034 \001(\0162&" + ".java.apphosting.UPRequest.RequestType:\005" + "OTHER\022\034\n\024appserver_datacenter\030\037 \001(\t\022\032\n\022a" + "ppserver_task_bns\030 \001(\t\022\026\n\016request_log_i" + "d\030# \001(\t\0229\n\rtrace_context\030( \001(\0132\".java.ap" + "phosting.TraceContextProto\"6\n\013RequestTyp" + "e\022\t\n\005OTHER\020\000\022\014\n\010SHUTDOWN\020\001\022\016\n\nBACKGROUND" + "\020\002\",\n\010Deadline\022 \n\034RPC_DEADLINE_PADDING_S" + "ECONDS\020\036J\004\010\023\020\024J\004\010\035\020\036J\004\010$\020%\"W\n\032PendingClo" + "udDebuggerAction\022\035\n\025debuggee_registratio" + "n\030\001 \001(\010\022\032\n\022breakpoint_updates\030\002 \001(\010\"\203\020\n\n" + "UPResponse\022\r\n\005error\030\001 \002(\005\022\025\n\rerror_messa" + "ge\030\002 \001(\t\022=\n\014log_messages\030@ \003(\0132\'.java.ap" + "phosting.UPResponse.LogMessages\0224\n\rhttp_" + "response\030\003 \001(\0132\035.java.apphosting.HttpRes" + "ponse\022:\n\017runtime_headers\030\017 \003(\0132!.java.ap" + "phosting.ParsedHttpHeader\022\024\n\014user_mcycle" + "s\030\004 \001(\003\022,\n\007app_log\030\032 \003(\0132\033.java.apphosti" + "ng.AppLogLine\022B\n\016runtimelogline\030\n \003(\n2*." + "java.apphosting.UPResponse.RuntimeLogLin" + "e\022\036\n\017terminate_clone\030\020 \001(\010:\005false\022(\n\031clo" + "ne_is_in_unclean_state\030* \001(\010:\005false\022\030\n\020s" + "erialized_trace\030! \001(\014\022R\n\035pending_cloud_d" + "ebugger_action\030\' \001(\0132+.java.apphosting.P" + "endingCloudDebuggerAction\032]\n\013LogMessages" + "\022\036\n\026tenant_project_message\030\001 \001(\t\022\034\n\024user" + "_project_message\030\002 \001(\t\022\020\n\010severity\030\003 \001(\t" + "\0323\n\016RuntimeLogLine\022\020\n\010severity\030\013 \002(\005\022\017\n\007" + "message\030\014 \002(\t\"\303\n\n\005ERROR\022\006\n\002OK\020\000\022\017\n\013APP_F" + "AILURE\020\001\022\026\n\022RESOURCE_NOT_FOUND\020\002\022\023\n\017UNKN" + "OWN_HANDLER\020\003\022\027\n\023UNKNOWN_API_VERSION\020\006\022\023" + "\n\017LOG_FATAL_DEATH\020\007\022\017\n\013CLONE_DEATH\020\010\022\030\n\024" + "USER_CONTAINER_CRASH\020\027\022\032\n\026GOOGLE_CONTAIN" + "ER_CRASH\020\030\022\026\n\022APP_REQUESTED_KILL\020\031\022\013\n\007AB" + "ORTED\020\t\022\024\n\020PENDING_DISABLED\020\n\022\020\n\014BUFFER_" + "ERROR\020\017\022\022\n\016INVALID_TICKET\020\013\022\017\n\013UNKNOWN_A" + "PP\020\004\022\017\n\013RPC_FAILURE\020\005\022\017\n\013SERVER_DOWN\020\014\022\022" + "\n\016SERVER_STOPPED\020\r\022\024\n\020SHUTDOWN_FAILURE\020\016" + "\022\026\n\022BACKGROUND_FAILURE\020\020\022\024\n\020SNAPSHOT_FAI" + "LURE\020 \022\033\n\027PENDING_QUEUE_TOO_LARGE\020\021\022\030\n\024A" + "PP_BINARY_NOT_FOUND\020\022\022\031\n\025THREADS_STILL_R" + "UNNING\020\023\022\033\n\027DEADLINE_DURING_LOADING\020\026\022\024\n" + "\020UNEXPECTED_ERROR\020\032\022\010\n\004SHED\020\033\022\025\n\021SHED_GO" + "OGLE_ERROR\020#\022\032\n\026FAILED_READINESS_CHECK\020\034" + "\022#\n\037USER_CONTAINER_CONNECTION_ERROR\020\035\022\026\n" + "\022QUOTA_CHECK_FAILED\020\036\022\024\n\020BILLING_DISABLE" + "D\020\037\022\032\n\026AUTHENTICATION_FAILURE\020!\022\031\n\025AUTHO" + "RIZATION_FAILURE\020\"\022\033\n\027RESPONSE_SIZE_TOO_" + "LARGE\020$\022*\n&CHUNKED_RESPONSE_BUFFER_LIMIT" + "_EXCEEDED\020%\022\034\n\030BIDI_STREAM_INIT_TIMEOUT\020" + "&\022.\n*BIDI_STREAM_RESPONSE_BUFFER_LIMIT_E" + "XCEEDED\020\'\022*\n&BIDI_STREAM_INSUFFICIENT_IN" + "ITIAL_QUOTA\020(\022 \n\034BIDI_STREAM_NOT_ENOUGH_" + "QUOTA\020)\022\036\n\032BIDI_STREAM_NEGATIVE_QUOTA\020*\022" + "\032\n\026BIDI_STREAM_SEND_ERROR\020+\0221\n-BIDI_STRE" + "AM_SCHEDULE_QUOTA_NOTIFICATION_ERROR\020,\022\027" + "\n\023BIDI_STREAM_TIMEOUT\020-\022/\n+APPSERVER_QFE" + "_NODE_SELECTION_RESPONSE_ERROR\020.\022!\n\035NODE" + "_ENVOY_CONNECTION_FAILURE\020/\022\"\n\036NO_START_" + "HTTP_REQUEST_RECEIVED\0200\022$\n NODE_ENVOY_CL" + "USTER_CHECK_TIMEOUT\0201\0220\n,NODE_ENVOY_DOWN" + "STREAM_CONNECTION_TERMINATION\0202\"\004\010\024\020\024\"\004\010" + "\025\020\025J\004\010\033\020\034\"#\n\013UPAddDelete\"\024\n\005ERROR\022\013\n\007FAI" + "LURE\020\001\"\223\001\n\nAPIRequest\022\023\n\013api_package\030\001 \002" + "(\t\022\014\n\004call\030\002 \002(\t\022\016\n\002pb\030\003 \001(\014B\002\010\001\022\027\n\017secu" + "rity_ticket\030\004 \002(\t\0229\n\rtrace_context\030\010 \001(\013" + "2\".java.apphosting.TraceContextProto\"\217\004\n" + "\013APIResponse\022\r\n\005error\030\001 \002(\005\022\025\n\rerror_mes" + "sage\030\002 \001(\t\0228\n\trpc_error\030\006 \001(\0162%.java.app" + "hosting.APIResponse.RpcError\022\035\n\025rpc_appl" + "ication_error\030\007 \001(\005\022\024\n\tcpu_usage\030\004 \001(\003:\001" + "0\022\016\n\002pb\030\003 \001(\014B\002\010\001\"\215\002\n\005ERROR\022\006\n\002OK\020\000\022\022\n\016C" + "ALL_NOT_FOUND\020\001\022\017\n\013PARSE_ERROR\020\002\022\026\n\022SECU" + "RITY_VIOLATION\020\003\022\016\n\nOVER_QUOTA\020\004\022\025\n\021REQU" + "EST_TOO_LARGE\020\005\022\027\n\023CAPABILITY_DISABLED\020\006" + "\022\024\n\020FEATURE_DISABLED\020\007\022\017\n\013BAD_REQUEST\020\010\022" + "\020\n\014BUFFER_ERROR\020\t\022\026\n\022RESPONSE_TOO_LARGE\020" + "\n\022\r\n\tCANCELLED\020\013\022\020\n\014REPLAY_ERROR\020\014\022\r\n\tRP" + "C_ERROR\020\r\"K\n\010RpcError\022\025\n\021DEADLINE_EXCEED" + "ED\020\001\022\025\n\021APPLICATION_ERROR\020\002\022\021\n\rUNKNOWN_E" + "RROR\020\003B1\n!com.google.apphosting.base.pro" + "tosB\tRuntimePb\370\001\001" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.apphosting.base.protos.AppLogsPb.getDescriptor(), com.google.apphosting.base.protos.AppinfoPb.getDescriptor(), com.google.apphosting.base.protos.CommonPb.getDescriptor(), com.google.apphosting.base.protos.HttpPb.getDescriptor(), com.google.apphosting.base.protos.TracePb.getDescriptor(), }); internal_static_java_apphosting_UPRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_java_apphosting_UPRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UPRequest_descriptor, new java.lang.String[] { "AppId", "ModuleId", "ModuleVersionId", "VersionId", "Nickname", "SecurityTicket", "IsAdmin", "Email", "AuthDomain", "UserOrganization", "Handler", "Request", "RuntimeHeaders", "ObfuscatedGaiaId", "GaiaId", "GaiaSession", "Authuser", "IsTrustedApp", "PeerUsername", "SecurityLevel", "EventIdHash", "ProfilerSettings", "DefaultVersionHostname", "RequestType", "AppserverDatacenter", "AppserverTaskBns", "RequestLogId", "TraceContext", }); internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_java_apphosting_PendingCloudDebuggerAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_PendingCloudDebuggerAction_descriptor, new java.lang.String[] { "DebuggeeRegistration", "BreakpointUpdates", }); internal_static_java_apphosting_UPResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_java_apphosting_UPResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UPResponse_descriptor, new java.lang.String[] { "Error", "ErrorMessage", "LogMessages", "HttpResponse", "RuntimeHeaders", "UserMcycles", "AppLog", "RuntimeLogLine", "TerminateClone", "CloneIsInUncleanState", "SerializedTrace", "PendingCloudDebuggerAction", }); internal_static_java_apphosting_UPResponse_LogMessages_descriptor = internal_static_java_apphosting_UPResponse_descriptor.getNestedTypes().get(0); internal_static_java_apphosting_UPResponse_LogMessages_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UPResponse_LogMessages_descriptor, new java.lang.String[] { "TenantProjectMessage", "UserProjectMessage", "Severity", }); internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor = internal_static_java_apphosting_UPResponse_descriptor.getNestedTypes().get(1); internal_static_java_apphosting_UPResponse_RuntimeLogLine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UPResponse_RuntimeLogLine_descriptor, new java.lang.String[] { "Severity", "Message", }); internal_static_java_apphosting_UPAddDelete_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_java_apphosting_UPAddDelete_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UPAddDelete_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_APIRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_java_apphosting_APIRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_APIRequest_descriptor, new java.lang.String[] { "ApiPackage", "Call", "Pb", "SecurityTicket", "TraceContext", }); internal_static_java_apphosting_APIResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_java_apphosting_APIResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_APIResponse_descriptor, new java.lang.String[] { "Error", "ErrorMessage", "RpcError", "RpcApplicationError", "CpuUsage", "Pb", }); com.google.apphosting.base.protos.AppLogsPb.getDescriptor(); com.google.apphosting.base.protos.AppinfoPb.getDescriptor(); com.google.apphosting.base.protos.CommonPb.getDescriptor(); com.google.apphosting.base.protos.HttpPb.getDescriptor(); com.google.apphosting.base.protos.TracePb.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy