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

com.google.apphosting.api.logservice.LogServicePb Maven / Gradle / Ivy

Go to download

API for Google App Engine standard environment with some of the dependencies shaded (repackaged)

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

package com.google.apphosting.api.logservice;

public final class LogServicePb {
  private LogServicePb() {}
  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 LogServiceErrorOrBuilder extends
      // @@protoc_insertion_point(interface_extends:java.apphosting.LogServiceError)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * 
   * Log service error codes returned via RPC::set_application_error().
   * 
* * Protobuf type {@code java.apphosting.LogServiceError} */ public static final class LogServiceError extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogServiceError) LogServiceErrorOrBuilder { private static final long serialVersionUID = 0L; // Use LogServiceError.newBuilder() to construct. private LogServiceError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogServiceError() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogServiceError(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogServiceError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogServiceError_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogServiceError.class, com.google.apphosting.api.logservice.LogServicePb.LogServiceError.Builder.class); } /** * Protobuf enum {@code java.apphosting.LogServiceError.ErrorCode} */ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** * OK = 0; */ OK(0), /** * INVALID_REQUEST = 1; */ INVALID_REQUEST(1), /** * STORAGE_ERROR = 2; */ STORAGE_ERROR(2), ; /** * OK = 0; */ public static final int OK_VALUE = 0; /** * INVALID_REQUEST = 1; */ public static final int INVALID_REQUEST_VALUE = 1; /** * STORAGE_ERROR = 2; */ public static final int STORAGE_ERROR_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 ErrorCode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ErrorCode forNumber(int value) { switch (value) { case 0: return OK; case 1: return INVALID_REQUEST; case 2: return STORAGE_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ErrorCode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorCode findValueByNumber(int number) { return ErrorCode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.LogServiceError.getDescriptor().getEnumTypes().get(0); } private static final ErrorCode[] VALUES = values(); public static ErrorCode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private ErrorCode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.LogServiceError.ErrorCode) } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.api.logservice.LogServicePb.LogServiceError)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogServiceError other = (com.google.apphosting.api.logservice.LogServicePb.LogServiceError) 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.api.logservice.LogServicePb.LogServiceError parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError 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.api.logservice.LogServicePb.LogServiceError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError 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.api.logservice.LogServicePb.LogServiceError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError 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.api.logservice.LogServicePb.LogServiceError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError 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.api.logservice.LogServicePb.LogServiceError parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError 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.api.logservice.LogServicePb.LogServiceError 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 service error codes returned via RPC::set_application_error().
     * 
* * Protobuf type {@code java.apphosting.LogServiceError} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogServiceError) com.google.apphosting.api.logservice.LogServicePb.LogServiceErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogServiceError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogServiceError_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogServiceError.class, com.google.apphosting.api.logservice.LogServicePb.LogServiceError.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogServiceError.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.api.logservice.LogServicePb.internal_static_java_apphosting_LogServiceError_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogServiceError getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogServiceError.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogServiceError build() { com.google.apphosting.api.logservice.LogServicePb.LogServiceError result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogServiceError buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogServiceError result = new com.google.apphosting.api.logservice.LogServicePb.LogServiceError(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.api.logservice.LogServicePb.LogServiceError) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogServiceError)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogServiceError other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogServiceError.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.LogServiceError) } // @@protoc_insertion_point(class_scope:java.apphosting.LogServiceError) private static final com.google.apphosting.api.logservice.LogServicePb.LogServiceError DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogServiceError(); } public static com.google.apphosting.api.logservice.LogServicePb.LogServiceError getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogServiceError 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.api.logservice.LogServicePb.LogServiceError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserAppLogLineOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UserAppLogLine) com.google.protobuf.MessageOrBuilder { /** * required int64 timestamp_usec = 1; * @return Whether the timestampUsec field is set. */ boolean hasTimestampUsec(); /** * required int64 timestamp_usec = 1; * @return The timestampUsec. */ long getTimestampUsec(); /** * required int64 level = 2; * @return Whether the level field is set. */ boolean hasLevel(); /** * required int64 level = 2; * @return The level. */ long getLevel(); /** * required string message = 3; * @return Whether the message field is set. */ boolean hasMessage(); /** * required string message = 3; * @return The message. */ java.lang.String getMessage(); /** * required string message = 3; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ boolean hasSourceLocation(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder(); } /** *
   * N.B.(jhaugh): These two messages are partial copies of the AppLogLine and
   * AppLogGroup messages defined in <internal3>.  They are
   * redefined here to allow userspace code to serialize log lines.
   * 
