public final class

S2TileProto

extends <any>

implements S2TileProtoOrBuilder

 java.lang.Object

↳<any>

↳androidx.core.location.altitude.impl.proto.S2TileProto

Gradle dependencies

compile group: 'androidx.core', name: 'core-location-altitude-proto', version: '1.0.0-alpha02'

  • groupId: androidx.core
  • artifactId: core-location-altitude-proto
  • version: 1.0.0-alpha02

Artifact androidx.core:core-location-altitude-proto:1.0.0-alpha02 it located at Google repository (https://maven.google.com/)

Overview

 A single tile associating values in the unit interval [0, 1] to map cells.
 
Protobuf type androidx.core.location.altitude.impl.proto.S2TileProto

Summary

Fields
public static final intBYTE_BUFFER_FIELD_NUMBER

public static final intBYTE_JPEG_FIELD_NUMBER

public static final intBYTE_PNG_FIELD_NUMBER

public static final intTILE_KEY_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public com.google.protobuf.ByteStringgetByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public com.google.protobuf.ByteStringgetByteJpeg()

optional bytes byte_jpeg = 3;

public com.google.protobuf.ByteStringgetBytePng()

optional bytes byte_png = 4;

public static S2TileProtogetDefaultInstance()

public java.lang.StringgetTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.

public com.google.protobuf.ByteStringgetTileKeyBytes()

 The S2 token associated with the common parent of all map cells in this
 tile.

public booleanhasByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.

public booleanhasByteJpeg()

optional bytes byte_jpeg = 3;

public booleanhasBytePng()

optional bytes byte_png = 4;

public booleanhasTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.

public static S2TileProto.BuildernewBuilder()

public static S2TileProto.BuildernewBuilder(S2TileProto prototype)

public static S2TileProtoparseDelimitedFrom(java.io.InputStream input)

public static S2TileProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProtoparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProtoparseFrom(java.nio.ByteBuffer data)

public static S2TileProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProtoparseFrom(com.google.protobuf.ByteString data)

public static S2TileProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProtoparseFrom(com.google.protobuf.CodedInputStream input)

public static S2TileProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int TILE_KEY_FIELD_NUMBER

public static final int BYTE_BUFFER_FIELD_NUMBER

public static final int BYTE_JPEG_FIELD_NUMBER

public static final int BYTE_PNG_FIELD_NUMBER

Methods

public boolean hasTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

Whether the tileKey field is set.

public java.lang.String getTileKey()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

The tileKey.

public com.google.protobuf.ByteString getTileKeyBytes()

 The S2 token associated with the common parent of all map cells in this
 tile.
 
optional string tile_key = 1;

Returns:

The bytes for tileKey.

public boolean hasByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Returns:

Whether the byteBuffer field is set.

public com.google.protobuf.ByteString getByteBuffer()

 Encoded data that merge into a value in the unit interval [0, 1] for each
 map cell in this tile.
 
optional bytes byte_buffer = 2;

Returns:

The byteBuffer.

public boolean hasByteJpeg()

optional bytes byte_jpeg = 3;

Returns:

Whether the byteJpeg field is set.

public com.google.protobuf.ByteString getByteJpeg()

optional bytes byte_jpeg = 3;

Returns:

The byteJpeg.

public boolean hasBytePng()

optional bytes byte_png = 4;

Returns:

Whether the bytePng field is set.

public com.google.protobuf.ByteString getBytePng()

optional bytes byte_png = 4;

Returns:

The bytePng.

public static S2TileProto parseFrom(java.nio.ByteBuffer data)

public static S2TileProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto parseFrom(com.google.protobuf.ByteString data)

public static S2TileProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto parseDelimitedFrom(java.io.InputStream input)

public static S2TileProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto parseFrom(com.google.protobuf.CodedInputStream input)

public static S2TileProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static S2TileProto.Builder newBuilder()

public static S2TileProto.Builder newBuilder(S2TileProto prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static S2TileProto getDefaultInstance()

public static <any> parser()

Source

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: s2_tile.proto

package androidx.core.location.altitude.impl.proto;

/**
 * <pre>
 * A single tile associating values in the unit interval [0, 1] to map cells.
 * </pre>
 *
 * Protobuf type {@code androidx.core.location.altitude.impl.proto.S2TileProto}
 */
public  final class S2TileProto extends
    com.google.protobuf.GeneratedMessageLite<
        S2TileProto, S2TileProto.Builder> implements
    // @@protoc_insertion_point(message_implements:androidx.core.location.altitude.impl.proto.S2TileProto)
    S2TileProtoOrBuilder {
  private S2TileProto() {
    tileKey_ = "";
    byteBuffer_ = com.google.protobuf.ByteString.EMPTY;
    byteJpeg_ = com.google.protobuf.ByteString.EMPTY;
    bytePng_ = com.google.protobuf.ByteString.EMPTY;
  }
  private int bitField0_;
  public static final int TILE_KEY_FIELD_NUMBER = 1;
  private java.lang.String tileKey_;
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   * @return Whether the tileKey field is set.
   */
  @java.lang.Override
  public boolean hasTileKey() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   * @return The tileKey.
   */
  @java.lang.Override
  public java.lang.String getTileKey() {
    return tileKey_;
  }
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   * @return The bytes for tileKey.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTileKeyBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(tileKey_);
  }
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   * @param value The tileKey to set.
   */
  private void setTileKey(
      java.lang.String value) {
    java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000001;
    tileKey_ = value;
  }
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   */
  private void clearTileKey() {
    bitField0_ = (bitField0_ & ~0x00000001);
    tileKey_ = getDefaultInstance().getTileKey();
  }
  /**
   * <pre>
   * The S2 token associated with the common parent of all map cells in this
   * tile.
   * </pre>
   *
   * <code>optional string tile_key = 1;</code>
   * @param value The bytes for tileKey to set.
   */
  private void setTileKeyBytes(
      com.google.protobuf.ByteString value) {
    tileKey_ = value.toStringUtf8();
    bitField0_ |= 0x00000001;
  }

  public static final int BYTE_BUFFER_FIELD_NUMBER = 2;
  private com.google.protobuf.ByteString byteBuffer_;
  /**
   * <pre>
   * Encoded data that merge into a value in the unit interval [0, 1] for each
   * map cell in this tile.
   * </pre>
   *
   * <code>optional bytes byte_buffer = 2;</code>
   * @return Whether the byteBuffer field is set.
   */
  @java.lang.Override
  public boolean hasByteBuffer() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * <pre>
   * Encoded data that merge into a value in the unit interval [0, 1] for each
   * map cell in this tile.
   * </pre>
   *
   * <code>optional bytes byte_buffer = 2;</code>
   * @return The byteBuffer.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getByteBuffer() {
    return byteBuffer_;
  }
  /**
   * <pre>
   * Encoded data that merge into a value in the unit interval [0, 1] for each
   * map cell in this tile.
   * </pre>
   *
   * <code>optional bytes byte_buffer = 2;</code>
   * @param value The byteBuffer to set.
   */
  private void setByteBuffer(com.google.protobuf.ByteString value) {
    java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000002;
    byteBuffer_ = value;
  }
  /**
   * <pre>
   * Encoded data that merge into a value in the unit interval [0, 1] for each
   * map cell in this tile.
   * </pre>
   *
   * <code>optional bytes byte_buffer = 2;</code>
   */
  private void clearByteBuffer() {
    bitField0_ = (bitField0_ & ~0x00000002);
    byteBuffer_ = getDefaultInstance().getByteBuffer();
  }

  public static final int BYTE_JPEG_FIELD_NUMBER = 3;
  private com.google.protobuf.ByteString byteJpeg_;
  /**
   * <code>optional bytes byte_jpeg = 3;</code>
   * @return Whether the byteJpeg field is set.
   */
  @java.lang.Override
  public boolean hasByteJpeg() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * <code>optional bytes byte_jpeg = 3;</code>
   * @return The byteJpeg.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getByteJpeg() {
    return byteJpeg_;
  }
  /**
   * <code>optional bytes byte_jpeg = 3;</code>
   * @param value The byteJpeg to set.
   */
  private void setByteJpeg(com.google.protobuf.ByteString value) {
    java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000004;
    byteJpeg_ = value;
  }
  /**
   * <code>optional bytes byte_jpeg = 3;</code>
   */
  private void clearByteJpeg() {
    bitField0_ = (bitField0_ & ~0x00000004);
    byteJpeg_ = getDefaultInstance().getByteJpeg();
  }

  public static final int BYTE_PNG_FIELD_NUMBER = 4;
  private com.google.protobuf.ByteString bytePng_;
  /**
   * <code>optional bytes byte_png = 4;</code>
   * @return Whether the bytePng field is set.
   */
  @java.lang.Override
  public boolean hasBytePng() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * <code>optional bytes byte_png = 4;</code>
   * @return The bytePng.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getBytePng() {
    return bytePng_;
  }
  /**
   * <code>optional bytes byte_png = 4;</code>
   * @param value The bytePng to set.
   */
  private void setBytePng(com.google.protobuf.ByteString value) {
    java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000008;
    bytePng_ = value;
  }
  /**
   * <code>optional bytes byte_png = 4;</code>
   */
  private void clearBytePng() {
    bitField0_ = (bitField0_ & ~0x00000008);
    bytePng_ = getDefaultInstance().getBytePng();
  }

  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static androidx.core.location.altitude.impl.proto.S2TileProto parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(androidx.core.location.altitude.impl.proto.S2TileProto prototype) {
    return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * <pre>
   * A single tile associating values in the unit interval [0, 1] to map cells.
   * </pre>
   *
   * Protobuf type {@code androidx.core.location.altitude.impl.proto.S2TileProto}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        androidx.core.location.altitude.impl.proto.S2TileProto, Builder> implements
      // @@protoc_insertion_point(builder_implements:androidx.core.location.altitude.impl.proto.S2TileProto)
      androidx.core.location.altitude.impl.proto.S2TileProtoOrBuilder {
    // Construct using androidx.core.location.altitude.impl.proto.S2TileProto.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @return Whether the tileKey field is set.
     */
    @java.lang.Override
    public boolean hasTileKey() {
      return instance.hasTileKey();
    }
    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @return The tileKey.
     */
    @java.lang.Override
    public java.lang.String getTileKey() {
      return instance.getTileKey();
    }
    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @return The bytes for tileKey.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTileKeyBytes() {
      return instance.getTileKeyBytes();
    }
    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @param value The tileKey to set.
     * @return This builder for chaining.
     */
    public Builder setTileKey(
        java.lang.String value) {
      copyOnWrite();
      instance.setTileKey(value);
      return this;
    }
    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearTileKey() {
      copyOnWrite();
      instance.clearTileKey();
      return this;
    }
    /**
     * <pre>
     * The S2 token associated with the common parent of all map cells in this
     * tile.
     * </pre>
     *
     * <code>optional string tile_key = 1;</code>
     * @param value The bytes for tileKey to set.
     * @return This builder for chaining.
     */
    public Builder setTileKeyBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setTileKeyBytes(value);
      return this;
    }

    /**
     * <pre>
     * Encoded data that merge into a value in the unit interval [0, 1] for each
     * map cell in this tile.
     * </pre>
     *
     * <code>optional bytes byte_buffer = 2;</code>
     * @return Whether the byteBuffer field is set.
     */
    @java.lang.Override
    public boolean hasByteBuffer() {
      return instance.hasByteBuffer();
    }
    /**
     * <pre>
     * Encoded data that merge into a value in the unit interval [0, 1] for each
     * map cell in this tile.
     * </pre>
     *
     * <code>optional bytes byte_buffer = 2;</code>
     * @return The byteBuffer.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getByteBuffer() {
      return instance.getByteBuffer();
    }
    /**
     * <pre>
     * Encoded data that merge into a value in the unit interval [0, 1] for each
     * map cell in this tile.
     * </pre>
     *
     * <code>optional bytes byte_buffer = 2;</code>
     * @param value The byteBuffer to set.
     * @return This builder for chaining.
     */
    public Builder setByteBuffer(com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setByteBuffer(value);
      return this;
    }
    /**
     * <pre>
     * Encoded data that merge into a value in the unit interval [0, 1] for each
     * map cell in this tile.
     * </pre>
     *
     * <code>optional bytes byte_buffer = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearByteBuffer() {
      copyOnWrite();
      instance.clearByteBuffer();
      return this;
    }

    /**
     * <code>optional bytes byte_jpeg = 3;</code>
     * @return Whether the byteJpeg field is set.
     */
    @java.lang.Override
    public boolean hasByteJpeg() {
      return instance.hasByteJpeg();
    }
    /**
     * <code>optional bytes byte_jpeg = 3;</code>
     * @return The byteJpeg.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getByteJpeg() {
      return instance.getByteJpeg();
    }
    /**
     * <code>optional bytes byte_jpeg = 3;</code>
     * @param value The byteJpeg to set.
     * @return This builder for chaining.
     */
    public Builder setByteJpeg(com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setByteJpeg(value);
      return this;
    }
    /**
     * <code>optional bytes byte_jpeg = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearByteJpeg() {
      copyOnWrite();
      instance.clearByteJpeg();
      return this;
    }

    /**
     * <code>optional bytes byte_png = 4;</code>
     * @return Whether the bytePng field is set.
     */
    @java.lang.Override
    public boolean hasBytePng() {
      return instance.hasBytePng();
    }
    /**
     * <code>optional bytes byte_png = 4;</code>
     * @return The bytePng.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getBytePng() {
      return instance.getBytePng();
    }
    /**
     * <code>optional bytes byte_png = 4;</code>
     * @param value The bytePng to set.
     * @return This builder for chaining.
     */
    public Builder setBytePng(com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setBytePng(value);
      return this;
    }
    /**
     * <code>optional bytes byte_png = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearBytePng() {
      copyOnWrite();
      instance.clearBytePng();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:androidx.core.location.altitude.impl.proto.S2TileProto)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new androidx.core.location.altitude.impl.proto.S2TileProto();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "tileKey_",
            "byteBuffer_",
            "byteJpeg_",
            "bytePng_",
          };
          java.lang.String info =
              "\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
              "\u100a\u0001\u0003\u100a\u0002\u0004\u100a\u0003";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser<androidx.core.location.altitude.impl.proto.S2TileProto> parser = PARSER;
        if (parser == null) {
          synchronized (androidx.core.location.altitude.impl.proto.S2TileProto.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser<androidx.core.location.altitude.impl.proto.S2TileProto>(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:androidx.core.location.altitude.impl.proto.S2TileProto)
  private static final androidx.core.location.altitude.impl.proto.S2TileProto DEFAULT_INSTANCE;
  static {
    S2TileProto defaultInstance = new S2TileProto();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      S2TileProto.class, defaultInstance);
  }

  public static androidx.core.location.altitude.impl.proto.S2TileProto getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser<S2TileProto> PARSER;

  public static com.google.protobuf.Parser<S2TileProto> parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}