* * Protobuf type {@code java.apphosting.UserAppLogLine} */ public static final class UserAppLogLine extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UserAppLogLine) UserAppLogLineOrBuilder { private static final long serialVersionUID = 0L; // Use UserAppLogLine.newBuilder() to construct. private UserAppLogLine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserAppLogLine() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UserAppLogLine(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.class, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder.class); } private int bitField0_; public static final int TIMESTAMP_USEC_FIELD_NUMBER = 1; private long timestampUsec_ = 0L; /** * required int64 timestamp_usec = 1; * @return Whether the timestampUsec field is set. */ @java.lang.Override public boolean hasTimestampUsec() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 timestamp_usec = 1; * @return The timestampUsec. */ @java.lang.Override public long getTimestampUsec() { return timestampUsec_; } public static final int LEVEL_FIELD_NUMBER = 2; private long level_ = 0L; /** * required int64 level = 2; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000002) != 0); } /** * required int64 level = 2; * @return The level. */ @java.lang.Override public long getLevel() { return level_; } public static final int MESSAGE_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * required string message = 3; * @return Whether the message field is set. */ @java.lang.Override public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * required string message = 3; * @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; } } /** * required string message = 3; * @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; } } public static final int SOURCE_LOCATION_FIELD_NUMBER = 4; private com.google.apphosting.base.protos.SourcePb.SourceLocation sourceLocation_; /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ @java.lang.Override public boolean hasSourceLocation() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ @java.lang.Override public com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation() { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ @java.lang.Override public com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder() { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } 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 (!hasTimestampUsec()) { memoizedIsInitialized = 0; return false; } if (!hasLevel()) { 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.writeInt64(1, timestampUsec_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, level_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getSourceLocation()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, timestampUsec_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, level_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSourceLocation()); } 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.api.logservice.LogServicePb.UserAppLogLine)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine other = (com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine) obj; if (hasTimestampUsec() != other.hasTimestampUsec()) return false; if (hasTimestampUsec()) { if (getTimestampUsec() != other.getTimestampUsec()) return false; } if (hasLevel() != other.hasLevel()) return false; if (hasLevel()) { if (getLevel() != other.getLevel()) return false; } if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) return false; } if (hasSourceLocation() != other.hasSourceLocation()) return false; if (hasSourceLocation()) { if (!getSourceLocation() .equals(other.getSourceLocation())) 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 (hasTimestampUsec()) { hash = (37 * hash) + TIMESTAMP_USEC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestampUsec()); } if (hasLevel()) { hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLevel()); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } if (hasSourceLocation()) { hash = (37 * hash) + SOURCE_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getSourceLocation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine 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; } /** *
     * N.B.(jhaugh): These two messages are partial copies of the AppLogLine and
     * AppLogGroup messages defined in <internal3>.  They are
     * redefined here to allow userspace code to serialize log lines.
     * 
* * Protobuf type {@code java.apphosting.UserAppLogLine} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UserAppLogLine) com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.class, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSourceLocationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestampUsec_ = 0L; level_ = 0L; message_ = ""; sourceLocation_ = null; if (sourceLocationBuilder_ != null) { sourceLocationBuilder_.dispose(); sourceLocationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogLine_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine build() { com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine buildPartial() { com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine result = new com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.timestampUsec_ = timestampUsec_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.level_ = level_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.message_ = message_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceLocation_ = sourceLocationBuilder_ == null ? sourceLocation_ : sourceLocationBuilder_.build(); to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine other) { if (other == com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.getDefaultInstance()) return this; if (other.hasTimestampUsec()) { setTimestampUsec(other.getTimestampUsec()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasMessage()) { message_ = other.message_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasSourceLocation()) { mergeSourceLocation(other.getSourceLocation()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTimestampUsec()) { return false; } if (!hasLevel()) { 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 8: { timestampUsec_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { level_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { message_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getSourceLocationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long timestampUsec_ ; /** * required int64 timestamp_usec = 1; * @return Whether the timestampUsec field is set. */ @java.lang.Override public boolean hasTimestampUsec() { return ((bitField0_ & 0x00000001) != 0); } /** * required int64 timestamp_usec = 1; * @return The timestampUsec. */ @java.lang.Override public long getTimestampUsec() { return timestampUsec_; } /** * required int64 timestamp_usec = 1; * @param value The timestampUsec to set. * @return This builder for chaining. */ public Builder setTimestampUsec(long value) { timestampUsec_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required int64 timestamp_usec = 1; * @return This builder for chaining. */ public Builder clearTimestampUsec() { bitField0_ = (bitField0_ & ~0x00000001); timestampUsec_ = 0L; onChanged(); return this; } private long level_ ; /** * required int64 level = 2; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000002) != 0); } /** * required int64 level = 2; * @return The level. */ @java.lang.Override public long getLevel() { return level_; } /** * required int64 level = 2; * @param value The level to set. * @return This builder for chaining. */ public Builder setLevel(long value) { level_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required int64 level = 2; * @return This builder for chaining. */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000002); level_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * required string message = 3; * @return Whether the message field is set. */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * required string message = 3; * @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; } } /** * required string message = 3; * @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; } } /** * required string message = 3; * @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_ |= 0x00000004; onChanged(); return this; } /** * required string message = 3; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * required string message = 3; * @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_ |= 0x00000004; onChanged(); return this; } private com.google.apphosting.base.protos.SourcePb.SourceLocation sourceLocation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder> sourceLocationBuilder_; /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ public boolean hasSourceLocation() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ public com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation() { if (sourceLocationBuilder_ == null) { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } else { return sourceLocationBuilder_.getMessage(); } } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder setSourceLocation(com.google.apphosting.base.protos.SourcePb.SourceLocation value) { if (sourceLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sourceLocation_ = value; } else { sourceLocationBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder setSourceLocation( com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder builderForValue) { if (sourceLocationBuilder_ == null) { sourceLocation_ = builderForValue.build(); } else { sourceLocationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder mergeSourceLocation(com.google.apphosting.base.protos.SourcePb.SourceLocation value) { if (sourceLocationBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && sourceLocation_ != null && sourceLocation_ != com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance()) { getSourceLocationBuilder().mergeFrom(value); } else { sourceLocation_ = value; } } else { sourceLocationBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder clearSourceLocation() { bitField0_ = (bitField0_ & ~0x00000008); sourceLocation_ = null; if (sourceLocationBuilder_ != null) { sourceLocationBuilder_.dispose(); sourceLocationBuilder_ = null; } onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder getSourceLocationBuilder() { bitField0_ |= 0x00000008; onChanged(); return getSourceLocationFieldBuilder().getBuilder(); } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder() { if (sourceLocationBuilder_ != null) { return sourceLocationBuilder_.getMessageOrBuilder(); } else { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder> getSourceLocationFieldBuilder() { if (sourceLocationBuilder_ == null) { sourceLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder>( getSourceLocation(), getParentForChildren(), isClean()); sourceLocation_ = null; } return sourceLocationBuilder_; } @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.UserAppLogLine) } // @@protoc_insertion_point(class_scope:java.apphosting.UserAppLogLine) private static final com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine(); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UserAppLogLine 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.api.logservice.LogServicePb.UserAppLogLine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserAppLogGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.UserAppLogGroup) com.google.protobuf.MessageOrBuilder { /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ java.util.List getLogLineList(); /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine getLogLine(int index); /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ int getLogLineCount(); /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ java.util.List getLogLineOrBuilderList(); /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder getLogLineOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.UserAppLogGroup} */ public static final class UserAppLogGroup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.UserAppLogGroup) UserAppLogGroupOrBuilder { private static final long serialVersionUID = 0L; // Use UserAppLogGroup.newBuilder() to construct. private UserAppLogGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserAppLogGroup() { logLine_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UserAppLogGroup(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.class, com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.Builder.class); } public static final int LOG_LINE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List logLine_; /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ @java.lang.Override public java.util.List getLogLineList() { return logLine_; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ @java.lang.Override public java.util.List getLogLineOrBuilderList() { return logLine_; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ @java.lang.Override public int getLogLineCount() { return logLine_.size(); } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine getLogLine(int index) { return logLine_.get(index); } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder getLogLineOrBuilder( int index) { return logLine_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getLogLineCount(); i++) { if (!getLogLine(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 { for (int i = 0; i < logLine_.size(); i++) { output.writeMessage(2, logLine_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < logLine_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, logLine_.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.api.logservice.LogServicePb.UserAppLogGroup)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup other = (com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup) obj; if (!getLogLineList() .equals(other.getLogLineList())) 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 (getLogLineCount() > 0) { hash = (37 * hash) + LOG_LINE_FIELD_NUMBER; hash = (53 * hash) + getLogLineList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup 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.UserAppLogGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.UserAppLogGroup) com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.class, com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (logLineBuilder_ == null) { logLine_ = java.util.Collections.emptyList(); } else { logLine_ = null; logLineBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_UserAppLogGroup_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup build() { com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup buildPartial() { com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup result = new com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup result) { if (logLineBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { logLine_ = java.util.Collections.unmodifiableList(logLine_); bitField0_ = (bitField0_ & ~0x00000001); } result.logLine_ = logLine_; } else { result.logLine_ = logLineBuilder_.build(); } } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup result) { int from_bitField0_ = 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.api.logservice.LogServicePb.UserAppLogGroup) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup other) { if (other == com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup.getDefaultInstance()) return this; if (logLineBuilder_ == null) { if (!other.logLine_.isEmpty()) { if (logLine_.isEmpty()) { logLine_ = other.logLine_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogLineIsMutable(); logLine_.addAll(other.logLine_); } onChanged(); } } else { if (!other.logLine_.isEmpty()) { if (logLineBuilder_.isEmpty()) { logLineBuilder_.dispose(); logLineBuilder_ = null; logLine_ = other.logLine_; bitField0_ = (bitField0_ & ~0x00000001); logLineBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogLineFieldBuilder() : null; } else { logLineBuilder_.addAllMessages(other.logLine_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getLogLineCount(); i++) { if (!getLogLine(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 18: { com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine m = input.readMessage( com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.PARSER, extensionRegistry); if (logLineBuilder_ == null) { ensureLogLineIsMutable(); logLine_.add(m); } else { logLineBuilder_.addMessage(m); } break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List logLine_ = java.util.Collections.emptyList(); private void ensureLogLineIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { logLine_ = new java.util.ArrayList(logLine_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder> logLineBuilder_; /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public java.util.List getLogLineList() { if (logLineBuilder_ == null) { return java.util.Collections.unmodifiableList(logLine_); } else { return logLineBuilder_.getMessageList(); } } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public int getLogLineCount() { if (logLineBuilder_ == null) { return logLine_.size(); } else { return logLineBuilder_.getCount(); } } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine getLogLine(int index) { if (logLineBuilder_ == null) { return logLine_.get(index); } else { return logLineBuilder_.getMessage(index); } } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder setLogLine( int index, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine value) { if (logLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogLineIsMutable(); logLine_.set(index, value); onChanged(); } else { logLineBuilder_.setMessage(index, value); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder setLogLine( int index, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder builderForValue) { if (logLineBuilder_ == null) { ensureLogLineIsMutable(); logLine_.set(index, builderForValue.build()); onChanged(); } else { logLineBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder addLogLine(com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine value) { if (logLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogLineIsMutable(); logLine_.add(value); onChanged(); } else { logLineBuilder_.addMessage(value); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder addLogLine( int index, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine value) { if (logLineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogLineIsMutable(); logLine_.add(index, value); onChanged(); } else { logLineBuilder_.addMessage(index, value); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder addLogLine( com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder builderForValue) { if (logLineBuilder_ == null) { ensureLogLineIsMutable(); logLine_.add(builderForValue.build()); onChanged(); } else { logLineBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder addLogLine( int index, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder builderForValue) { if (logLineBuilder_ == null) { ensureLogLineIsMutable(); logLine_.add(index, builderForValue.build()); onChanged(); } else { logLineBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder addAllLogLine( java.lang.Iterable values) { if (logLineBuilder_ == null) { ensureLogLineIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logLine_); onChanged(); } else { logLineBuilder_.addAllMessages(values); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder clearLogLine() { if (logLineBuilder_ == null) { logLine_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logLineBuilder_.clear(); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public Builder removeLogLine(int index) { if (logLineBuilder_ == null) { ensureLogLineIsMutable(); logLine_.remove(index); onChanged(); } else { logLineBuilder_.remove(index); } return this; } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder getLogLineBuilder( int index) { return getLogLineFieldBuilder().getBuilder(index); } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder getLogLineOrBuilder( int index) { if (logLineBuilder_ == null) { return logLine_.get(index); } else { return logLineBuilder_.getMessageOrBuilder(index); } } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public java.util.List getLogLineOrBuilderList() { if (logLineBuilder_ != null) { return logLineBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logLine_); } } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder addLogLineBuilder() { return getLogLineFieldBuilder().addBuilder( com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.getDefaultInstance()); } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder addLogLineBuilder( int index) { return getLogLineFieldBuilder().addBuilder( index, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.getDefaultInstance()); } /** * repeated .java.apphosting.UserAppLogLine log_line = 2; */ public java.util.List getLogLineBuilderList() { return getLogLineFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder> getLogLineFieldBuilder() { if (logLineBuilder_ == null) { logLineBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.UserAppLogLineOrBuilder>( logLine_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); logLine_ = null; } return logLineBuilder_; } @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.UserAppLogGroup) } // @@protoc_insertion_point(class_scope:java.apphosting.UserAppLogGroup) private static final com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup(); } public static com.google.apphosting.api.logservice.LogServicePb.UserAppLogGroup getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UserAppLogGroup 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.api.logservice.LogServicePb.UserAppLogGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlushRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.FlushRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Type: encoded AppLogGroup pb, from <internal3>
     * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
     * 
* * optional bytes logs = 1; * @return Whether the logs field is set. */ boolean hasLogs(); /** *
     * Type: encoded AppLogGroup pb, from <internal3>
     * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
     * 
* * optional bytes logs = 1; * @return The logs. */ com.google.protobuf.ByteString getLogs(); } /** * Protobuf type {@code java.apphosting.FlushRequest} */ public static final class FlushRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.FlushRequest) FlushRequestOrBuilder { private static final long serialVersionUID = 0L; // Use FlushRequest.newBuilder() to construct. private FlushRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlushRequest() { logs_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlushRequest(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_FlushRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_FlushRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.FlushRequest.class, com.google.apphosting.api.logservice.LogServicePb.FlushRequest.Builder.class); } private int bitField0_; public static final int LOGS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString logs_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Type: encoded AppLogGroup pb, from <internal3>
     * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
     * 
* * optional bytes logs = 1; * @return Whether the logs field is set. */ @java.lang.Override public boolean hasLogs() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Type: encoded AppLogGroup pb, from <internal3>
     * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
     * 
* * optional bytes logs = 1; * @return The logs. */ @java.lang.Override public com.google.protobuf.ByteString getLogs() { return logs_; } 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.writeBytes(1, logs_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, logs_); } 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.api.logservice.LogServicePb.FlushRequest)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.FlushRequest other = (com.google.apphosting.api.logservice.LogServicePb.FlushRequest) obj; if (hasLogs() != other.hasLogs()) return false; if (hasLogs()) { if (!getLogs() .equals(other.getLogs())) 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 (hasLogs()) { hash = (37 * hash) + LOGS_FIELD_NUMBER; hash = (53 * hash) + getLogs().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest 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.api.logservice.LogServicePb.FlushRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest 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.api.logservice.LogServicePb.FlushRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest 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.api.logservice.LogServicePb.FlushRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest 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.api.logservice.LogServicePb.FlushRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest 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.api.logservice.LogServicePb.FlushRequest 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.FlushRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.FlushRequest) com.google.apphosting.api.logservice.LogServicePb.FlushRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_FlushRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_FlushRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.FlushRequest.class, com.google.apphosting.api.logservice.LogServicePb.FlushRequest.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.FlushRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; logs_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_FlushRequest_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.FlushRequest getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.FlushRequest.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.FlushRequest build() { com.google.apphosting.api.logservice.LogServicePb.FlushRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.FlushRequest buildPartial() { com.google.apphosting.api.logservice.LogServicePb.FlushRequest result = new com.google.apphosting.api.logservice.LogServicePb.FlushRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.FlushRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.logs_ = logs_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.api.logservice.LogServicePb.FlushRequest) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.FlushRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.FlushRequest other) { if (other == com.google.apphosting.api.logservice.LogServicePb.FlushRequest.getDefaultInstance()) return this; if (other.hasLogs()) { setLogs(other.getLogs()); } 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: { logs_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString logs_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Type: encoded AppLogGroup pb, from <internal3>
       * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
       * 
* * optional bytes logs = 1; * @return Whether the logs field is set. */ @java.lang.Override public boolean hasLogs() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Type: encoded AppLogGroup pb, from <internal3>
       * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
       * 
* * optional bytes logs = 1; * @return The logs. */ @java.lang.Override public com.google.protobuf.ByteString getLogs() { return logs_; } /** *
       * Type: encoded AppLogGroup pb, from <internal3>
       * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
       * 
* * optional bytes logs = 1; * @param value The logs to set. * @return This builder for chaining. */ public Builder setLogs(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } logs_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Type: encoded AppLogGroup pb, from <internal3>
       * Userspace code uses UserAppLogLine and UserAppLogGroup defined above.
       * 
* * optional bytes logs = 1; * @return This builder for chaining. */ public Builder clearLogs() { bitField0_ = (bitField0_ & ~0x00000001); logs_ = getDefaultInstance().getLogs(); 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.FlushRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.FlushRequest) private static final com.google.apphosting.api.logservice.LogServicePb.FlushRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.FlushRequest(); } public static com.google.apphosting.api.logservice.LogServicePb.FlushRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlushRequest 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.api.logservice.LogServicePb.FlushRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogOffsetOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogOffset) com.google.protobuf.MessageOrBuilder { /** * optional bytes request_id = 1; * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * optional bytes request_id = 1; * @return The requestId. */ com.google.protobuf.ByteString getRequestId(); /** *
     * N.B. We cannot remove these fields via the "reserved" keyword because
     * doing so is not compatible with the python27_proto build rule.
     * 
* * optional bool deprecated_request_id_set = 101; * @return Whether the deprecatedRequestIdSet field is set. */ boolean hasDeprecatedRequestIdSet(); /** *
     * N.B. We cannot remove these fields via the "reserved" keyword because
     * doing so is not compatible with the python27_proto build rule.
     * 
* * optional bool deprecated_request_id_set = 101; * @return The deprecatedRequestIdSet. */ boolean getDeprecatedRequestIdSet(); } /** *
   * Token used to continue paged reads between calls.
   * 
* * Protobuf type {@code java.apphosting.LogOffset} */ public static final class LogOffset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogOffset) LogOffsetOrBuilder { private static final long serialVersionUID = 0L; // Use LogOffset.newBuilder() to construct. private LogOffset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogOffset() { requestId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogOffset(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogOffset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogOffset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogOffset.class, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder.class); } private int bitField0_; public static final int REQUEST_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString requestId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes request_id = 1; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes request_id = 1; * @return The requestId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestId() { return requestId_; } public static final int DEPRECATED_REQUEST_ID_SET_FIELD_NUMBER = 101; private boolean deprecatedRequestIdSet_ = false; /** *
     * N.B. We cannot remove these fields via the "reserved" keyword because
     * doing so is not compatible with the python27_proto build rule.
     * 
* * optional bool deprecated_request_id_set = 101; * @return Whether the deprecatedRequestIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedRequestIdSet() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * N.B. We cannot remove these fields via the "reserved" keyword because
     * doing so is not compatible with the python27_proto build rule.
     * 
* * optional bool deprecated_request_id_set = 101; * @return The deprecatedRequestIdSet. */ @java.lang.Override public boolean getDeprecatedRequestIdSet() { return deprecatedRequestIdSet_; } 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.writeBytes(1, requestId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(101, deprecatedRequestIdSet_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, requestId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(101, deprecatedRequestIdSet_); } 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.api.logservice.LogServicePb.LogOffset)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogOffset other = (com.google.apphosting.api.logservice.LogServicePb.LogOffset) obj; if (hasRequestId() != other.hasRequestId()) return false; if (hasRequestId()) { if (!getRequestId() .equals(other.getRequestId())) return false; } if (hasDeprecatedRequestIdSet() != other.hasDeprecatedRequestIdSet()) return false; if (hasDeprecatedRequestIdSet()) { if (getDeprecatedRequestIdSet() != other.getDeprecatedRequestIdSet()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRequestId()) { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); } if (hasDeprecatedRequestIdSet()) { hash = (37 * hash) + DEPRECATED_REQUEST_ID_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedRequestIdSet()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset 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.api.logservice.LogServicePb.LogOffset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset 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.api.logservice.LogServicePb.LogOffset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset 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.api.logservice.LogServicePb.LogOffset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset 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.api.logservice.LogServicePb.LogOffset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset 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.api.logservice.LogServicePb.LogOffset 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; } /** *
     * Token used to continue paged reads between calls.
     * 
* * Protobuf type {@code java.apphosting.LogOffset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogOffset) com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogOffset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogOffset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogOffset.class, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogOffset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; requestId_ = com.google.protobuf.ByteString.EMPTY; deprecatedRequestIdSet_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogOffset_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset build() { com.google.apphosting.api.logservice.LogServicePb.LogOffset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogOffset result = new com.google.apphosting.api.logservice.LogServicePb.LogOffset(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogOffset result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.deprecatedRequestIdSet_ = deprecatedRequestIdSet_; 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.api.logservice.LogServicePb.LogOffset) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogOffset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogOffset other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasDeprecatedRequestIdSet()) { setDeprecatedRequestIdSet(other.getDeprecatedRequestIdSet()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { requestId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 808: { deprecatedRequestIdSet_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 808 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString requestId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes request_id = 1; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes request_id = 1; * @return The requestId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestId() { return requestId_; } /** * optional bytes request_id = 1; * @param value The requestId to set. * @return This builder for chaining. */ public Builder setRequestId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional bytes request_id = 1; * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } private boolean deprecatedRequestIdSet_ ; /** *
       * N.B. We cannot remove these fields via the "reserved" keyword because
       * doing so is not compatible with the python27_proto build rule.
       * 
* * optional bool deprecated_request_id_set = 101; * @return Whether the deprecatedRequestIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedRequestIdSet() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * N.B. We cannot remove these fields via the "reserved" keyword because
       * doing so is not compatible with the python27_proto build rule.
       * 
* * optional bool deprecated_request_id_set = 101; * @return The deprecatedRequestIdSet. */ @java.lang.Override public boolean getDeprecatedRequestIdSet() { return deprecatedRequestIdSet_; } /** *
       * N.B. We cannot remove these fields via the "reserved" keyword because
       * doing so is not compatible with the python27_proto build rule.
       * 
* * optional bool deprecated_request_id_set = 101; * @param value The deprecatedRequestIdSet to set. * @return This builder for chaining. */ public Builder setDeprecatedRequestIdSet(boolean value) { deprecatedRequestIdSet_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * N.B. We cannot remove these fields via the "reserved" keyword because
       * doing so is not compatible with the python27_proto build rule.
       * 
* * optional bool deprecated_request_id_set = 101; * @return This builder for chaining. */ public Builder clearDeprecatedRequestIdSet() { bitField0_ = (bitField0_ & ~0x00000002); deprecatedRequestIdSet_ = 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.LogOffset) } // @@protoc_insertion_point(class_scope:java.apphosting.LogOffset) private static final com.google.apphosting.api.logservice.LogServicePb.LogOffset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogOffset(); } public static com.google.apphosting.api.logservice.LogServicePb.LogOffset getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogOffset 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.api.logservice.LogServicePb.LogOffset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogLineOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogLine) com.google.protobuf.MessageOrBuilder { /** *
     * Time when log entry was made, in microseconds since the Unix epoch.  May
     * be inaccurate.
     * 
* * required int64 time = 1; * @return Whether the time field is set. */ boolean hasTime(); /** *
     * Time when log entry was made, in microseconds since the Unix epoch.  May
     * be inaccurate.
     * 
* * required int64 time = 1; * @return The time. */ long getTime(); /** *
     * Level or severity of log.
     * 
* * required int32 level = 2; * @return Whether the level field is set. */ boolean hasLevel(); /** *
     * Level or severity of log.
     * 
* * required int32 level = 2; * @return The level. */ int getLevel(); /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return Whether the logMessage field is set. */ boolean hasLogMessage(); /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return The logMessage. */ java.lang.String getLogMessage(); /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return The bytes for logMessage. */ com.google.protobuf.ByteString getLogMessageBytes(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ boolean hasSourceLocation(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation(); /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder(); } /** *
   * Application log line emitted while processing a request.
   * 
* * Protobuf type {@code java.apphosting.LogLine} */ public static final class LogLine extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogLine) LogLineOrBuilder { private static final long serialVersionUID = 0L; // Use LogLine.newBuilder() to construct. private LogLine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogLine() { logMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogLine(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogLine.class, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private long time_ = 0L; /** *
     * Time when log entry was made, in microseconds since the Unix epoch.  May
     * be inaccurate.
     * 
* * required int64 time = 1; * @return Whether the time field is set. */ @java.lang.Override public boolean hasTime() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Time when log entry was made, in microseconds since the Unix epoch.  May
     * be inaccurate.
     * 
* * required int64 time = 1; * @return The time. */ @java.lang.Override public long getTime() { return time_; } public static final int LEVEL_FIELD_NUMBER = 2; private int level_ = 0; /** *
     * Level or severity of log.
     * 
* * required int32 level = 2; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Level or severity of log.
     * 
* * required int32 level = 2; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } public static final int LOG_MESSAGE_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object logMessage_ = ""; /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return Whether the logMessage field is set. */ @java.lang.Override public boolean hasLogMessage() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return The logMessage. */ @java.lang.Override public java.lang.String getLogMessage() { java.lang.Object ref = logMessage_; 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()) { logMessage_ = s; } return s; } } /** *
     * User provided log message.
     * 
* * required string log_message = 3; * @return The bytes for logMessage. */ @java.lang.Override public com.google.protobuf.ByteString getLogMessageBytes() { java.lang.Object ref = logMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_LOCATION_FIELD_NUMBER = 4; private com.google.apphosting.base.protos.SourcePb.SourceLocation sourceLocation_; /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ @java.lang.Override public boolean hasSourceLocation() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ @java.lang.Override public com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation() { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } /** *
     * Line of code that generated this log message.
     * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ @java.lang.Override public com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder() { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } 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 (!hasTime()) { memoizedIsInitialized = 0; return false; } if (!hasLevel()) { memoizedIsInitialized = 0; return false; } if (!hasLogMessage()) { 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.writeInt64(1, time_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, level_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logMessage_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getSourceLocation()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, time_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, level_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, logMessage_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSourceLocation()); } 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.api.logservice.LogServicePb.LogLine)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogLine other = (com.google.apphosting.api.logservice.LogServicePb.LogLine) obj; if (hasTime() != other.hasTime()) return false; if (hasTime()) { if (getTime() != other.getTime()) return false; } if (hasLevel() != other.hasLevel()) return false; if (hasLevel()) { if (getLevel() != other.getLevel()) return false; } if (hasLogMessage() != other.hasLogMessage()) return false; if (hasLogMessage()) { if (!getLogMessage() .equals(other.getLogMessage())) return false; } if (hasSourceLocation() != other.hasSourceLocation()) return false; if (hasSourceLocation()) { if (!getSourceLocation() .equals(other.getSourceLocation())) 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 (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTime()); } if (hasLevel()) { hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + getLevel(); } if (hasLogMessage()) { hash = (37 * hash) + LOG_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getLogMessage().hashCode(); } if (hasSourceLocation()) { hash = (37 * hash) + SOURCE_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getSourceLocation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogLine parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine 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.api.logservice.LogServicePb.LogLine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine 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.api.logservice.LogServicePb.LogLine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine 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.api.logservice.LogServicePb.LogLine parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine 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.api.logservice.LogServicePb.LogLine parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine 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.api.logservice.LogServicePb.LogLine 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; } /** *
     * Application log line emitted while processing a request.
     * 
* * Protobuf type {@code java.apphosting.LogLine} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogLine) com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogLine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogLine_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogLine.class, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogLine.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSourceLocationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; time_ = 0L; level_ = 0; logMessage_ = ""; sourceLocation_ = null; if (sourceLocationBuilder_ != null) { sourceLocationBuilder_.dispose(); sourceLocationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogLine_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogLine getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogLine.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogLine build() { com.google.apphosting.api.logservice.LogServicePb.LogLine result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogLine buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogLine result = new com.google.apphosting.api.logservice.LogServicePb.LogLine(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogLine result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.time_ = time_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.level_ = level_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.logMessage_ = logMessage_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceLocation_ = sourceLocationBuilder_ == null ? sourceLocation_ : sourceLocationBuilder_.build(); to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.api.logservice.LogServicePb.LogLine) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogLine)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogLine other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogLine.getDefaultInstance()) return this; if (other.hasTime()) { setTime(other.getTime()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasLogMessage()) { logMessage_ = other.logMessage_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasSourceLocation()) { mergeSourceLocation(other.getSourceLocation()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasTime()) { return false; } if (!hasLevel()) { return false; } if (!hasLogMessage()) { 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: { time_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { level_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { logMessage_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getSourceLocationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long time_ ; /** *
       * Time when log entry was made, in microseconds since the Unix epoch.  May
       * be inaccurate.
       * 
* * required int64 time = 1; * @return Whether the time field is set. */ @java.lang.Override public boolean hasTime() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Time when log entry was made, in microseconds since the Unix epoch.  May
       * be inaccurate.
       * 
* * required int64 time = 1; * @return The time. */ @java.lang.Override public long getTime() { return time_; } /** *
       * Time when log entry was made, in microseconds since the Unix epoch.  May
       * be inaccurate.
       * 
* * required int64 time = 1; * @param value The time to set. * @return This builder for chaining. */ public Builder setTime(long value) { time_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Time when log entry was made, in microseconds since the Unix epoch.  May
       * be inaccurate.
       * 
* * required int64 time = 1; * @return This builder for chaining. */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = 0L; onChanged(); return this; } private int level_ ; /** *
       * Level or severity of log.
       * 
* * required int32 level = 2; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Level or severity of log.
       * 
* * required int32 level = 2; * @return The level. */ @java.lang.Override public int getLevel() { return level_; } /** *
       * Level or severity of log.
       * 
* * required int32 level = 2; * @param value The level to set. * @return This builder for chaining. */ public Builder setLevel(int value) { level_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Level or severity of log.
       * 
* * required int32 level = 2; * @return This builder for chaining. */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000002); level_ = 0; onChanged(); return this; } private java.lang.Object logMessage_ = ""; /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @return Whether the logMessage field is set. */ public boolean hasLogMessage() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @return The logMessage. */ public java.lang.String getLogMessage() { java.lang.Object ref = logMessage_; 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()) { logMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @return The bytes for logMessage. */ public com.google.protobuf.ByteString getLogMessageBytes() { java.lang.Object ref = logMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @param value The logMessage to set. * @return This builder for chaining. */ public Builder setLogMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @return This builder for chaining. */ public Builder clearLogMessage() { logMessage_ = getDefaultInstance().getLogMessage(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * User provided log message.
       * 
* * required string log_message = 3; * @param value The bytes for logMessage to set. * @return This builder for chaining. */ public Builder setLogMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } logMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private com.google.apphosting.base.protos.SourcePb.SourceLocation sourceLocation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder> sourceLocationBuilder_; /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return Whether the sourceLocation field is set. */ public boolean hasSourceLocation() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; * @return The sourceLocation. */ public com.google.apphosting.base.protos.SourcePb.SourceLocation getSourceLocation() { if (sourceLocationBuilder_ == null) { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } else { return sourceLocationBuilder_.getMessage(); } } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder setSourceLocation(com.google.apphosting.base.protos.SourcePb.SourceLocation value) { if (sourceLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sourceLocation_ = value; } else { sourceLocationBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder setSourceLocation( com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder builderForValue) { if (sourceLocationBuilder_ == null) { sourceLocation_ = builderForValue.build(); } else { sourceLocationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder mergeSourceLocation(com.google.apphosting.base.protos.SourcePb.SourceLocation value) { if (sourceLocationBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && sourceLocation_ != null && sourceLocation_ != com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance()) { getSourceLocationBuilder().mergeFrom(value); } else { sourceLocation_ = value; } } else { sourceLocationBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public Builder clearSourceLocation() { bitField0_ = (bitField0_ & ~0x00000008); sourceLocation_ = null; if (sourceLocationBuilder_ != null) { sourceLocationBuilder_.dispose(); sourceLocationBuilder_ = null; } onChanged(); return this; } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder getSourceLocationBuilder() { bitField0_ |= 0x00000008; onChanged(); return getSourceLocationFieldBuilder().getBuilder(); } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ public com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder getSourceLocationOrBuilder() { if (sourceLocationBuilder_ != null) { return sourceLocationBuilder_.getMessageOrBuilder(); } else { return sourceLocation_ == null ? com.google.apphosting.base.protos.SourcePb.SourceLocation.getDefaultInstance() : sourceLocation_; } } /** *
       * Line of code that generated this log message.
       * 
* * optional .java.apphosting.SourceLocation source_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder> getSourceLocationFieldBuilder() { if (sourceLocationBuilder_ == null) { sourceLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SourcePb.SourceLocation, com.google.apphosting.base.protos.SourcePb.SourceLocation.Builder, com.google.apphosting.base.protos.SourcePb.SourceLocationOrBuilder>( getSourceLocation(), getParentForChildren(), isClean()); sourceLocation_ = null; } return sourceLocationBuilder_; } @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.LogLine) } // @@protoc_insertion_point(class_scope:java.apphosting.LogLine) private static final com.google.apphosting.api.logservice.LogServicePb.LogLine DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogLine(); } public static com.google.apphosting.api.logservice.LogServicePb.LogLine getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogLine 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.api.logservice.LogServicePb.LogLine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestLogOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.RequestLog) com.google.protobuf.MessageOrBuilder { /** *
     * Identifies the application that handled this request.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Identifies the application that handled this request.
     * 
* * required string app_id = 1; * @return The appId. */ java.lang.String getAppId(); /** *
     * Identifies the application that handled this request.
     * 
* * required string app_id = 1; * @return The bytes for appId. */ com.google.protobuf.ByteString getAppIdBytes(); /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ boolean hasModuleId(); /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * optional string module_id = 37 [default = "default"]; * @return The moduleId. */ java.lang.String getModuleId(); /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * optional string module_id = 37 [default = "default"]; * @return The bytes for moduleId. */ com.google.protobuf.ByteString getModuleIdBytes(); /** *
     * Version of the application that handled this request.
     * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ boolean hasVersionId(); /** *
     * Version of the application that handled this request.
     * 
* * required string version_id = 2; * @return The versionId. */ java.lang.String getVersionId(); /** *
     * Version of the application that handled this request.
     * 
* * required string version_id = 2; * @return The bytes for versionId. */ com.google.protobuf.ByteString getVersionIdBytes(); /** *
     * Globally unique identifier for a request, based on request start time.
     * Request ids for requests which started later will compare greater as
     * binary strings than those for requests which started earlier.
     * 
* * required bytes request_id = 3; * @return Whether the requestId field is set. */ boolean hasRequestId(); /** *
     * Globally unique identifier for a request, based on request start time.
     * Request ids for requests which started later will compare greater as
     * binary strings than those for requests which started earlier.
     * 
* * required bytes request_id = 3; * @return The requestId. */ com.google.protobuf.ByteString getRequestId(); /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; * @return Whether the offset field is set. */ boolean hasOffset(); /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; * @return The offset. */ com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset(); /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; */ com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder(); /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return Whether the ip field is set. */ boolean hasIp(); /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return The ip. */ java.lang.String getIp(); /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return The bytes for ip. */ com.google.protobuf.ByteString getIpBytes(); /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @return Whether the nickname field is set. */ boolean hasNickname(); /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @return The nickname. */ java.lang.String getNickname(); /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @return The bytes for nickname. */ com.google.protobuf.ByteString getNicknameBytes(); /** *
     * A time near the beginning of request processing in the Edge PFE. This time
     * is measured in microseconds since epoch.
     * 
* * required int64 start_time = 6; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * A time near the beginning of request processing in the Edge PFE. This time
     * is measured in microseconds since epoch.
     * 
* * required int64 start_time = 6; * @return The startTime. */ long getStartTime(); /** *
     * A time near the end of AppServer's processing of the request, just before
     * the logs are written, and measured in microseconds since epoch.
     * 
* * required int64 end_time = 7; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * A time near the end of AppServer's processing of the request, just before
     * the logs are written, and measured in microseconds since epoch.
     * 
* * required int64 end_time = 7; * @return The endTime. */ long getEndTime(); /** *
     * This is the same as end_time - start_time, and is measured in microseconds.
     * 
* * required int64 latency = 8; * @return Whether the latency field is set. */ boolean hasLatency(); /** *
     * This is the same as end_time - start_time, and is measured in microseconds.
     * 
* * required int64 latency = 8; * @return The latency. */ long getLatency(); /** *
     * Number of megacycles that may have been required to process this request
     * inside the clone. Note that this field is not very accurate in how it
     * associates cycles to requests when requests run concurrently, although
     * the total across all requests that ran within a given timeframe will be
     * accurate.
     * 
* * required int64 mcycles = 9; * @return Whether the mcycles field is set. */ boolean hasMcycles(); /** *
     * Number of megacycles that may have been required to process this request
     * inside the clone. Note that this field is not very accurate in how it
     * associates cycles to requests when requests run concurrently, although
     * the total across all requests that ran within a given timeframe will be
     * accurate.
     * 
* * required int64 mcycles = 9; * @return The mcycles. */ long getMcycles(); /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return Whether the method field is set. */ boolean hasMethod(); /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return The method. */ java.lang.String getMethod(); /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return Whether the resource field is set. */ boolean hasResource(); /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return The resource. */ java.lang.String getResource(); /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return The bytes for resource. */ com.google.protobuf.ByteString getResourceBytes(); /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return Whether the httpVersion field is set. */ boolean hasHttpVersion(); /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return The httpVersion. */ java.lang.String getHttpVersion(); /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return The bytes for httpVersion. */ com.google.protobuf.ByteString getHttpVersionBytes(); /** *
     * Response status of request.
     * 
* * required int32 status = 13; * @return Whether the status field is set. */ boolean hasStatus(); /** *
     * Response status of request.
     * 
* * required int32 status = 13; * @return The status. */ int getStatus(); /** *
     * Size in bytes sent back to client by request.
     * 
* * required int64 response_size = 14; * @return Whether the responseSize field is set. */ boolean hasResponseSize(); /** *
     * Size in bytes sent back to client by request.
     * 
* * required int64 response_size = 14; * @return The responseSize. */ long getResponseSize(); /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return Whether the referrer field is set. */ boolean hasReferrer(); /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return The referrer. */ java.lang.String getReferrer(); /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return The bytes for referrer. */ com.google.protobuf.ByteString getReferrerBytes(); /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return Whether the userAgent field is set. */ boolean hasUserAgent(); /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return The userAgent. */ java.lang.String getUserAgent(); /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return Whether the urlMapEntry field is set. */ boolean hasUrlMapEntry(); /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return The urlMapEntry. */ java.lang.String getUrlMapEntry(); /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return The bytes for urlMapEntry. */ com.google.protobuf.ByteString getUrlMapEntryBytes(); /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return Whether the combined field is set. */ boolean hasCombined(); /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return The combined. */ java.lang.String getCombined(); /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return The bytes for combined. */ com.google.protobuf.ByteString getCombinedBytes(); /** *
     * Number of megacycles spent by AppServer in serving API calls from the
     * clone for this request. Note that in many cases, API calls also trigger
     * RPCs out of the AppServer, and the CPU cycles in the backend to serve
     * those calls are not included.
     * 
* * optional int64 api_mcycles = 19; * @return Whether the apiMcycles field is set. */ boolean hasApiMcycles(); /** *
     * Number of megacycles spent by AppServer in serving API calls from the
     * clone for this request. Note that in many cases, API calls also trigger
     * RPCs out of the AppServer, and the CPU cycles in the backend to serve
     * those calls are not included.
     * 
* * optional int64 api_mcycles = 19; * @return The apiMcycles. */ long getApiMcycles(); /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return Whether the host field is set. */ boolean hasHost(); /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return The host. */ java.lang.String getHost(); /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
     * An indication of the relative cost of serving this request. This does not
     * have a direct correspondence to the dollar amounts that will show up on
     * the bill, but it is roughly proportional to the contribution this request
     * makes toward the billed amount.
     * 
* * optional double cost = 21; * @return Whether the cost field is set. */ boolean hasCost(); /** *
     * An indication of the relative cost of serving this request. This does not
     * have a direct correspondence to the dollar amounts that will show up on
     * the bill, but it is roughly proportional to the contribution this request
     * makes toward the billed amount.
     * 
* * optional double cost = 21; * @return The cost. */ double getCost(); /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return Whether the taskQueueName field is set. */ boolean hasTaskQueueName(); /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return The taskQueueName. */ java.lang.String getTaskQueueName(); /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return The bytes for taskQueueName. */ com.google.protobuf.ByteString getTaskQueueNameBytes(); /** * optional string task_name = 23; * @return Whether the taskName field is set. */ boolean hasTaskName(); /** * optional string task_name = 23; * @return The taskName. */ java.lang.String getTaskName(); /** * optional string task_name = 23; * @return The bytes for taskName. */ com.google.protobuf.ByteString getTaskNameBytes(); /** *
     * Was this request a loading request for this clone?
     * 
* * optional bool was_loading_request = 24; * @return Whether the wasLoadingRequest field is set. */ boolean hasWasLoadingRequest(); /** *
     * Was this request a loading request for this clone?
     * 
* * optional bool was_loading_request = 24; * @return The wasLoadingRequest. */ boolean getWasLoadingRequest(); /** *
     * Time, in microseconds, this request spent in the pending request queue, if
     * it was pending at all.
     * 
* * optional int64 pending_time = 25; * @return Whether the pendingTime field is set. */ boolean hasPendingTime(); /** *
     * Time, in microseconds, this request spent in the pending request queue, if
     * it was pending at all.
     * 
* * optional int64 pending_time = 25; * @return The pendingTime. */ long getPendingTime(); /** *
     * The server replica that handled the request, if any.
     * WARNING: Default is -1, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional int32 replica_index = 26 [default = -1]; * @return Whether the replicaIndex field is set. */ boolean hasReplicaIndex(); /** *
     * The server replica that handled the request, if any.
     * WARNING: Default is -1, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional int32 replica_index = 26 [default = -1]; * @return The replicaIndex. */ int getReplicaIndex(); /** *
     * If true, represents a finished request.  Otherwise, the request is active.
     * WARNING: Default is true, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional bool finished = 27 [default = true]; * @return Whether the finished field is set. */ boolean hasFinished(); /** *
     * If true, represents a finished request.  Otherwise, the request is active.
     * WARNING: Default is true, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional bool finished = 27 [default = true]; * @return The finished. */ boolean getFinished(); /** *
     * Mostly-unique identifier for the clone that handled the request.
     * 
* * optional bytes clone_key = 28; * @return Whether the cloneKey field is set. */ boolean hasCloneKey(); /** *
     * Mostly-unique identifier for the clone that handled the request.
     * 
* * optional bytes clone_key = 28; * @return The cloneKey. */ com.google.protobuf.ByteString getCloneKey(); /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ java.util.List getLineList(); /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ com.google.apphosting.api.logservice.LogServicePb.LogLine getLine(int index); /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ int getLineCount(); /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ java.util.List getLineOrBuilderList(); /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder getLineOrBuilder( int index); /** *
     * True if fewer log lines are being returned than are known to exist, for
     * example because 'app_logs_per_request' was specified.  Will never be set
     * if 'include_app_logs' was not true.
     * 
* * optional bool lines_incomplete = 36; * @return Whether the linesIncomplete field is set. */ boolean hasLinesIncomplete(); /** *
     * True if fewer log lines are being returned than are known to exist, for
     * example because 'app_logs_per_request' was specified.  Will never be set
     * if 'include_app_logs' was not true.
     * 
* * optional bool lines_incomplete = 36; * @return The linesIncomplete. */ boolean getLinesIncomplete(); /** *
     * Version of the App Engine stack that processed this request
     * (e.g. "1.9.13"). Is actually a string.
     * 
* * optional bytes app_engine_release = 38; * @return Whether the appEngineRelease field is set. */ boolean hasAppEngineRelease(); /** *
     * Version of the App Engine stack that processed this request
     * (e.g. "1.9.13"). Is actually a string.
     * 
* * optional bytes app_engine_release = 38; * @return The appEngineRelease. */ com.google.protobuf.ByteString getAppEngineRelease(); /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return Whether the traceId field is set. */ boolean hasTraceId(); /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return The traceId. */ java.lang.String getTraceId(); /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return The bytes for traceId. */ com.google.protobuf.ByteString getTraceIdBytes(); /** *
     * If this clone exited as part of this request, stores the reason.
     * Type: LogEnum::CloneExitReason
     * 
* * optional int32 exit_reason = 30; * @return Whether the exitReason field is set. */ boolean hasExitReason(); /** *
     * If this clone exited as part of this request, stores the reason.
     * Type: LogEnum::CloneExitReason
     * 
* * optional int32 exit_reason = 30; * @return The exitReason. */ int getExitReason(); /** *
     * Was this request throttled by wallclock restrictions?
     * 
* * optional bool was_throttled_for_time = 31; * @return Whether the wasThrottledForTime field is set. */ boolean hasWasThrottledForTime(); /** *
     * Was this request throttled by wallclock restrictions?
     * 
* * optional bool was_throttled_for_time = 31; * @return The wasThrottledForTime. */ boolean getWasThrottledForTime(); /** *
     * Was this request throttled by per-app active requests restrictions?
     * 
* * optional bool was_throttled_for_requests = 32; * @return Whether the wasThrottledForRequests field is set. */ boolean hasWasThrottledForRequests(); /** *
     * Was this request throttled by per-app active requests restrictions?
     * 
* * optional bool was_throttled_for_requests = 32; * @return The wasThrottledForRequests. */ boolean getWasThrottledForRequests(); /** *
     * The amount of time, in microseconds, that this request was throttled by
     * the CPU throttler, if any.
     * 
* * optional int64 throttled_time = 33; * @return Whether the throttledTime field is set. */ boolean hasThrottledTime(); /** *
     * The amount of time, in microseconds, that this request was throttled by
     * the CPU throttler, if any.
     * 
* * optional int64 throttled_time = 33; * @return The throttledTime. */ long getThrottledTime(); /** *
     * Task BNS address for the AppServer this clone is running on.
     * 
* * optional bytes server_name = 34; * @return Whether the serverName field is set. */ boolean hasServerName(); /** *
     * Task BNS address for the AppServer this clone is running on.
     * 
* * optional bytes server_name = 34; * @return The serverName. */ com.google.protobuf.ByteString getServerName(); } /** *
   * Complete log information about a single request to an application.
   * Next tag: 40
   * 
* * Protobuf type {@code java.apphosting.RequestLog} */ public static final class RequestLog extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.RequestLog) RequestLogOrBuilder { private static final long serialVersionUID = 0L; // Use RequestLog.newBuilder() to construct. private RequestLog(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestLog() { appId_ = ""; moduleId_ = "default"; versionId_ = ""; requestId_ = com.google.protobuf.ByteString.EMPTY; ip_ = ""; nickname_ = ""; method_ = ""; resource_ = ""; httpVersion_ = ""; referrer_ = ""; userAgent_ = ""; urlMapEntry_ = ""; combined_ = ""; host_ = ""; taskQueueName_ = ""; taskName_ = ""; replicaIndex_ = -1; finished_ = true; cloneKey_ = com.google.protobuf.ByteString.EMPTY; line_ = java.util.Collections.emptyList(); appEngineRelease_ = com.google.protobuf.ByteString.EMPTY; traceId_ = ""; serverName_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RequestLog(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_RequestLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_RequestLog_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.RequestLog.class, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder.class); } private int bitField0_; private int bitField1_; public static final int APP_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object appId_ = ""; /** *
     * Identifies the application that handled this request.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Identifies the application that handled this request.
     * 
* * 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; } } /** *
     * Identifies the application that handled this request.
     * 
* * 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"; /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ @java.lang.Override public boolean hasModuleId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * 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; } } /** *
     * Identifies the module of the application that handled this request.
     * WARNING: Default is "default", must continue to be enforced in cc file as
     * well.  This default must be kept in this proto2 file as it affects the user
     * facing libraries.  This variable is only set from one location at this
     * time, which already creates the "default" default value. -
     * apphosting/api/logservice/logs_reader.cc:~1015
     * 
* * 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 VERSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object versionId_ = ""; /** *
     * Version of the application that handled this request.
     * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ @java.lang.Override public boolean hasVersionId() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Version of the application that handled this request.
     * 
* * 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; } } /** *
     * Version of the application that handled this request.
     * 
* * 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 REQUEST_ID_FIELD_NUMBER = 3; private com.google.protobuf.ByteString requestId_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Globally unique identifier for a request, based on request start time.
     * Request ids for requests which started later will compare greater as
     * binary strings than those for requests which started earlier.
     * 
* * required bytes request_id = 3; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Globally unique identifier for a request, based on request start time.
     * Request ids for requests which started later will compare greater as
     * binary strings than those for requests which started earlier.
     * 
* * required bytes request_id = 3; * @return The requestId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestId() { return requestId_; } public static final int OFFSET_FIELD_NUMBER = 35; private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; * @return The offset. */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } /** *
     * May be used to continue a read forward of this record just like with the
     * final LogOffset present in the LogReadResponse.
     * 
* * optional .java.apphosting.LogOffset offset = 35; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } public static final int IP_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return Whether the ip field is set. */ @java.lang.Override public boolean hasIp() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return The ip. */ @java.lang.Override public java.lang.String getIp() { java.lang.Object ref = ip_; 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()) { ip_ = s; } return s; } } /** *
     * Origin IP address (as inet_ntop would use).
     * 
* * required string ip = 4; * @return The bytes for ip. */ @java.lang.Override public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ip_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NICKNAME_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object nickname_ = ""; /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @return Whether the nickname field is set. */ @java.lang.Override public boolean hasNickname() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @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; } } /** *
     * A string that identifies a logged-in user who made this request, or empty
     * if the user is not logged in.
     * Most likely, this is the part of the user's email before the '@' sign.  The
     * field value is the same for different requests from the same user, but
     * different users may have a similar name.  This information is also
     * available to the application via Users API.
     * (-- The information is filled from the GAIA cookie for regular users.  For
     * end-users accessing the app from inside google, this will be filled via
     * GaiaUtil::GetNickname, a deprecated method, and thus might go away
     * unexpectedly. --)
     * See google/appengine/logging/v1/request_log.proto for up-to-date info.
     * 
* * optional string nickname = 5; * @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 START_TIME_FIELD_NUMBER = 6; private long startTime_ = 0L; /** *
     * A time near the beginning of request processing in the Edge PFE. This time
     * is measured in microseconds since epoch.
     * 
* * required int64 start_time = 6; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * A time near the beginning of request processing in the Edge PFE. This time
     * is measured in microseconds since epoch.
     * 
* * required int64 start_time = 6; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 7; private long endTime_ = 0L; /** *
     * A time near the end of AppServer's processing of the request, just before
     * the logs are written, and measured in microseconds since epoch.
     * 
* * required int64 end_time = 7; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * A time near the end of AppServer's processing of the request, just before
     * the logs are written, and measured in microseconds since epoch.
     * 
* * required int64 end_time = 7; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } public static final int LATENCY_FIELD_NUMBER = 8; private long latency_ = 0L; /** *
     * This is the same as end_time - start_time, and is measured in microseconds.
     * 
* * required int64 latency = 8; * @return Whether the latency field is set. */ @java.lang.Override public boolean hasLatency() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * This is the same as end_time - start_time, and is measured in microseconds.
     * 
* * required int64 latency = 8; * @return The latency. */ @java.lang.Override public long getLatency() { return latency_; } public static final int MCYCLES_FIELD_NUMBER = 9; private long mcycles_ = 0L; /** *
     * Number of megacycles that may have been required to process this request
     * inside the clone. Note that this field is not very accurate in how it
     * associates cycles to requests when requests run concurrently, although
     * the total across all requests that ran within a given timeframe will be
     * accurate.
     * 
* * required int64 mcycles = 9; * @return Whether the mcycles field is set. */ @java.lang.Override public boolean hasMcycles() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Number of megacycles that may have been required to process this request
     * inside the clone. Note that this field is not very accurate in how it
     * associates cycles to requests when requests run concurrently, although
     * the total across all requests that ran within a given timeframe will be
     * accurate.
     * 
* * required int64 mcycles = 9; * @return The mcycles. */ @java.lang.Override public long getMcycles() { return mcycles_; } public static final int METHOD_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object method_ = ""; /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; 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()) { method_ = s; } return s; } } /** *
     * Request method (GET, PUT, POST, etc).
     * 
* * required string method = 10; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return Whether the resource field is set. */ @java.lang.Override public boolean hasResource() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return The resource. */ @java.lang.Override public java.lang.String getResource() { java.lang.Object ref = resource_; 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()) { resource_ = s; } return s; } } /** *
     * Contains the path and query portion of the URL that was requested. For
     * example, if the URL was "http://example.com/app?name=val#fragment", the
     * resource string would be "/app?name=val".
     * 
* * required string resource = 11; * @return The bytes for resource. */ @java.lang.Override public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HTTP_VERSION_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object httpVersion_ = ""; /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return Whether the httpVersion field is set. */ @java.lang.Override public boolean hasHttpVersion() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return The httpVersion. */ @java.lang.Override public java.lang.String getHttpVersion() { java.lang.Object ref = httpVersion_; 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()) { httpVersion_ = s; } return s; } } /** *
     * HTTP version of request.
     * 
* * required string http_version = 12; * @return The bytes for httpVersion. */ @java.lang.Override public com.google.protobuf.ByteString getHttpVersionBytes() { java.lang.Object ref = httpVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); httpVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 13; private int status_ = 0; /** *
     * Response status of request.
     * 
* * required int32 status = 13; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Response status of request.
     * 
* * required int32 status = 13; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } public static final int RESPONSE_SIZE_FIELD_NUMBER = 14; private long responseSize_ = 0L; /** *
     * Size in bytes sent back to client by request.
     * 
* * required int64 response_size = 14; * @return Whether the responseSize field is set. */ @java.lang.Override public boolean hasResponseSize() { return ((bitField0_ & 0x00008000) != 0); } /** *
     * Size in bytes sent back to client by request.
     * 
* * required int64 response_size = 14; * @return The responseSize. */ @java.lang.Override public long getResponseSize() { return responseSize_; } public static final int REFERRER_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object referrer_ = ""; /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return Whether the referrer field is set. */ @java.lang.Override public boolean hasReferrer() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return The referrer. */ @java.lang.Override public java.lang.String getReferrer() { java.lang.Object ref = referrer_; 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()) { referrer_ = s; } return s; } } /** *
     * Referrer URL of request.
     * 
* * optional string referrer = 15; * @return The bytes for referrer. */ @java.lang.Override public com.google.protobuf.ByteString getReferrerBytes() { java.lang.Object ref = referrer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referrer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_AGENT_FIELD_NUMBER = 16; @SuppressWarnings("serial") private volatile java.lang.Object userAgent_ = ""; /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return Whether the userAgent field is set. */ @java.lang.Override public boolean hasUserAgent() { return ((bitField0_ & 0x00020000) != 0); } /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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()) { userAgent_ = s; } return s; } } /** *
     * User agent used for making request.
     * 
* * optional string user_agent = 16; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int URL_MAP_ENTRY_FIELD_NUMBER = 17; @SuppressWarnings("serial") private volatile java.lang.Object urlMapEntry_ = ""; /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return Whether the urlMapEntry field is set. */ @java.lang.Override public boolean hasUrlMapEntry() { return ((bitField0_ & 0x00040000) != 0); } /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return The urlMapEntry. */ @java.lang.Override public java.lang.String getUrlMapEntry() { java.lang.Object ref = urlMapEntry_; 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()) { urlMapEntry_ = s; } return s; } } /** *
     * File or class within URL mapping used for request.  Useful for tracking
     * down the source code which was responsible for managing request.
     * Especially for multiply mapped handlers.
     * 
* * required string url_map_entry = 17; * @return The bytes for urlMapEntry. */ @java.lang.Override public com.google.protobuf.ByteString getUrlMapEntryBytes() { java.lang.Object ref = urlMapEntry_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); urlMapEntry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMBINED_FIELD_NUMBER = 18; @SuppressWarnings("serial") private volatile java.lang.Object combined_ = ""; /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return Whether the combined field is set. */ @java.lang.Override public boolean hasCombined() { return ((bitField0_ & 0x00080000) != 0); } /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return The combined. */ @java.lang.Override public java.lang.String getCombined() { java.lang.Object ref = combined_; 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()) { combined_ = s; } return s; } } /** *
     * Apache combined log entry for request.
     *   See: http://httpd.apache.org/docs/1.3/logs.html
     * The information in this field can be constructed from the rest of
     * this message, however, this field is included for convenience.
     * 
* * required string combined = 18; * @return The bytes for combined. */ @java.lang.Override public com.google.protobuf.ByteString getCombinedBytes() { java.lang.Object ref = combined_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); combined_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int API_MCYCLES_FIELD_NUMBER = 19; private long apiMcycles_ = 0L; /** *
     * Number of megacycles spent by AppServer in serving API calls from the
     * clone for this request. Note that in many cases, API calls also trigger
     * RPCs out of the AppServer, and the CPU cycles in the backend to serve
     * those calls are not included.
     * 
* * optional int64 api_mcycles = 19; * @return Whether the apiMcycles field is set. */ @java.lang.Override public boolean hasApiMcycles() { return ((bitField0_ & 0x00100000) != 0); } /** *
     * Number of megacycles spent by AppServer in serving API calls from the
     * clone for this request. Note that in many cases, API calls also trigger
     * RPCs out of the AppServer, and the CPU cycles in the backend to serve
     * those calls are not included.
     * 
* * optional int64 api_mcycles = 19; * @return The apiMcycles. */ @java.lang.Override public long getApiMcycles() { return apiMcycles_; } public static final int HOST_FIELD_NUMBER = 20; @SuppressWarnings("serial") private volatile java.lang.Object host_ = ""; /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return Whether the host field is set. */ @java.lang.Override public boolean hasHost() { return ((bitField0_ & 0x00200000) != 0); } /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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()) { host_ = s; } return s; } } /** *
     * The Internet host and port number of the resource being requested.
     * 
* * optional string host = 20; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COST_FIELD_NUMBER = 21; private double cost_ = 0D; /** *
     * An indication of the relative cost of serving this request. This does not
     * have a direct correspondence to the dollar amounts that will show up on
     * the bill, but it is roughly proportional to the contribution this request
     * makes toward the billed amount.
     * 
* * optional double cost = 21; * @return Whether the cost field is set. */ @java.lang.Override public boolean hasCost() { return ((bitField0_ & 0x00400000) != 0); } /** *
     * An indication of the relative cost of serving this request. This does not
     * have a direct correspondence to the dollar amounts that will show up on
     * the bill, but it is roughly proportional to the contribution this request
     * makes toward the billed amount.
     * 
* * optional double cost = 21; * @return The cost. */ @java.lang.Override public double getCost() { return cost_; } public static final int TASK_QUEUE_NAME_FIELD_NUMBER = 22; @SuppressWarnings("serial") private volatile java.lang.Object taskQueueName_ = ""; /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return Whether the taskQueueName field is set. */ @java.lang.Override public boolean hasTaskQueueName() { return ((bitField0_ & 0x00800000) != 0); } /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return The taskQueueName. */ @java.lang.Override public java.lang.String getTaskQueueName() { java.lang.Object ref = taskQueueName_; 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()) { taskQueueName_ = s; } return s; } } /** *
     * TaskQueue API, request's queue and task names (for an offline request).
     * 
* * optional string task_queue_name = 22; * @return The bytes for taskQueueName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskQueueNameBytes() { java.lang.Object ref = taskQueueName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskQueueName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TASK_NAME_FIELD_NUMBER = 23; @SuppressWarnings("serial") private volatile java.lang.Object taskName_ = ""; /** * optional string task_name = 23; * @return Whether the taskName field is set. */ @java.lang.Override public boolean hasTaskName() { return ((bitField0_ & 0x01000000) != 0); } /** * optional string task_name = 23; * @return The taskName. */ @java.lang.Override public java.lang.String getTaskName() { java.lang.Object ref = taskName_; 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()) { taskName_ = s; } return s; } } /** * optional string task_name = 23; * @return The bytes for taskName. */ @java.lang.Override public com.google.protobuf.ByteString getTaskNameBytes() { java.lang.Object ref = taskName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WAS_LOADING_REQUEST_FIELD_NUMBER = 24; private boolean wasLoadingRequest_ = false; /** *
     * Was this request a loading request for this clone?
     * 
* * optional bool was_loading_request = 24; * @return Whether the wasLoadingRequest field is set. */ @java.lang.Override public boolean hasWasLoadingRequest() { return ((bitField0_ & 0x02000000) != 0); } /** *
     * Was this request a loading request for this clone?
     * 
* * optional bool was_loading_request = 24; * @return The wasLoadingRequest. */ @java.lang.Override public boolean getWasLoadingRequest() { return wasLoadingRequest_; } public static final int PENDING_TIME_FIELD_NUMBER = 25; private long pendingTime_ = 0L; /** *
     * Time, in microseconds, this request spent in the pending request queue, if
     * it was pending at all.
     * 
* * optional int64 pending_time = 25; * @return Whether the pendingTime field is set. */ @java.lang.Override public boolean hasPendingTime() { return ((bitField0_ & 0x04000000) != 0); } /** *
     * Time, in microseconds, this request spent in the pending request queue, if
     * it was pending at all.
     * 
* * optional int64 pending_time = 25; * @return The pendingTime. */ @java.lang.Override public long getPendingTime() { return pendingTime_; } public static final int REPLICA_INDEX_FIELD_NUMBER = 26; private int replicaIndex_ = -1; /** *
     * The server replica that handled the request, if any.
     * WARNING: Default is -1, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional int32 replica_index = 26 [default = -1]; * @return Whether the replicaIndex field is set. */ @java.lang.Override public boolean hasReplicaIndex() { return ((bitField0_ & 0x08000000) != 0); } /** *
     * The server replica that handled the request, if any.
     * WARNING: Default is -1, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional int32 replica_index = 26 [default = -1]; * @return The replicaIndex. */ @java.lang.Override public int getReplicaIndex() { return replicaIndex_; } public static final int FINISHED_FIELD_NUMBER = 27; private boolean finished_ = true; /** *
     * If true, represents a finished request.  Otherwise, the request is active.
     * WARNING: Default is true, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional bool finished = 27 [default = true]; * @return Whether the finished field is set. */ @java.lang.Override public boolean hasFinished() { return ((bitField0_ & 0x10000000) != 0); } /** *
     * If true, represents a finished request.  Otherwise, the request is active.
     * WARNING: Default is true, must continue to be enforced in cc file as well.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional bool finished = 27 [default = true]; * @return The finished. */ @java.lang.Override public boolean getFinished() { return finished_; } public static final int CLONE_KEY_FIELD_NUMBER = 28; private com.google.protobuf.ByteString cloneKey_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Mostly-unique identifier for the clone that handled the request.
     * 
* * optional bytes clone_key = 28; * @return Whether the cloneKey field is set. */ @java.lang.Override public boolean hasCloneKey() { return ((bitField0_ & 0x20000000) != 0); } /** *
     * Mostly-unique identifier for the clone that handled the request.
     * 
* * optional bytes clone_key = 28; * @return The cloneKey. */ @java.lang.Override public com.google.protobuf.ByteString getCloneKey() { return cloneKey_; } public static final int LINE_FIELD_NUMBER = 29; @SuppressWarnings("serial") private java.util.List line_; /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ @java.lang.Override public java.util.List getLineList() { return line_; } /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ @java.lang.Override public java.util.List getLineOrBuilderList() { return line_; } /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ @java.lang.Override public int getLineCount() { return line_.size(); } /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogLine getLine(int index) { return line_.get(index); } /** *
     * List of log lines emitted by the application while serving this request,
     * if requested.
     * 
* * repeated .java.apphosting.LogLine line = 29; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder getLineOrBuilder( int index) { return line_.get(index); } public static final int LINES_INCOMPLETE_FIELD_NUMBER = 36; private boolean linesIncomplete_ = false; /** *
     * True if fewer log lines are being returned than are known to exist, for
     * example because 'app_logs_per_request' was specified.  Will never be set
     * if 'include_app_logs' was not true.
     * 
* * optional bool lines_incomplete = 36; * @return Whether the linesIncomplete field is set. */ @java.lang.Override public boolean hasLinesIncomplete() { return ((bitField0_ & 0x40000000) != 0); } /** *
     * True if fewer log lines are being returned than are known to exist, for
     * example because 'app_logs_per_request' was specified.  Will never be set
     * if 'include_app_logs' was not true.
     * 
* * optional bool lines_incomplete = 36; * @return The linesIncomplete. */ @java.lang.Override public boolean getLinesIncomplete() { return linesIncomplete_; } public static final int APP_ENGINE_RELEASE_FIELD_NUMBER = 38; private com.google.protobuf.ByteString appEngineRelease_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Version of the App Engine stack that processed this request
     * (e.g. "1.9.13"). Is actually a string.
     * 
* * optional bytes app_engine_release = 38; * @return Whether the appEngineRelease field is set. */ @java.lang.Override public boolean hasAppEngineRelease() { return ((bitField0_ & 0x80000000) != 0); } /** *
     * Version of the App Engine stack that processed this request
     * (e.g. "1.9.13"). Is actually a string.
     * 
* * optional bytes app_engine_release = 38; * @return The appEngineRelease. */ @java.lang.Override public com.google.protobuf.ByteString getAppEngineRelease() { return appEngineRelease_; } public static final int TRACE_ID_FIELD_NUMBER = 39; @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return Whether the traceId field is set. */ @java.lang.Override public boolean hasTraceId() { return ((bitField1_ & 0x00000001) != 0); } /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return The traceId. */ @java.lang.Override public java.lang.String getTraceId() { java.lang.Object ref = traceId_; 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()) { traceId_ = s; } return s; } } /** *
     * Cloud Trace identifier of the trace for this request.
     * 
* * optional string trace_id = 39; * @return The bytes for traceId. */ @java.lang.Override public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXIT_REASON_FIELD_NUMBER = 30; private int exitReason_ = 0; /** *
     * If this clone exited as part of this request, stores the reason.
     * Type: LogEnum::CloneExitReason
     * 
* * optional int32 exit_reason = 30; * @return Whether the exitReason field is set. */ @java.lang.Override public boolean hasExitReason() { return ((bitField1_ & 0x00000002) != 0); } /** *
     * If this clone exited as part of this request, stores the reason.
     * Type: LogEnum::CloneExitReason
     * 
* * optional int32 exit_reason = 30; * @return The exitReason. */ @java.lang.Override public int getExitReason() { return exitReason_; } public static final int WAS_THROTTLED_FOR_TIME_FIELD_NUMBER = 31; private boolean wasThrottledForTime_ = false; /** *
     * Was this request throttled by wallclock restrictions?
     * 
* * optional bool was_throttled_for_time = 31; * @return Whether the wasThrottledForTime field is set. */ @java.lang.Override public boolean hasWasThrottledForTime() { return ((bitField1_ & 0x00000004) != 0); } /** *
     * Was this request throttled by wallclock restrictions?
     * 
* * optional bool was_throttled_for_time = 31; * @return The wasThrottledForTime. */ @java.lang.Override public boolean getWasThrottledForTime() { return wasThrottledForTime_; } public static final int WAS_THROTTLED_FOR_REQUESTS_FIELD_NUMBER = 32; private boolean wasThrottledForRequests_ = false; /** *
     * Was this request throttled by per-app active requests restrictions?
     * 
* * optional bool was_throttled_for_requests = 32; * @return Whether the wasThrottledForRequests field is set. */ @java.lang.Override public boolean hasWasThrottledForRequests() { return ((bitField1_ & 0x00000008) != 0); } /** *
     * Was this request throttled by per-app active requests restrictions?
     * 
* * optional bool was_throttled_for_requests = 32; * @return The wasThrottledForRequests. */ @java.lang.Override public boolean getWasThrottledForRequests() { return wasThrottledForRequests_; } public static final int THROTTLED_TIME_FIELD_NUMBER = 33; private long throttledTime_ = 0L; /** *
     * The amount of time, in microseconds, that this request was throttled by
     * the CPU throttler, if any.
     * 
* * optional int64 throttled_time = 33; * @return Whether the throttledTime field is set. */ @java.lang.Override public boolean hasThrottledTime() { return ((bitField1_ & 0x00000010) != 0); } /** *
     * The amount of time, in microseconds, that this request was throttled by
     * the CPU throttler, if any.
     * 
* * optional int64 throttled_time = 33; * @return The throttledTime. */ @java.lang.Override public long getThrottledTime() { return throttledTime_; } public static final int SERVER_NAME_FIELD_NUMBER = 34; private com.google.protobuf.ByteString serverName_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Task BNS address for the AppServer this clone is running on.
     * 
* * optional bytes server_name = 34; * @return Whether the serverName field is set. */ @java.lang.Override public boolean hasServerName() { return ((bitField1_ & 0x00000020) != 0); } /** *
     * Task BNS address for the AppServer this clone is running on.
     * 
* * optional bytes server_name = 34; * @return The serverName. */ @java.lang.Override public com.google.protobuf.ByteString getServerName() { return serverName_; } 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 (!hasRequestId()) { memoizedIsInitialized = 0; return false; } if (!hasIp()) { memoizedIsInitialized = 0; return false; } if (!hasStartTime()) { memoizedIsInitialized = 0; return false; } if (!hasEndTime()) { memoizedIsInitialized = 0; return false; } if (!hasLatency()) { memoizedIsInitialized = 0; return false; } if (!hasMcycles()) { memoizedIsInitialized = 0; return false; } if (!hasMethod()) { memoizedIsInitialized = 0; return false; } if (!hasResource()) { memoizedIsInitialized = 0; return false; } if (!hasHttpVersion()) { memoizedIsInitialized = 0; return false; } if (!hasStatus()) { memoizedIsInitialized = 0; return false; } if (!hasResponseSize()) { memoizedIsInitialized = 0; return false; } if (!hasUrlMapEntry()) { memoizedIsInitialized = 0; return false; } if (!hasCombined()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getLineCount(); i++) { if (!getLine(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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, appId_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionId_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBytes(3, requestId_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ip_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickname_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt64(6, startTime_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt64(7, endTime_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeInt64(8, latency_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeInt64(9, mcycles_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, method_); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, resource_); } if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, httpVersion_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeInt32(13, status_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeInt64(14, responseSize_); } if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, referrer_); } if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, userAgent_); } if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, urlMapEntry_); } if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, combined_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeInt64(19, apiMcycles_); } if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, host_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeDouble(21, cost_); } if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, taskQueueName_); } if (((bitField0_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, taskName_); } if (((bitField0_ & 0x02000000) != 0)) { output.writeBool(24, wasLoadingRequest_); } if (((bitField0_ & 0x04000000) != 0)) { output.writeInt64(25, pendingTime_); } if (((bitField0_ & 0x08000000) != 0)) { output.writeInt32(26, replicaIndex_); } if (((bitField0_ & 0x10000000) != 0)) { output.writeBool(27, finished_); } if (((bitField0_ & 0x20000000) != 0)) { output.writeBytes(28, cloneKey_); } for (int i = 0; i < line_.size(); i++) { output.writeMessage(29, line_.get(i)); } if (((bitField1_ & 0x00000002) != 0)) { output.writeInt32(30, exitReason_); } if (((bitField1_ & 0x00000004) != 0)) { output.writeBool(31, wasThrottledForTime_); } if (((bitField1_ & 0x00000008) != 0)) { output.writeBool(32, wasThrottledForRequests_); } if (((bitField1_ & 0x00000010) != 0)) { output.writeInt64(33, throttledTime_); } if (((bitField1_ & 0x00000020) != 0)) { output.writeBytes(34, serverName_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(35, getOffset()); } if (((bitField0_ & 0x40000000) != 0)) { output.writeBool(36, linesIncomplete_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 37, moduleId_); } if (((bitField0_ & 0x80000000) != 0)) { output.writeBytes(38, appEngineRelease_); } if (((bitField1_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 39, traceId_); } 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_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, versionId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, requestId_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ip_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickname_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, startTime_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, endTime_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, latency_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, mcycles_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, method_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, resource_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, httpVersion_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(13, status_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(14, responseSize_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, referrer_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, userAgent_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, urlMapEntry_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, combined_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(19, apiMcycles_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, host_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(21, cost_); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, taskQueueName_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, taskName_); } if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(24, wasLoadingRequest_); } if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(25, pendingTime_); } if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(26, replicaIndex_); } if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(27, finished_); } if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(28, cloneKey_); } for (int i = 0; i < line_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, line_.get(i)); } if (((bitField1_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(30, exitReason_); } if (((bitField1_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(31, wasThrottledForTime_); } if (((bitField1_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(32, wasThrottledForRequests_); } if (((bitField1_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(33, throttledTime_); } if (((bitField1_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(34, serverName_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, getOffset()); } if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(36, linesIncomplete_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37, moduleId_); } if (((bitField0_ & 0x80000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(38, appEngineRelease_); } if (((bitField1_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(39, traceId_); } 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.api.logservice.LogServicePb.RequestLog)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.RequestLog other = (com.google.apphosting.api.logservice.LogServicePb.RequestLog) 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 (hasVersionId() != other.hasVersionId()) return false; if (hasVersionId()) { if (!getVersionId() .equals(other.getVersionId())) return false; } if (hasRequestId() != other.hasRequestId()) return false; if (hasRequestId()) { if (!getRequestId() .equals(other.getRequestId())) return false; } if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (!getOffset() .equals(other.getOffset())) return false; } if (hasIp() != other.hasIp()) return false; if (hasIp()) { if (!getIp() .equals(other.getIp())) return false; } if (hasNickname() != other.hasNickname()) return false; if (hasNickname()) { if (!getNickname() .equals(other.getNickname())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (getStartTime() != other.getStartTime()) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) return false; } if (hasLatency() != other.hasLatency()) return false; if (hasLatency()) { if (getLatency() != other.getLatency()) return false; } if (hasMcycles() != other.hasMcycles()) return false; if (hasMcycles()) { if (getMcycles() != other.getMcycles()) return false; } if (hasMethod() != other.hasMethod()) return false; if (hasMethod()) { if (!getMethod() .equals(other.getMethod())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { if (!getResource() .equals(other.getResource())) return false; } if (hasHttpVersion() != other.hasHttpVersion()) return false; if (hasHttpVersion()) { if (!getHttpVersion() .equals(other.getHttpVersion())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (getStatus() != other.getStatus()) return false; } if (hasResponseSize() != other.hasResponseSize()) return false; if (hasResponseSize()) { if (getResponseSize() != other.getResponseSize()) return false; } if (hasReferrer() != other.hasReferrer()) return false; if (hasReferrer()) { if (!getReferrer() .equals(other.getReferrer())) return false; } if (hasUserAgent() != other.hasUserAgent()) return false; if (hasUserAgent()) { if (!getUserAgent() .equals(other.getUserAgent())) return false; } if (hasUrlMapEntry() != other.hasUrlMapEntry()) return false; if (hasUrlMapEntry()) { if (!getUrlMapEntry() .equals(other.getUrlMapEntry())) return false; } if (hasCombined() != other.hasCombined()) return false; if (hasCombined()) { if (!getCombined() .equals(other.getCombined())) return false; } if (hasApiMcycles() != other.hasApiMcycles()) return false; if (hasApiMcycles()) { if (getApiMcycles() != other.getApiMcycles()) return false; } if (hasHost() != other.hasHost()) return false; if (hasHost()) { if (!getHost() .equals(other.getHost())) return false; } if (hasCost() != other.hasCost()) return false; if (hasCost()) { if (java.lang.Double.doubleToLongBits(getCost()) != java.lang.Double.doubleToLongBits( other.getCost())) return false; } if (hasTaskQueueName() != other.hasTaskQueueName()) return false; if (hasTaskQueueName()) { if (!getTaskQueueName() .equals(other.getTaskQueueName())) return false; } if (hasTaskName() != other.hasTaskName()) return false; if (hasTaskName()) { if (!getTaskName() .equals(other.getTaskName())) return false; } if (hasWasLoadingRequest() != other.hasWasLoadingRequest()) return false; if (hasWasLoadingRequest()) { if (getWasLoadingRequest() != other.getWasLoadingRequest()) return false; } if (hasPendingTime() != other.hasPendingTime()) return false; if (hasPendingTime()) { if (getPendingTime() != other.getPendingTime()) return false; } if (hasReplicaIndex() != other.hasReplicaIndex()) return false; if (hasReplicaIndex()) { if (getReplicaIndex() != other.getReplicaIndex()) return false; } if (hasFinished() != other.hasFinished()) return false; if (hasFinished()) { if (getFinished() != other.getFinished()) return false; } if (hasCloneKey() != other.hasCloneKey()) return false; if (hasCloneKey()) { if (!getCloneKey() .equals(other.getCloneKey())) return false; } if (!getLineList() .equals(other.getLineList())) return false; if (hasLinesIncomplete() != other.hasLinesIncomplete()) return false; if (hasLinesIncomplete()) { if (getLinesIncomplete() != other.getLinesIncomplete()) return false; } if (hasAppEngineRelease() != other.hasAppEngineRelease()) return false; if (hasAppEngineRelease()) { if (!getAppEngineRelease() .equals(other.getAppEngineRelease())) return false; } if (hasTraceId() != other.hasTraceId()) return false; if (hasTraceId()) { if (!getTraceId() .equals(other.getTraceId())) return false; } if (hasExitReason() != other.hasExitReason()) return false; if (hasExitReason()) { if (getExitReason() != other.getExitReason()) return false; } if (hasWasThrottledForTime() != other.hasWasThrottledForTime()) return false; if (hasWasThrottledForTime()) { if (getWasThrottledForTime() != other.getWasThrottledForTime()) return false; } if (hasWasThrottledForRequests() != other.hasWasThrottledForRequests()) return false; if (hasWasThrottledForRequests()) { if (getWasThrottledForRequests() != other.getWasThrottledForRequests()) return false; } if (hasThrottledTime() != other.hasThrottledTime()) return false; if (hasThrottledTime()) { if (getThrottledTime() != other.getThrottledTime()) return false; } if (hasServerName() != other.hasServerName()) return false; if (hasServerName()) { if (!getServerName() .equals(other.getServerName())) 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 (hasVersionId()) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionId().hashCode(); } if (hasRequestId()) { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); } if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset().hashCode(); } if (hasIp()) { hash = (37 * hash) + IP_FIELD_NUMBER; hash = (53 * hash) + getIp().hashCode(); } if (hasNickname()) { hash = (37 * hash) + NICKNAME_FIELD_NUMBER; hash = (53 * hash) + getNickname().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); } if (hasLatency()) { hash = (37 * hash) + LATENCY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLatency()); } if (hasMcycles()) { hash = (37 * hash) + MCYCLES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMcycles()); } if (hasMethod()) { hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); } if (hasResource()) { hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); } if (hasHttpVersion()) { hash = (37 * hash) + HTTP_VERSION_FIELD_NUMBER; hash = (53 * hash) + getHttpVersion().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus(); } if (hasResponseSize()) { hash = (37 * hash) + RESPONSE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getResponseSize()); } if (hasReferrer()) { hash = (37 * hash) + REFERRER_FIELD_NUMBER; hash = (53 * hash) + getReferrer().hashCode(); } if (hasUserAgent()) { hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); } if (hasUrlMapEntry()) { hash = (37 * hash) + URL_MAP_ENTRY_FIELD_NUMBER; hash = (53 * hash) + getUrlMapEntry().hashCode(); } if (hasCombined()) { hash = (37 * hash) + COMBINED_FIELD_NUMBER; hash = (53 * hash) + getCombined().hashCode(); } if (hasApiMcycles()) { hash = (37 * hash) + API_MCYCLES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getApiMcycles()); } if (hasHost()) { hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); } if (hasCost()) { hash = (37 * hash) + COST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getCost())); } if (hasTaskQueueName()) { hash = (37 * hash) + TASK_QUEUE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskQueueName().hashCode(); } if (hasTaskName()) { hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; hash = (53 * hash) + getTaskName().hashCode(); } if (hasWasLoadingRequest()) { hash = (37 * hash) + WAS_LOADING_REQUEST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWasLoadingRequest()); } if (hasPendingTime()) { hash = (37 * hash) + PENDING_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPendingTime()); } if (hasReplicaIndex()) { hash = (37 * hash) + REPLICA_INDEX_FIELD_NUMBER; hash = (53 * hash) + getReplicaIndex(); } if (hasFinished()) { hash = (37 * hash) + FINISHED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFinished()); } if (hasCloneKey()) { hash = (37 * hash) + CLONE_KEY_FIELD_NUMBER; hash = (53 * hash) + getCloneKey().hashCode(); } if (getLineCount() > 0) { hash = (37 * hash) + LINE_FIELD_NUMBER; hash = (53 * hash) + getLineList().hashCode(); } if (hasLinesIncomplete()) { hash = (37 * hash) + LINES_INCOMPLETE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLinesIncomplete()); } if (hasAppEngineRelease()) { hash = (37 * hash) + APP_ENGINE_RELEASE_FIELD_NUMBER; hash = (53 * hash) + getAppEngineRelease().hashCode(); } if (hasTraceId()) { hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); } if (hasExitReason()) { hash = (37 * hash) + EXIT_REASON_FIELD_NUMBER; hash = (53 * hash) + getExitReason(); } if (hasWasThrottledForTime()) { hash = (37 * hash) + WAS_THROTTLED_FOR_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWasThrottledForTime()); } if (hasWasThrottledForRequests()) { hash = (37 * hash) + WAS_THROTTLED_FOR_REQUESTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWasThrottledForRequests()); } if (hasThrottledTime()) { hash = (37 * hash) + THROTTLED_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getThrottledTime()); } if (hasServerName()) { hash = (37 * hash) + SERVER_NAME_FIELD_NUMBER; hash = (53 * hash) + getServerName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.api.logservice.LogServicePb.RequestLog parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.api.logservice.LogServicePb.RequestLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.api.logservice.LogServicePb.RequestLog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.api.logservice.LogServicePb.RequestLog parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.api.logservice.LogServicePb.RequestLog 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; } /** *
     * Complete log information about a single request to an application.
     * Next tag: 40
     * 
* * Protobuf type {@code java.apphosting.RequestLog} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.RequestLog) com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_RequestLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_RequestLog_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.RequestLog.class, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.RequestLog.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOffsetFieldBuilder(); getLineFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bitField1_ = 0; appId_ = ""; moduleId_ = "default"; versionId_ = ""; requestId_ = com.google.protobuf.ByteString.EMPTY; offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } ip_ = ""; nickname_ = ""; startTime_ = 0L; endTime_ = 0L; latency_ = 0L; mcycles_ = 0L; method_ = ""; resource_ = ""; httpVersion_ = ""; status_ = 0; responseSize_ = 0L; referrer_ = ""; userAgent_ = ""; urlMapEntry_ = ""; combined_ = ""; apiMcycles_ = 0L; host_ = ""; cost_ = 0D; taskQueueName_ = ""; taskName_ = ""; wasLoadingRequest_ = false; pendingTime_ = 0L; replicaIndex_ = -1; finished_ = true; cloneKey_ = com.google.protobuf.ByteString.EMPTY; if (lineBuilder_ == null) { line_ = java.util.Collections.emptyList(); } else { line_ = null; lineBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); linesIncomplete_ = false; appEngineRelease_ = com.google.protobuf.ByteString.EMPTY; traceId_ = ""; exitReason_ = 0; wasThrottledForTime_ = false; wasThrottledForRequests_ = false; throttledTime_ = 0L; serverName_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_RequestLog_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.RequestLog getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.RequestLog.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.RequestLog build() { com.google.apphosting.api.logservice.LogServicePb.RequestLog result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.RequestLog buildPartial() { com.google.apphosting.api.logservice.LogServicePb.RequestLog result = new com.google.apphosting.api.logservice.LogServicePb.RequestLog(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } if (bitField1_ != 0) { buildPartial1(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.RequestLog result) { if (lineBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0)) { line_ = java.util.Collections.unmodifiableList(line_); bitField0_ = (bitField0_ & ~0x40000000); } result.line_ = line_; } else { result.line_ = lineBuilder_.build(); } } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.RequestLog 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.versionId_ = versionId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.ip_ = ip_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.nickname_ = nickname_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.startTime_ = startTime_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.endTime_ = endTime_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.latency_ = latency_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.mcycles_ = mcycles_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.method_ = method_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { result.resource_ = resource_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { result.httpVersion_ = httpVersion_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.status_ = status_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.responseSize_ = responseSize_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.referrer_ = referrer_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.userAgent_ = userAgent_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.urlMapEntry_ = urlMapEntry_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00080000) != 0)) { result.combined_ = combined_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00100000) != 0)) { result.apiMcycles_ = apiMcycles_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.host_ = host_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.cost_ = cost_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.taskQueueName_ = taskQueueName_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x01000000) != 0)) { result.taskName_ = taskName_; to_bitField0_ |= 0x01000000; } if (((from_bitField0_ & 0x02000000) != 0)) { result.wasLoadingRequest_ = wasLoadingRequest_; to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x04000000) != 0)) { result.pendingTime_ = pendingTime_; to_bitField0_ |= 0x04000000; } if (((from_bitField0_ & 0x08000000) != 0)) { result.replicaIndex_ = replicaIndex_; to_bitField0_ |= 0x08000000; } if (((from_bitField0_ & 0x10000000) != 0)) { result.finished_ = finished_; to_bitField0_ |= 0x10000000; } if (((from_bitField0_ & 0x20000000) != 0)) { result.cloneKey_ = cloneKey_; to_bitField0_ |= 0x20000000; } if (((from_bitField0_ & 0x80000000) != 0)) { result.linesIncomplete_ = linesIncomplete_; to_bitField0_ |= 0x40000000; } result.bitField0_ |= to_bitField0_; } private void buildPartial1(com.google.apphosting.api.logservice.LogServicePb.RequestLog result) { int from_bitField1_ = bitField1_; int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { result.appEngineRelease_ = appEngineRelease_; to_bitField0_ |= 0x80000000; } int to_bitField1_ = 0; if (((from_bitField1_ & 0x00000002) != 0)) { result.traceId_ = traceId_; to_bitField1_ |= 0x00000001; } if (((from_bitField1_ & 0x00000004) != 0)) { result.exitReason_ = exitReason_; to_bitField1_ |= 0x00000002; } if (((from_bitField1_ & 0x00000008) != 0)) { result.wasThrottledForTime_ = wasThrottledForTime_; to_bitField1_ |= 0x00000004; } if (((from_bitField1_ & 0x00000010) != 0)) { result.wasThrottledForRequests_ = wasThrottledForRequests_; to_bitField1_ |= 0x00000008; } if (((from_bitField1_ & 0x00000020) != 0)) { result.throttledTime_ = throttledTime_; to_bitField1_ |= 0x00000010; } if (((from_bitField1_ & 0x00000040) != 0)) { result.serverName_ = serverName_; to_bitField1_ |= 0x00000020; } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; } @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.api.logservice.LogServicePb.RequestLog) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.RequestLog)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.RequestLog other) { if (other == com.google.apphosting.api.logservice.LogServicePb.RequestLog.getDefaultInstance()) return this; if (other.hasAppId()) { appId_ = other.appId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasModuleId()) { moduleId_ = other.moduleId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasVersionId()) { versionId_ = other.versionId_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasOffset()) { mergeOffset(other.getOffset()); } if (other.hasIp()) { ip_ = other.ip_; bitField0_ |= 0x00000020; onChanged(); } if (other.hasNickname()) { nickname_ = other.nickname_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } if (other.hasLatency()) { setLatency(other.getLatency()); } if (other.hasMcycles()) { setMcycles(other.getMcycles()); } if (other.hasMethod()) { method_ = other.method_; bitField0_ |= 0x00000800; onChanged(); } if (other.hasResource()) { resource_ = other.resource_; bitField0_ |= 0x00001000; onChanged(); } if (other.hasHttpVersion()) { httpVersion_ = other.httpVersion_; bitField0_ |= 0x00002000; onChanged(); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasResponseSize()) { setResponseSize(other.getResponseSize()); } if (other.hasReferrer()) { referrer_ = other.referrer_; bitField0_ |= 0x00010000; onChanged(); } if (other.hasUserAgent()) { userAgent_ = other.userAgent_; bitField0_ |= 0x00020000; onChanged(); } if (other.hasUrlMapEntry()) { urlMapEntry_ = other.urlMapEntry_; bitField0_ |= 0x00040000; onChanged(); } if (other.hasCombined()) { combined_ = other.combined_; bitField0_ |= 0x00080000; onChanged(); } if (other.hasApiMcycles()) { setApiMcycles(other.getApiMcycles()); } if (other.hasHost()) { host_ = other.host_; bitField0_ |= 0x00200000; onChanged(); } if (other.hasCost()) { setCost(other.getCost()); } if (other.hasTaskQueueName()) { taskQueueName_ = other.taskQueueName_; bitField0_ |= 0x00800000; onChanged(); } if (other.hasTaskName()) { taskName_ = other.taskName_; bitField0_ |= 0x01000000; onChanged(); } if (other.hasWasLoadingRequest()) { setWasLoadingRequest(other.getWasLoadingRequest()); } if (other.hasPendingTime()) { setPendingTime(other.getPendingTime()); } if (other.hasReplicaIndex()) { setReplicaIndex(other.getReplicaIndex()); } if (other.hasFinished()) { setFinished(other.getFinished()); } if (other.hasCloneKey()) { setCloneKey(other.getCloneKey()); } if (lineBuilder_ == null) { if (!other.line_.isEmpty()) { if (line_.isEmpty()) { line_ = other.line_; bitField0_ = (bitField0_ & ~0x40000000); } else { ensureLineIsMutable(); line_.addAll(other.line_); } onChanged(); } } else { if (!other.line_.isEmpty()) { if (lineBuilder_.isEmpty()) { lineBuilder_.dispose(); lineBuilder_ = null; line_ = other.line_; bitField0_ = (bitField0_ & ~0x40000000); lineBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLineFieldBuilder() : null; } else { lineBuilder_.addAllMessages(other.line_); } } } if (other.hasLinesIncomplete()) { setLinesIncomplete(other.getLinesIncomplete()); } if (other.hasAppEngineRelease()) { setAppEngineRelease(other.getAppEngineRelease()); } if (other.hasTraceId()) { traceId_ = other.traceId_; bitField1_ |= 0x00000002; onChanged(); } if (other.hasExitReason()) { setExitReason(other.getExitReason()); } if (other.hasWasThrottledForTime()) { setWasThrottledForTime(other.getWasThrottledForTime()); } if (other.hasWasThrottledForRequests()) { setWasThrottledForRequests(other.getWasThrottledForRequests()); } if (other.hasThrottledTime()) { setThrottledTime(other.getThrottledTime()); } if (other.hasServerName()) { setServerName(other.getServerName()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { return false; } if (!hasVersionId()) { return false; } if (!hasRequestId()) { return false; } if (!hasIp()) { return false; } if (!hasStartTime()) { return false; } if (!hasEndTime()) { return false; } if (!hasLatency()) { return false; } if (!hasMcycles()) { return false; } if (!hasMethod()) { return false; } if (!hasResource()) { return false; } if (!hasHttpVersion()) { return false; } if (!hasStatus()) { return false; } if (!hasResponseSize()) { return false; } if (!hasUrlMapEntry()) { return false; } if (!hasCombined()) { return false; } for (int i = 0; i < getLineCount(); i++) { if (!getLine(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 10: { appId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { versionId_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 18 case 26: { requestId_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 26 case 34: { ip_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 34 case 42: { nickname_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 42 case 48: { startTime_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 48 case 56: { endTime_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 56 case 64: { latency_ = input.readInt64(); bitField0_ |= 0x00000200; break; } // case 64 case 72: { mcycles_ = input.readInt64(); bitField0_ |= 0x00000400; break; } // case 72 case 82: { method_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 82 case 90: { resource_ = input.readBytes(); bitField0_ |= 0x00001000; break; } // case 90 case 98: { httpVersion_ = input.readBytes(); bitField0_ |= 0x00002000; break; } // case 98 case 104: { status_ = input.readInt32(); bitField0_ |= 0x00004000; break; } // case 104 case 112: { responseSize_ = input.readInt64(); bitField0_ |= 0x00008000; break; } // case 112 case 122: { referrer_ = input.readBytes(); bitField0_ |= 0x00010000; break; } // case 122 case 130: { userAgent_ = input.readBytes(); bitField0_ |= 0x00020000; break; } // case 130 case 138: { urlMapEntry_ = input.readBytes(); bitField0_ |= 0x00040000; break; } // case 138 case 146: { combined_ = input.readBytes(); bitField0_ |= 0x00080000; break; } // case 146 case 152: { apiMcycles_ = input.readInt64(); bitField0_ |= 0x00100000; break; } // case 152 case 162: { host_ = input.readBytes(); bitField0_ |= 0x00200000; break; } // case 162 case 169: { cost_ = input.readDouble(); bitField0_ |= 0x00400000; break; } // case 169 case 178: { taskQueueName_ = input.readBytes(); bitField0_ |= 0x00800000; break; } // case 178 case 186: { taskName_ = input.readBytes(); bitField0_ |= 0x01000000; break; } // case 186 case 192: { wasLoadingRequest_ = input.readBool(); bitField0_ |= 0x02000000; break; } // case 192 case 200: { pendingTime_ = input.readInt64(); bitField0_ |= 0x04000000; break; } // case 200 case 208: { replicaIndex_ = input.readInt32(); bitField0_ |= 0x08000000; break; } // case 208 case 216: { finished_ = input.readBool(); bitField0_ |= 0x10000000; break; } // case 216 case 226: { cloneKey_ = input.readBytes(); bitField0_ |= 0x20000000; break; } // case 226 case 234: { com.google.apphosting.api.logservice.LogServicePb.LogLine m = input.readMessage( com.google.apphosting.api.logservice.LogServicePb.LogLine.PARSER, extensionRegistry); if (lineBuilder_ == null) { ensureLineIsMutable(); line_.add(m); } else { lineBuilder_.addMessage(m); } break; } // case 234 case 240: { exitReason_ = input.readInt32(); bitField1_ |= 0x00000004; break; } // case 240 case 248: { wasThrottledForTime_ = input.readBool(); bitField1_ |= 0x00000008; break; } // case 248 case 256: { wasThrottledForRequests_ = input.readBool(); bitField1_ |= 0x00000010; break; } // case 256 case 264: { throttledTime_ = input.readInt64(); bitField1_ |= 0x00000020; break; } // case 264 case 274: { serverName_ = input.readBytes(); bitField1_ |= 0x00000040; break; } // case 274 case 282: { input.readMessage( getOffsetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 282 case 288: { linesIncomplete_ = input.readBool(); bitField0_ |= 0x80000000; break; } // case 288 case 298: { moduleId_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 298 case 306: { appEngineRelease_ = input.readBytes(); bitField1_ |= 0x00000001; break; } // case 306 case 314: { traceId_ = input.readBytes(); bitField1_ |= 0x00000002; break; } // case 314 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 bitField1_; private java.lang.Object appId_ = ""; /** *
       * Identifies the application that handled this request.
       * 
* * required string app_id = 1; * @return Whether the appId field is set. */ public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Identifies the application that handled this request.
       * 
* * 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; } } /** *
       * Identifies the application that handled this request.
       * 
* * 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; } } /** *
       * Identifies the application that handled this request.
       * 
* * 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; } /** *
       * Identifies the application that handled this request.
       * 
* * required string app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { appId_ = getDefaultInstance().getAppId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Identifies the application that handled this request.
       * 
* * 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"; /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * optional string module_id = 37 [default = "default"]; * @return Whether the moduleId field is set. */ public boolean hasModuleId() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * 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; } } /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * 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; } } /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * 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; } /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * optional string module_id = 37 [default = "default"]; * @return This builder for chaining. */ public Builder clearModuleId() { moduleId_ = getDefaultInstance().getModuleId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Identifies the module of the application that handled this request.
       * WARNING: Default is "default", must continue to be enforced in cc file as
       * well.  This default must be kept in this proto2 file as it affects the user
       * facing libraries.  This variable is only set from one location at this
       * time, which already creates the "default" default value. -
       * apphosting/api/logservice/logs_reader.cc:~1015
       * 
* * 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 versionId_ = ""; /** *
       * Version of the application that handled this request.
       * 
* * required string version_id = 2; * @return Whether the versionId field is set. */ public boolean hasVersionId() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Version of the application that handled this request.
       * 
* * 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; } } /** *
       * Version of the application that handled this request.
       * 
* * 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; } } /** *
       * Version of the application that handled this request.
       * 
* * 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_ |= 0x00000004; onChanged(); return this; } /** *
       * Version of the application that handled this request.
       * 
* * required string version_id = 2; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = getDefaultInstance().getVersionId(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Version of the application that handled this request.
       * 
* * 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_ |= 0x00000004; onChanged(); return this; } private com.google.protobuf.ByteString requestId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Globally unique identifier for a request, based on request start time.
       * Request ids for requests which started later will compare greater as
       * binary strings than those for requests which started earlier.
       * 
* * required bytes request_id = 3; * @return Whether the requestId field is set. */ @java.lang.Override public boolean hasRequestId() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Globally unique identifier for a request, based on request start time.
       * Request ids for requests which started later will compare greater as
       * binary strings than those for requests which started earlier.
       * 
* * required bytes request_id = 3; * @return The requestId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestId() { return requestId_; } /** *
       * Globally unique identifier for a request, based on request start time.
       * Request ids for requests which started later will compare greater as
       * binary strings than those for requests which started earlier.
       * 
* * required bytes request_id = 3; * @param value The requestId to set. * @return This builder for chaining. */ public Builder setRequestId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Globally unique identifier for a request, based on request start time.
       * Request ids for requests which started later will compare greater as
       * binary strings than those for requests which started earlier.
       * 
* * required bytes request_id = 3; * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000008); requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> offsetBuilder_; /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; * @return The offset. */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { if (offsetBuilder_ == null) { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } else { return offsetBuilder_.getMessage(); } } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public Builder setOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } offset_ = value; } else { offsetBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public Builder setOffset( com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder builderForValue) { if (offsetBuilder_ == null) { offset_ = builderForValue.build(); } else { offsetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public Builder mergeOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && offset_ != null && offset_ != com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance()) { getOffsetBuilder().mergeFrom(value); } else { offset_ = value; } } else { offsetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000010); offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } onChanged(); return this; } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder getOffsetBuilder() { bitField0_ |= 0x00000010; onChanged(); return getOffsetFieldBuilder().getBuilder(); } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { if (offsetBuilder_ != null) { return offsetBuilder_.getMessageOrBuilder(); } else { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } } /** *
       * May be used to continue a read forward of this record just like with the
       * final LogOffset present in the LogReadResponse.
       * 
* * optional .java.apphosting.LogOffset offset = 35; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> getOffsetFieldBuilder() { if (offsetBuilder_ == null) { offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder>( getOffset(), getParentForChildren(), isClean()); offset_ = null; } return offsetBuilder_; } private java.lang.Object ip_ = ""; /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @return Whether the ip field is set. */ public boolean hasIp() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; 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()) { ip_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @return The bytes for ip. */ public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ip_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @param value The ip to set. * @return This builder for chaining. */ public Builder setIp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ip_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @return This builder for chaining. */ public Builder clearIp() { ip_ = getDefaultInstance().getIp(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
       * Origin IP address (as inet_ntop would use).
       * 
* * required string ip = 4; * @param value The bytes for ip to set. * @return This builder for chaining. */ public Builder setIpBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ip_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object nickname_ = ""; /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @return Whether the nickname field is set. */ public boolean hasNickname() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @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; } } /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @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; } } /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @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_ |= 0x00000040; onChanged(); return this; } /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @return This builder for chaining. */ public Builder clearNickname() { nickname_ = getDefaultInstance().getNickname(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
       * A string that identifies a logged-in user who made this request, or empty
       * if the user is not logged in.
       * Most likely, this is the part of the user's email before the '@' sign.  The
       * field value is the same for different requests from the same user, but
       * different users may have a similar name.  This information is also
       * available to the application via Users API.
       * (-- The information is filled from the GAIA cookie for regular users.  For
       * end-users accessing the app from inside google, this will be filled via
       * GaiaUtil::GetNickname, a deprecated method, and thus might go away
       * unexpectedly. --)
       * See google/appengine/logging/v1/request_log.proto for up-to-date info.
       * 
* * optional string nickname = 5; * @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_ |= 0x00000040; onChanged(); return this; } private long startTime_ ; /** *
       * A time near the beginning of request processing in the Edge PFE. This time
       * is measured in microseconds since epoch.
       * 
* * required int64 start_time = 6; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * A time near the beginning of request processing in the Edge PFE. This time
       * is measured in microseconds since epoch.
       * 
* * required int64 start_time = 6; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } /** *
       * A time near the beginning of request processing in the Edge PFE. This time
       * is measured in microseconds since epoch.
       * 
* * required int64 start_time = 6; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(long value) { startTime_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * A time near the beginning of request processing in the Edge PFE. This time
       * is measured in microseconds since epoch.
       * 
* * required int64 start_time = 6; * @return This builder for chaining. */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000080); startTime_ = 0L; onChanged(); return this; } private long endTime_ ; /** *
       * A time near the end of AppServer's processing of the request, just before
       * the logs are written, and measured in microseconds since epoch.
       * 
* * required int64 end_time = 7; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * A time near the end of AppServer's processing of the request, just before
       * the logs are written, and measured in microseconds since epoch.
       * 
* * required int64 end_time = 7; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } /** *
       * A time near the end of AppServer's processing of the request, just before
       * the logs are written, and measured in microseconds since epoch.
       * 
* * required int64 end_time = 7; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(long value) { endTime_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * A time near the end of AppServer's processing of the request, just before
       * the logs are written, and measured in microseconds since epoch.
       * 
* * required int64 end_time = 7; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000100); endTime_ = 0L; onChanged(); return this; } private long latency_ ; /** *
       * This is the same as end_time - start_time, and is measured in microseconds.
       * 
* * required int64 latency = 8; * @return Whether the latency field is set. */ @java.lang.Override public boolean hasLatency() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * This is the same as end_time - start_time, and is measured in microseconds.
       * 
* * required int64 latency = 8; * @return The latency. */ @java.lang.Override public long getLatency() { return latency_; } /** *
       * This is the same as end_time - start_time, and is measured in microseconds.
       * 
* * required int64 latency = 8; * @param value The latency to set. * @return This builder for chaining. */ public Builder setLatency(long value) { latency_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * This is the same as end_time - start_time, and is measured in microseconds.
       * 
* * required int64 latency = 8; * @return This builder for chaining. */ public Builder clearLatency() { bitField0_ = (bitField0_ & ~0x00000200); latency_ = 0L; onChanged(); return this; } private long mcycles_ ; /** *
       * Number of megacycles that may have been required to process this request
       * inside the clone. Note that this field is not very accurate in how it
       * associates cycles to requests when requests run concurrently, although
       * the total across all requests that ran within a given timeframe will be
       * accurate.
       * 
* * required int64 mcycles = 9; * @return Whether the mcycles field is set. */ @java.lang.Override public boolean hasMcycles() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Number of megacycles that may have been required to process this request
       * inside the clone. Note that this field is not very accurate in how it
       * associates cycles to requests when requests run concurrently, although
       * the total across all requests that ran within a given timeframe will be
       * accurate.
       * 
* * required int64 mcycles = 9; * @return The mcycles. */ @java.lang.Override public long getMcycles() { return mcycles_; } /** *
       * Number of megacycles that may have been required to process this request
       * inside the clone. Note that this field is not very accurate in how it
       * associates cycles to requests when requests run concurrently, although
       * the total across all requests that ran within a given timeframe will be
       * accurate.
       * 
* * required int64 mcycles = 9; * @param value The mcycles to set. * @return This builder for chaining. */ public Builder setMcycles(long value) { mcycles_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Number of megacycles that may have been required to process this request
       * inside the clone. Note that this field is not very accurate in how it
       * associates cycles to requests when requests run concurrently, although
       * the total across all requests that ran within a given timeframe will be
       * accurate.
       * 
* * required int64 mcycles = 9; * @return This builder for chaining. */ public Builder clearMcycles() { bitField0_ = (bitField0_ & ~0x00000400); mcycles_ = 0L; onChanged(); return this; } private java.lang.Object method_ = ""; /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @return Whether the method field is set. */ public boolean hasMethod() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; 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()) { method_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
       * Request method (GET, PUT, POST, etc).
       * 
* * required string method = 10; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } method_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } private java.lang.Object resource_ = ""; /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @return Whether the resource field is set. */ public boolean hasResource() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; 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()) { resource_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @return The bytes for resource. */ public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @param value The resource to set. * @return This builder for chaining. */ public Builder setResource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @return This builder for chaining. */ public Builder clearResource() { resource_ = getDefaultInstance().getResource(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
       * Contains the path and query portion of the URL that was requested. For
       * example, if the URL was "http://example.com/app?name=val#fragment", the
       * resource string would be "/app?name=val".
       * 
* * required string resource = 11; * @param value The bytes for resource to set. * @return This builder for chaining. */ public Builder setResourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } private java.lang.Object httpVersion_ = ""; /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @return Whether the httpVersion field is set. */ public boolean hasHttpVersion() { return ((bitField0_ & 0x00002000) != 0); } /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @return The httpVersion. */ public java.lang.String getHttpVersion() { java.lang.Object ref = httpVersion_; 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()) { httpVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @return The bytes for httpVersion. */ public com.google.protobuf.ByteString getHttpVersionBytes() { java.lang.Object ref = httpVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); httpVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @param value The httpVersion to set. * @return This builder for chaining. */ public Builder setHttpVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } httpVersion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @return This builder for chaining. */ public Builder clearHttpVersion() { httpVersion_ = getDefaultInstance().getHttpVersion(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** *
       * HTTP version of request.
       * 
* * required string http_version = 12; * @param value The bytes for httpVersion to set. * @return This builder for chaining. */ public Builder setHttpVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } httpVersion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } private int status_ ; /** *
       * Response status of request.
       * 
* * required int32 status = 13; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * Response status of request.
       * 
* * required int32 status = 13; * @return The status. */ @java.lang.Override public int getStatus() { return status_; } /** *
       * Response status of request.
       * 
* * required int32 status = 13; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(int value) { status_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * Response status of request.
       * 
* * required int32 status = 13; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00004000); status_ = 0; onChanged(); return this; } private long responseSize_ ; /** *
       * Size in bytes sent back to client by request.
       * 
* * required int64 response_size = 14; * @return Whether the responseSize field is set. */ @java.lang.Override public boolean hasResponseSize() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Size in bytes sent back to client by request.
       * 
* * required int64 response_size = 14; * @return The responseSize. */ @java.lang.Override public long getResponseSize() { return responseSize_; } /** *
       * Size in bytes sent back to client by request.
       * 
* * required int64 response_size = 14; * @param value The responseSize to set. * @return This builder for chaining. */ public Builder setResponseSize(long value) { responseSize_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Size in bytes sent back to client by request.
       * 
* * required int64 response_size = 14; * @return This builder for chaining. */ public Builder clearResponseSize() { bitField0_ = (bitField0_ & ~0x00008000); responseSize_ = 0L; onChanged(); return this; } private java.lang.Object referrer_ = ""; /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @return Whether the referrer field is set. */ public boolean hasReferrer() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @return The referrer. */ public java.lang.String getReferrer() { java.lang.Object ref = referrer_; 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()) { referrer_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @return The bytes for referrer. */ public com.google.protobuf.ByteString getReferrerBytes() { java.lang.Object ref = referrer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referrer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @param value The referrer to set. * @return This builder for chaining. */ public Builder setReferrer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } referrer_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @return This builder for chaining. */ public Builder clearReferrer() { referrer_ = getDefaultInstance().getReferrer(); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } /** *
       * Referrer URL of request.
       * 
* * optional string referrer = 15; * @param value The bytes for referrer to set. * @return This builder for chaining. */ public Builder setReferrerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } referrer_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @return Whether the userAgent field is set. */ public boolean hasUserAgent() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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()) { userAgent_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } /** *
       * User agent used for making request.
       * 
* * optional string user_agent = 16; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } private java.lang.Object urlMapEntry_ = ""; /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @return Whether the urlMapEntry field is set. */ public boolean hasUrlMapEntry() { return ((bitField0_ & 0x00040000) != 0); } /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @return The urlMapEntry. */ public java.lang.String getUrlMapEntry() { java.lang.Object ref = urlMapEntry_; 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()) { urlMapEntry_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @return The bytes for urlMapEntry. */ public com.google.protobuf.ByteString getUrlMapEntryBytes() { java.lang.Object ref = urlMapEntry_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); urlMapEntry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @param value The urlMapEntry to set. * @return This builder for chaining. */ public Builder setUrlMapEntry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } urlMapEntry_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @return This builder for chaining. */ public Builder clearUrlMapEntry() { urlMapEntry_ = getDefaultInstance().getUrlMapEntry(); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } /** *
       * File or class within URL mapping used for request.  Useful for tracking
       * down the source code which was responsible for managing request.
       * Especially for multiply mapped handlers.
       * 
* * required string url_map_entry = 17; * @param value The bytes for urlMapEntry to set. * @return This builder for chaining. */ public Builder setUrlMapEntryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } urlMapEntry_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } private java.lang.Object combined_ = ""; /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @return Whether the combined field is set. */ public boolean hasCombined() { return ((bitField0_ & 0x00080000) != 0); } /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @return The combined. */ public java.lang.String getCombined() { java.lang.Object ref = combined_; 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()) { combined_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @return The bytes for combined. */ public com.google.protobuf.ByteString getCombinedBytes() { java.lang.Object ref = combined_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); combined_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @param value The combined to set. * @return This builder for chaining. */ public Builder setCombined( java.lang.String value) { if (value == null) { throw new NullPointerException(); } combined_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @return This builder for chaining. */ public Builder clearCombined() { combined_ = getDefaultInstance().getCombined(); bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } /** *
       * Apache combined log entry for request.
       *   See: http://httpd.apache.org/docs/1.3/logs.html
       * The information in this field can be constructed from the rest of
       * this message, however, this field is included for convenience.
       * 
* * required string combined = 18; * @param value The bytes for combined to set. * @return This builder for chaining. */ public Builder setCombinedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } combined_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } private long apiMcycles_ ; /** *
       * Number of megacycles spent by AppServer in serving API calls from the
       * clone for this request. Note that in many cases, API calls also trigger
       * RPCs out of the AppServer, and the CPU cycles in the backend to serve
       * those calls are not included.
       * 
* * optional int64 api_mcycles = 19; * @return Whether the apiMcycles field is set. */ @java.lang.Override public boolean hasApiMcycles() { return ((bitField0_ & 0x00100000) != 0); } /** *
       * Number of megacycles spent by AppServer in serving API calls from the
       * clone for this request. Note that in many cases, API calls also trigger
       * RPCs out of the AppServer, and the CPU cycles in the backend to serve
       * those calls are not included.
       * 
* * optional int64 api_mcycles = 19; * @return The apiMcycles. */ @java.lang.Override public long getApiMcycles() { return apiMcycles_; } /** *
       * Number of megacycles spent by AppServer in serving API calls from the
       * clone for this request. Note that in many cases, API calls also trigger
       * RPCs out of the AppServer, and the CPU cycles in the backend to serve
       * those calls are not included.
       * 
* * optional int64 api_mcycles = 19; * @param value The apiMcycles to set. * @return This builder for chaining. */ public Builder setApiMcycles(long value) { apiMcycles_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * Number of megacycles spent by AppServer in serving API calls from the
       * clone for this request. Note that in many cases, API calls also trigger
       * RPCs out of the AppServer, and the CPU cycles in the backend to serve
       * those calls are not included.
       * 
* * optional int64 api_mcycles = 19; * @return This builder for chaining. */ public Builder clearApiMcycles() { bitField0_ = (bitField0_ & ~0x00100000); apiMcycles_ = 0L; onChanged(); return this; } private java.lang.Object host_ = ""; /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @return Whether the host field is set. */ public boolean hasHost() { return ((bitField0_ & 0x00200000) != 0); } /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; 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()) { host_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); bitField0_ = (bitField0_ & ~0x00200000); onChanged(); return this; } /** *
       * The Internet host and port number of the resource being requested.
       * 
* * optional string host = 20; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } host_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } private double cost_ ; /** *
       * An indication of the relative cost of serving this request. This does not
       * have a direct correspondence to the dollar amounts that will show up on
       * the bill, but it is roughly proportional to the contribution this request
       * makes toward the billed amount.
       * 
* * optional double cost = 21; * @return Whether the cost field is set. */ @java.lang.Override public boolean hasCost() { return ((bitField0_ & 0x00400000) != 0); } /** *
       * An indication of the relative cost of serving this request. This does not
       * have a direct correspondence to the dollar amounts that will show up on
       * the bill, but it is roughly proportional to the contribution this request
       * makes toward the billed amount.
       * 
* * optional double cost = 21; * @return The cost. */ @java.lang.Override public double getCost() { return cost_; } /** *
       * An indication of the relative cost of serving this request. This does not
       * have a direct correspondence to the dollar amounts that will show up on
       * the bill, but it is roughly proportional to the contribution this request
       * makes toward the billed amount.
       * 
* * optional double cost = 21; * @param value The cost to set. * @return This builder for chaining. */ public Builder setCost(double value) { cost_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** *
       * An indication of the relative cost of serving this request. This does not
       * have a direct correspondence to the dollar amounts that will show up on
       * the bill, but it is roughly proportional to the contribution this request
       * makes toward the billed amount.
       * 
* * optional double cost = 21; * @return This builder for chaining. */ public Builder clearCost() { bitField0_ = (bitField0_ & ~0x00400000); cost_ = 0D; onChanged(); return this; } private java.lang.Object taskQueueName_ = ""; /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @return Whether the taskQueueName field is set. */ public boolean hasTaskQueueName() { return ((bitField0_ & 0x00800000) != 0); } /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @return The taskQueueName. */ public java.lang.String getTaskQueueName() { java.lang.Object ref = taskQueueName_; 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()) { taskQueueName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @return The bytes for taskQueueName. */ public com.google.protobuf.ByteString getTaskQueueNameBytes() { java.lang.Object ref = taskQueueName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskQueueName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @param value The taskQueueName to set. * @return This builder for chaining. */ public Builder setTaskQueueName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taskQueueName_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @return This builder for chaining. */ public Builder clearTaskQueueName() { taskQueueName_ = getDefaultInstance().getTaskQueueName(); bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } /** *
       * TaskQueue API, request's queue and task names (for an offline request).
       * 
* * optional string task_queue_name = 22; * @param value The bytes for taskQueueName to set. * @return This builder for chaining. */ public Builder setTaskQueueNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskQueueName_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } private java.lang.Object taskName_ = ""; /** * optional string task_name = 23; * @return Whether the taskName field is set. */ public boolean hasTaskName() { return ((bitField0_ & 0x01000000) != 0); } /** * optional string task_name = 23; * @return The taskName. */ public java.lang.String getTaskName() { java.lang.Object ref = taskName_; 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()) { taskName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string task_name = 23; * @return The bytes for taskName. */ public com.google.protobuf.ByteString getTaskNameBytes() { java.lang.Object ref = taskName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string task_name = 23; * @param value The taskName to set. * @return This builder for chaining. */ public Builder setTaskName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** * optional string task_name = 23; * @return This builder for chaining. */ public Builder clearTaskName() { taskName_ = getDefaultInstance().getTaskName(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } /** * optional string task_name = 23; * @param value The bytes for taskName to set. * @return This builder for chaining. */ public Builder setTaskNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } taskName_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } private boolean wasLoadingRequest_ ; /** *
       * Was this request a loading request for this clone?
       * 
* * optional bool was_loading_request = 24; * @return Whether the wasLoadingRequest field is set. */ @java.lang.Override public boolean hasWasLoadingRequest() { return ((bitField0_ & 0x02000000) != 0); } /** *
       * Was this request a loading request for this clone?
       * 
* * optional bool was_loading_request = 24; * @return The wasLoadingRequest. */ @java.lang.Override public boolean getWasLoadingRequest() { return wasLoadingRequest_; } /** *
       * Was this request a loading request for this clone?
       * 
* * optional bool was_loading_request = 24; * @param value The wasLoadingRequest to set. * @return This builder for chaining. */ public Builder setWasLoadingRequest(boolean value) { wasLoadingRequest_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** *
       * Was this request a loading request for this clone?
       * 
* * optional bool was_loading_request = 24; * @return This builder for chaining. */ public Builder clearWasLoadingRequest() { bitField0_ = (bitField0_ & ~0x02000000); wasLoadingRequest_ = false; onChanged(); return this; } private long pendingTime_ ; /** *
       * Time, in microseconds, this request spent in the pending request queue, if
       * it was pending at all.
       * 
* * optional int64 pending_time = 25; * @return Whether the pendingTime field is set. */ @java.lang.Override public boolean hasPendingTime() { return ((bitField0_ & 0x04000000) != 0); } /** *
       * Time, in microseconds, this request spent in the pending request queue, if
       * it was pending at all.
       * 
* * optional int64 pending_time = 25; * @return The pendingTime. */ @java.lang.Override public long getPendingTime() { return pendingTime_; } /** *
       * Time, in microseconds, this request spent in the pending request queue, if
       * it was pending at all.
       * 
* * optional int64 pending_time = 25; * @param value The pendingTime to set. * @return This builder for chaining. */ public Builder setPendingTime(long value) { pendingTime_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } /** *
       * Time, in microseconds, this request spent in the pending request queue, if
       * it was pending at all.
       * 
* * optional int64 pending_time = 25; * @return This builder for chaining. */ public Builder clearPendingTime() { bitField0_ = (bitField0_ & ~0x04000000); pendingTime_ = 0L; onChanged(); return this; } private int replicaIndex_ = -1; /** *
       * The server replica that handled the request, if any.
       * WARNING: Default is -1, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional int32 replica_index = 26 [default = -1]; * @return Whether the replicaIndex field is set. */ @java.lang.Override public boolean hasReplicaIndex() { return ((bitField0_ & 0x08000000) != 0); } /** *
       * The server replica that handled the request, if any.
       * WARNING: Default is -1, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional int32 replica_index = 26 [default = -1]; * @return The replicaIndex. */ @java.lang.Override public int getReplicaIndex() { return replicaIndex_; } /** *
       * The server replica that handled the request, if any.
       * WARNING: Default is -1, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional int32 replica_index = 26 [default = -1]; * @param value The replicaIndex to set. * @return This builder for chaining. */ public Builder setReplicaIndex(int value) { replicaIndex_ = value; bitField0_ |= 0x08000000; onChanged(); return this; } /** *
       * The server replica that handled the request, if any.
       * WARNING: Default is -1, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional int32 replica_index = 26 [default = -1]; * @return This builder for chaining. */ public Builder clearReplicaIndex() { bitField0_ = (bitField0_ & ~0x08000000); replicaIndex_ = -1; onChanged(); return this; } private boolean finished_ = true; /** *
       * If true, represents a finished request.  Otherwise, the request is active.
       * WARNING: Default is true, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional bool finished = 27 [default = true]; * @return Whether the finished field is set. */ @java.lang.Override public boolean hasFinished() { return ((bitField0_ & 0x10000000) != 0); } /** *
       * If true, represents a finished request.  Otherwise, the request is active.
       * WARNING: Default is true, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional bool finished = 27 [default = true]; * @return The finished. */ @java.lang.Override public boolean getFinished() { return finished_; } /** *
       * If true, represents a finished request.  Otherwise, the request is active.
       * WARNING: Default is true, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional bool finished = 27 [default = true]; * @param value The finished to set. * @return This builder for chaining. */ public Builder setFinished(boolean value) { finished_ = value; bitField0_ |= 0x10000000; onChanged(); return this; } /** *
       * If true, represents a finished request.  Otherwise, the request is active.
       * WARNING: Default is true, must continue to be enforced in cc file as well.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional bool finished = 27 [default = true]; * @return This builder for chaining. */ public Builder clearFinished() { bitField0_ = (bitField0_ & ~0x10000000); finished_ = true; onChanged(); return this; } private com.google.protobuf.ByteString cloneKey_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Mostly-unique identifier for the clone that handled the request.
       * 
* * optional bytes clone_key = 28; * @return Whether the cloneKey field is set. */ @java.lang.Override public boolean hasCloneKey() { return ((bitField0_ & 0x20000000) != 0); } /** *
       * Mostly-unique identifier for the clone that handled the request.
       * 
* * optional bytes clone_key = 28; * @return The cloneKey. */ @java.lang.Override public com.google.protobuf.ByteString getCloneKey() { return cloneKey_; } /** *
       * Mostly-unique identifier for the clone that handled the request.
       * 
* * optional bytes clone_key = 28; * @param value The cloneKey to set. * @return This builder for chaining. */ public Builder setCloneKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } cloneKey_ = value; bitField0_ |= 0x20000000; onChanged(); return this; } /** *
       * Mostly-unique identifier for the clone that handled the request.
       * 
* * optional bytes clone_key = 28; * @return This builder for chaining. */ public Builder clearCloneKey() { bitField0_ = (bitField0_ & ~0x20000000); cloneKey_ = getDefaultInstance().getCloneKey(); onChanged(); return this; } private java.util.List line_ = java.util.Collections.emptyList(); private void ensureLineIsMutable() { if (!((bitField0_ & 0x40000000) != 0)) { line_ = new java.util.ArrayList(line_); bitField0_ |= 0x40000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogLine, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder> lineBuilder_; /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public java.util.List getLineList() { if (lineBuilder_ == null) { return java.util.Collections.unmodifiableList(line_); } else { return lineBuilder_.getMessageList(); } } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public int getLineCount() { if (lineBuilder_ == null) { return line_.size(); } else { return lineBuilder_.getCount(); } } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public com.google.apphosting.api.logservice.LogServicePb.LogLine getLine(int index) { if (lineBuilder_ == null) { return line_.get(index); } else { return lineBuilder_.getMessage(index); } } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder setLine( int index, com.google.apphosting.api.logservice.LogServicePb.LogLine value) { if (lineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLineIsMutable(); line_.set(index, value); onChanged(); } else { lineBuilder_.setMessage(index, value); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder setLine( int index, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder builderForValue) { if (lineBuilder_ == null) { ensureLineIsMutable(); line_.set(index, builderForValue.build()); onChanged(); } else { lineBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder addLine(com.google.apphosting.api.logservice.LogServicePb.LogLine value) { if (lineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLineIsMutable(); line_.add(value); onChanged(); } else { lineBuilder_.addMessage(value); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder addLine( int index, com.google.apphosting.api.logservice.LogServicePb.LogLine value) { if (lineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLineIsMutable(); line_.add(index, value); onChanged(); } else { lineBuilder_.addMessage(index, value); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder addLine( com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder builderForValue) { if (lineBuilder_ == null) { ensureLineIsMutable(); line_.add(builderForValue.build()); onChanged(); } else { lineBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder addLine( int index, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder builderForValue) { if (lineBuilder_ == null) { ensureLineIsMutable(); line_.add(index, builderForValue.build()); onChanged(); } else { lineBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder addAllLine( java.lang.Iterable values) { if (lineBuilder_ == null) { ensureLineIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, line_); onChanged(); } else { lineBuilder_.addAllMessages(values); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder clearLine() { if (lineBuilder_ == null) { line_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x40000000); onChanged(); } else { lineBuilder_.clear(); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public Builder removeLine(int index) { if (lineBuilder_ == null) { ensureLineIsMutable(); line_.remove(index); onChanged(); } else { lineBuilder_.remove(index); } return this; } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder getLineBuilder( int index) { return getLineFieldBuilder().getBuilder(index); } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder getLineOrBuilder( int index) { if (lineBuilder_ == null) { return line_.get(index); } else { return lineBuilder_.getMessageOrBuilder(index); } } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public java.util.List getLineOrBuilderList() { if (lineBuilder_ != null) { return lineBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(line_); } } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder addLineBuilder() { return getLineFieldBuilder().addBuilder( com.google.apphosting.api.logservice.LogServicePb.LogLine.getDefaultInstance()); } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder addLineBuilder( int index) { return getLineFieldBuilder().addBuilder( index, com.google.apphosting.api.logservice.LogServicePb.LogLine.getDefaultInstance()); } /** *
       * List of log lines emitted by the application while serving this request,
       * if requested.
       * 
* * repeated .java.apphosting.LogLine line = 29; */ public java.util.List getLineBuilderList() { return getLineFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogLine, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder> getLineFieldBuilder() { if (lineBuilder_ == null) { lineBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogLine, com.google.apphosting.api.logservice.LogServicePb.LogLine.Builder, com.google.apphosting.api.logservice.LogServicePb.LogLineOrBuilder>( line_, ((bitField0_ & 0x40000000) != 0), getParentForChildren(), isClean()); line_ = null; } return lineBuilder_; } private boolean linesIncomplete_ ; /** *
       * True if fewer log lines are being returned than are known to exist, for
       * example because 'app_logs_per_request' was specified.  Will never be set
       * if 'include_app_logs' was not true.
       * 
* * optional bool lines_incomplete = 36; * @return Whether the linesIncomplete field is set. */ @java.lang.Override public boolean hasLinesIncomplete() { return ((bitField0_ & 0x80000000) != 0); } /** *
       * True if fewer log lines are being returned than are known to exist, for
       * example because 'app_logs_per_request' was specified.  Will never be set
       * if 'include_app_logs' was not true.
       * 
* * optional bool lines_incomplete = 36; * @return The linesIncomplete. */ @java.lang.Override public boolean getLinesIncomplete() { return linesIncomplete_; } /** *
       * True if fewer log lines are being returned than are known to exist, for
       * example because 'app_logs_per_request' was specified.  Will never be set
       * if 'include_app_logs' was not true.
       * 
* * optional bool lines_incomplete = 36; * @param value The linesIncomplete to set. * @return This builder for chaining. */ public Builder setLinesIncomplete(boolean value) { linesIncomplete_ = value; bitField0_ |= 0x80000000; onChanged(); return this; } /** *
       * True if fewer log lines are being returned than are known to exist, for
       * example because 'app_logs_per_request' was specified.  Will never be set
       * if 'include_app_logs' was not true.
       * 
* * optional bool lines_incomplete = 36; * @return This builder for chaining. */ public Builder clearLinesIncomplete() { bitField0_ = (bitField0_ & ~0x80000000); linesIncomplete_ = false; onChanged(); return this; } private com.google.protobuf.ByteString appEngineRelease_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Version of the App Engine stack that processed this request
       * (e.g. "1.9.13"). Is actually a string.
       * 
* * optional bytes app_engine_release = 38; * @return Whether the appEngineRelease field is set. */ @java.lang.Override public boolean hasAppEngineRelease() { return ((bitField1_ & 0x00000001) != 0); } /** *
       * Version of the App Engine stack that processed this request
       * (e.g. "1.9.13"). Is actually a string.
       * 
* * optional bytes app_engine_release = 38; * @return The appEngineRelease. */ @java.lang.Override public com.google.protobuf.ByteString getAppEngineRelease() { return appEngineRelease_; } /** *
       * Version of the App Engine stack that processed this request
       * (e.g. "1.9.13"). Is actually a string.
       * 
* * optional bytes app_engine_release = 38; * @param value The appEngineRelease to set. * @return This builder for chaining. */ public Builder setAppEngineRelease(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appEngineRelease_ = value; bitField1_ |= 0x00000001; onChanged(); return this; } /** *
       * Version of the App Engine stack that processed this request
       * (e.g. "1.9.13"). Is actually a string.
       * 
* * optional bytes app_engine_release = 38; * @return This builder for chaining. */ public Builder clearAppEngineRelease() { bitField1_ = (bitField1_ & ~0x00000001); appEngineRelease_ = getDefaultInstance().getAppEngineRelease(); onChanged(); return this; } private java.lang.Object traceId_ = ""; /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @return Whether the traceId field is set. */ public boolean hasTraceId() { return ((bitField1_ & 0x00000002) != 0); } /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; 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()) { traceId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @return The bytes for traceId. */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @param value The traceId to set. * @return This builder for chaining. */ public Builder setTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField1_ |= 0x00000002; onChanged(); return this; } /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @return This builder for chaining. */ public Builder clearTraceId() { traceId_ = getDefaultInstance().getTraceId(); bitField1_ = (bitField1_ & ~0x00000002); onChanged(); return this; } /** *
       * Cloud Trace identifier of the trace for this request.
       * 
* * optional string trace_id = 39; * @param value The bytes for traceId to set. * @return This builder for chaining. */ public Builder setTraceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField1_ |= 0x00000002; onChanged(); return this; } private int exitReason_ ; /** *
       * If this clone exited as part of this request, stores the reason.
       * Type: LogEnum::CloneExitReason
       * 
* * optional int32 exit_reason = 30; * @return Whether the exitReason field is set. */ @java.lang.Override public boolean hasExitReason() { return ((bitField1_ & 0x00000004) != 0); } /** *
       * If this clone exited as part of this request, stores the reason.
       * Type: LogEnum::CloneExitReason
       * 
* * optional int32 exit_reason = 30; * @return The exitReason. */ @java.lang.Override public int getExitReason() { return exitReason_; } /** *
       * If this clone exited as part of this request, stores the reason.
       * Type: LogEnum::CloneExitReason
       * 
* * optional int32 exit_reason = 30; * @param value The exitReason to set. * @return This builder for chaining. */ public Builder setExitReason(int value) { exitReason_ = value; bitField1_ |= 0x00000004; onChanged(); return this; } /** *
       * If this clone exited as part of this request, stores the reason.
       * Type: LogEnum::CloneExitReason
       * 
* * optional int32 exit_reason = 30; * @return This builder for chaining. */ public Builder clearExitReason() { bitField1_ = (bitField1_ & ~0x00000004); exitReason_ = 0; onChanged(); return this; } private boolean wasThrottledForTime_ ; /** *
       * Was this request throttled by wallclock restrictions?
       * 
* * optional bool was_throttled_for_time = 31; * @return Whether the wasThrottledForTime field is set. */ @java.lang.Override public boolean hasWasThrottledForTime() { return ((bitField1_ & 0x00000008) != 0); } /** *
       * Was this request throttled by wallclock restrictions?
       * 
* * optional bool was_throttled_for_time = 31; * @return The wasThrottledForTime. */ @java.lang.Override public boolean getWasThrottledForTime() { return wasThrottledForTime_; } /** *
       * Was this request throttled by wallclock restrictions?
       * 
* * optional bool was_throttled_for_time = 31; * @param value The wasThrottledForTime to set. * @return This builder for chaining. */ public Builder setWasThrottledForTime(boolean value) { wasThrottledForTime_ = value; bitField1_ |= 0x00000008; onChanged(); return this; } /** *
       * Was this request throttled by wallclock restrictions?
       * 
* * optional bool was_throttled_for_time = 31; * @return This builder for chaining. */ public Builder clearWasThrottledForTime() { bitField1_ = (bitField1_ & ~0x00000008); wasThrottledForTime_ = false; onChanged(); return this; } private boolean wasThrottledForRequests_ ; /** *
       * Was this request throttled by per-app active requests restrictions?
       * 
* * optional bool was_throttled_for_requests = 32; * @return Whether the wasThrottledForRequests field is set. */ @java.lang.Override public boolean hasWasThrottledForRequests() { return ((bitField1_ & 0x00000010) != 0); } /** *
       * Was this request throttled by per-app active requests restrictions?
       * 
* * optional bool was_throttled_for_requests = 32; * @return The wasThrottledForRequests. */ @java.lang.Override public boolean getWasThrottledForRequests() { return wasThrottledForRequests_; } /** *
       * Was this request throttled by per-app active requests restrictions?
       * 
* * optional bool was_throttled_for_requests = 32; * @param value The wasThrottledForRequests to set. * @return This builder for chaining. */ public Builder setWasThrottledForRequests(boolean value) { wasThrottledForRequests_ = value; bitField1_ |= 0x00000010; onChanged(); return this; } /** *
       * Was this request throttled by per-app active requests restrictions?
       * 
* * optional bool was_throttled_for_requests = 32; * @return This builder for chaining. */ public Builder clearWasThrottledForRequests() { bitField1_ = (bitField1_ & ~0x00000010); wasThrottledForRequests_ = false; onChanged(); return this; } private long throttledTime_ ; /** *
       * The amount of time, in microseconds, that this request was throttled by
       * the CPU throttler, if any.
       * 
* * optional int64 throttled_time = 33; * @return Whether the throttledTime field is set. */ @java.lang.Override public boolean hasThrottledTime() { return ((bitField1_ & 0x00000020) != 0); } /** *
       * The amount of time, in microseconds, that this request was throttled by
       * the CPU throttler, if any.
       * 
* * optional int64 throttled_time = 33; * @return The throttledTime. */ @java.lang.Override public long getThrottledTime() { return throttledTime_; } /** *
       * The amount of time, in microseconds, that this request was throttled by
       * the CPU throttler, if any.
       * 
* * optional int64 throttled_time = 33; * @param value The throttledTime to set. * @return This builder for chaining. */ public Builder setThrottledTime(long value) { throttledTime_ = value; bitField1_ |= 0x00000020; onChanged(); return this; } /** *
       * The amount of time, in microseconds, that this request was throttled by
       * the CPU throttler, if any.
       * 
* * optional int64 throttled_time = 33; * @return This builder for chaining. */ public Builder clearThrottledTime() { bitField1_ = (bitField1_ & ~0x00000020); throttledTime_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString serverName_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Task BNS address for the AppServer this clone is running on.
       * 
* * optional bytes server_name = 34; * @return Whether the serverName field is set. */ @java.lang.Override public boolean hasServerName() { return ((bitField1_ & 0x00000040) != 0); } /** *
       * Task BNS address for the AppServer this clone is running on.
       * 
* * optional bytes server_name = 34; * @return The serverName. */ @java.lang.Override public com.google.protobuf.ByteString getServerName() { return serverName_; } /** *
       * Task BNS address for the AppServer this clone is running on.
       * 
* * optional bytes server_name = 34; * @param value The serverName to set. * @return This builder for chaining. */ public Builder setServerName(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } serverName_ = value; bitField1_ |= 0x00000040; onChanged(); return this; } /** *
       * Task BNS address for the AppServer this clone is running on.
       * 
* * optional bytes server_name = 34; * @return This builder for chaining. */ public Builder clearServerName() { bitField1_ = (bitField1_ & ~0x00000040); serverName_ = getDefaultInstance().getServerName(); 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.RequestLog) } // @@protoc_insertion_point(class_scope:java.apphosting.RequestLog) private static final com.google.apphosting.api.logservice.LogServicePb.RequestLog DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.RequestLog(); } public static com.google.apphosting.api.logservice.LogServicePb.RequestLog getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestLog 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.api.logservice.LogServicePb.RequestLog getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogModuleVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogModuleVersion) com.google.protobuf.MessageOrBuilder { /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [default = "default"]; * @return Whether the moduleId field is set. */ boolean hasModuleId(); /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [default = "default"]; * @return The moduleId. */ java.lang.String getModuleId(); /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [default = "default"]; * @return The bytes for moduleId. */ com.google.protobuf.ByteString getModuleIdBytes(); /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional string version_id = 2; * @return Whether the versionId field is set. */ boolean hasVersionId(); /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional string version_id = 2; * @return The versionId. */ java.lang.String getVersionId(); /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional string version_id = 2; * @return The bytes for versionId. */ com.google.protobuf.ByteString getVersionIdBytes(); /** * optional bool deprecated_module_id_set = 101; * @return Whether the deprecatedModuleIdSet field is set. */ boolean hasDeprecatedModuleIdSet(); /** * optional bool deprecated_module_id_set = 101; * @return The deprecatedModuleIdSet. */ boolean getDeprecatedModuleIdSet(); /** * optional bool deprecated_version_id_set = 102; * @return Whether the deprecatedVersionIdSet field is set. */ boolean hasDeprecatedVersionIdSet(); /** * optional bool deprecated_version_id_set = 102; * @return The deprecatedVersionIdSet. */ boolean getDeprecatedVersionIdSet(); } /** * Protobuf type {@code java.apphosting.LogModuleVersion} */ public static final class LogModuleVersion extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogModuleVersion) LogModuleVersionOrBuilder { private static final long serialVersionUID = 0L; // Use LogModuleVersion.newBuilder() to construct. private LogModuleVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogModuleVersion() { moduleId_ = "default"; versionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogModuleVersion(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogModuleVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogModuleVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.class, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder.class); } private int bitField0_; public static final int MODULE_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object moduleId_ = "default"; /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [default = "default"]; * @return Whether the moduleId field is set. */ @java.lang.Override public boolean hasModuleId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [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; } } /** *
     * WARNING: Default is "default", must continue to be enforced in cc file.
     * This default must be kept in this proto2 file as it affects the user
     * facing libraries.
     * 
* * optional string module_id = 1 [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 VERSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object versionId_ = ""; /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional string version_id = 2; * @return Whether the versionId field is set. */ @java.lang.Override public boolean hasVersionId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional 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; } } /** *
     * NOTE: For the time being this is enforced as required in code.
     * 
* * optional 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 DEPRECATED_MODULE_ID_SET_FIELD_NUMBER = 101; private boolean deprecatedModuleIdSet_ = false; /** * optional bool deprecated_module_id_set = 101; * @return Whether the deprecatedModuleIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedModuleIdSet() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool deprecated_module_id_set = 101; * @return The deprecatedModuleIdSet. */ @java.lang.Override public boolean getDeprecatedModuleIdSet() { return deprecatedModuleIdSet_; } public static final int DEPRECATED_VERSION_ID_SET_FIELD_NUMBER = 102; private boolean deprecatedVersionIdSet_ = false; /** * optional bool deprecated_version_id_set = 102; * @return Whether the deprecatedVersionIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedVersionIdSet() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool deprecated_version_id_set = 102; * @return The deprecatedVersionIdSet. */ @java.lang.Override public boolean getDeprecatedVersionIdSet() { return deprecatedVersionIdSet_; } 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, moduleId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionId_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(101, deprecatedModuleIdSet_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(102, deprecatedVersionIdSet_); } 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, moduleId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, versionId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(101, deprecatedModuleIdSet_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(102, deprecatedVersionIdSet_); } 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.api.logservice.LogServicePb.LogModuleVersion)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion other = (com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion) obj; if (hasModuleId() != other.hasModuleId()) return false; if (hasModuleId()) { if (!getModuleId() .equals(other.getModuleId())) return false; } if (hasVersionId() != other.hasVersionId()) return false; if (hasVersionId()) { if (!getVersionId() .equals(other.getVersionId())) return false; } if (hasDeprecatedModuleIdSet() != other.hasDeprecatedModuleIdSet()) return false; if (hasDeprecatedModuleIdSet()) { if (getDeprecatedModuleIdSet() != other.getDeprecatedModuleIdSet()) return false; } if (hasDeprecatedVersionIdSet() != other.hasDeprecatedVersionIdSet()) return false; if (hasDeprecatedVersionIdSet()) { if (getDeprecatedVersionIdSet() != other.getDeprecatedVersionIdSet()) 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 (hasModuleId()) { hash = (37 * hash) + MODULE_ID_FIELD_NUMBER; hash = (53 * hash) + getModuleId().hashCode(); } if (hasVersionId()) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionId().hashCode(); } if (hasDeprecatedModuleIdSet()) { hash = (37 * hash) + DEPRECATED_MODULE_ID_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedModuleIdSet()); } if (hasDeprecatedVersionIdSet()) { hash = (37 * hash) + DEPRECATED_VERSION_ID_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedVersionIdSet()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion 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.LogModuleVersion} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogModuleVersion) com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogModuleVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogModuleVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.class, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; moduleId_ = "default"; versionId_ = ""; deprecatedModuleIdSet_ = false; deprecatedVersionIdSet_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogModuleVersion_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion build() { com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion result = new com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.moduleId_ = moduleId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.versionId_ = versionId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.deprecatedModuleIdSet_ = deprecatedModuleIdSet_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.deprecatedVersionIdSet_ = deprecatedVersionIdSet_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.getDefaultInstance()) return this; if (other.hasModuleId()) { moduleId_ = other.moduleId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasVersionId()) { versionId_ = other.versionId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasDeprecatedModuleIdSet()) { setDeprecatedModuleIdSet(other.getDeprecatedModuleIdSet()); } if (other.hasDeprecatedVersionIdSet()) { setDeprecatedVersionIdSet(other.getDeprecatedVersionIdSet()); } 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: { moduleId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { versionId_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 808: { deprecatedModuleIdSet_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 808 case 816: { deprecatedVersionIdSet_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 816 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 moduleId_ = "default"; /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [default = "default"]; * @return Whether the moduleId field is set. */ public boolean hasModuleId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [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; } } /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [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; } } /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [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_ |= 0x00000001; onChanged(); return this; } /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [default = "default"]; * @return This builder for chaining. */ public Builder clearModuleId() { moduleId_ = getDefaultInstance().getModuleId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * WARNING: Default is "default", must continue to be enforced in cc file.
       * This default must be kept in this proto2 file as it affects the user
       * facing libraries.
       * 
* * optional string module_id = 1 [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_ |= 0x00000001; onChanged(); return this; } private java.lang.Object versionId_ = ""; /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional string version_id = 2; * @return Whether the versionId field is set. */ public boolean hasVersionId() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional 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; } } /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional 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; } } /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional 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_ |= 0x00000002; onChanged(); return this; } /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional string version_id = 2; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = getDefaultInstance().getVersionId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * NOTE: For the time being this is enforced as required in code.
       * 
* * optional 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_ |= 0x00000002; onChanged(); return this; } private boolean deprecatedModuleIdSet_ ; /** * optional bool deprecated_module_id_set = 101; * @return Whether the deprecatedModuleIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedModuleIdSet() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool deprecated_module_id_set = 101; * @return The deprecatedModuleIdSet. */ @java.lang.Override public boolean getDeprecatedModuleIdSet() { return deprecatedModuleIdSet_; } /** * optional bool deprecated_module_id_set = 101; * @param value The deprecatedModuleIdSet to set. * @return This builder for chaining. */ public Builder setDeprecatedModuleIdSet(boolean value) { deprecatedModuleIdSet_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional bool deprecated_module_id_set = 101; * @return This builder for chaining. */ public Builder clearDeprecatedModuleIdSet() { bitField0_ = (bitField0_ & ~0x00000004); deprecatedModuleIdSet_ = false; onChanged(); return this; } private boolean deprecatedVersionIdSet_ ; /** * optional bool deprecated_version_id_set = 102; * @return Whether the deprecatedVersionIdSet field is set. */ @java.lang.Override public boolean hasDeprecatedVersionIdSet() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool deprecated_version_id_set = 102; * @return The deprecatedVersionIdSet. */ @java.lang.Override public boolean getDeprecatedVersionIdSet() { return deprecatedVersionIdSet_; } /** * optional bool deprecated_version_id_set = 102; * @param value The deprecatedVersionIdSet to set. * @return This builder for chaining. */ public Builder setDeprecatedVersionIdSet(boolean value) { deprecatedVersionIdSet_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * optional bool deprecated_version_id_set = 102; * @return This builder for chaining. */ public Builder clearDeprecatedVersionIdSet() { bitField0_ = (bitField0_ & ~0x00000008); deprecatedVersionIdSet_ = 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.LogModuleVersion) } // @@protoc_insertion_point(class_scope:java.apphosting.LogModuleVersion) private static final com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion(); } public static com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogModuleVersion 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.api.logservice.LogServicePb.LogModuleVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogReadRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogReadRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Application id of logs to read.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Application id of logs to read.
     * 
* * required string app_id = 1; * @return The appId. */ java.lang.String getAppId(); /** *
     * Application id of logs to read.
     * 
* * required string app_id = 1; * @return The bytes for appId. */ com.google.protobuf.ByteString getAppIdBytes(); /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ java.util.List getVersionIdList(); /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @return The count of versionId. */ int getVersionIdCount(); /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ java.lang.String getVersionId(int index); /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ com.google.protobuf.ByteString getVersionIdBytes(int index); /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ java.util.List getModuleVersionList(); /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion getModuleVersion(int index); /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ int getModuleVersionCount(); /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ java.util.List getModuleVersionOrBuilderList(); /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder getModuleVersionOrBuilder( int index); /** *
     * Earliest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is inclusive.
     * 
* * optional int64 start_time = 3; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * Earliest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is inclusive.
     * 
* * optional int64 start_time = 3; * @return The startTime. */ long getStartTime(); /** *
     * Latest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is exclusive.
     * 
* * optional int64 end_time = 4; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * Latest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is exclusive.
     * 
* * optional int64 end_time = 4; * @return The endTime. */ long getEndTime(); /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; * @return Whether the offset field is set. */ boolean hasOffset(); /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; * @return The offset. */ com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset(); /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; */ com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder(); /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @return A list containing the requestId. */ java.util.List getRequestIdList(); /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @return The count of requestId. */ int getRequestIdCount(); /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @param index The index of the element to return. * @return The requestId at the given index. */ com.google.protobuf.ByteString getRequestId(int index); /** *
     * If set, only requests containing a LogLine of at least this level will be
     * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
     * CRITICAL = 4
     * 
* * optional int32 minimum_log_level = 7; * @return Whether the minimumLogLevel field is set. */ boolean hasMinimumLogLevel(); /** *
     * If set, only requests containing a LogLine of at least this level will be
     * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
     * CRITICAL = 4
     * 
* * optional int32 minimum_log_level = 7; * @return The minimumLogLevel. */ int getMinimumLogLevel(); /** *
     * Unless set to true, only requests that have completed will be returned.
     * 
* * optional bool include_incomplete = 8; * @return Whether the includeIncomplete field is set. */ boolean hasIncludeIncomplete(); /** *
     * Unless set to true, only requests that have completed will be returned.
     * 
* * optional bool include_incomplete = 8; * @return The includeIncomplete. */ boolean getIncludeIncomplete(); /** *
     * Number of requests to return; fewer may actually be returned in some cases.
     * 
* * optional int64 count = 9; * @return Whether the count field is set. */ boolean hasCount(); /** *
     * Number of requests to return; fewer may actually be returned in some cases.
     * 
* * optional int64 count = 9; * @return The count. */ long getCount(); /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return Whether the combinedLogRegex field is set. */ boolean hasCombinedLogRegex(); /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return The combinedLogRegex. */ java.lang.String getCombinedLogRegex(); /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return The bytes for combinedLogRegex. */ com.google.protobuf.ByteString getCombinedLogRegexBytes(); /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return Whether the hostRegex field is set. */ boolean hasHostRegex(); /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return The hostRegex. */ java.lang.String getHostRegex(); /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return The bytes for hostRegex. */ com.google.protobuf.ByteString getHostRegexBytes(); /** *
     * If set, only logs from the given (backend) replica index will be returned.
     * 
* * optional int32 replica_index = 16; * @return Whether the replicaIndex field is set. */ boolean hasReplicaIndex(); /** *
     * If set, only logs from the given (backend) replica index will be returned.
     * 
* * optional int32 replica_index = 16; * @return The replicaIndex. */ int getReplicaIndex(); /** *
     * If true, application log messages will be returned with each result.
     * 
* * optional bool include_app_logs = 10; * @return Whether the includeAppLogs field is set. */ boolean hasIncludeAppLogs(); /** *
     * If true, application log messages will be returned with each result.
     * 
* * optional bool include_app_logs = 10; * @return The includeAppLogs. */ boolean getIncludeAppLogs(); /** *
     * If set, no more than the specified number of application logs will be
     * returned with each RequestLog, with earlier application logs omitted.
     * 
* * optional int32 app_logs_per_request = 17; * @return Whether the appLogsPerRequest field is set. */ boolean hasAppLogsPerRequest(); /** *
     * If set, no more than the specified number of application logs will be
     * returned with each RequestLog, with earlier application logs omitted.
     * 
* * optional int32 app_logs_per_request = 17; * @return The appLogsPerRequest. */ int getAppLogsPerRequest(); /** *
     * Include virtual host name in the combined log string.
     * 
* * optional bool include_host = 11; * @return Whether the includeHost field is set. */ boolean hasIncludeHost(); /** *
     * Include virtual host name in the combined log string.
     * 
* * optional bool include_host = 11; * @return The includeHost. */ boolean getIncludeHost(); /** *
     * Include everything we know about this request in the combined log string.
     * 
* * optional bool include_all = 12; * @return Whether the includeAll field is set. */ boolean hasIncludeAll(); /** *
     * Include everything we know about this request in the combined log string.
     * 
* * optional bool include_all = 12; * @return The includeAll. */ boolean getIncludeAll(); /** *
     * If true the server may cache the internal structures used to perform this
     * read, allowing continued reads from within the same http request to
     * execute more quickly.  This should not be set to true for cases where the
     * continuation request will come from a different http request, as is the
     * case for the Admin Console logs viewer or 'appcfg request_logs'.
     * 
* * optional bool cache_iterator = 13; * @return Whether the cacheIterator field is set. */ boolean hasCacheIterator(); /** *
     * If true the server may cache the internal structures used to perform this
     * read, allowing continued reads from within the same http request to
     * execute more quickly.  This should not be set to true for cases where the
     * continuation request will come from a different http request, as is the
     * case for the Admin Console logs viewer or 'appcfg request_logs'.
     * 
* * optional bool cache_iterator = 13; * @return The cacheIterator. */ boolean getCacheIterator(); /** *
     * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
     * Important to allow the reading of all logs for an app where its
     * GlobalConfig may not be in memory.
     * 
* * optional int32 num_shards = 18; * @return Whether the numShards field is set. */ boolean hasNumShards(); /** *
     * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
     * Important to allow the reading of all logs for an app where its
     * GlobalConfig may not be in memory.
     * 
* * optional int32 num_shards = 18; * @return The numShards. */ int getNumShards(); /** * optional bool deprecated_start_time_set = 103; * @return Whether the deprecatedStartTimeSet field is set. */ boolean hasDeprecatedStartTimeSet(); /** * optional bool deprecated_start_time_set = 103; * @return The deprecatedStartTimeSet. */ boolean getDeprecatedStartTimeSet(); /** * optional bool deprecated_end_time_set = 104; * @return Whether the deprecatedEndTimeSet field is set. */ boolean hasDeprecatedEndTimeSet(); /** * optional bool deprecated_end_time_set = 104; * @return The deprecatedEndTimeSet. */ boolean getDeprecatedEndTimeSet(); /** * optional bool deprecated_minimum_log_level_set = 107; * @return Whether the deprecatedMinimumLogLevelSet field is set. */ boolean hasDeprecatedMinimumLogLevelSet(); /** * optional bool deprecated_minimum_log_level_set = 107; * @return The deprecatedMinimumLogLevelSet. */ boolean getDeprecatedMinimumLogLevelSet(); /** * optional bool deprecated_count_set = 109; * @return Whether the deprecatedCountSet field is set. */ boolean hasDeprecatedCountSet(); /** * optional bool deprecated_count_set = 109; * @return The deprecatedCountSet. */ boolean getDeprecatedCountSet(); /** * optional bool deprecated_combined_log_regex_set = 114; * @return Whether the deprecatedCombinedLogRegexSet field is set. */ boolean hasDeprecatedCombinedLogRegexSet(); /** * optional bool deprecated_combined_log_regex_set = 114; * @return The deprecatedCombinedLogRegexSet. */ boolean getDeprecatedCombinedLogRegexSet(); /** * optional bool deprecated_host_regex_set = 115; * @return Whether the deprecatedHostRegexSet field is set. */ boolean hasDeprecatedHostRegexSet(); /** * optional bool deprecated_host_regex_set = 115; * @return The deprecatedHostRegexSet. */ boolean getDeprecatedHostRegexSet(); /** * optional bool deprecated_replica_index_set = 116; * @return Whether the deprecatedReplicaIndexSet field is set. */ boolean hasDeprecatedReplicaIndexSet(); /** * optional bool deprecated_replica_index_set = 116; * @return The deprecatedReplicaIndexSet. */ boolean getDeprecatedReplicaIndexSet(); /** * optional bool deprecated_app_logs_per_request_set = 117; * @return Whether the deprecatedAppLogsPerRequestSet field is set. */ boolean hasDeprecatedAppLogsPerRequestSet(); /** * optional bool deprecated_app_logs_per_request_set = 117; * @return The deprecatedAppLogsPerRequestSet. */ boolean getDeprecatedAppLogsPerRequestSet(); /** * optional bool deprecated_num_shards_set = 118; * @return Whether the deprecatedNumShardsSet field is set. */ boolean hasDeprecatedNumShardsSet(); /** * optional bool deprecated_num_shards_set = 118; * @return The deprecatedNumShardsSet. */ boolean getDeprecatedNumShardsSet(); } /** *
   * Request to read an application's logs.  Results will returned in order by
   * request completion time, from most recently completed to least recently.
   * Next tag = 20
   * 
* * Protobuf type {@code java.apphosting.LogReadRequest} */ public static final class LogReadRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogReadRequest) LogReadRequestOrBuilder { private static final long serialVersionUID = 0L; // Use LogReadRequest.newBuilder() to construct. private LogReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogReadRequest() { appId_ = ""; versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; moduleVersion_ = java.util.Collections.emptyList(); requestId_ = java.util.Collections.emptyList(); combinedLogRegex_ = ""; hostRegex_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogReadRequest(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.class, com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object appId_ = ""; /** *
     * Application id of logs to read.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Application id of logs to read.
     * 
* * 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; } } /** *
     * Application id of logs to read.
     * 
* * 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 VERSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringList versionId_; /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ public com.google.protobuf.ProtocolStringList getVersionIdList() { return versionId_; } /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @return The count of versionId. */ public int getVersionIdCount() { return versionId_.size(); } /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ public java.lang.String getVersionId(int index) { return versionId_.get(index); } /** *
     * DEPRECATED: Please use 'module_version' instead.
     * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ public com.google.protobuf.ByteString getVersionIdBytes(int index) { return versionId_.getByteString(index); } public static final int MODULE_VERSION_FIELD_NUMBER = 19; @SuppressWarnings("serial") private java.util.List moduleVersion_; /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ @java.lang.Override public java.util.List getModuleVersionList() { return moduleVersion_; } /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ @java.lang.Override public java.util.List getModuleVersionOrBuilderList() { return moduleVersion_; } /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ @java.lang.Override public int getModuleVersionCount() { return moduleVersion_.size(); } /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion getModuleVersion(int index) { return moduleVersion_.get(index); } /** *
     * List of engine_id, engine_version_id pairs of the application for which to
     * read logs.
     * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder getModuleVersionOrBuilder( int index) { return moduleVersion_.get(index); } public static final int START_TIME_FIELD_NUMBER = 3; private long startTime_ = 0L; /** *
     * Earliest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is inclusive.
     * 
* * optional int64 start_time = 3; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Earliest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is inclusive.
     * 
* * optional int64 start_time = 3; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 4; private long endTime_ = 0L; /** *
     * Latest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is exclusive.
     * 
* * optional int64 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Latest request completion time in microseconds since the epoch for which
     * results should be returned.  This value is exclusive.
     * 
* * optional int64 end_time = 4; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } public static final int OFFSET_FIELD_NUMBER = 5; private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; * @return The offset. */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } /** *
     * If set, this represents a LogOffset returned by a previous Read request
     * that will bound the end time of results, exclusive of itself.  Paged Read
     * calls should use the same start_time and end_time and only update offset.
     * 
* * optional .java.apphosting.LogOffset offset = 5; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } public static final int REQUEST_ID_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List requestId_; /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @return A list containing the requestId. */ @java.lang.Override public java.util.List getRequestIdList() { return requestId_; } /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @return The count of requestId. */ public int getRequestIdCount() { return requestId_.size(); } /** *
     * A list of request_ids to return instead of the range specified above.
     * 
* * repeated bytes request_id = 6; * @param index The index of the element to return. * @return The requestId at the given index. */ public com.google.protobuf.ByteString getRequestId(int index) { return requestId_.get(index); } public static final int MINIMUM_LOG_LEVEL_FIELD_NUMBER = 7; private int minimumLogLevel_ = 0; /** *
     * If set, only requests containing a LogLine of at least this level will be
     * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
     * CRITICAL = 4
     * 
* * optional int32 minimum_log_level = 7; * @return Whether the minimumLogLevel field is set. */ @java.lang.Override public boolean hasMinimumLogLevel() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * If set, only requests containing a LogLine of at least this level will be
     * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
     * CRITICAL = 4
     * 
* * optional int32 minimum_log_level = 7; * @return The minimumLogLevel. */ @java.lang.Override public int getMinimumLogLevel() { return minimumLogLevel_; } public static final int INCLUDE_INCOMPLETE_FIELD_NUMBER = 8; private boolean includeIncomplete_ = false; /** *
     * Unless set to true, only requests that have completed will be returned.
     * 
* * optional bool include_incomplete = 8; * @return Whether the includeIncomplete field is set. */ @java.lang.Override public boolean hasIncludeIncomplete() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Unless set to true, only requests that have completed will be returned.
     * 
* * optional bool include_incomplete = 8; * @return The includeIncomplete. */ @java.lang.Override public boolean getIncludeIncomplete() { return includeIncomplete_; } public static final int COUNT_FIELD_NUMBER = 9; private long count_ = 0L; /** *
     * Number of requests to return; fewer may actually be returned in some cases.
     * 
* * optional int64 count = 9; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Number of requests to return; fewer may actually be returned in some cases.
     * 
* * optional int64 count = 9; * @return The count. */ @java.lang.Override public long getCount() { return count_; } public static final int COMBINED_LOG_REGEX_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object combinedLogRegex_ = ""; /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return Whether the combinedLogRegex field is set. */ @java.lang.Override public boolean hasCombinedLogRegex() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return The combinedLogRegex. */ @java.lang.Override public java.lang.String getCombinedLogRegex() { java.lang.Object ref = combinedLogRegex_; 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()) { combinedLogRegex_ = s; } return s; } } /** *
     * If set, only requests where either the combined log field or any
     * application logs (if 'include_app_logs' is true) partial match this RE2
     * expression will be returned.
     * 
* * optional string combined_log_regex = 14; * @return The bytes for combinedLogRegex. */ @java.lang.Override public com.google.protobuf.ByteString getCombinedLogRegexBytes() { java.lang.Object ref = combinedLogRegex_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); combinedLogRegex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOST_REGEX_FIELD_NUMBER = 15; @SuppressWarnings("serial") private volatile java.lang.Object hostRegex_ = ""; /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return Whether the hostRegex field is set. */ @java.lang.Override public boolean hasHostRegex() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return The hostRegex. */ @java.lang.Override public java.lang.String getHostRegex() { java.lang.Object ref = hostRegex_; 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()) { hostRegex_ = s; } return s; } } /** *
     * If set, only requests whose (virtual) host field partial matches this RE2
     * expression will be returned.
     * 
* * optional string host_regex = 15; * @return The bytes for hostRegex. */ @java.lang.Override public com.google.protobuf.ByteString getHostRegexBytes() { java.lang.Object ref = hostRegex_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hostRegex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPLICA_INDEX_FIELD_NUMBER = 16; private int replicaIndex_ = 0; /** *
     * If set, only logs from the given (backend) replica index will be returned.
     * 
* * optional int32 replica_index = 16; * @return Whether the replicaIndex field is set. */ @java.lang.Override public boolean hasReplicaIndex() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * If set, only logs from the given (backend) replica index will be returned.
     * 
* * optional int32 replica_index = 16; * @return The replicaIndex. */ @java.lang.Override public int getReplicaIndex() { return replicaIndex_; } public static final int INCLUDE_APP_LOGS_FIELD_NUMBER = 10; private boolean includeAppLogs_ = false; /** *
     * If true, application log messages will be returned with each result.
     * 
* * optional bool include_app_logs = 10; * @return Whether the includeAppLogs field is set. */ @java.lang.Override public boolean hasIncludeAppLogs() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * If true, application log messages will be returned with each result.
     * 
* * optional bool include_app_logs = 10; * @return The includeAppLogs. */ @java.lang.Override public boolean getIncludeAppLogs() { return includeAppLogs_; } public static final int APP_LOGS_PER_REQUEST_FIELD_NUMBER = 17; private int appLogsPerRequest_ = 0; /** *
     * If set, no more than the specified number of application logs will be
     * returned with each RequestLog, with earlier application logs omitted.
     * 
* * optional int32 app_logs_per_request = 17; * @return Whether the appLogsPerRequest field is set. */ @java.lang.Override public boolean hasAppLogsPerRequest() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * If set, no more than the specified number of application logs will be
     * returned with each RequestLog, with earlier application logs omitted.
     * 
* * optional int32 app_logs_per_request = 17; * @return The appLogsPerRequest. */ @java.lang.Override public int getAppLogsPerRequest() { return appLogsPerRequest_; } public static final int INCLUDE_HOST_FIELD_NUMBER = 11; private boolean includeHost_ = false; /** *
     * Include virtual host name in the combined log string.
     * 
* * optional bool include_host = 11; * @return Whether the includeHost field is set. */ @java.lang.Override public boolean hasIncludeHost() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Include virtual host name in the combined log string.
     * 
* * optional bool include_host = 11; * @return The includeHost. */ @java.lang.Override public boolean getIncludeHost() { return includeHost_; } public static final int INCLUDE_ALL_FIELD_NUMBER = 12; private boolean includeAll_ = false; /** *
     * Include everything we know about this request in the combined log string.
     * 
* * optional bool include_all = 12; * @return Whether the includeAll field is set. */ @java.lang.Override public boolean hasIncludeAll() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Include everything we know about this request in the combined log string.
     * 
* * optional bool include_all = 12; * @return The includeAll. */ @java.lang.Override public boolean getIncludeAll() { return includeAll_; } public static final int CACHE_ITERATOR_FIELD_NUMBER = 13; private boolean cacheIterator_ = false; /** *
     * If true the server may cache the internal structures used to perform this
     * read, allowing continued reads from within the same http request to
     * execute more quickly.  This should not be set to true for cases where the
     * continuation request will come from a different http request, as is the
     * case for the Admin Console logs viewer or 'appcfg request_logs'.
     * 
* * optional bool cache_iterator = 13; * @return Whether the cacheIterator field is set. */ @java.lang.Override public boolean hasCacheIterator() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * If true the server may cache the internal structures used to perform this
     * read, allowing continued reads from within the same http request to
     * execute more quickly.  This should not be set to true for cases where the
     * continuation request will come from a different http request, as is the
     * case for the Admin Console logs viewer or 'appcfg request_logs'.
     * 
* * optional bool cache_iterator = 13; * @return The cacheIterator. */ @java.lang.Override public boolean getCacheIterator() { return cacheIterator_; } public static final int NUM_SHARDS_FIELD_NUMBER = 18; private int numShards_ = 0; /** *
     * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
     * Important to allow the reading of all logs for an app where its
     * GlobalConfig may not be in memory.
     * 
* * optional int32 num_shards = 18; * @return Whether the numShards field is set. */ @java.lang.Override public boolean hasNumShards() { return ((bitField0_ & 0x00008000) != 0); } /** *
     * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
     * Important to allow the reading of all logs for an app where its
     * GlobalConfig may not be in memory.
     * 
* * optional int32 num_shards = 18; * @return The numShards. */ @java.lang.Override public int getNumShards() { return numShards_; } public static final int DEPRECATED_START_TIME_SET_FIELD_NUMBER = 103; private boolean deprecatedStartTimeSet_ = false; /** * optional bool deprecated_start_time_set = 103; * @return Whether the deprecatedStartTimeSet field is set. */ @java.lang.Override public boolean hasDeprecatedStartTimeSet() { return ((bitField0_ & 0x00010000) != 0); } /** * optional bool deprecated_start_time_set = 103; * @return The deprecatedStartTimeSet. */ @java.lang.Override public boolean getDeprecatedStartTimeSet() { return deprecatedStartTimeSet_; } public static final int DEPRECATED_END_TIME_SET_FIELD_NUMBER = 104; private boolean deprecatedEndTimeSet_ = false; /** * optional bool deprecated_end_time_set = 104; * @return Whether the deprecatedEndTimeSet field is set. */ @java.lang.Override public boolean hasDeprecatedEndTimeSet() { return ((bitField0_ & 0x00020000) != 0); } /** * optional bool deprecated_end_time_set = 104; * @return The deprecatedEndTimeSet. */ @java.lang.Override public boolean getDeprecatedEndTimeSet() { return deprecatedEndTimeSet_; } public static final int DEPRECATED_MINIMUM_LOG_LEVEL_SET_FIELD_NUMBER = 107; private boolean deprecatedMinimumLogLevelSet_ = false; /** * optional bool deprecated_minimum_log_level_set = 107; * @return Whether the deprecatedMinimumLogLevelSet field is set. */ @java.lang.Override public boolean hasDeprecatedMinimumLogLevelSet() { return ((bitField0_ & 0x00040000) != 0); } /** * optional bool deprecated_minimum_log_level_set = 107; * @return The deprecatedMinimumLogLevelSet. */ @java.lang.Override public boolean getDeprecatedMinimumLogLevelSet() { return deprecatedMinimumLogLevelSet_; } public static final int DEPRECATED_COUNT_SET_FIELD_NUMBER = 109; private boolean deprecatedCountSet_ = false; /** * optional bool deprecated_count_set = 109; * @return Whether the deprecatedCountSet field is set. */ @java.lang.Override public boolean hasDeprecatedCountSet() { return ((bitField0_ & 0x00080000) != 0); } /** * optional bool deprecated_count_set = 109; * @return The deprecatedCountSet. */ @java.lang.Override public boolean getDeprecatedCountSet() { return deprecatedCountSet_; } public static final int DEPRECATED_COMBINED_LOG_REGEX_SET_FIELD_NUMBER = 114; private boolean deprecatedCombinedLogRegexSet_ = false; /** * optional bool deprecated_combined_log_regex_set = 114; * @return Whether the deprecatedCombinedLogRegexSet field is set. */ @java.lang.Override public boolean hasDeprecatedCombinedLogRegexSet() { return ((bitField0_ & 0x00100000) != 0); } /** * optional bool deprecated_combined_log_regex_set = 114; * @return The deprecatedCombinedLogRegexSet. */ @java.lang.Override public boolean getDeprecatedCombinedLogRegexSet() { return deprecatedCombinedLogRegexSet_; } public static final int DEPRECATED_HOST_REGEX_SET_FIELD_NUMBER = 115; private boolean deprecatedHostRegexSet_ = false; /** * optional bool deprecated_host_regex_set = 115; * @return Whether the deprecatedHostRegexSet field is set. */ @java.lang.Override public boolean hasDeprecatedHostRegexSet() { return ((bitField0_ & 0x00200000) != 0); } /** * optional bool deprecated_host_regex_set = 115; * @return The deprecatedHostRegexSet. */ @java.lang.Override public boolean getDeprecatedHostRegexSet() { return deprecatedHostRegexSet_; } public static final int DEPRECATED_REPLICA_INDEX_SET_FIELD_NUMBER = 116; private boolean deprecatedReplicaIndexSet_ = false; /** * optional bool deprecated_replica_index_set = 116; * @return Whether the deprecatedReplicaIndexSet field is set. */ @java.lang.Override public boolean hasDeprecatedReplicaIndexSet() { return ((bitField0_ & 0x00400000) != 0); } /** * optional bool deprecated_replica_index_set = 116; * @return The deprecatedReplicaIndexSet. */ @java.lang.Override public boolean getDeprecatedReplicaIndexSet() { return deprecatedReplicaIndexSet_; } public static final int DEPRECATED_APP_LOGS_PER_REQUEST_SET_FIELD_NUMBER = 117; private boolean deprecatedAppLogsPerRequestSet_ = false; /** * optional bool deprecated_app_logs_per_request_set = 117; * @return Whether the deprecatedAppLogsPerRequestSet field is set. */ @java.lang.Override public boolean hasDeprecatedAppLogsPerRequestSet() { return ((bitField0_ & 0x00800000) != 0); } /** * optional bool deprecated_app_logs_per_request_set = 117; * @return The deprecatedAppLogsPerRequestSet. */ @java.lang.Override public boolean getDeprecatedAppLogsPerRequestSet() { return deprecatedAppLogsPerRequestSet_; } public static final int DEPRECATED_NUM_SHARDS_SET_FIELD_NUMBER = 118; private boolean deprecatedNumShardsSet_ = false; /** * optional bool deprecated_num_shards_set = 118; * @return Whether the deprecatedNumShardsSet field is set. */ @java.lang.Override public boolean hasDeprecatedNumShardsSet() { return ((bitField0_ & 0x01000000) != 0); } /** * optional bool deprecated_num_shards_set = 118; * @return The deprecatedNumShardsSet. */ @java.lang.Override public boolean getDeprecatedNumShardsSet() { return deprecatedNumShardsSet_; } 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; } 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_); } for (int i = 0; i < versionId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionId_.getRaw(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(4, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getOffset()); } for (int i = 0; i < requestId_.size(); i++) { output.writeBytes(6, requestId_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(7, minimumLogLevel_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(8, includeIncomplete_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt64(9, count_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBool(10, includeAppLogs_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeBool(11, includeHost_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeBool(12, includeAll_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeBool(13, cacheIterator_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, combinedLogRegex_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, hostRegex_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(16, replicaIndex_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeInt32(17, appLogsPerRequest_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeInt32(18, numShards_); } for (int i = 0; i < moduleVersion_.size(); i++) { output.writeMessage(19, moduleVersion_.get(i)); } if (((bitField0_ & 0x00010000) != 0)) { output.writeBool(103, deprecatedStartTimeSet_); } if (((bitField0_ & 0x00020000) != 0)) { output.writeBool(104, deprecatedEndTimeSet_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeBool(107, deprecatedMinimumLogLevelSet_); } if (((bitField0_ & 0x00080000) != 0)) { output.writeBool(109, deprecatedCountSet_); } if (((bitField0_ & 0x00100000) != 0)) { output.writeBool(114, deprecatedCombinedLogRegexSet_); } if (((bitField0_ & 0x00200000) != 0)) { output.writeBool(115, deprecatedHostRegexSet_); } if (((bitField0_ & 0x00400000) != 0)) { output.writeBool(116, deprecatedReplicaIndexSet_); } if (((bitField0_ & 0x00800000) != 0)) { output.writeBool(117, deprecatedAppLogsPerRequestSet_); } if (((bitField0_ & 0x01000000) != 0)) { output.writeBool(118, deprecatedNumShardsSet_); } 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_); } { int dataSize = 0; for (int i = 0; i < versionId_.size(); i++) { dataSize += computeStringSizeNoTag(versionId_.getRaw(i)); } size += dataSize; size += 1 * getVersionIdList().size(); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getOffset()); } { int dataSize = 0; for (int i = 0; i < requestId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(requestId_.get(i)); } size += dataSize; size += 1 * getRequestIdList().size(); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, minimumLogLevel_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, includeIncomplete_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, count_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, includeAppLogs_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, includeHost_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, includeAll_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, cacheIterator_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, combinedLogRegex_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, hostRegex_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(16, replicaIndex_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, appLogsPerRequest_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(18, numShards_); } for (int i = 0; i < moduleVersion_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, moduleVersion_.get(i)); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(103, deprecatedStartTimeSet_); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(104, deprecatedEndTimeSet_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(107, deprecatedMinimumLogLevelSet_); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(109, deprecatedCountSet_); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(114, deprecatedCombinedLogRegexSet_); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(115, deprecatedHostRegexSet_); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(116, deprecatedReplicaIndexSet_); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(117, deprecatedAppLogsPerRequestSet_); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(118, deprecatedNumShardsSet_); } 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.api.logservice.LogServicePb.LogReadRequest)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogReadRequest other = (com.google.apphosting.api.logservice.LogServicePb.LogReadRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (!getVersionIdList() .equals(other.getVersionIdList())) return false; if (!getModuleVersionList() .equals(other.getModuleVersionList())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (getStartTime() != other.getStartTime()) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) return false; } if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (!getOffset() .equals(other.getOffset())) return false; } if (!getRequestIdList() .equals(other.getRequestIdList())) return false; if (hasMinimumLogLevel() != other.hasMinimumLogLevel()) return false; if (hasMinimumLogLevel()) { if (getMinimumLogLevel() != other.getMinimumLogLevel()) return false; } if (hasIncludeIncomplete() != other.hasIncludeIncomplete()) return false; if (hasIncludeIncomplete()) { if (getIncludeIncomplete() != other.getIncludeIncomplete()) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (hasCombinedLogRegex() != other.hasCombinedLogRegex()) return false; if (hasCombinedLogRegex()) { if (!getCombinedLogRegex() .equals(other.getCombinedLogRegex())) return false; } if (hasHostRegex() != other.hasHostRegex()) return false; if (hasHostRegex()) { if (!getHostRegex() .equals(other.getHostRegex())) return false; } if (hasReplicaIndex() != other.hasReplicaIndex()) return false; if (hasReplicaIndex()) { if (getReplicaIndex() != other.getReplicaIndex()) return false; } if (hasIncludeAppLogs() != other.hasIncludeAppLogs()) return false; if (hasIncludeAppLogs()) { if (getIncludeAppLogs() != other.getIncludeAppLogs()) return false; } if (hasAppLogsPerRequest() != other.hasAppLogsPerRequest()) return false; if (hasAppLogsPerRequest()) { if (getAppLogsPerRequest() != other.getAppLogsPerRequest()) return false; } if (hasIncludeHost() != other.hasIncludeHost()) return false; if (hasIncludeHost()) { if (getIncludeHost() != other.getIncludeHost()) return false; } if (hasIncludeAll() != other.hasIncludeAll()) return false; if (hasIncludeAll()) { if (getIncludeAll() != other.getIncludeAll()) return false; } if (hasCacheIterator() != other.hasCacheIterator()) return false; if (hasCacheIterator()) { if (getCacheIterator() != other.getCacheIterator()) return false; } if (hasNumShards() != other.hasNumShards()) return false; if (hasNumShards()) { if (getNumShards() != other.getNumShards()) return false; } if (hasDeprecatedStartTimeSet() != other.hasDeprecatedStartTimeSet()) return false; if (hasDeprecatedStartTimeSet()) { if (getDeprecatedStartTimeSet() != other.getDeprecatedStartTimeSet()) return false; } if (hasDeprecatedEndTimeSet() != other.hasDeprecatedEndTimeSet()) return false; if (hasDeprecatedEndTimeSet()) { if (getDeprecatedEndTimeSet() != other.getDeprecatedEndTimeSet()) return false; } if (hasDeprecatedMinimumLogLevelSet() != other.hasDeprecatedMinimumLogLevelSet()) return false; if (hasDeprecatedMinimumLogLevelSet()) { if (getDeprecatedMinimumLogLevelSet() != other.getDeprecatedMinimumLogLevelSet()) return false; } if (hasDeprecatedCountSet() != other.hasDeprecatedCountSet()) return false; if (hasDeprecatedCountSet()) { if (getDeprecatedCountSet() != other.getDeprecatedCountSet()) return false; } if (hasDeprecatedCombinedLogRegexSet() != other.hasDeprecatedCombinedLogRegexSet()) return false; if (hasDeprecatedCombinedLogRegexSet()) { if (getDeprecatedCombinedLogRegexSet() != other.getDeprecatedCombinedLogRegexSet()) return false; } if (hasDeprecatedHostRegexSet() != other.hasDeprecatedHostRegexSet()) return false; if (hasDeprecatedHostRegexSet()) { if (getDeprecatedHostRegexSet() != other.getDeprecatedHostRegexSet()) return false; } if (hasDeprecatedReplicaIndexSet() != other.hasDeprecatedReplicaIndexSet()) return false; if (hasDeprecatedReplicaIndexSet()) { if (getDeprecatedReplicaIndexSet() != other.getDeprecatedReplicaIndexSet()) return false; } if (hasDeprecatedAppLogsPerRequestSet() != other.hasDeprecatedAppLogsPerRequestSet()) return false; if (hasDeprecatedAppLogsPerRequestSet()) { if (getDeprecatedAppLogsPerRequestSet() != other.getDeprecatedAppLogsPerRequestSet()) return false; } if (hasDeprecatedNumShardsSet() != other.hasDeprecatedNumShardsSet()) return false; if (hasDeprecatedNumShardsSet()) { if (getDeprecatedNumShardsSet() != other.getDeprecatedNumShardsSet()) 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 (getVersionIdCount() > 0) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionIdList().hashCode(); } if (getModuleVersionCount() > 0) { hash = (37 * hash) + MODULE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getModuleVersionList().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); } if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset().hashCode(); } if (getRequestIdCount() > 0) { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestIdList().hashCode(); } if (hasMinimumLogLevel()) { hash = (37 * hash) + MINIMUM_LOG_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getMinimumLogLevel(); } if (hasIncludeIncomplete()) { hash = (37 * hash) + INCLUDE_INCOMPLETE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeIncomplete()); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); } if (hasCombinedLogRegex()) { hash = (37 * hash) + COMBINED_LOG_REGEX_FIELD_NUMBER; hash = (53 * hash) + getCombinedLogRegex().hashCode(); } if (hasHostRegex()) { hash = (37 * hash) + HOST_REGEX_FIELD_NUMBER; hash = (53 * hash) + getHostRegex().hashCode(); } if (hasReplicaIndex()) { hash = (37 * hash) + REPLICA_INDEX_FIELD_NUMBER; hash = (53 * hash) + getReplicaIndex(); } if (hasIncludeAppLogs()) { hash = (37 * hash) + INCLUDE_APP_LOGS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeAppLogs()); } if (hasAppLogsPerRequest()) { hash = (37 * hash) + APP_LOGS_PER_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getAppLogsPerRequest(); } if (hasIncludeHost()) { hash = (37 * hash) + INCLUDE_HOST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeHost()); } if (hasIncludeAll()) { hash = (37 * hash) + INCLUDE_ALL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeAll()); } if (hasCacheIterator()) { hash = (37 * hash) + CACHE_ITERATOR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCacheIterator()); } if (hasNumShards()) { hash = (37 * hash) + NUM_SHARDS_FIELD_NUMBER; hash = (53 * hash) + getNumShards(); } if (hasDeprecatedStartTimeSet()) { hash = (37 * hash) + DEPRECATED_START_TIME_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedStartTimeSet()); } if (hasDeprecatedEndTimeSet()) { hash = (37 * hash) + DEPRECATED_END_TIME_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedEndTimeSet()); } if (hasDeprecatedMinimumLogLevelSet()) { hash = (37 * hash) + DEPRECATED_MINIMUM_LOG_LEVEL_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedMinimumLogLevelSet()); } if (hasDeprecatedCountSet()) { hash = (37 * hash) + DEPRECATED_COUNT_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedCountSet()); } if (hasDeprecatedCombinedLogRegexSet()) { hash = (37 * hash) + DEPRECATED_COMBINED_LOG_REGEX_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedCombinedLogRegexSet()); } if (hasDeprecatedHostRegexSet()) { hash = (37 * hash) + DEPRECATED_HOST_REGEX_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedHostRegexSet()); } if (hasDeprecatedReplicaIndexSet()) { hash = (37 * hash) + DEPRECATED_REPLICA_INDEX_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedReplicaIndexSet()); } if (hasDeprecatedAppLogsPerRequestSet()) { hash = (37 * hash) + DEPRECATED_APP_LOGS_PER_REQUEST_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedAppLogsPerRequestSet()); } if (hasDeprecatedNumShardsSet()) { hash = (37 * hash) + DEPRECATED_NUM_SHARDS_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedNumShardsSet()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest 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 to read an application's logs.  Results will returned in order by
     * request completion time, from most recently completed to least recently.
     * Next tag = 20
     * 
* * Protobuf type {@code java.apphosting.LogReadRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogReadRequest) com.google.apphosting.api.logservice.LogServicePb.LogReadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.class, com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getModuleVersionFieldBuilder(); getOffsetFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = ""; versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (moduleVersionBuilder_ == null) { moduleVersion_ = java.util.Collections.emptyList(); } else { moduleVersion_ = null; moduleVersionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); startTime_ = 0L; endTime_ = 0L; offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } requestId_ = java.util.Collections.emptyList(); minimumLogLevel_ = 0; includeIncomplete_ = false; count_ = 0L; combinedLogRegex_ = ""; hostRegex_ = ""; replicaIndex_ = 0; includeAppLogs_ = false; appLogsPerRequest_ = 0; includeHost_ = false; includeAll_ = false; cacheIterator_ = false; numShards_ = 0; deprecatedStartTimeSet_ = false; deprecatedEndTimeSet_ = false; deprecatedMinimumLogLevelSet_ = false; deprecatedCountSet_ = false; deprecatedCombinedLogRegexSet_ = false; deprecatedHostRegexSet_ = false; deprecatedReplicaIndexSet_ = false; deprecatedAppLogsPerRequestSet_ = false; deprecatedNumShardsSet_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadRequest_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadRequest getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadRequest build() { com.google.apphosting.api.logservice.LogServicePb.LogReadRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadRequest buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogReadRequest result = new com.google.apphosting.api.logservice.LogServicePb.LogReadRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.LogReadRequest result) { if (((bitField0_ & 0x00000002) != 0)) { versionId_ = versionId_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.versionId_ = versionId_; if (moduleVersionBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { moduleVersion_ = java.util.Collections.unmodifiableList(moduleVersion_); bitField0_ = (bitField0_ & ~0x00000004); } result.moduleVersion_ = moduleVersion_; } else { result.moduleVersion_ = moduleVersionBuilder_.build(); } if (((bitField0_ & 0x00000040) != 0)) { requestId_ = java.util.Collections.unmodifiableList(requestId_); bitField0_ = (bitField0_ & ~0x00000040); } result.requestId_ = requestId_; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogReadRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startTime_ = startTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.endTime_ = endTime_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000080) != 0)) { result.minimumLogLevel_ = minimumLogLevel_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000100) != 0)) { result.includeIncomplete_ = includeIncomplete_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000200) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000400) != 0)) { result.combinedLogRegex_ = combinedLogRegex_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000800) != 0)) { result.hostRegex_ = hostRegex_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00001000) != 0)) { result.replicaIndex_ = replicaIndex_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00002000) != 0)) { result.includeAppLogs_ = includeAppLogs_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00004000) != 0)) { result.appLogsPerRequest_ = appLogsPerRequest_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00008000) != 0)) { result.includeHost_ = includeHost_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.includeAll_ = includeAll_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.cacheIterator_ = cacheIterator_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.numShards_ = numShards_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00080000) != 0)) { result.deprecatedStartTimeSet_ = deprecatedStartTimeSet_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00100000) != 0)) { result.deprecatedEndTimeSet_ = deprecatedEndTimeSet_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.deprecatedMinimumLogLevelSet_ = deprecatedMinimumLogLevelSet_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00400000) != 0)) { result.deprecatedCountSet_ = deprecatedCountSet_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.deprecatedCombinedLogRegexSet_ = deprecatedCombinedLogRegexSet_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x01000000) != 0)) { result.deprecatedHostRegexSet_ = deprecatedHostRegexSet_; to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x02000000) != 0)) { result.deprecatedReplicaIndexSet_ = deprecatedReplicaIndexSet_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x04000000) != 0)) { result.deprecatedAppLogsPerRequestSet_ = deprecatedAppLogsPerRequestSet_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x08000000) != 0)) { result.deprecatedNumShardsSet_ = deprecatedNumShardsSet_; to_bitField0_ |= 0x01000000; } 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.api.logservice.LogServicePb.LogReadRequest) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogReadRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogReadRequest other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogReadRequest.getDefaultInstance()) return this; if (other.hasAppId()) { appId_ = other.appId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.versionId_.isEmpty()) { if (versionId_.isEmpty()) { versionId_ = other.versionId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureVersionIdIsMutable(); versionId_.addAll(other.versionId_); } onChanged(); } if (moduleVersionBuilder_ == null) { if (!other.moduleVersion_.isEmpty()) { if (moduleVersion_.isEmpty()) { moduleVersion_ = other.moduleVersion_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureModuleVersionIsMutable(); moduleVersion_.addAll(other.moduleVersion_); } onChanged(); } } else { if (!other.moduleVersion_.isEmpty()) { if (moduleVersionBuilder_.isEmpty()) { moduleVersionBuilder_.dispose(); moduleVersionBuilder_ = null; moduleVersion_ = other.moduleVersion_; bitField0_ = (bitField0_ & ~0x00000004); moduleVersionBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getModuleVersionFieldBuilder() : null; } else { moduleVersionBuilder_.addAllMessages(other.moduleVersion_); } } } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } if (other.hasOffset()) { mergeOffset(other.getOffset()); } if (!other.requestId_.isEmpty()) { if (requestId_.isEmpty()) { requestId_ = other.requestId_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureRequestIdIsMutable(); requestId_.addAll(other.requestId_); } onChanged(); } if (other.hasMinimumLogLevel()) { setMinimumLogLevel(other.getMinimumLogLevel()); } if (other.hasIncludeIncomplete()) { setIncludeIncomplete(other.getIncludeIncomplete()); } if (other.hasCount()) { setCount(other.getCount()); } if (other.hasCombinedLogRegex()) { combinedLogRegex_ = other.combinedLogRegex_; bitField0_ |= 0x00000400; onChanged(); } if (other.hasHostRegex()) { hostRegex_ = other.hostRegex_; bitField0_ |= 0x00000800; onChanged(); } if (other.hasReplicaIndex()) { setReplicaIndex(other.getReplicaIndex()); } if (other.hasIncludeAppLogs()) { setIncludeAppLogs(other.getIncludeAppLogs()); } if (other.hasAppLogsPerRequest()) { setAppLogsPerRequest(other.getAppLogsPerRequest()); } if (other.hasIncludeHost()) { setIncludeHost(other.getIncludeHost()); } if (other.hasIncludeAll()) { setIncludeAll(other.getIncludeAll()); } if (other.hasCacheIterator()) { setCacheIterator(other.getCacheIterator()); } if (other.hasNumShards()) { setNumShards(other.getNumShards()); } if (other.hasDeprecatedStartTimeSet()) { setDeprecatedStartTimeSet(other.getDeprecatedStartTimeSet()); } if (other.hasDeprecatedEndTimeSet()) { setDeprecatedEndTimeSet(other.getDeprecatedEndTimeSet()); } if (other.hasDeprecatedMinimumLogLevelSet()) { setDeprecatedMinimumLogLevelSet(other.getDeprecatedMinimumLogLevelSet()); } if (other.hasDeprecatedCountSet()) { setDeprecatedCountSet(other.getDeprecatedCountSet()); } if (other.hasDeprecatedCombinedLogRegexSet()) { setDeprecatedCombinedLogRegexSet(other.getDeprecatedCombinedLogRegexSet()); } if (other.hasDeprecatedHostRegexSet()) { setDeprecatedHostRegexSet(other.getDeprecatedHostRegexSet()); } if (other.hasDeprecatedReplicaIndexSet()) { setDeprecatedReplicaIndexSet(other.getDeprecatedReplicaIndexSet()); } if (other.hasDeprecatedAppLogsPerRequestSet()) { setDeprecatedAppLogsPerRequestSet(other.getDeprecatedAppLogsPerRequestSet()); } if (other.hasDeprecatedNumShardsSet()) { setDeprecatedNumShardsSet(other.getDeprecatedNumShardsSet()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { 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: { com.google.protobuf.ByteString bs = input.readBytes(); ensureVersionIdIsMutable(); versionId_.add(bs); break; } // case 18 case 24: { startTime_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 24 case 32: { endTime_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 32 case 42: { input.readMessage( getOffsetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 42 case 50: { com.google.protobuf.ByteString v = input.readBytes(); ensureRequestIdIsMutable(); requestId_.add(v); break; } // case 50 case 56: { minimumLogLevel_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 56 case 64: { includeIncomplete_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 64 case 72: { count_ = input.readInt64(); bitField0_ |= 0x00000200; break; } // case 72 case 80: { includeAppLogs_ = input.readBool(); bitField0_ |= 0x00002000; break; } // case 80 case 88: { includeHost_ = input.readBool(); bitField0_ |= 0x00008000; break; } // case 88 case 96: { includeAll_ = input.readBool(); bitField0_ |= 0x00010000; break; } // case 96 case 104: { cacheIterator_ = input.readBool(); bitField0_ |= 0x00020000; break; } // case 104 case 114: { combinedLogRegex_ = input.readBytes(); bitField0_ |= 0x00000400; break; } // case 114 case 122: { hostRegex_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 122 case 128: { replicaIndex_ = input.readInt32(); bitField0_ |= 0x00001000; break; } // case 128 case 136: { appLogsPerRequest_ = input.readInt32(); bitField0_ |= 0x00004000; break; } // case 136 case 144: { numShards_ = input.readInt32(); bitField0_ |= 0x00040000; break; } // case 144 case 154: { com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion m = input.readMessage( com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.PARSER, extensionRegistry); if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); moduleVersion_.add(m); } else { moduleVersionBuilder_.addMessage(m); } break; } // case 154 case 824: { deprecatedStartTimeSet_ = input.readBool(); bitField0_ |= 0x00080000; break; } // case 824 case 832: { deprecatedEndTimeSet_ = input.readBool(); bitField0_ |= 0x00100000; break; } // case 832 case 856: { deprecatedMinimumLogLevelSet_ = input.readBool(); bitField0_ |= 0x00200000; break; } // case 856 case 872: { deprecatedCountSet_ = input.readBool(); bitField0_ |= 0x00400000; break; } // case 872 case 912: { deprecatedCombinedLogRegexSet_ = input.readBool(); bitField0_ |= 0x00800000; break; } // case 912 case 920: { deprecatedHostRegexSet_ = input.readBool(); bitField0_ |= 0x01000000; break; } // case 920 case 928: { deprecatedReplicaIndexSet_ = input.readBool(); bitField0_ |= 0x02000000; break; } // case 928 case 936: { deprecatedAppLogsPerRequestSet_ = input.readBool(); bitField0_ |= 0x04000000; break; } // case 936 case 944: { deprecatedNumShardsSet_ = input.readBool(); bitField0_ |= 0x08000000; break; } // case 944 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_ = ""; /** *
       * Application id of logs to read.
       * 
* * required string app_id = 1; * @return Whether the appId field is set. */ public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Application id of logs to read.
       * 
* * 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; } } /** *
       * Application id of logs to read.
       * 
* * 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; } } /** *
       * Application id of logs to read.
       * 
* * 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; } /** *
       * Application id of logs to read.
       * 
* * required string app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { appId_ = getDefaultInstance().getAppId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Application id of logs to read.
       * 
* * 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 com.google.protobuf.LazyStringList versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureVersionIdIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { versionId_ = new com.google.protobuf.LazyStringArrayList(versionId_); bitField0_ |= 0x00000002; } } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ public com.google.protobuf.ProtocolStringList getVersionIdList() { return versionId_.getUnmodifiableView(); } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @return The count of versionId. */ public int getVersionIdCount() { return versionId_.size(); } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ public java.lang.String getVersionId(int index) { return versionId_.get(index); } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ public com.google.protobuf.ByteString getVersionIdBytes(int index) { return versionId_.getByteString(index); } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param index The index to set the value at. * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.set(index, value); onChanged(); return this; } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param value The versionId to add. * @return This builder for chaining. */ public Builder addVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.add(value); onChanged(); return this; } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param values The versionId to add. * @return This builder for chaining. */ public Builder addAllVersionId( java.lang.Iterable values) { ensureVersionIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, versionId_); onChanged(); return this; } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * DEPRECATED: Please use 'module_version' instead.
       * 
* * repeated string version_id = 2; * @param value The bytes of the versionId to add. * @return This builder for chaining. */ public Builder addVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.add(value); onChanged(); return this; } private java.util.List moduleVersion_ = java.util.Collections.emptyList(); private void ensureModuleVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { moduleVersion_ = new java.util.ArrayList(moduleVersion_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder> moduleVersionBuilder_; /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public java.util.List getModuleVersionList() { if (moduleVersionBuilder_ == null) { return java.util.Collections.unmodifiableList(moduleVersion_); } else { return moduleVersionBuilder_.getMessageList(); } } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public int getModuleVersionCount() { if (moduleVersionBuilder_ == null) { return moduleVersion_.size(); } else { return moduleVersionBuilder_.getCount(); } } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion getModuleVersion(int index) { if (moduleVersionBuilder_ == null) { return moduleVersion_.get(index); } else { return moduleVersionBuilder_.getMessage(index); } } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder setModuleVersion( int index, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion value) { if (moduleVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModuleVersionIsMutable(); moduleVersion_.set(index, value); onChanged(); } else { moduleVersionBuilder_.setMessage(index, value); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder setModuleVersion( int index, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder builderForValue) { if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); moduleVersion_.set(index, builderForValue.build()); onChanged(); } else { moduleVersionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder addModuleVersion(com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion value) { if (moduleVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModuleVersionIsMutable(); moduleVersion_.add(value); onChanged(); } else { moduleVersionBuilder_.addMessage(value); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder addModuleVersion( int index, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion value) { if (moduleVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureModuleVersionIsMutable(); moduleVersion_.add(index, value); onChanged(); } else { moduleVersionBuilder_.addMessage(index, value); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder addModuleVersion( com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder builderForValue) { if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); moduleVersion_.add(builderForValue.build()); onChanged(); } else { moduleVersionBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder addModuleVersion( int index, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder builderForValue) { if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); moduleVersion_.add(index, builderForValue.build()); onChanged(); } else { moduleVersionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder addAllModuleVersion( java.lang.Iterable values) { if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, moduleVersion_); onChanged(); } else { moduleVersionBuilder_.addAllMessages(values); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder clearModuleVersion() { if (moduleVersionBuilder_ == null) { moduleVersion_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { moduleVersionBuilder_.clear(); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public Builder removeModuleVersion(int index) { if (moduleVersionBuilder_ == null) { ensureModuleVersionIsMutable(); moduleVersion_.remove(index); onChanged(); } else { moduleVersionBuilder_.remove(index); } return this; } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder getModuleVersionBuilder( int index) { return getModuleVersionFieldBuilder().getBuilder(index); } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder getModuleVersionOrBuilder( int index) { if (moduleVersionBuilder_ == null) { return moduleVersion_.get(index); } else { return moduleVersionBuilder_.getMessageOrBuilder(index); } } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public java.util.List getModuleVersionOrBuilderList() { if (moduleVersionBuilder_ != null) { return moduleVersionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(moduleVersion_); } } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder addModuleVersionBuilder() { return getModuleVersionFieldBuilder().addBuilder( com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.getDefaultInstance()); } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder addModuleVersionBuilder( int index) { return getModuleVersionFieldBuilder().addBuilder( index, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.getDefaultInstance()); } /** *
       * List of engine_id, engine_version_id pairs of the application for which to
       * read logs.
       * 
* * repeated .java.apphosting.LogModuleVersion module_version = 19; */ public java.util.List getModuleVersionBuilderList() { return getModuleVersionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder> getModuleVersionFieldBuilder() { if (moduleVersionBuilder_ == null) { moduleVersionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersion.Builder, com.google.apphosting.api.logservice.LogServicePb.LogModuleVersionOrBuilder>( moduleVersion_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); moduleVersion_ = null; } return moduleVersionBuilder_; } private long startTime_ ; /** *
       * Earliest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is inclusive.
       * 
* * optional int64 start_time = 3; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Earliest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is inclusive.
       * 
* * optional int64 start_time = 3; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } /** *
       * Earliest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is inclusive.
       * 
* * optional int64 start_time = 3; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(long value) { startTime_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Earliest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is inclusive.
       * 
* * optional int64 start_time = 3; * @return This builder for chaining. */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000008); startTime_ = 0L; onChanged(); return this; } private long endTime_ ; /** *
       * Latest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is exclusive.
       * 
* * optional int64 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Latest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is exclusive.
       * 
* * optional int64 end_time = 4; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } /** *
       * Latest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is exclusive.
       * 
* * optional int64 end_time = 4; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(long value) { endTime_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Latest request completion time in microseconds since the epoch for which
       * results should be returned.  This value is exclusive.
       * 
* * optional int64 end_time = 4; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000010); endTime_ = 0L; onChanged(); return this; } private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> offsetBuilder_; /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; * @return The offset. */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { if (offsetBuilder_ == null) { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } else { return offsetBuilder_.getMessage(); } } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public Builder setOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } offset_ = value; } else { offsetBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public Builder setOffset( com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder builderForValue) { if (offsetBuilder_ == null) { offset_ = builderForValue.build(); } else { offsetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public Builder mergeOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && offset_ != null && offset_ != com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance()) { getOffsetBuilder().mergeFrom(value); } else { offset_ = value; } } else { offsetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000020); offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } onChanged(); return this; } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder getOffsetBuilder() { bitField0_ |= 0x00000020; onChanged(); return getOffsetFieldBuilder().getBuilder(); } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { if (offsetBuilder_ != null) { return offsetBuilder_.getMessageOrBuilder(); } else { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } } /** *
       * If set, this represents a LogOffset returned by a previous Read request
       * that will bound the end time of results, exclusive of itself.  Paged Read
       * calls should use the same start_time and end_time and only update offset.
       * 
* * optional .java.apphosting.LogOffset offset = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> getOffsetFieldBuilder() { if (offsetBuilder_ == null) { offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder>( getOffset(), getParentForChildren(), isClean()); offset_ = null; } return offsetBuilder_; } private java.util.List requestId_ = java.util.Collections.emptyList(); private void ensureRequestIdIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { requestId_ = new java.util.ArrayList(requestId_); bitField0_ |= 0x00000040; } } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @return A list containing the requestId. */ public java.util.List getRequestIdList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(requestId_) : requestId_; } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @return The count of requestId. */ public int getRequestIdCount() { return requestId_.size(); } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @param index The index of the element to return. * @return The requestId at the given index. */ public com.google.protobuf.ByteString getRequestId(int index) { return requestId_.get(index); } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @param index The index to set the value at. * @param value The requestId to set. * @return This builder for chaining. */ public Builder setRequestId( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRequestIdIsMutable(); requestId_.set(index, value); onChanged(); return this; } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @param value The requestId to add. * @return This builder for chaining. */ public Builder addRequestId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureRequestIdIsMutable(); requestId_.add(value); onChanged(); return this; } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @param values The requestId to add. * @return This builder for chaining. */ public Builder addAllRequestId( java.lang.Iterable values) { ensureRequestIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, requestId_); onChanged(); return this; } /** *
       * A list of request_ids to return instead of the range specified above.
       * 
* * repeated bytes request_id = 6; * @return This builder for chaining. */ public Builder clearRequestId() { requestId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } private int minimumLogLevel_ ; /** *
       * If set, only requests containing a LogLine of at least this level will be
       * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
       * CRITICAL = 4
       * 
* * optional int32 minimum_log_level = 7; * @return Whether the minimumLogLevel field is set. */ @java.lang.Override public boolean hasMinimumLogLevel() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * If set, only requests containing a LogLine of at least this level will be
       * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
       * CRITICAL = 4
       * 
* * optional int32 minimum_log_level = 7; * @return The minimumLogLevel. */ @java.lang.Override public int getMinimumLogLevel() { return minimumLogLevel_; } /** *
       * If set, only requests containing a LogLine of at least this level will be
       * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
       * CRITICAL = 4
       * 
* * optional int32 minimum_log_level = 7; * @param value The minimumLogLevel to set. * @return This builder for chaining. */ public Builder setMinimumLogLevel(int value) { minimumLogLevel_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * If set, only requests containing a LogLine of at least this level will be
       * returned.  Per logsutil.py: DEBUG = 0, INFO = 1, WARNING = 2, ERROR = 3
       * CRITICAL = 4
       * 
* * optional int32 minimum_log_level = 7; * @return This builder for chaining. */ public Builder clearMinimumLogLevel() { bitField0_ = (bitField0_ & ~0x00000080); minimumLogLevel_ = 0; onChanged(); return this; } private boolean includeIncomplete_ ; /** *
       * Unless set to true, only requests that have completed will be returned.
       * 
* * optional bool include_incomplete = 8; * @return Whether the includeIncomplete field is set. */ @java.lang.Override public boolean hasIncludeIncomplete() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Unless set to true, only requests that have completed will be returned.
       * 
* * optional bool include_incomplete = 8; * @return The includeIncomplete. */ @java.lang.Override public boolean getIncludeIncomplete() { return includeIncomplete_; } /** *
       * Unless set to true, only requests that have completed will be returned.
       * 
* * optional bool include_incomplete = 8; * @param value The includeIncomplete to set. * @return This builder for chaining. */ public Builder setIncludeIncomplete(boolean value) { includeIncomplete_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * Unless set to true, only requests that have completed will be returned.
       * 
* * optional bool include_incomplete = 8; * @return This builder for chaining. */ public Builder clearIncludeIncomplete() { bitField0_ = (bitField0_ & ~0x00000100); includeIncomplete_ = false; onChanged(); return this; } private long count_ ; /** *
       * Number of requests to return; fewer may actually be returned in some cases.
       * 
* * optional int64 count = 9; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Number of requests to return; fewer may actually be returned in some cases.
       * 
* * optional int64 count = 9; * @return The count. */ @java.lang.Override public long getCount() { return count_; } /** *
       * Number of requests to return; fewer may actually be returned in some cases.
       * 
* * optional int64 count = 9; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { count_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Number of requests to return; fewer may actually be returned in some cases.
       * 
* * optional int64 count = 9; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000200); count_ = 0L; onChanged(); return this; } private java.lang.Object combinedLogRegex_ = ""; /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @return Whether the combinedLogRegex field is set. */ public boolean hasCombinedLogRegex() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @return The combinedLogRegex. */ public java.lang.String getCombinedLogRegex() { java.lang.Object ref = combinedLogRegex_; 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()) { combinedLogRegex_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @return The bytes for combinedLogRegex. */ public com.google.protobuf.ByteString getCombinedLogRegexBytes() { java.lang.Object ref = combinedLogRegex_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); combinedLogRegex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @param value The combinedLogRegex to set. * @return This builder for chaining. */ public Builder setCombinedLogRegex( java.lang.String value) { if (value == null) { throw new NullPointerException(); } combinedLogRegex_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @return This builder for chaining. */ public Builder clearCombinedLogRegex() { combinedLogRegex_ = getDefaultInstance().getCombinedLogRegex(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * If set, only requests where either the combined log field or any
       * application logs (if 'include_app_logs' is true) partial match this RE2
       * expression will be returned.
       * 
* * optional string combined_log_regex = 14; * @param value The bytes for combinedLogRegex to set. * @return This builder for chaining. */ public Builder setCombinedLogRegexBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } combinedLogRegex_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private java.lang.Object hostRegex_ = ""; /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @return Whether the hostRegex field is set. */ public boolean hasHostRegex() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @return The hostRegex. */ public java.lang.String getHostRegex() { java.lang.Object ref = hostRegex_; 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()) { hostRegex_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @return The bytes for hostRegex. */ public com.google.protobuf.ByteString getHostRegexBytes() { java.lang.Object ref = hostRegex_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hostRegex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @param value The hostRegex to set. * @return This builder for chaining. */ public Builder setHostRegex( java.lang.String value) { if (value == null) { throw new NullPointerException(); } hostRegex_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @return This builder for chaining. */ public Builder clearHostRegex() { hostRegex_ = getDefaultInstance().getHostRegex(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
       * If set, only requests whose (virtual) host field partial matches this RE2
       * expression will be returned.
       * 
* * optional string host_regex = 15; * @param value The bytes for hostRegex to set. * @return This builder for chaining. */ public Builder setHostRegexBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } hostRegex_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } private int replicaIndex_ ; /** *
       * If set, only logs from the given (backend) replica index will be returned.
       * 
* * optional int32 replica_index = 16; * @return Whether the replicaIndex field is set. */ @java.lang.Override public boolean hasReplicaIndex() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * If set, only logs from the given (backend) replica index will be returned.
       * 
* * optional int32 replica_index = 16; * @return The replicaIndex. */ @java.lang.Override public int getReplicaIndex() { return replicaIndex_; } /** *
       * If set, only logs from the given (backend) replica index will be returned.
       * 
* * optional int32 replica_index = 16; * @param value The replicaIndex to set. * @return This builder for chaining. */ public Builder setReplicaIndex(int value) { replicaIndex_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * If set, only logs from the given (backend) replica index will be returned.
       * 
* * optional int32 replica_index = 16; * @return This builder for chaining. */ public Builder clearReplicaIndex() { bitField0_ = (bitField0_ & ~0x00001000); replicaIndex_ = 0; onChanged(); return this; } private boolean includeAppLogs_ ; /** *
       * If true, application log messages will be returned with each result.
       * 
* * optional bool include_app_logs = 10; * @return Whether the includeAppLogs field is set. */ @java.lang.Override public boolean hasIncludeAppLogs() { return ((bitField0_ & 0x00002000) != 0); } /** *
       * If true, application log messages will be returned with each result.
       * 
* * optional bool include_app_logs = 10; * @return The includeAppLogs. */ @java.lang.Override public boolean getIncludeAppLogs() { return includeAppLogs_; } /** *
       * If true, application log messages will be returned with each result.
       * 
* * optional bool include_app_logs = 10; * @param value The includeAppLogs to set. * @return This builder for chaining. */ public Builder setIncludeAppLogs(boolean value) { includeAppLogs_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * If true, application log messages will be returned with each result.
       * 
* * optional bool include_app_logs = 10; * @return This builder for chaining. */ public Builder clearIncludeAppLogs() { bitField0_ = (bitField0_ & ~0x00002000); includeAppLogs_ = false; onChanged(); return this; } private int appLogsPerRequest_ ; /** *
       * If set, no more than the specified number of application logs will be
       * returned with each RequestLog, with earlier application logs omitted.
       * 
* * optional int32 app_logs_per_request = 17; * @return Whether the appLogsPerRequest field is set. */ @java.lang.Override public boolean hasAppLogsPerRequest() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * If set, no more than the specified number of application logs will be
       * returned with each RequestLog, with earlier application logs omitted.
       * 
* * optional int32 app_logs_per_request = 17; * @return The appLogsPerRequest. */ @java.lang.Override public int getAppLogsPerRequest() { return appLogsPerRequest_; } /** *
       * If set, no more than the specified number of application logs will be
       * returned with each RequestLog, with earlier application logs omitted.
       * 
* * optional int32 app_logs_per_request = 17; * @param value The appLogsPerRequest to set. * @return This builder for chaining. */ public Builder setAppLogsPerRequest(int value) { appLogsPerRequest_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * If set, no more than the specified number of application logs will be
       * returned with each RequestLog, with earlier application logs omitted.
       * 
* * optional int32 app_logs_per_request = 17; * @return This builder for chaining. */ public Builder clearAppLogsPerRequest() { bitField0_ = (bitField0_ & ~0x00004000); appLogsPerRequest_ = 0; onChanged(); return this; } private boolean includeHost_ ; /** *
       * Include virtual host name in the combined log string.
       * 
* * optional bool include_host = 11; * @return Whether the includeHost field is set. */ @java.lang.Override public boolean hasIncludeHost() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Include virtual host name in the combined log string.
       * 
* * optional bool include_host = 11; * @return The includeHost. */ @java.lang.Override public boolean getIncludeHost() { return includeHost_; } /** *
       * Include virtual host name in the combined log string.
       * 
* * optional bool include_host = 11; * @param value The includeHost to set. * @return This builder for chaining. */ public Builder setIncludeHost(boolean value) { includeHost_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * Include virtual host name in the combined log string.
       * 
* * optional bool include_host = 11; * @return This builder for chaining. */ public Builder clearIncludeHost() { bitField0_ = (bitField0_ & ~0x00008000); includeHost_ = false; onChanged(); return this; } private boolean includeAll_ ; /** *
       * Include everything we know about this request in the combined log string.
       * 
* * optional bool include_all = 12; * @return Whether the includeAll field is set. */ @java.lang.Override public boolean hasIncludeAll() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * Include everything we know about this request in the combined log string.
       * 
* * optional bool include_all = 12; * @return The includeAll. */ @java.lang.Override public boolean getIncludeAll() { return includeAll_; } /** *
       * Include everything we know about this request in the combined log string.
       * 
* * optional bool include_all = 12; * @param value The includeAll to set. * @return This builder for chaining. */ public Builder setIncludeAll(boolean value) { includeAll_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * Include everything we know about this request in the combined log string.
       * 
* * optional bool include_all = 12; * @return This builder for chaining. */ public Builder clearIncludeAll() { bitField0_ = (bitField0_ & ~0x00010000); includeAll_ = false; onChanged(); return this; } private boolean cacheIterator_ ; /** *
       * If true the server may cache the internal structures used to perform this
       * read, allowing continued reads from within the same http request to
       * execute more quickly.  This should not be set to true for cases where the
       * continuation request will come from a different http request, as is the
       * case for the Admin Console logs viewer or 'appcfg request_logs'.
       * 
* * optional bool cache_iterator = 13; * @return Whether the cacheIterator field is set. */ @java.lang.Override public boolean hasCacheIterator() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * If true the server may cache the internal structures used to perform this
       * read, allowing continued reads from within the same http request to
       * execute more quickly.  This should not be set to true for cases where the
       * continuation request will come from a different http request, as is the
       * case for the Admin Console logs viewer or 'appcfg request_logs'.
       * 
* * optional bool cache_iterator = 13; * @return The cacheIterator. */ @java.lang.Override public boolean getCacheIterator() { return cacheIterator_; } /** *
       * If true the server may cache the internal structures used to perform this
       * read, allowing continued reads from within the same http request to
       * execute more quickly.  This should not be set to true for cases where the
       * continuation request will come from a different http request, as is the
       * case for the Admin Console logs viewer or 'appcfg request_logs'.
       * 
* * optional bool cache_iterator = 13; * @param value The cacheIterator to set. * @return This builder for chaining. */ public Builder setCacheIterator(boolean value) { cacheIterator_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * If true the server may cache the internal structures used to perform this
       * read, allowing continued reads from within the same http request to
       * execute more quickly.  This should not be set to true for cases where the
       * continuation request will come from a different http request, as is the
       * case for the Admin Console logs viewer or 'appcfg request_logs'.
       * 
* * optional bool cache_iterator = 13; * @return This builder for chaining. */ public Builder clearCacheIterator() { bitField0_ = (bitField0_ & ~0x00020000); cacheIterator_ = false; onChanged(); return this; } private int numShards_ ; /** *
       * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
       * Important to allow the reading of all logs for an app where its
       * GlobalConfig may not be in memory.
       * 
* * optional int32 num_shards = 18; * @return Whether the numShards field is set. */ @java.lang.Override public boolean hasNumShards() { return ((bitField0_ & 0x00040000) != 0); } /** *
       * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
       * Important to allow the reading of all logs for an app where its
       * GlobalConfig may not be in memory.
       * 
* * optional int32 num_shards = 18; * @return The numShards. */ @java.lang.Override public int getNumShards() { return numShards_; } /** *
       * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
       * Important to allow the reading of all logs for an app where its
       * GlobalConfig may not be in memory.
       * 
* * optional int32 num_shards = 18; * @param value The numShards to set. * @return This builder for chaining. */ public Builder setNumShards(int value) { numShards_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * Assumed number of log shards, honored only for LOGS_READER_SUPERUSER apps.
       * Important to allow the reading of all logs for an app where its
       * GlobalConfig may not be in memory.
       * 
* * optional int32 num_shards = 18; * @return This builder for chaining. */ public Builder clearNumShards() { bitField0_ = (bitField0_ & ~0x00040000); numShards_ = 0; onChanged(); return this; } private boolean deprecatedStartTimeSet_ ; /** * optional bool deprecated_start_time_set = 103; * @return Whether the deprecatedStartTimeSet field is set. */ @java.lang.Override public boolean hasDeprecatedStartTimeSet() { return ((bitField0_ & 0x00080000) != 0); } /** * optional bool deprecated_start_time_set = 103; * @return The deprecatedStartTimeSet. */ @java.lang.Override public boolean getDeprecatedStartTimeSet() { return deprecatedStartTimeSet_; } /** * optional bool deprecated_start_time_set = 103; * @param value The deprecatedStartTimeSet to set. * @return This builder for chaining. */ public Builder setDeprecatedStartTimeSet(boolean value) { deprecatedStartTimeSet_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** * optional bool deprecated_start_time_set = 103; * @return This builder for chaining. */ public Builder clearDeprecatedStartTimeSet() { bitField0_ = (bitField0_ & ~0x00080000); deprecatedStartTimeSet_ = false; onChanged(); return this; } private boolean deprecatedEndTimeSet_ ; /** * optional bool deprecated_end_time_set = 104; * @return Whether the deprecatedEndTimeSet field is set. */ @java.lang.Override public boolean hasDeprecatedEndTimeSet() { return ((bitField0_ & 0x00100000) != 0); } /** * optional bool deprecated_end_time_set = 104; * @return The deprecatedEndTimeSet. */ @java.lang.Override public boolean getDeprecatedEndTimeSet() { return deprecatedEndTimeSet_; } /** * optional bool deprecated_end_time_set = 104; * @param value The deprecatedEndTimeSet to set. * @return This builder for chaining. */ public Builder setDeprecatedEndTimeSet(boolean value) { deprecatedEndTimeSet_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** * optional bool deprecated_end_time_set = 104; * @return This builder for chaining. */ public Builder clearDeprecatedEndTimeSet() { bitField0_ = (bitField0_ & ~0x00100000); deprecatedEndTimeSet_ = false; onChanged(); return this; } private boolean deprecatedMinimumLogLevelSet_ ; /** * optional bool deprecated_minimum_log_level_set = 107; * @return Whether the deprecatedMinimumLogLevelSet field is set. */ @java.lang.Override public boolean hasDeprecatedMinimumLogLevelSet() { return ((bitField0_ & 0x00200000) != 0); } /** * optional bool deprecated_minimum_log_level_set = 107; * @return The deprecatedMinimumLogLevelSet. */ @java.lang.Override public boolean getDeprecatedMinimumLogLevelSet() { return deprecatedMinimumLogLevelSet_; } /** * optional bool deprecated_minimum_log_level_set = 107; * @param value The deprecatedMinimumLogLevelSet to set. * @return This builder for chaining. */ public Builder setDeprecatedMinimumLogLevelSet(boolean value) { deprecatedMinimumLogLevelSet_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** * optional bool deprecated_minimum_log_level_set = 107; * @return This builder for chaining. */ public Builder clearDeprecatedMinimumLogLevelSet() { bitField0_ = (bitField0_ & ~0x00200000); deprecatedMinimumLogLevelSet_ = false; onChanged(); return this; } private boolean deprecatedCountSet_ ; /** * optional bool deprecated_count_set = 109; * @return Whether the deprecatedCountSet field is set. */ @java.lang.Override public boolean hasDeprecatedCountSet() { return ((bitField0_ & 0x00400000) != 0); } /** * optional bool deprecated_count_set = 109; * @return The deprecatedCountSet. */ @java.lang.Override public boolean getDeprecatedCountSet() { return deprecatedCountSet_; } /** * optional bool deprecated_count_set = 109; * @param value The deprecatedCountSet to set. * @return This builder for chaining. */ public Builder setDeprecatedCountSet(boolean value) { deprecatedCountSet_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** * optional bool deprecated_count_set = 109; * @return This builder for chaining. */ public Builder clearDeprecatedCountSet() { bitField0_ = (bitField0_ & ~0x00400000); deprecatedCountSet_ = false; onChanged(); return this; } private boolean deprecatedCombinedLogRegexSet_ ; /** * optional bool deprecated_combined_log_regex_set = 114; * @return Whether the deprecatedCombinedLogRegexSet field is set. */ @java.lang.Override public boolean hasDeprecatedCombinedLogRegexSet() { return ((bitField0_ & 0x00800000) != 0); } /** * optional bool deprecated_combined_log_regex_set = 114; * @return The deprecatedCombinedLogRegexSet. */ @java.lang.Override public boolean getDeprecatedCombinedLogRegexSet() { return deprecatedCombinedLogRegexSet_; } /** * optional bool deprecated_combined_log_regex_set = 114; * @param value The deprecatedCombinedLogRegexSet to set. * @return This builder for chaining. */ public Builder setDeprecatedCombinedLogRegexSet(boolean value) { deprecatedCombinedLogRegexSet_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** * optional bool deprecated_combined_log_regex_set = 114; * @return This builder for chaining. */ public Builder clearDeprecatedCombinedLogRegexSet() { bitField0_ = (bitField0_ & ~0x00800000); deprecatedCombinedLogRegexSet_ = false; onChanged(); return this; } private boolean deprecatedHostRegexSet_ ; /** * optional bool deprecated_host_regex_set = 115; * @return Whether the deprecatedHostRegexSet field is set. */ @java.lang.Override public boolean hasDeprecatedHostRegexSet() { return ((bitField0_ & 0x01000000) != 0); } /** * optional bool deprecated_host_regex_set = 115; * @return The deprecatedHostRegexSet. */ @java.lang.Override public boolean getDeprecatedHostRegexSet() { return deprecatedHostRegexSet_; } /** * optional bool deprecated_host_regex_set = 115; * @param value The deprecatedHostRegexSet to set. * @return This builder for chaining. */ public Builder setDeprecatedHostRegexSet(boolean value) { deprecatedHostRegexSet_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** * optional bool deprecated_host_regex_set = 115; * @return This builder for chaining. */ public Builder clearDeprecatedHostRegexSet() { bitField0_ = (bitField0_ & ~0x01000000); deprecatedHostRegexSet_ = false; onChanged(); return this; } private boolean deprecatedReplicaIndexSet_ ; /** * optional bool deprecated_replica_index_set = 116; * @return Whether the deprecatedReplicaIndexSet field is set. */ @java.lang.Override public boolean hasDeprecatedReplicaIndexSet() { return ((bitField0_ & 0x02000000) != 0); } /** * optional bool deprecated_replica_index_set = 116; * @return The deprecatedReplicaIndexSet. */ @java.lang.Override public boolean getDeprecatedReplicaIndexSet() { return deprecatedReplicaIndexSet_; } /** * optional bool deprecated_replica_index_set = 116; * @param value The deprecatedReplicaIndexSet to set. * @return This builder for chaining. */ public Builder setDeprecatedReplicaIndexSet(boolean value) { deprecatedReplicaIndexSet_ = value; bitField0_ |= 0x02000000; onChanged(); return this; } /** * optional bool deprecated_replica_index_set = 116; * @return This builder for chaining. */ public Builder clearDeprecatedReplicaIndexSet() { bitField0_ = (bitField0_ & ~0x02000000); deprecatedReplicaIndexSet_ = false; onChanged(); return this; } private boolean deprecatedAppLogsPerRequestSet_ ; /** * optional bool deprecated_app_logs_per_request_set = 117; * @return Whether the deprecatedAppLogsPerRequestSet field is set. */ @java.lang.Override public boolean hasDeprecatedAppLogsPerRequestSet() { return ((bitField0_ & 0x04000000) != 0); } /** * optional bool deprecated_app_logs_per_request_set = 117; * @return The deprecatedAppLogsPerRequestSet. */ @java.lang.Override public boolean getDeprecatedAppLogsPerRequestSet() { return deprecatedAppLogsPerRequestSet_; } /** * optional bool deprecated_app_logs_per_request_set = 117; * @param value The deprecatedAppLogsPerRequestSet to set. * @return This builder for chaining. */ public Builder setDeprecatedAppLogsPerRequestSet(boolean value) { deprecatedAppLogsPerRequestSet_ = value; bitField0_ |= 0x04000000; onChanged(); return this; } /** * optional bool deprecated_app_logs_per_request_set = 117; * @return This builder for chaining. */ public Builder clearDeprecatedAppLogsPerRequestSet() { bitField0_ = (bitField0_ & ~0x04000000); deprecatedAppLogsPerRequestSet_ = false; onChanged(); return this; } private boolean deprecatedNumShardsSet_ ; /** * optional bool deprecated_num_shards_set = 118; * @return Whether the deprecatedNumShardsSet field is set. */ @java.lang.Override public boolean hasDeprecatedNumShardsSet() { return ((bitField0_ & 0x08000000) != 0); } /** * optional bool deprecated_num_shards_set = 118; * @return The deprecatedNumShardsSet. */ @java.lang.Override public boolean getDeprecatedNumShardsSet() { return deprecatedNumShardsSet_; } /** * optional bool deprecated_num_shards_set = 118; * @param value The deprecatedNumShardsSet to set. * @return This builder for chaining. */ public Builder setDeprecatedNumShardsSet(boolean value) { deprecatedNumShardsSet_ = value; bitField0_ |= 0x08000000; onChanged(); return this; } /** * optional bool deprecated_num_shards_set = 118; * @return This builder for chaining. */ public Builder clearDeprecatedNumShardsSet() { bitField0_ = (bitField0_ & ~0x08000000); deprecatedNumShardsSet_ = 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.LogReadRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.LogReadRequest) private static final com.google.apphosting.api.logservice.LogServicePb.LogReadRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogReadRequest(); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogReadRequest 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.api.logservice.LogServicePb.LogReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogReadResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogReadResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .java.apphosting.RequestLog log = 1; */ java.util.List getLogList(); /** * repeated .java.apphosting.RequestLog log = 1; */ com.google.apphosting.api.logservice.LogServicePb.RequestLog getLog(int index); /** * repeated .java.apphosting.RequestLog log = 1; */ int getLogCount(); /** * repeated .java.apphosting.RequestLog log = 1; */ java.util.List getLogOrBuilderList(); /** * repeated .java.apphosting.RequestLog log = 1; */ com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder getLogOrBuilder( int index); /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; * @return Whether the offset field is set. */ boolean hasOffset(); /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; * @return The offset. */ com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset(); /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; */ com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder(); /** *
     * Latest request completion time in microseconds since the epoch seen while
     * performing the requested read.  Relevant for unindexed searches in order
     * to display progress to the user.  Will be unset if the read is complete.
     * 
* * optional int64 last_end_time = 3; * @return Whether the lastEndTime field is set. */ boolean hasLastEndTime(); /** *
     * Latest request completion time in microseconds since the epoch seen while
     * performing the requested read.  Relevant for unindexed searches in order
     * to display progress to the user.  Will be unset if the read is complete.
     * 
* * optional int64 last_end_time = 3; * @return The lastEndTime. */ long getLastEndTime(); } /** *
   * Provides application log entries.
   * 
* * Protobuf type {@code java.apphosting.LogReadResponse} */ public static final class LogReadResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogReadResponse) LogReadResponseOrBuilder { private static final long serialVersionUID = 0L; // Use LogReadResponse.newBuilder() to construct. private LogReadResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogReadResponse() { log_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogReadResponse(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.class, com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.Builder.class); } private int bitField0_; public static final int LOG_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List log_; /** * repeated .java.apphosting.RequestLog log = 1; */ @java.lang.Override public java.util.List getLogList() { return log_; } /** * repeated .java.apphosting.RequestLog log = 1; */ @java.lang.Override public java.util.List getLogOrBuilderList() { return log_; } /** * repeated .java.apphosting.RequestLog log = 1; */ @java.lang.Override public int getLogCount() { return log_.size(); } /** * repeated .java.apphosting.RequestLog log = 1; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.RequestLog getLog(int index) { return log_.get(index); } /** * repeated .java.apphosting.RequestLog log = 1; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder getLogOrBuilder( int index) { return log_.get(index); } public static final int OFFSET_FIELD_NUMBER = 2; private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; * @return The offset. */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } /** *
     * If set, a LogOffset that may be used in LogReadRequest to continue where
     * this read ended.  If unset, there are no more log records to read for the
     * given ReadRequest options.
     * 
* * optional .java.apphosting.LogOffset offset = 2; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } public static final int LAST_END_TIME_FIELD_NUMBER = 3; private long lastEndTime_ = 0L; /** *
     * Latest request completion time in microseconds since the epoch seen while
     * performing the requested read.  Relevant for unindexed searches in order
     * to display progress to the user.  Will be unset if the read is complete.
     * 
* * optional int64 last_end_time = 3; * @return Whether the lastEndTime field is set. */ @java.lang.Override public boolean hasLastEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Latest request completion time in microseconds since the epoch seen while
     * performing the requested read.  Relevant for unindexed searches in order
     * to display progress to the user.  Will be unset if the read is complete.
     * 
* * optional int64 last_end_time = 3; * @return The lastEndTime. */ @java.lang.Override public long getLastEndTime() { return lastEndTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getLogCount(); i++) { if (!getLog(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 { for (int i = 0; i < log_.size(); i++) { output.writeMessage(1, log_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOffset()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, lastEndTime_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < log_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, log_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOffset()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, lastEndTime_); } 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.api.logservice.LogServicePb.LogReadResponse)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogReadResponse other = (com.google.apphosting.api.logservice.LogServicePb.LogReadResponse) obj; if (!getLogList() .equals(other.getLogList())) return false; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (!getOffset() .equals(other.getOffset())) return false; } if (hasLastEndTime() != other.hasLastEndTime()) return false; if (hasLastEndTime()) { if (getLastEndTime() != other.getLastEndTime()) 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 (getLogCount() > 0) { hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLogList().hashCode(); } if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset().hashCode(); } if (hasLastEndTime()) { hash = (37 * hash) + LAST_END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLastEndTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse 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; } /** *
     * Provides application log entries.
     * 
* * Protobuf type {@code java.apphosting.LogReadResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogReadResponse) com.google.apphosting.api.logservice.LogServicePb.LogReadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.class, com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogFieldBuilder(); getOffsetFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (logBuilder_ == null) { log_ = java.util.Collections.emptyList(); } else { log_ = null; logBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } lastEndTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogReadResponse_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadResponse getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadResponse build() { com.google.apphosting.api.logservice.LogServicePb.LogReadResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogReadResponse buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogReadResponse result = new com.google.apphosting.api.logservice.LogServicePb.LogReadResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.LogReadResponse result) { if (logBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { log_ = java.util.Collections.unmodifiableList(log_); bitField0_ = (bitField0_ & ~0x00000001); } result.log_ = log_; } else { result.log_ = logBuilder_.build(); } } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogReadResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lastEndTime_ = lastEndTime_; 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.api.logservice.LogServicePb.LogReadResponse) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogReadResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogReadResponse other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogReadResponse.getDefaultInstance()) return this; if (logBuilder_ == null) { if (!other.log_.isEmpty()) { if (log_.isEmpty()) { log_ = other.log_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogIsMutable(); log_.addAll(other.log_); } onChanged(); } } else { if (!other.log_.isEmpty()) { if (logBuilder_.isEmpty()) { logBuilder_.dispose(); logBuilder_ = null; log_ = other.log_; bitField0_ = (bitField0_ & ~0x00000001); logBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogFieldBuilder() : null; } else { logBuilder_.addAllMessages(other.log_); } } } if (other.hasOffset()) { mergeOffset(other.getOffset()); } if (other.hasLastEndTime()) { setLastEndTime(other.getLastEndTime()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getLogCount(); i++) { if (!getLog(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 10: { com.google.apphosting.api.logservice.LogServicePb.RequestLog m = input.readMessage( com.google.apphosting.api.logservice.LogServicePb.RequestLog.PARSER, extensionRegistry); if (logBuilder_ == null) { ensureLogIsMutable(); log_.add(m); } else { logBuilder_.addMessage(m); } break; } // case 10 case 18: { input.readMessage( getOffsetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 24: { lastEndTime_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 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.util.List log_ = java.util.Collections.emptyList(); private void ensureLogIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { log_ = new java.util.ArrayList(log_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.RequestLog, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder, com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder> logBuilder_; /** * repeated .java.apphosting.RequestLog log = 1; */ public java.util.List getLogList() { if (logBuilder_ == null) { return java.util.Collections.unmodifiableList(log_); } else { return logBuilder_.getMessageList(); } } /** * repeated .java.apphosting.RequestLog log = 1; */ public int getLogCount() { if (logBuilder_ == null) { return log_.size(); } else { return logBuilder_.getCount(); } } /** * repeated .java.apphosting.RequestLog log = 1; */ public com.google.apphosting.api.logservice.LogServicePb.RequestLog getLog(int index) { if (logBuilder_ == null) { return log_.get(index); } else { return logBuilder_.getMessage(index); } } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder setLog( int index, com.google.apphosting.api.logservice.LogServicePb.RequestLog value) { if (logBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogIsMutable(); log_.set(index, value); onChanged(); } else { logBuilder_.setMessage(index, value); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder setLog( int index, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder builderForValue) { if (logBuilder_ == null) { ensureLogIsMutable(); log_.set(index, builderForValue.build()); onChanged(); } else { logBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder addLog(com.google.apphosting.api.logservice.LogServicePb.RequestLog value) { if (logBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogIsMutable(); log_.add(value); onChanged(); } else { logBuilder_.addMessage(value); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder addLog( int index, com.google.apphosting.api.logservice.LogServicePb.RequestLog value) { if (logBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogIsMutable(); log_.add(index, value); onChanged(); } else { logBuilder_.addMessage(index, value); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder addLog( com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder builderForValue) { if (logBuilder_ == null) { ensureLogIsMutable(); log_.add(builderForValue.build()); onChanged(); } else { logBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder addLog( int index, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder builderForValue) { if (logBuilder_ == null) { ensureLogIsMutable(); log_.add(index, builderForValue.build()); onChanged(); } else { logBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder addAllLog( java.lang.Iterable values) { if (logBuilder_ == null) { ensureLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, log_); onChanged(); } else { logBuilder_.addAllMessages(values); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder clearLog() { if (logBuilder_ == null) { log_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logBuilder_.clear(); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public Builder removeLog(int index) { if (logBuilder_ == null) { ensureLogIsMutable(); log_.remove(index); onChanged(); } else { logBuilder_.remove(index); } return this; } /** * repeated .java.apphosting.RequestLog log = 1; */ public com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder getLogBuilder( int index) { return getLogFieldBuilder().getBuilder(index); } /** * repeated .java.apphosting.RequestLog log = 1; */ public com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder getLogOrBuilder( int index) { if (logBuilder_ == null) { return log_.get(index); } else { return logBuilder_.getMessageOrBuilder(index); } } /** * repeated .java.apphosting.RequestLog log = 1; */ public java.util.List getLogOrBuilderList() { if (logBuilder_ != null) { return logBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(log_); } } /** * repeated .java.apphosting.RequestLog log = 1; */ public com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder addLogBuilder() { return getLogFieldBuilder().addBuilder( com.google.apphosting.api.logservice.LogServicePb.RequestLog.getDefaultInstance()); } /** * repeated .java.apphosting.RequestLog log = 1; */ public com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder addLogBuilder( int index) { return getLogFieldBuilder().addBuilder( index, com.google.apphosting.api.logservice.LogServicePb.RequestLog.getDefaultInstance()); } /** * repeated .java.apphosting.RequestLog log = 1; */ public java.util.List getLogBuilderList() { return getLogFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.RequestLog, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder, com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder> getLogFieldBuilder() { if (logBuilder_ == null) { logBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.RequestLog, com.google.apphosting.api.logservice.LogServicePb.RequestLog.Builder, com.google.apphosting.api.logservice.LogServicePb.RequestLogOrBuilder>( log_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); log_ = null; } return logBuilder_; } private com.google.apphosting.api.logservice.LogServicePb.LogOffset offset_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> offsetBuilder_; /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; * @return The offset. */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset getOffset() { if (offsetBuilder_ == null) { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } else { return offsetBuilder_.getMessage(); } } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public Builder setOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } offset_ = value; } else { offsetBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public Builder setOffset( com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder builderForValue) { if (offsetBuilder_ == null) { offset_ = builderForValue.build(); } else { offsetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public Builder mergeOffset(com.google.apphosting.api.logservice.LogServicePb.LogOffset value) { if (offsetBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && offset_ != null && offset_ != com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance()) { getOffsetBuilder().mergeFrom(value); } else { offset_ = value; } } else { offsetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000002); offset_ = null; if (offsetBuilder_ != null) { offsetBuilder_.dispose(); offsetBuilder_ = null; } onChanged(); return this; } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder getOffsetBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOffsetFieldBuilder().getBuilder(); } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ public com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder getOffsetOrBuilder() { if (offsetBuilder_ != null) { return offsetBuilder_.getMessageOrBuilder(); } else { return offset_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogOffset.getDefaultInstance() : offset_; } } /** *
       * If set, a LogOffset that may be used in LogReadRequest to continue where
       * this read ended.  If unset, there are no more log records to read for the
       * given ReadRequest options.
       * 
* * optional .java.apphosting.LogOffset offset = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder> getOffsetFieldBuilder() { if (offsetBuilder_ == null) { offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogOffset, com.google.apphosting.api.logservice.LogServicePb.LogOffset.Builder, com.google.apphosting.api.logservice.LogServicePb.LogOffsetOrBuilder>( getOffset(), getParentForChildren(), isClean()); offset_ = null; } return offsetBuilder_; } private long lastEndTime_ ; /** *
       * Latest request completion time in microseconds since the epoch seen while
       * performing the requested read.  Relevant for unindexed searches in order
       * to display progress to the user.  Will be unset if the read is complete.
       * 
* * optional int64 last_end_time = 3; * @return Whether the lastEndTime field is set. */ @java.lang.Override public boolean hasLastEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Latest request completion time in microseconds since the epoch seen while
       * performing the requested read.  Relevant for unindexed searches in order
       * to display progress to the user.  Will be unset if the read is complete.
       * 
* * optional int64 last_end_time = 3; * @return The lastEndTime. */ @java.lang.Override public long getLastEndTime() { return lastEndTime_; } /** *
       * Latest request completion time in microseconds since the epoch seen while
       * performing the requested read.  Relevant for unindexed searches in order
       * to display progress to the user.  Will be unset if the read is complete.
       * 
* * optional int64 last_end_time = 3; * @param value The lastEndTime to set. * @return This builder for chaining. */ public Builder setLastEndTime(long value) { lastEndTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Latest request completion time in microseconds since the epoch seen while
       * performing the requested read.  Relevant for unindexed searches in order
       * to display progress to the user.  Will be unset if the read is complete.
       * 
* * optional int64 last_end_time = 3; * @return This builder for chaining. */ public Builder clearLastEndTime() { bitField0_ = (bitField0_ & ~0x00000004); lastEndTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.LogReadResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.LogReadResponse) private static final com.google.apphosting.api.logservice.LogServicePb.LogReadResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogReadResponse(); } public static com.google.apphosting.api.logservice.LogServicePb.LogReadResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogReadResponse 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.api.logservice.LogServicePb.LogReadResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogUsageRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogUsageRecord) com.google.protobuf.MessageOrBuilder { /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @return Whether the versionId field is set. */ boolean hasVersionId(); /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @return The versionId. */ java.lang.String getVersionId(); /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @return The bytes for versionId. */ com.google.protobuf.ByteString getVersionIdBytes(); /** *
     * Earliest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record given the request parameters.  This
     * value is inclusive.
     * 
* * optional int32 start_time = 2; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * Earliest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record given the request parameters.  This
     * value is inclusive.
     * 
* * optional int32 start_time = 2; * @return The startTime. */ int getStartTime(); /** *
     * Latest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record.  This value is exclusive.
     * 
* * optional int32 end_time = 3; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * Latest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record.  This value is exclusive.
     * 
* * optional int32 end_time = 3; * @return The endTime. */ int getEndTime(); /** *
     * The total number of request logs contributing to this record.
     * 
* * optional int64 count = 4; * @return Whether the count field is set. */ boolean hasCount(); /** *
     * The total number of request logs contributing to this record.
     * 
* * optional int64 count = 4; * @return The count. */ long getCount(); /** *
     * The total size in bytes of request logs contributing to this record.
     * 
* * optional int64 total_size = 5; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total size in bytes of request logs contributing to this record.
     * 
* * optional int64 total_size = 5; * @return The totalSize. */ long getTotalSize(); /** *
     * For superuser reads only, the number of cells existing in the Bigtable for
     * this period.  For non-summary records this will be -1 if any contributing
     * cell names contained uniquifiers, as created by the backfill MapReduce.
     * For summary records these -1s are treated as 0 when summing the values.
     * 
* * optional int32 records = 6; * @return Whether the records field is set. */ boolean hasRecords(); /** *
     * For superuser reads only, the number of cells existing in the Bigtable for
     * this period.  For non-summary records this will be -1 if any contributing
     * cell names contained uniquifiers, as created by the backfill MapReduce.
     * For summary records these -1s are treated as 0 when summing the values.
     * 
* * optional int32 records = 6; * @return The records. */ int getRecords(); } /** *
   * A record of how much log space is used by an application version within a
   * given time range.
   * Next tag: 7
   * 
* * Protobuf type {@code java.apphosting.LogUsageRecord} */ public static final class LogUsageRecord extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogUsageRecord) LogUsageRecordOrBuilder { private static final long serialVersionUID = 0L; // Use LogUsageRecord.newBuilder() to construct. private LogUsageRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogUsageRecord() { versionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogUsageRecord(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder.class); } private int bitField0_; public static final int VERSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object versionId_ = ""; /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @return Whether the versionId field is set. */ @java.lang.Override public boolean hasVersionId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @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; } } /** *
     * Major version id of application for which the log records contributing to
     * this record correspond.  Will be specified if 'combine_versions' was false.
     * 
* * optional string version_id = 1; * @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 START_TIME_FIELD_NUMBER = 2; private int startTime_ = 0; /** *
     * Earliest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record given the request parameters.  This
     * value is inclusive.
     * 
* * optional int32 start_time = 2; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Earliest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record given the request parameters.  This
     * value is inclusive.
     * 
* * optional int32 start_time = 2; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 3; private int endTime_ = 0; /** *
     * Latest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record.  This value is exclusive.
     * 
* * optional int32 end_time = 3; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Latest request completion time in seconds since the epoch for logs that
     * would contribute to this usage record.  This value is exclusive.
     * 
* * optional int32 end_time = 3; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } public static final int COUNT_FIELD_NUMBER = 4; private long count_ = 0L; /** *
     * The total number of request logs contributing to this record.
     * 
* * optional int64 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The total number of request logs contributing to this record.
     * 
* * optional int64 count = 4; * @return The count. */ @java.lang.Override public long getCount() { return count_; } public static final int TOTAL_SIZE_FIELD_NUMBER = 5; private long totalSize_ = 0L; /** *
     * The total size in bytes of request logs contributing to this record.
     * 
* * optional int64 total_size = 5; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The total size in bytes of request logs contributing to this record.
     * 
* * optional int64 total_size = 5; * @return The totalSize. */ @java.lang.Override public long getTotalSize() { return totalSize_; } public static final int RECORDS_FIELD_NUMBER = 6; private int records_ = 0; /** *
     * For superuser reads only, the number of cells existing in the Bigtable for
     * this period.  For non-summary records this will be -1 if any contributing
     * cell names contained uniquifiers, as created by the backfill MapReduce.
     * For summary records these -1s are treated as 0 when summing the values.
     * 
* * optional int32 records = 6; * @return Whether the records field is set. */ @java.lang.Override public boolean hasRecords() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * For superuser reads only, the number of cells existing in the Bigtable for
     * this period.  For non-summary records this will be -1 if any contributing
     * cell names contained uniquifiers, as created by the backfill MapReduce.
     * For summary records these -1s are treated as 0 when summing the values.
     * 
* * optional int32 records = 6; * @return The records. */ @java.lang.Override public int getRecords() { return records_; } 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, versionId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, count_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, totalSize_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(6, records_); } 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, versionId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, count_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, totalSize_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, records_); } 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.api.logservice.LogServicePb.LogUsageRecord)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord other = (com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord) obj; if (hasVersionId() != other.hasVersionId()) return false; if (hasVersionId()) { if (!getVersionId() .equals(other.getVersionId())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (getStartTime() != other.getStartTime()) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) return false; } if (hasRecords() != other.hasRecords()) return false; if (hasRecords()) { if (getRecords() != other.getRecords()) 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 (hasVersionId()) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionId().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime(); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); } if (hasTotalSize()) { hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalSize()); } if (hasRecords()) { hash = (37 * hash) + RECORDS_FIELD_NUMBER; hash = (53 * hash) + getRecords(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord 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; } /** *
     * A record of how much log space is used by an application version within a
     * given time range.
     * Next tag: 7
     * 
* * Protobuf type {@code java.apphosting.LogUsageRecord} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogUsageRecord) com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; versionId_ = ""; startTime_ = 0; endTime_ = 0; count_ = 0L; totalSize_ = 0L; records_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRecord_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord build() { com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord result = new com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.versionId_ = versionId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.startTime_ = startTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.endTime_ = endTime_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.records_ = records_; 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.api.logservice.LogServicePb.LogUsageRecord) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance()) return this; if (other.hasVersionId()) { versionId_ = other.versionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } if (other.hasCount()) { setCount(other.getCount()); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } if (other.hasRecords()) { setRecords(other.getRecords()); } 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: { versionId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { startTime_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { endTime_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { count_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { totalSize_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { records_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 48 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 versionId_ = ""; /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @return Whether the versionId field is set. */ public boolean hasVersionId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @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; } } /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @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; } } /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @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_ |= 0x00000001; onChanged(); return this; } /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = getDefaultInstance().getVersionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Major version id of application for which the log records contributing to
       * this record correspond.  Will be specified if 'combine_versions' was false.
       * 
* * optional string version_id = 1; * @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_ |= 0x00000001; onChanged(); return this; } private int startTime_ ; /** *
       * Earliest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record given the request parameters.  This
       * value is inclusive.
       * 
* * optional int32 start_time = 2; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Earliest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record given the request parameters.  This
       * value is inclusive.
       * 
* * optional int32 start_time = 2; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } /** *
       * Earliest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record given the request parameters.  This
       * value is inclusive.
       * 
* * optional int32 start_time = 2; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(int value) { startTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Earliest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record given the request parameters.  This
       * value is inclusive.
       * 
* * optional int32 start_time = 2; * @return This builder for chaining. */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); startTime_ = 0; onChanged(); return this; } private int endTime_ ; /** *
       * Latest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record.  This value is exclusive.
       * 
* * optional int32 end_time = 3; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Latest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record.  This value is exclusive.
       * 
* * optional int32 end_time = 3; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } /** *
       * Latest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record.  This value is exclusive.
       * 
* * optional int32 end_time = 3; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(int value) { endTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Latest request completion time in seconds since the epoch for logs that
       * would contribute to this usage record.  This value is exclusive.
       * 
* * optional int32 end_time = 3; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); endTime_ = 0; onChanged(); return this; } private long count_ ; /** *
       * The total number of request logs contributing to this record.
       * 
* * optional int64 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The total number of request logs contributing to this record.
       * 
* * optional int64 count = 4; * @return The count. */ @java.lang.Override public long getCount() { return count_; } /** *
       * The total number of request logs contributing to this record.
       * 
* * optional int64 count = 4; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { count_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * The total number of request logs contributing to this record.
       * 
* * optional int64 count = 4; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000008); count_ = 0L; onChanged(); return this; } private long totalSize_ ; /** *
       * The total size in bytes of request logs contributing to this record.
       * 
* * optional int64 total_size = 5; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total size in bytes of request logs contributing to this record.
       * 
* * optional int64 total_size = 5; * @return The totalSize. */ @java.lang.Override public long getTotalSize() { return totalSize_; } /** *
       * The total size in bytes of request logs contributing to this record.
       * 
* * optional int64 total_size = 5; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(long value) { totalSize_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * The total size in bytes of request logs contributing to this record.
       * 
* * optional int64 total_size = 5; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); totalSize_ = 0L; onChanged(); return this; } private int records_ ; /** *
       * For superuser reads only, the number of cells existing in the Bigtable for
       * this period.  For non-summary records this will be -1 if any contributing
       * cell names contained uniquifiers, as created by the backfill MapReduce.
       * For summary records these -1s are treated as 0 when summing the values.
       * 
* * optional int32 records = 6; * @return Whether the records field is set. */ @java.lang.Override public boolean hasRecords() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * For superuser reads only, the number of cells existing in the Bigtable for
       * this period.  For non-summary records this will be -1 if any contributing
       * cell names contained uniquifiers, as created by the backfill MapReduce.
       * For summary records these -1s are treated as 0 when summing the values.
       * 
* * optional int32 records = 6; * @return The records. */ @java.lang.Override public int getRecords() { return records_; } /** *
       * For superuser reads only, the number of cells existing in the Bigtable for
       * this period.  For non-summary records this will be -1 if any contributing
       * cell names contained uniquifiers, as created by the backfill MapReduce.
       * For summary records these -1s are treated as 0 when summing the values.
       * 
* * optional int32 records = 6; * @param value The records to set. * @return This builder for chaining. */ public Builder setRecords(int value) { records_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * For superuser reads only, the number of cells existing in the Bigtable for
       * this period.  For non-summary records this will be -1 if any contributing
       * cell names contained uniquifiers, as created by the backfill MapReduce.
       * For summary records these -1s are treated as 0 when summing the values.
       * 
* * optional int32 records = 6; * @return This builder for chaining. */ public Builder clearRecords() { bitField0_ = (bitField0_ & ~0x00000020); records_ = 0; 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.LogUsageRecord) } // @@protoc_insertion_point(class_scope:java.apphosting.LogUsageRecord) private static final com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord(); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogUsageRecord 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.api.logservice.LogServicePb.LogUsageRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogUsageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogUsageRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Application id for which logs usage should be retrieved.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ boolean hasAppId(); /** *
     * Application id for which logs usage should be retrieved.
     * 
* * required string app_id = 1; * @return The appId. */ java.lang.String getAppId(); /** *
     * Application id for which logs usage should be retrieved.
     * 
* * required string app_id = 1; * @return The bytes for appId. */ com.google.protobuf.ByteString getAppIdBytes(); /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ java.util.List getVersionIdList(); /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @return The count of versionId. */ int getVersionIdCount(); /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ java.lang.String getVersionId(int index); /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ com.google.protobuf.ByteString getVersionIdBytes(int index); /** *
     * Earliest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded down to an hour, and
     * is then inclusive.
     * 
* * optional int32 start_time = 3; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * Earliest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded down to an hour, and
     * is then inclusive.
     * 
* * optional int32 start_time = 3; * @return The startTime. */ int getStartTime(); /** *
     * Latest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded up to an hour, and
     * is then exclusive.
     * 
* * optional int32 end_time = 4; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * Latest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded up to an hour, and
     * is then exclusive.
     * 
* * optional int32 end_time = 4; * @return The endTime. */ int getEndTime(); /** *
     * Interval in hours over which usage data should be aggregated.  If zero,
     * a single usage record will be created per application version.
     * WARNING: Default is 1, must continue to be enforced in cc file as well.
     * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return Whether the resolutionHours field is set. */ boolean hasResolutionHours(); /** *
     * Interval in hours over which usage data should be aggregated.  If zero,
     * a single usage record will be created per application version.
     * WARNING: Default is 1, must continue to be enforced in cc file as well.
     * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return The resolutionHours. */ int getResolutionHours(); /** *
     * If true, usage records for all selected versions will be combined into a
     * single response record for each time period.
     * 
* * optional bool combine_versions = 6; * @return Whether the combineVersions field is set. */ boolean hasCombineVersions(); /** *
     * If true, usage records for all selected versions will be combined into a
     * single response record for each time period.
     * 
* * optional bool combine_versions = 6; * @return The combineVersions. */ boolean getCombineVersions(); /** *
     * If set and a superuser, specifies that results should be read from a
     * non-default usage version.
     * 
* * optional int32 usage_version = 7; * @return Whether the usageVersion field is set. */ boolean hasUsageVersion(); /** *
     * If set and a superuser, specifies that results should be read from a
     * non-default usage version.
     * 
* * optional int32 usage_version = 7; * @return The usageVersion. */ int getUsageVersion(); /** *
     * If true, only a list of versions with logs usage data within the specified
     * time bounds will be returned, with all fields other than version_id left
     * blank.  Combine_versions will ignored and treated as false in this mode.
     * 
* * optional bool versions_only = 8; * @return Whether the versionsOnly field is set. */ boolean hasVersionsOnly(); /** *
     * If true, only a list of versions with logs usage data within the specified
     * time bounds will be returned, with all fields other than version_id left
     * blank.  Combine_versions will ignored and treated as false in this mode.
     * 
* * optional bool versions_only = 8; * @return The versionsOnly. */ boolean getVersionsOnly(); /** * optional bool deprecated_resolution_hours_set = 105; * @return Whether the deprecatedResolutionHoursSet field is set. */ boolean hasDeprecatedResolutionHoursSet(); /** * optional bool deprecated_resolution_hours_set = 105; * @return The deprecatedResolutionHoursSet. */ boolean getDeprecatedResolutionHoursSet(); /** * optional bool deprecated_usage_version_set = 107; * @return Whether the deprecatedUsageVersionSet field is set. */ boolean hasDeprecatedUsageVersionSet(); /** * optional bool deprecated_usage_version_set = 107; * @return The deprecatedUsageVersionSet. */ boolean getDeprecatedUsageVersionSet(); } /** *
   * Requests log usage statistics for an application.
   * Next tag = 9
   * 
* * Protobuf type {@code java.apphosting.LogUsageRequest} */ public static final class LogUsageRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogUsageRequest) LogUsageRequestOrBuilder { private static final long serialVersionUID = 0L; // Use LogUsageRequest.newBuilder() to construct. private LogUsageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogUsageRequest() { appId_ = ""; versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; resolutionHours_ = 1; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogUsageRequest(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.Builder.class); } private int bitField0_; public static final int APP_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object appId_ = ""; /** *
     * Application id for which logs usage should be retrieved.
     * 
* * required string app_id = 1; * @return Whether the appId field is set. */ @java.lang.Override public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Application id for which logs usage should be retrieved.
     * 
* * 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; } } /** *
     * Application id for which logs usage should be retrieved.
     * 
* * 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 VERSION_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringList versionId_; /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ public com.google.protobuf.ProtocolStringList getVersionIdList() { return versionId_; } /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @return The count of versionId. */ public int getVersionIdCount() { return versionId_.size(); } /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ public java.lang.String getVersionId(int index) { return versionId_.get(index); } /** *
     * Major version(s) of application for which to retrieve logs usage.  An
     * empty list indicates that usage for all versions should be retrieved.
     * TODO: Replace this with a repeated LogModuleVersion field.
     * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ public com.google.protobuf.ByteString getVersionIdBytes(int index) { return versionId_.getByteString(index); } public static final int START_TIME_FIELD_NUMBER = 3; private int startTime_ = 0; /** *
     * Earliest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded down to an hour, and
     * is then inclusive.
     * 
* * optional int32 start_time = 3; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Earliest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded down to an hour, and
     * is then inclusive.
     * 
* * optional int32 start_time = 3; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 4; private int endTime_ = 0; /** *
     * Latest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded up to an hour, and
     * is then exclusive.
     * 
* * optional int32 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Latest request completion time in seconds since the epoch for which logs
     * usage data should be returned.  This value is rounded up to an hour, and
     * is then exclusive.
     * 
* * optional int32 end_time = 4; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } public static final int RESOLUTION_HOURS_FIELD_NUMBER = 5; private int resolutionHours_ = 1; /** *
     * Interval in hours over which usage data should be aggregated.  If zero,
     * a single usage record will be created per application version.
     * WARNING: Default is 1, must continue to be enforced in cc file as well.
     * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return Whether the resolutionHours field is set. */ @java.lang.Override public boolean hasResolutionHours() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Interval in hours over which usage data should be aggregated.  If zero,
     * a single usage record will be created per application version.
     * WARNING: Default is 1, must continue to be enforced in cc file as well.
     * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return The resolutionHours. */ @java.lang.Override public int getResolutionHours() { return resolutionHours_; } public static final int COMBINE_VERSIONS_FIELD_NUMBER = 6; private boolean combineVersions_ = false; /** *
     * If true, usage records for all selected versions will be combined into a
     * single response record for each time period.
     * 
* * optional bool combine_versions = 6; * @return Whether the combineVersions field is set. */ @java.lang.Override public boolean hasCombineVersions() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * If true, usage records for all selected versions will be combined into a
     * single response record for each time period.
     * 
* * optional bool combine_versions = 6; * @return The combineVersions. */ @java.lang.Override public boolean getCombineVersions() { return combineVersions_; } public static final int USAGE_VERSION_FIELD_NUMBER = 7; private int usageVersion_ = 0; /** *
     * If set and a superuser, specifies that results should be read from a
     * non-default usage version.
     * 
* * optional int32 usage_version = 7; * @return Whether the usageVersion field is set. */ @java.lang.Override public boolean hasUsageVersion() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * If set and a superuser, specifies that results should be read from a
     * non-default usage version.
     * 
* * optional int32 usage_version = 7; * @return The usageVersion. */ @java.lang.Override public int getUsageVersion() { return usageVersion_; } public static final int VERSIONS_ONLY_FIELD_NUMBER = 8; private boolean versionsOnly_ = false; /** *
     * If true, only a list of versions with logs usage data within the specified
     * time bounds will be returned, with all fields other than version_id left
     * blank.  Combine_versions will ignored and treated as false in this mode.
     * 
* * optional bool versions_only = 8; * @return Whether the versionsOnly field is set. */ @java.lang.Override public boolean hasVersionsOnly() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * If true, only a list of versions with logs usage data within the specified
     * time bounds will be returned, with all fields other than version_id left
     * blank.  Combine_versions will ignored and treated as false in this mode.
     * 
* * optional bool versions_only = 8; * @return The versionsOnly. */ @java.lang.Override public boolean getVersionsOnly() { return versionsOnly_; } public static final int DEPRECATED_RESOLUTION_HOURS_SET_FIELD_NUMBER = 105; private boolean deprecatedResolutionHoursSet_ = false; /** * optional bool deprecated_resolution_hours_set = 105; * @return Whether the deprecatedResolutionHoursSet field is set. */ @java.lang.Override public boolean hasDeprecatedResolutionHoursSet() { return ((bitField0_ & 0x00000080) != 0); } /** * optional bool deprecated_resolution_hours_set = 105; * @return The deprecatedResolutionHoursSet. */ @java.lang.Override public boolean getDeprecatedResolutionHoursSet() { return deprecatedResolutionHoursSet_; } public static final int DEPRECATED_USAGE_VERSION_SET_FIELD_NUMBER = 107; private boolean deprecatedUsageVersionSet_ = false; /** * optional bool deprecated_usage_version_set = 107; * @return Whether the deprecatedUsageVersionSet field is set. */ @java.lang.Override public boolean hasDeprecatedUsageVersionSet() { return ((bitField0_ & 0x00000100) != 0); } /** * optional bool deprecated_usage_version_set = 107; * @return The deprecatedUsageVersionSet. */ @java.lang.Override public boolean getDeprecatedUsageVersionSet() { return deprecatedUsageVersionSet_; } 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; } 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_); } for (int i = 0; i < versionId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, versionId_.getRaw(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(4, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, resolutionHours_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(6, combineVersions_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(7, usageVersion_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(8, versionsOnly_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(105, deprecatedResolutionHoursSet_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeBool(107, deprecatedUsageVersionSet_); } 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_); } { int dataSize = 0; for (int i = 0; i < versionId_.size(); i++) { dataSize += computeStringSizeNoTag(versionId_.getRaw(i)); } size += dataSize; size += 1 * getVersionIdList().size(); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, startTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, endTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, resolutionHours_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, combineVersions_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, usageVersion_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, versionsOnly_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(105, deprecatedResolutionHoursSet_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(107, deprecatedUsageVersionSet_); } 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.api.logservice.LogServicePb.LogUsageRequest)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest other = (com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest) obj; if (hasAppId() != other.hasAppId()) return false; if (hasAppId()) { if (!getAppId() .equals(other.getAppId())) return false; } if (!getVersionIdList() .equals(other.getVersionIdList())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (getStartTime() != other.getStartTime()) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) return false; } if (hasResolutionHours() != other.hasResolutionHours()) return false; if (hasResolutionHours()) { if (getResolutionHours() != other.getResolutionHours()) return false; } if (hasCombineVersions() != other.hasCombineVersions()) return false; if (hasCombineVersions()) { if (getCombineVersions() != other.getCombineVersions()) return false; } if (hasUsageVersion() != other.hasUsageVersion()) return false; if (hasUsageVersion()) { if (getUsageVersion() != other.getUsageVersion()) return false; } if (hasVersionsOnly() != other.hasVersionsOnly()) return false; if (hasVersionsOnly()) { if (getVersionsOnly() != other.getVersionsOnly()) return false; } if (hasDeprecatedResolutionHoursSet() != other.hasDeprecatedResolutionHoursSet()) return false; if (hasDeprecatedResolutionHoursSet()) { if (getDeprecatedResolutionHoursSet() != other.getDeprecatedResolutionHoursSet()) return false; } if (hasDeprecatedUsageVersionSet() != other.hasDeprecatedUsageVersionSet()) return false; if (hasDeprecatedUsageVersionSet()) { if (getDeprecatedUsageVersionSet() != other.getDeprecatedUsageVersionSet()) 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 (getVersionIdCount() > 0) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionIdList().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime(); } if (hasResolutionHours()) { hash = (37 * hash) + RESOLUTION_HOURS_FIELD_NUMBER; hash = (53 * hash) + getResolutionHours(); } if (hasCombineVersions()) { hash = (37 * hash) + COMBINE_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCombineVersions()); } if (hasUsageVersion()) { hash = (37 * hash) + USAGE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getUsageVersion(); } if (hasVersionsOnly()) { hash = (37 * hash) + VERSIONS_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVersionsOnly()); } if (hasDeprecatedResolutionHoursSet()) { hash = (37 * hash) + DEPRECATED_RESOLUTION_HOURS_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedResolutionHoursSet()); } if (hasDeprecatedUsageVersionSet()) { hash = (37 * hash) + DEPRECATED_USAGE_VERSION_SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecatedUsageVersionSet()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest 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; } /** *
     * Requests log usage statistics for an application.
     * Next tag = 9
     * 
* * Protobuf type {@code java.apphosting.LogUsageRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogUsageRequest) com.google.apphosting.api.logservice.LogServicePb.LogUsageRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; appId_ = ""; versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); startTime_ = 0; endTime_ = 0; resolutionHours_ = 1; combineVersions_ = false; usageVersion_ = 0; versionsOnly_ = false; deprecatedResolutionHoursSet_ = false; deprecatedUsageVersionSet_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageRequest_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest build() { com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest result = new com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest result) { if (((bitField0_ & 0x00000002) != 0)) { versionId_ = versionId_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.versionId_ = versionId_; } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.appId_ = appId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.startTime_ = startTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.endTime_ = endTime_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.resolutionHours_ = resolutionHours_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.combineVersions_ = combineVersions_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.usageVersion_ = usageVersion_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.versionsOnly_ = versionsOnly_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.deprecatedResolutionHoursSet_ = deprecatedResolutionHoursSet_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { result.deprecatedUsageVersionSet_ = deprecatedUsageVersionSet_; to_bitField0_ |= 0x00000100; } 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.api.logservice.LogServicePb.LogUsageRequest) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest.getDefaultInstance()) return this; if (other.hasAppId()) { appId_ = other.appId_; bitField0_ |= 0x00000001; onChanged(); } if (!other.versionId_.isEmpty()) { if (versionId_.isEmpty()) { versionId_ = other.versionId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureVersionIdIsMutable(); versionId_.addAll(other.versionId_); } onChanged(); } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } if (other.hasResolutionHours()) { setResolutionHours(other.getResolutionHours()); } if (other.hasCombineVersions()) { setCombineVersions(other.getCombineVersions()); } if (other.hasUsageVersion()) { setUsageVersion(other.getUsageVersion()); } if (other.hasVersionsOnly()) { setVersionsOnly(other.getVersionsOnly()); } if (other.hasDeprecatedResolutionHoursSet()) { setDeprecatedResolutionHoursSet(other.getDeprecatedResolutionHoursSet()); } if (other.hasDeprecatedUsageVersionSet()) { setDeprecatedUsageVersionSet(other.getDeprecatedUsageVersionSet()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasAppId()) { 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: { com.google.protobuf.ByteString bs = input.readBytes(); ensureVersionIdIsMutable(); versionId_.add(bs); break; } // case 18 case 24: { startTime_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { endTime_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { resolutionHours_ = input.readUInt32(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { combineVersions_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { usageVersion_ = input.readInt32(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { versionsOnly_ = input.readBool(); bitField0_ |= 0x00000080; break; } // case 64 case 840: { deprecatedResolutionHoursSet_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 840 case 856: { deprecatedUsageVersionSet_ = input.readBool(); bitField0_ |= 0x00000200; break; } // case 856 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_ = ""; /** *
       * Application id for which logs usage should be retrieved.
       * 
* * required string app_id = 1; * @return Whether the appId field is set. */ public boolean hasAppId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Application id for which logs usage should be retrieved.
       * 
* * 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; } } /** *
       * Application id for which logs usage should be retrieved.
       * 
* * 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; } } /** *
       * Application id for which logs usage should be retrieved.
       * 
* * 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; } /** *
       * Application id for which logs usage should be retrieved.
       * 
* * required string app_id = 1; * @return This builder for chaining. */ public Builder clearAppId() { appId_ = getDefaultInstance().getAppId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Application id for which logs usage should be retrieved.
       * 
* * 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 com.google.protobuf.LazyStringList versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureVersionIdIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { versionId_ = new com.google.protobuf.LazyStringArrayList(versionId_); bitField0_ |= 0x00000002; } } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @return A list containing the versionId. */ public com.google.protobuf.ProtocolStringList getVersionIdList() { return versionId_.getUnmodifiableView(); } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @return The count of versionId. */ public int getVersionIdCount() { return versionId_.size(); } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param index The index of the element to return. * @return The versionId at the given index. */ public java.lang.String getVersionId(int index) { return versionId_.get(index); } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param index The index of the value to return. * @return The bytes of the versionId at the given index. */ public com.google.protobuf.ByteString getVersionIdBytes(int index) { return versionId_.getByteString(index); } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param index The index to set the value at. * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.set(index, value); onChanged(); return this; } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param value The versionId to add. * @return This builder for chaining. */ public Builder addVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.add(value); onChanged(); return this; } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param values The versionId to add. * @return This builder for chaining. */ public Builder addAllVersionId( java.lang.Iterable values) { ensureVersionIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, versionId_); onChanged(); return this; } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Major version(s) of application for which to retrieve logs usage.  An
       * empty list indicates that usage for all versions should be retrieved.
       * TODO: Replace this with a repeated LogModuleVersion field.
       * 
* * repeated string version_id = 2; * @param value The bytes of the versionId to add. * @return This builder for chaining. */ public Builder addVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureVersionIdIsMutable(); versionId_.add(value); onChanged(); return this; } private int startTime_ ; /** *
       * Earliest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded down to an hour, and
       * is then inclusive.
       * 
* * optional int32 start_time = 3; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Earliest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded down to an hour, and
       * is then inclusive.
       * 
* * optional int32 start_time = 3; * @return The startTime. */ @java.lang.Override public int getStartTime() { return startTime_; } /** *
       * Earliest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded down to an hour, and
       * is then inclusive.
       * 
* * optional int32 start_time = 3; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(int value) { startTime_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * Earliest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded down to an hour, and
       * is then inclusive.
       * 
* * optional int32 start_time = 3; * @return This builder for chaining. */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); startTime_ = 0; onChanged(); return this; } private int endTime_ ; /** *
       * Latest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded up to an hour, and
       * is then exclusive.
       * 
* * optional int32 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Latest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded up to an hour, and
       * is then exclusive.
       * 
* * optional int32 end_time = 4; * @return The endTime. */ @java.lang.Override public int getEndTime() { return endTime_; } /** *
       * Latest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded up to an hour, and
       * is then exclusive.
       * 
* * optional int32 end_time = 4; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(int value) { endTime_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Latest request completion time in seconds since the epoch for which logs
       * usage data should be returned.  This value is rounded up to an hour, and
       * is then exclusive.
       * 
* * optional int32 end_time = 4; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); endTime_ = 0; onChanged(); return this; } private int resolutionHours_ = 1; /** *
       * Interval in hours over which usage data should be aggregated.  If zero,
       * a single usage record will be created per application version.
       * WARNING: Default is 1, must continue to be enforced in cc file as well.
       * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return Whether the resolutionHours field is set. */ @java.lang.Override public boolean hasResolutionHours() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Interval in hours over which usage data should be aggregated.  If zero,
       * a single usage record will be created per application version.
       * WARNING: Default is 1, must continue to be enforced in cc file as well.
       * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return The resolutionHours. */ @java.lang.Override public int getResolutionHours() { return resolutionHours_; } /** *
       * Interval in hours over which usage data should be aggregated.  If zero,
       * a single usage record will be created per application version.
       * WARNING: Default is 1, must continue to be enforced in cc file as well.
       * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @param value The resolutionHours to set. * @return This builder for chaining. */ public Builder setResolutionHours(int value) { resolutionHours_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Interval in hours over which usage data should be aggregated.  If zero,
       * a single usage record will be created per application version.
       * WARNING: Default is 1, must continue to be enforced in cc file as well.
       * 
* * optional uint32 resolution_hours = 5 [default = 1]; * @return This builder for chaining. */ public Builder clearResolutionHours() { bitField0_ = (bitField0_ & ~0x00000010); resolutionHours_ = 1; onChanged(); return this; } private boolean combineVersions_ ; /** *
       * If true, usage records for all selected versions will be combined into a
       * single response record for each time period.
       * 
* * optional bool combine_versions = 6; * @return Whether the combineVersions field is set. */ @java.lang.Override public boolean hasCombineVersions() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * If true, usage records for all selected versions will be combined into a
       * single response record for each time period.
       * 
* * optional bool combine_versions = 6; * @return The combineVersions. */ @java.lang.Override public boolean getCombineVersions() { return combineVersions_; } /** *
       * If true, usage records for all selected versions will be combined into a
       * single response record for each time period.
       * 
* * optional bool combine_versions = 6; * @param value The combineVersions to set. * @return This builder for chaining. */ public Builder setCombineVersions(boolean value) { combineVersions_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * If true, usage records for all selected versions will be combined into a
       * single response record for each time period.
       * 
* * optional bool combine_versions = 6; * @return This builder for chaining. */ public Builder clearCombineVersions() { bitField0_ = (bitField0_ & ~0x00000020); combineVersions_ = false; onChanged(); return this; } private int usageVersion_ ; /** *
       * If set and a superuser, specifies that results should be read from a
       * non-default usage version.
       * 
* * optional int32 usage_version = 7; * @return Whether the usageVersion field is set. */ @java.lang.Override public boolean hasUsageVersion() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * If set and a superuser, specifies that results should be read from a
       * non-default usage version.
       * 
* * optional int32 usage_version = 7; * @return The usageVersion. */ @java.lang.Override public int getUsageVersion() { return usageVersion_; } /** *
       * If set and a superuser, specifies that results should be read from a
       * non-default usage version.
       * 
* * optional int32 usage_version = 7; * @param value The usageVersion to set. * @return This builder for chaining. */ public Builder setUsageVersion(int value) { usageVersion_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * If set and a superuser, specifies that results should be read from a
       * non-default usage version.
       * 
* * optional int32 usage_version = 7; * @return This builder for chaining. */ public Builder clearUsageVersion() { bitField0_ = (bitField0_ & ~0x00000040); usageVersion_ = 0; onChanged(); return this; } private boolean versionsOnly_ ; /** *
       * If true, only a list of versions with logs usage data within the specified
       * time bounds will be returned, with all fields other than version_id left
       * blank.  Combine_versions will ignored and treated as false in this mode.
       * 
* * optional bool versions_only = 8; * @return Whether the versionsOnly field is set. */ @java.lang.Override public boolean hasVersionsOnly() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * If true, only a list of versions with logs usage data within the specified
       * time bounds will be returned, with all fields other than version_id left
       * blank.  Combine_versions will ignored and treated as false in this mode.
       * 
* * optional bool versions_only = 8; * @return The versionsOnly. */ @java.lang.Override public boolean getVersionsOnly() { return versionsOnly_; } /** *
       * If true, only a list of versions with logs usage data within the specified
       * time bounds will be returned, with all fields other than version_id left
       * blank.  Combine_versions will ignored and treated as false in this mode.
       * 
* * optional bool versions_only = 8; * @param value The versionsOnly to set. * @return This builder for chaining. */ public Builder setVersionsOnly(boolean value) { versionsOnly_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * If true, only a list of versions with logs usage data within the specified
       * time bounds will be returned, with all fields other than version_id left
       * blank.  Combine_versions will ignored and treated as false in this mode.
       * 
* * optional bool versions_only = 8; * @return This builder for chaining. */ public Builder clearVersionsOnly() { bitField0_ = (bitField0_ & ~0x00000080); versionsOnly_ = false; onChanged(); return this; } private boolean deprecatedResolutionHoursSet_ ; /** * optional bool deprecated_resolution_hours_set = 105; * @return Whether the deprecatedResolutionHoursSet field is set. */ @java.lang.Override public boolean hasDeprecatedResolutionHoursSet() { return ((bitField0_ & 0x00000100) != 0); } /** * optional bool deprecated_resolution_hours_set = 105; * @return The deprecatedResolutionHoursSet. */ @java.lang.Override public boolean getDeprecatedResolutionHoursSet() { return deprecatedResolutionHoursSet_; } /** * optional bool deprecated_resolution_hours_set = 105; * @param value The deprecatedResolutionHoursSet to set. * @return This builder for chaining. */ public Builder setDeprecatedResolutionHoursSet(boolean value) { deprecatedResolutionHoursSet_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * optional bool deprecated_resolution_hours_set = 105; * @return This builder for chaining. */ public Builder clearDeprecatedResolutionHoursSet() { bitField0_ = (bitField0_ & ~0x00000100); deprecatedResolutionHoursSet_ = false; onChanged(); return this; } private boolean deprecatedUsageVersionSet_ ; /** * optional bool deprecated_usage_version_set = 107; * @return Whether the deprecatedUsageVersionSet field is set. */ @java.lang.Override public boolean hasDeprecatedUsageVersionSet() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool deprecated_usage_version_set = 107; * @return The deprecatedUsageVersionSet. */ @java.lang.Override public boolean getDeprecatedUsageVersionSet() { return deprecatedUsageVersionSet_; } /** * optional bool deprecated_usage_version_set = 107; * @param value The deprecatedUsageVersionSet to set. * @return This builder for chaining. */ public Builder setDeprecatedUsageVersionSet(boolean value) { deprecatedUsageVersionSet_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional bool deprecated_usage_version_set = 107; * @return This builder for chaining. */ public Builder clearDeprecatedUsageVersionSet() { bitField0_ = (bitField0_ & ~0x00000200); deprecatedUsageVersionSet_ = 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.LogUsageRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.LogUsageRequest) private static final com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest(); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogUsageRequest 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.api.logservice.LogServicePb.LogUsageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogUsageResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.LogUsageResponse) com.google.protobuf.MessageOrBuilder { /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ java.util.List getUsageList(); /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getUsage(int index); /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ int getUsageCount(); /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ java.util.List getUsageOrBuilderList(); /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getUsageOrBuilder( int index); /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return Whether the summary field is set. */ boolean hasSummary(); /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return The summary. */ com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getSummary(); /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getSummaryOrBuilder(); } /** *
   * Provides log usage statistics for an application.
   * 
* * Protobuf type {@code java.apphosting.LogUsageResponse} */ public static final class LogUsageResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.LogUsageResponse) LogUsageResponseOrBuilder { private static final long serialVersionUID = 0L; // Use LogUsageResponse.newBuilder() to construct. private LogUsageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogUsageResponse() { usage_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogUsageResponse(); } @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.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.Builder.class); } private int bitField0_; public static final int USAGE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List usage_; /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ @java.lang.Override public java.util.List getUsageList() { return usage_; } /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ @java.lang.Override public java.util.List getUsageOrBuilderList() { return usage_; } /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ @java.lang.Override public int getUsageCount() { return usage_.size(); } /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getUsage(int index) { return usage_.get(index); } /** *
     * A LogUsageRecord for each version and time period requested, ordered by
     * time and then version.
     * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getUsageOrBuilder( int index) { return usage_.get(index); } public static final int SUMMARY_FIELD_NUMBER = 2; private com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord summary_; /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return Whether the summary field is set. */ @java.lang.Override public boolean hasSummary() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return The summary. */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getSummary() { return summary_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance() : summary_; } /** *
     * The sum of all data included in the repeated usage field above.
     * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getSummaryOrBuilder() { return summary_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance() : summary_; } 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 { for (int i = 0; i < usage_.size(); i++) { output.writeMessage(1, usage_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSummary()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < usage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, usage_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSummary()); } 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.api.logservice.LogServicePb.LogUsageResponse)) { return super.equals(obj); } com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse other = (com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse) obj; if (!getUsageList() .equals(other.getUsageList())) return false; if (hasSummary() != other.hasSummary()) return false; if (hasSummary()) { if (!getSummary() .equals(other.getSummary())) 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 (getUsageCount() > 0) { hash = (37 * hash) + USAGE_FIELD_NUMBER; hash = (53 * hash) + getUsageList().hashCode(); } if (hasSummary()) { hash = (37 * hash) + SUMMARY_FIELD_NUMBER; hash = (53 * hash) + getSummary().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse 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; } /** *
     * Provides log usage statistics for an application.
     * 
* * Protobuf type {@code java.apphosting.LogUsageResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.LogUsageResponse) com.google.apphosting.api.logservice.LogServicePb.LogUsageResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.class, com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.Builder.class); } // Construct using com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUsageFieldBuilder(); getSummaryFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (usageBuilder_ == null) { usage_ = java.util.Collections.emptyList(); } else { usage_ = null; usageBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); summary_ = null; if (summaryBuilder_ != null) { summaryBuilder_.dispose(); summaryBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.api.logservice.LogServicePb.internal_static_java_apphosting_LogUsageResponse_descriptor; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse getDefaultInstanceForType() { return com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse build() { com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse buildPartial() { com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse result = new com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse result) { if (usageBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { usage_ = java.util.Collections.unmodifiableList(usage_); bitField0_ = (bitField0_ & ~0x00000001); } result.usage_ = usage_; } else { result.usage_ = usageBuilder_.build(); } } private void buildPartial0(com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.summary_ = summaryBuilder_ == null ? summary_ : summaryBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse) { return mergeFrom((com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse other) { if (other == com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse.getDefaultInstance()) return this; if (usageBuilder_ == null) { if (!other.usage_.isEmpty()) { if (usage_.isEmpty()) { usage_ = other.usage_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUsageIsMutable(); usage_.addAll(other.usage_); } onChanged(); } } else { if (!other.usage_.isEmpty()) { if (usageBuilder_.isEmpty()) { usageBuilder_.dispose(); usageBuilder_ = null; usage_ = other.usage_; bitField0_ = (bitField0_ & ~0x00000001); usageBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUsageFieldBuilder() : null; } else { usageBuilder_.addAllMessages(other.usage_); } } } if (other.hasSummary()) { mergeSummary(other.getSummary()); } 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: { com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord m = input.readMessage( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.PARSER, extensionRegistry); if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.add(m); } else { usageBuilder_.addMessage(m); } break; } // case 10 case 18: { input.readMessage( getSummaryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List usage_ = java.util.Collections.emptyList(); private void ensureUsageIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { usage_ = new java.util.ArrayList(usage_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder> usageBuilder_; /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public java.util.List getUsageList() { if (usageBuilder_ == null) { return java.util.Collections.unmodifiableList(usage_); } else { return usageBuilder_.getMessageList(); } } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public int getUsageCount() { if (usageBuilder_ == null) { return usage_.size(); } else { return usageBuilder_.getCount(); } } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getUsage(int index) { if (usageBuilder_ == null) { return usage_.get(index); } else { return usageBuilder_.getMessage(index); } } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder setUsage( int index, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.set(index, value); onChanged(); } else { usageBuilder_.setMessage(index, value); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder setUsage( int index, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.set(index, builderForValue.build()); onChanged(); } else { usageBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder addUsage(com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.add(value); onChanged(); } else { usageBuilder_.addMessage(value); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder addUsage( int index, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.add(index, value); onChanged(); } else { usageBuilder_.addMessage(index, value); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder addUsage( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.add(builderForValue.build()); onChanged(); } else { usageBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder addUsage( int index, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.add(index, builderForValue.build()); onChanged(); } else { usageBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder addAllUsage( java.lang.Iterable values) { if (usageBuilder_ == null) { ensureUsageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, usage_); onChanged(); } else { usageBuilder_.addAllMessages(values); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder clearUsage() { if (usageBuilder_ == null) { usage_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { usageBuilder_.clear(); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public Builder removeUsage(int index) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.remove(index); onChanged(); } else { usageBuilder_.remove(index); } return this; } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder getUsageBuilder( int index) { return getUsageFieldBuilder().getBuilder(index); } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getUsageOrBuilder( int index) { if (usageBuilder_ == null) { return usage_.get(index); } else { return usageBuilder_.getMessageOrBuilder(index); } } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public java.util.List getUsageOrBuilderList() { if (usageBuilder_ != null) { return usageBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(usage_); } } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder addUsageBuilder() { return getUsageFieldBuilder().addBuilder( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance()); } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder addUsageBuilder( int index) { return getUsageFieldBuilder().addBuilder( index, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance()); } /** *
       * A LogUsageRecord for each version and time period requested, ordered by
       * time and then version.
       * 
* * repeated .java.apphosting.LogUsageRecord usage = 1; */ public java.util.List getUsageBuilderList() { return getUsageFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder> getUsageFieldBuilder() { if (usageBuilder_ == null) { usageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder>( usage_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); usage_ = null; } return usageBuilder_; } private com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord summary_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder> summaryBuilder_; /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return Whether the summary field is set. */ public boolean hasSummary() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; * @return The summary. */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord getSummary() { if (summaryBuilder_ == null) { return summary_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance() : summary_; } else { return summaryBuilder_.getMessage(); } } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public Builder setSummary(com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord value) { if (summaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } summary_ = value; } else { summaryBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public Builder setSummary( com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder builderForValue) { if (summaryBuilder_ == null) { summary_ = builderForValue.build(); } else { summaryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public Builder mergeSummary(com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord value) { if (summaryBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && summary_ != null && summary_ != com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance()) { getSummaryBuilder().mergeFrom(value); } else { summary_ = value; } } else { summaryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public Builder clearSummary() { bitField0_ = (bitField0_ & ~0x00000002); summary_ = null; if (summaryBuilder_ != null) { summaryBuilder_.dispose(); summaryBuilder_ = null; } onChanged(); return this; } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder getSummaryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSummaryFieldBuilder().getBuilder(); } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ public com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder getSummaryOrBuilder() { if (summaryBuilder_ != null) { return summaryBuilder_.getMessageOrBuilder(); } else { return summary_ == null ? com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.getDefaultInstance() : summary_; } } /** *
       * The sum of all data included in the repeated usage field above.
       * 
* * optional .java.apphosting.LogUsageRecord summary = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder> getSummaryFieldBuilder() { if (summaryBuilder_ == null) { summaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecord.Builder, com.google.apphosting.api.logservice.LogServicePb.LogUsageRecordOrBuilder>( getSummary(), getParentForChildren(), isClean()); summary_ = null; } return summaryBuilder_; } @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.LogUsageResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.LogUsageResponse) private static final com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse(); } public static com.google.apphosting.api.logservice.LogServicePb.LogUsageResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogUsageResponse 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.api.logservice.LogServicePb.LogUsageResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogServiceError_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogServiceError_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UserAppLogLine_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UserAppLogLine_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_UserAppLogGroup_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_UserAppLogGroup_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_FlushRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_FlushRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogOffset_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogOffset_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogLine_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogLine_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_RequestLog_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_RequestLog_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogModuleVersion_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogModuleVersion_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogReadRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogReadRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogReadResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogReadResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogUsageRecord_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogUsageRecord_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogUsageRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogUsageRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_LogUsageResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_LogUsageResponse_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\021log_service.proto\022\017java.apphosting\032\014so" + "urce.proto\"N\n\017LogServiceError\";\n\tErrorCo" + "de\022\006\n\002OK\020\000\022\023\n\017INVALID_REQUEST\020\001\022\021\n\rSTORA" + "GE_ERROR\020\002\"\202\001\n\016UserAppLogLine\022\026\n\016timesta" + "mp_usec\030\001 \002(\003\022\r\n\005level\030\002 \002(\003\022\017\n\007message\030" + "\003 \002(\t\0228\n\017source_location\030\004 \001(\0132\037.java.ap" + "phosting.SourceLocation\"D\n\017UserAppLogGro" + "up\0221\n\010log_line\030\002 \003(\0132\037.java.apphosting.U" + "serAppLogLine\"\034\n\014FlushRequest\022\014\n\004logs\030\001 " + "\001(\014\"B\n\tLogOffset\022\022\n\nrequest_id\030\001 \001(\014\022!\n\031" + "deprecated_request_id_set\030e \001(\010\"u\n\007LogLi" + "ne\022\014\n\004time\030\001 \002(\003\022\r\n\005level\030\002 \002(\005\022\023\n\013log_m" + "essage\030\003 \002(\t\0228\n\017source_location\030\004 \001(\0132\037." + "java.apphosting.SourceLocation\"\354\006\n\nReque" + "stLog\022\016\n\006app_id\030\001 \002(\t\022\032\n\tmodule_id\030% \001(\t" + ":\007default\022\022\n\nversion_id\030\002 \002(\t\022\022\n\nrequest" + "_id\030\003 \002(\014\022*\n\006offset\030# \001(\0132\032.java.apphost" + "ing.LogOffset\022\n\n\002ip\030\004 \002(\t\022\020\n\010nickname\030\005 " + "\001(\t\022\022\n\nstart_time\030\006 \002(\003\022\020\n\010end_time\030\007 \002(" + "\003\022\017\n\007latency\030\010 \002(\003\022\017\n\007mcycles\030\t \002(\003\022\016\n\006m" + "ethod\030\n \002(\t\022\020\n\010resource\030\013 \002(\t\022\024\n\014http_ve" + "rsion\030\014 \002(\t\022\016\n\006status\030\r \002(\005\022\025\n\rresponse_" + "size\030\016 \002(\003\022\020\n\010referrer\030\017 \001(\t\022\022\n\nuser_age" + "nt\030\020 \001(\t\022\025\n\rurl_map_entry\030\021 \002(\t\022\020\n\010combi" + "ned\030\022 \002(\t\022\023\n\013api_mcycles\030\023 \001(\003\022\014\n\004host\030\024" + " \001(\t\022\014\n\004cost\030\025 \001(\001\022\027\n\017task_queue_name\030\026 " + "\001(\t\022\021\n\ttask_name\030\027 \001(\t\022\033\n\023was_loading_re" + "quest\030\030 \001(\010\022\024\n\014pending_time\030\031 \001(\003\022\031\n\rrep" + "lica_index\030\032 \001(\005:\002-1\022\026\n\010finished\030\033 \001(\010:\004" + "true\022\021\n\tclone_key\030\034 \001(\014\022&\n\004line\030\035 \003(\0132\030." + "java.apphosting.LogLine\022\030\n\020lines_incompl" + "ete\030$ \001(\010\022\032\n\022app_engine_release\030& \001(\014\022\020\n" + "\010trace_id\030\' \001(\t\022\023\n\013exit_reason\030\036 \001(\005\022\036\n\026" + "was_throttled_for_time\030\037 \001(\010\022\"\n\032was_thro" + "ttled_for_requests\030 \001(\010\022\026\n\016throttled_ti" + "me\030! \001(\003\022\023\n\013server_name\030\" \001(\014\"\207\001\n\020LogMod" + "uleVersion\022\032\n\tmodule_id\030\001 \001(\t:\007default\022\022" + "\n\nversion_id\030\002 \001(\t\022 \n\030deprecated_module_" + "id_set\030e \001(\010\022!\n\031deprecated_version_id_se" + "t\030f \001(\010\"\301\006\n\016LogReadRequest\022\016\n\006app_id\030\001 \002" + "(\t\022\022\n\nversion_id\030\002 \003(\t\0229\n\016module_version" + "\030\023 \003(\0132!.java.apphosting.LogModuleVersio" + "n\022\022\n\nstart_time\030\003 \001(\003\022\020\n\010end_time\030\004 \001(\003\022" + "*\n\006offset\030\005 \001(\0132\032.java.apphosting.LogOff" + "set\022\022\n\nrequest_id\030\006 \003(\014\022\031\n\021minimum_log_l" + "evel\030\007 \001(\005\022\032\n\022include_incomplete\030\010 \001(\010\022\r" + "\n\005count\030\t \001(\003\022\032\n\022combined_log_regex\030\016 \001(" + "\t\022\022\n\nhost_regex\030\017 \001(\t\022\025\n\rreplica_index\030\020" + " \001(\005\022\030\n\020include_app_logs\030\n \001(\010\022\034\n\024app_lo" + "gs_per_request\030\021 \001(\005\022\024\n\014include_host\030\013 \001" + "(\010\022\023\n\013include_all\030\014 \001(\010\022\026\n\016cache_iterato" + "r\030\r \001(\010\022\022\n\nnum_shards\030\022 \001(\005\022!\n\031deprecate" + "d_start_time_set\030g \001(\010\022\037\n\027deprecated_end" + "_time_set\030h \001(\010\022(\n deprecated_minimum_lo" + "g_level_set\030k \001(\010\022\034\n\024deprecated_count_se" + "t\030m \001(\010\022)\n!deprecated_combined_log_regex" + "_set\030r \001(\010\022!\n\031deprecated_host_regex_set\030" + "s \001(\010\022$\n\034deprecated_replica_index_set\030t " + "\001(\010\022+\n#deprecated_app_logs_per_request_s" + "et\030u \001(\010\022!\n\031deprecated_num_shards_set\030v " + "\001(\010\"~\n\017LogReadResponse\022(\n\003log\030\001 \003(\0132\033.ja" + "va.apphosting.RequestLog\022*\n\006offset\030\002 \001(\013" + "2\032.java.apphosting.LogOffset\022\025\n\rlast_end" + "_time\030\003 \001(\003\"~\n\016LogUsageRecord\022\022\n\nversion" + "_id\030\001 \001(\t\022\022\n\nstart_time\030\002 \001(\005\022\020\n\010end_tim" + "e\030\003 \001(\005\022\r\n\005count\030\004 \001(\003\022\022\n\ntotal_size\030\005 \001" + "(\003\022\017\n\007records\030\006 \001(\005\"\217\002\n\017LogUsageRequest\022" + "\016\n\006app_id\030\001 \002(\t\022\022\n\nversion_id\030\002 \003(\t\022\022\n\ns" + "tart_time\030\003 \001(\005\022\020\n\010end_time\030\004 \001(\005\022\033\n\020res" + "olution_hours\030\005 \001(\r:\0011\022\030\n\020combine_versio" + "ns\030\006 \001(\010\022\025\n\rusage_version\030\007 \001(\005\022\025\n\rversi" + "ons_only\030\010 \001(\010\022\'\n\037deprecated_resolution_" + "hours_set\030i \001(\010\022$\n\034deprecated_usage_vers" + "ion_set\030k \001(\010\"t\n\020LogUsageResponse\022.\n\005usa" + "ge\030\001 \003(\0132\037.java.apphosting.LogUsageRecor" + "d\0220\n\007summary\030\002 \001(\0132\037.java.apphosting.Log" + "UsageRecordB4\n$com.google.apphosting.api" + ".logserviceB\014LogServicePb" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.apphosting.base.protos.SourcePb.getDescriptor(), }); internal_static_java_apphosting_LogServiceError_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_java_apphosting_LogServiceError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogServiceError_descriptor, new java.lang.String[] { }); internal_static_java_apphosting_UserAppLogLine_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_java_apphosting_UserAppLogLine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UserAppLogLine_descriptor, new java.lang.String[] { "TimestampUsec", "Level", "Message", "SourceLocation", }); internal_static_java_apphosting_UserAppLogGroup_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_java_apphosting_UserAppLogGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_UserAppLogGroup_descriptor, new java.lang.String[] { "LogLine", }); internal_static_java_apphosting_FlushRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_java_apphosting_FlushRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_FlushRequest_descriptor, new java.lang.String[] { "Logs", }); internal_static_java_apphosting_LogOffset_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_java_apphosting_LogOffset_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogOffset_descriptor, new java.lang.String[] { "RequestId", "DeprecatedRequestIdSet", }); internal_static_java_apphosting_LogLine_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_java_apphosting_LogLine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogLine_descriptor, new java.lang.String[] { "Time", "Level", "LogMessage", "SourceLocation", }); internal_static_java_apphosting_RequestLog_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_java_apphosting_RequestLog_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_RequestLog_descriptor, new java.lang.String[] { "AppId", "ModuleId", "VersionId", "RequestId", "Offset", "Ip", "Nickname", "StartTime", "EndTime", "Latency", "Mcycles", "Method", "Resource", "HttpVersion", "Status", "ResponseSize", "Referrer", "UserAgent", "UrlMapEntry", "Combined", "ApiMcycles", "Host", "Cost", "TaskQueueName", "TaskName", "WasLoadingRequest", "PendingTime", "ReplicaIndex", "Finished", "CloneKey", "Line", "LinesIncomplete", "AppEngineRelease", "TraceId", "ExitReason", "WasThrottledForTime", "WasThrottledForRequests", "ThrottledTime", "ServerName", }); internal_static_java_apphosting_LogModuleVersion_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_java_apphosting_LogModuleVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogModuleVersion_descriptor, new java.lang.String[] { "ModuleId", "VersionId", "DeprecatedModuleIdSet", "DeprecatedVersionIdSet", }); internal_static_java_apphosting_LogReadRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_java_apphosting_LogReadRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogReadRequest_descriptor, new java.lang.String[] { "AppId", "VersionId", "ModuleVersion", "StartTime", "EndTime", "Offset", "RequestId", "MinimumLogLevel", "IncludeIncomplete", "Count", "CombinedLogRegex", "HostRegex", "ReplicaIndex", "IncludeAppLogs", "AppLogsPerRequest", "IncludeHost", "IncludeAll", "CacheIterator", "NumShards", "DeprecatedStartTimeSet", "DeprecatedEndTimeSet", "DeprecatedMinimumLogLevelSet", "DeprecatedCountSet", "DeprecatedCombinedLogRegexSet", "DeprecatedHostRegexSet", "DeprecatedReplicaIndexSet", "DeprecatedAppLogsPerRequestSet", "DeprecatedNumShardsSet", }); internal_static_java_apphosting_LogReadResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_java_apphosting_LogReadResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogReadResponse_descriptor, new java.lang.String[] { "Log", "Offset", "LastEndTime", }); internal_static_java_apphosting_LogUsageRecord_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_java_apphosting_LogUsageRecord_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogUsageRecord_descriptor, new java.lang.String[] { "VersionId", "StartTime", "EndTime", "Count", "TotalSize", "Records", }); internal_static_java_apphosting_LogUsageRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_java_apphosting_LogUsageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogUsageRequest_descriptor, new java.lang.String[] { "AppId", "VersionId", "StartTime", "EndTime", "ResolutionHours", "CombineVersions", "UsageVersion", "VersionsOnly", "DeprecatedResolutionHoursSet", "DeprecatedUsageVersionSet", }); internal_static_java_apphosting_LogUsageResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_java_apphosting_LogUsageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_LogUsageResponse_descriptor, new java.lang.String[] { "Usage", "Summary", }); com.google.apphosting.base.protos.SourcePb.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy