POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Responses/GetMapObjectsResponse.proto
package POGOProtos.Networking.Responses;
public final class GetMapObjectsResponseOuterClass {
private GetMapObjectsResponseOuterClass() {}
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 GetMapObjectsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Responses.GetMapObjectsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
java.util.List
getMapCellsList();
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
POGOProtos.Map.MapCellOuterClass.MapCell getMapCells(int index);
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
int getMapCellsCount();
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
java.util.List extends POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder>
getMapCellsOrBuilderList();
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder getMapCellsOrBuilder(
int index);
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
int getStatusValue();
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus getStatus();
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
int getTimeOfDayValue();
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay getTimeOfDay();
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
java.util.List
getClientWeatherList();
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather getClientWeather(int index);
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
int getClientWeatherCount();
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
java.util.List extends POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder>
getClientWeatherOrBuilderList();
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder getClientWeatherOrBuilder(
int index);
}
/**
* Protobuf type {@code POGOProtos.Networking.Responses.GetMapObjectsResponse}
*/
public static final class GetMapObjectsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Responses.GetMapObjectsResponse)
GetMapObjectsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetMapObjectsResponse.newBuilder() to construct.
private GetMapObjectsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetMapObjectsResponse() {
mapCells_ = java.util.Collections.emptyList();
status_ = 0;
timeOfDay_ = 0;
clientWeather_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetMapObjectsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
mapCells_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
mapCells_.add(
input.readMessage(POGOProtos.Map.MapCellOuterClass.MapCell.parser(), extensionRegistry));
break;
}
case 16: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 24: {
int rawValue = input.readEnum();
timeOfDay_ = rawValue;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
clientWeather_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
clientWeather_.add(
input.readMessage(POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
mapCells_ = java.util.Collections.unmodifiableList(mapCells_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
clientWeather_ = java.util.Collections.unmodifiableList(clientWeather_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.class, POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.Builder.class);
}
/**
* Protobuf enum {@code POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay}
*/
public enum TimeOfDay
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0),
/**
* DAY = 1;
*/
DAY(1),
/**
* NIGHT = 2;
*/
NIGHT(2),
UNRECOGNIZED(-1),
;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* DAY = 1;
*/
public static final int DAY_VALUE = 1;
/**
* NIGHT = 2;
*/
public static final int NIGHT_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TimeOfDay valueOf(int value) {
return forNumber(value);
}
public static TimeOfDay forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return DAY;
case 2: return NIGHT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TimeOfDay> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TimeOfDay findValueByNumber(int number) {
return TimeOfDay.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 POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.getDescriptor().getEnumTypes().get(0);
}
private static final TimeOfDay[] VALUES = values();
public static TimeOfDay valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private TimeOfDay(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay)
}
private int bitField0_;
public static final int MAP_CELLS_FIELD_NUMBER = 1;
private java.util.List mapCells_;
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public java.util.List getMapCellsList() {
return mapCells_;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public java.util.List extends POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder>
getMapCellsOrBuilderList() {
return mapCells_;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public int getMapCellsCount() {
return mapCells_.size();
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCell getMapCells(int index) {
return mapCells_.get(index);
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder getMapCellsOrBuilder(
int index) {
return mapCells_.get(index);
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus result = POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.valueOf(status_);
return result == null ? POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.UNRECOGNIZED : result;
}
public static final int TIME_OF_DAY_FIELD_NUMBER = 3;
private int timeOfDay_;
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public int getTimeOfDayValue() {
return timeOfDay_;
}
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay getTimeOfDay() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay result = POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.valueOf(timeOfDay_);
return result == null ? POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.UNRECOGNIZED : result;
}
public static final int CLIENT_WEATHER_FIELD_NUMBER = 4;
private java.util.List clientWeather_;
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public java.util.List getClientWeatherList() {
return clientWeather_;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public java.util.List extends POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder>
getClientWeatherOrBuilderList() {
return clientWeather_;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public int getClientWeatherCount() {
return clientWeather_.size();
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather getClientWeather(int index) {
return clientWeather_.get(index);
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder getClientWeatherOrBuilder(
int index) {
return clientWeather_.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;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < mapCells_.size(); i++) {
output.writeMessage(1, mapCells_.get(i));
}
if (status_ != POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.UNSET_STATUS.getNumber()) {
output.writeEnum(2, status_);
}
if (timeOfDay_ != POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.NONE.getNumber()) {
output.writeEnum(3, timeOfDay_);
}
for (int i = 0; i < clientWeather_.size(); i++) {
output.writeMessage(4, clientWeather_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < mapCells_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, mapCells_.get(i));
}
if (status_ != POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.UNSET_STATUS.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, status_);
}
if (timeOfDay_ != POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, timeOfDay_);
}
for (int i = 0; i < clientWeather_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, clientWeather_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse)) {
return super.equals(obj);
}
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse other = (POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse) obj;
boolean result = true;
result = result && getMapCellsList()
.equals(other.getMapCellsList());
result = result && status_ == other.status_;
result = result && timeOfDay_ == other.timeOfDay_;
result = result && getClientWeatherList()
.equals(other.getClientWeatherList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getMapCellsCount() > 0) {
hash = (37 * hash) + MAP_CELLS_FIELD_NUMBER;
hash = (53 * hash) + getMapCellsList().hashCode();
}
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + TIME_OF_DAY_FIELD_NUMBER;
hash = (53 * hash) + timeOfDay_;
if (getClientWeatherCount() > 0) {
hash = (37 * hash) + CLIENT_WEATHER_FIELD_NUMBER;
hash = (53 * hash) + getClientWeatherList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse 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 POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse 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 POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse 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(POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse 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 POGOProtos.Networking.Responses.GetMapObjectsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Responses.GetMapObjectsResponse)
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.class, POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.Builder.class);
}
// Construct using POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMapCellsFieldBuilder();
getClientWeatherFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (mapCellsBuilder_ == null) {
mapCells_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
mapCellsBuilder_.clear();
}
status_ = 0;
timeOfDay_ = 0;
if (clientWeatherBuilder_ == null) {
clientWeather_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
clientWeatherBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse getDefaultInstanceForType() {
return POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse build() {
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse buildPartial() {
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse result = new POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (mapCellsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
mapCells_ = java.util.Collections.unmodifiableList(mapCells_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.mapCells_ = mapCells_;
} else {
result.mapCells_ = mapCellsBuilder_.build();
}
result.status_ = status_;
result.timeOfDay_ = timeOfDay_;
if (clientWeatherBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
clientWeather_ = java.util.Collections.unmodifiableList(clientWeather_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.clientWeather_ = clientWeather_;
} else {
result.clientWeather_ = clientWeatherBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse) {
return mergeFrom((POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse other) {
if (other == POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.getDefaultInstance()) return this;
if (mapCellsBuilder_ == null) {
if (!other.mapCells_.isEmpty()) {
if (mapCells_.isEmpty()) {
mapCells_ = other.mapCells_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMapCellsIsMutable();
mapCells_.addAll(other.mapCells_);
}
onChanged();
}
} else {
if (!other.mapCells_.isEmpty()) {
if (mapCellsBuilder_.isEmpty()) {
mapCellsBuilder_.dispose();
mapCellsBuilder_ = null;
mapCells_ = other.mapCells_;
bitField0_ = (bitField0_ & ~0x00000001);
mapCellsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMapCellsFieldBuilder() : null;
} else {
mapCellsBuilder_.addAllMessages(other.mapCells_);
}
}
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (other.timeOfDay_ != 0) {
setTimeOfDayValue(other.getTimeOfDayValue());
}
if (clientWeatherBuilder_ == null) {
if (!other.clientWeather_.isEmpty()) {
if (clientWeather_.isEmpty()) {
clientWeather_ = other.clientWeather_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureClientWeatherIsMutable();
clientWeather_.addAll(other.clientWeather_);
}
onChanged();
}
} else {
if (!other.clientWeather_.isEmpty()) {
if (clientWeatherBuilder_.isEmpty()) {
clientWeatherBuilder_.dispose();
clientWeatherBuilder_ = null;
clientWeather_ = other.clientWeather_;
bitField0_ = (bitField0_ & ~0x00000008);
clientWeatherBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getClientWeatherFieldBuilder() : null;
} else {
clientWeatherBuilder_.addAllMessages(other.clientWeather_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
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 {
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List mapCells_ =
java.util.Collections.emptyList();
private void ensureMapCellsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
mapCells_ = new java.util.ArrayList(mapCells_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.MapCellOuterClass.MapCell, POGOProtos.Map.MapCellOuterClass.MapCell.Builder, POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder> mapCellsBuilder_;
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public java.util.List getMapCellsList() {
if (mapCellsBuilder_ == null) {
return java.util.Collections.unmodifiableList(mapCells_);
} else {
return mapCellsBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public int getMapCellsCount() {
if (mapCellsBuilder_ == null) {
return mapCells_.size();
} else {
return mapCellsBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCell getMapCells(int index) {
if (mapCellsBuilder_ == null) {
return mapCells_.get(index);
} else {
return mapCellsBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder setMapCells(
int index, POGOProtos.Map.MapCellOuterClass.MapCell value) {
if (mapCellsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMapCellsIsMutable();
mapCells_.set(index, value);
onChanged();
} else {
mapCellsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder setMapCells(
int index, POGOProtos.Map.MapCellOuterClass.MapCell.Builder builderForValue) {
if (mapCellsBuilder_ == null) {
ensureMapCellsIsMutable();
mapCells_.set(index, builderForValue.build());
onChanged();
} else {
mapCellsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder addMapCells(POGOProtos.Map.MapCellOuterClass.MapCell value) {
if (mapCellsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMapCellsIsMutable();
mapCells_.add(value);
onChanged();
} else {
mapCellsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder addMapCells(
int index, POGOProtos.Map.MapCellOuterClass.MapCell value) {
if (mapCellsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMapCellsIsMutable();
mapCells_.add(index, value);
onChanged();
} else {
mapCellsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder addMapCells(
POGOProtos.Map.MapCellOuterClass.MapCell.Builder builderForValue) {
if (mapCellsBuilder_ == null) {
ensureMapCellsIsMutable();
mapCells_.add(builderForValue.build());
onChanged();
} else {
mapCellsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder addMapCells(
int index, POGOProtos.Map.MapCellOuterClass.MapCell.Builder builderForValue) {
if (mapCellsBuilder_ == null) {
ensureMapCellsIsMutable();
mapCells_.add(index, builderForValue.build());
onChanged();
} else {
mapCellsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder addAllMapCells(
java.lang.Iterable extends POGOProtos.Map.MapCellOuterClass.MapCell> values) {
if (mapCellsBuilder_ == null) {
ensureMapCellsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mapCells_);
onChanged();
} else {
mapCellsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder clearMapCells() {
if (mapCellsBuilder_ == null) {
mapCells_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mapCellsBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public Builder removeMapCells(int index) {
if (mapCellsBuilder_ == null) {
ensureMapCellsIsMutable();
mapCells_.remove(index);
onChanged();
} else {
mapCellsBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCell.Builder getMapCellsBuilder(
int index) {
return getMapCellsFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder getMapCellsOrBuilder(
int index) {
if (mapCellsBuilder_ == null) {
return mapCells_.get(index); } else {
return mapCellsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public java.util.List extends POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder>
getMapCellsOrBuilderList() {
if (mapCellsBuilder_ != null) {
return mapCellsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mapCells_);
}
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCell.Builder addMapCellsBuilder() {
return getMapCellsFieldBuilder().addBuilder(
POGOProtos.Map.MapCellOuterClass.MapCell.getDefaultInstance());
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public POGOProtos.Map.MapCellOuterClass.MapCell.Builder addMapCellsBuilder(
int index) {
return getMapCellsFieldBuilder().addBuilder(
index, POGOProtos.Map.MapCellOuterClass.MapCell.getDefaultInstance());
}
/**
* repeated .POGOProtos.Map.MapCell map_cells = 1;
*/
public java.util.List
getMapCellsBuilderList() {
return getMapCellsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.MapCellOuterClass.MapCell, POGOProtos.Map.MapCellOuterClass.MapCell.Builder, POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder>
getMapCellsFieldBuilder() {
if (mapCellsBuilder_ == null) {
mapCellsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.MapCellOuterClass.MapCell, POGOProtos.Map.MapCellOuterClass.MapCell.Builder, POGOProtos.Map.MapCellOuterClass.MapCellOrBuilder>(
mapCells_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
mapCells_ = null;
}
return mapCellsBuilder_;
}
private int status_ = 0;
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public int getStatusValue() {
return status_;
}
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus getStatus() {
@SuppressWarnings("deprecation")
POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus result = POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.valueOf(status_);
return result == null ? POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public Builder setStatus(POGOProtos.Map.MapObjectsStatusOuterClass.MapObjectsStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Map.MapObjectsStatus status = 2;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private int timeOfDay_ = 0;
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public int getTimeOfDayValue() {
return timeOfDay_;
}
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public Builder setTimeOfDayValue(int value) {
timeOfDay_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay getTimeOfDay() {
@SuppressWarnings("deprecation")
POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay result = POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.valueOf(timeOfDay_);
return result == null ? POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public Builder setTimeOfDay(POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse.TimeOfDay value) {
if (value == null) {
throw new NullPointerException();
}
timeOfDay_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Networking.Responses.GetMapObjectsResponse.TimeOfDay time_of_day = 3;
*/
public Builder clearTimeOfDay() {
timeOfDay_ = 0;
onChanged();
return this;
}
private java.util.List clientWeather_ =
java.util.Collections.emptyList();
private void ensureClientWeatherIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
clientWeather_ = new java.util.ArrayList(clientWeather_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder> clientWeatherBuilder_;
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public java.util.List getClientWeatherList() {
if (clientWeatherBuilder_ == null) {
return java.util.Collections.unmodifiableList(clientWeather_);
} else {
return clientWeatherBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public int getClientWeatherCount() {
if (clientWeatherBuilder_ == null) {
return clientWeather_.size();
} else {
return clientWeatherBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather getClientWeather(int index) {
if (clientWeatherBuilder_ == null) {
return clientWeather_.get(index);
} else {
return clientWeatherBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder setClientWeather(
int index, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather value) {
if (clientWeatherBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientWeatherIsMutable();
clientWeather_.set(index, value);
onChanged();
} else {
clientWeatherBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder setClientWeather(
int index, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder builderForValue) {
if (clientWeatherBuilder_ == null) {
ensureClientWeatherIsMutable();
clientWeather_.set(index, builderForValue.build());
onChanged();
} else {
clientWeatherBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder addClientWeather(POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather value) {
if (clientWeatherBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientWeatherIsMutable();
clientWeather_.add(value);
onChanged();
} else {
clientWeatherBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder addClientWeather(
int index, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather value) {
if (clientWeatherBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClientWeatherIsMutable();
clientWeather_.add(index, value);
onChanged();
} else {
clientWeatherBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder addClientWeather(
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder builderForValue) {
if (clientWeatherBuilder_ == null) {
ensureClientWeatherIsMutable();
clientWeather_.add(builderForValue.build());
onChanged();
} else {
clientWeatherBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder addClientWeather(
int index, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder builderForValue) {
if (clientWeatherBuilder_ == null) {
ensureClientWeatherIsMutable();
clientWeather_.add(index, builderForValue.build());
onChanged();
} else {
clientWeatherBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder addAllClientWeather(
java.lang.Iterable extends POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather> values) {
if (clientWeatherBuilder_ == null) {
ensureClientWeatherIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, clientWeather_);
onChanged();
} else {
clientWeatherBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder clearClientWeather() {
if (clientWeatherBuilder_ == null) {
clientWeather_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
clientWeatherBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public Builder removeClientWeather(int index) {
if (clientWeatherBuilder_ == null) {
ensureClientWeatherIsMutable();
clientWeather_.remove(index);
onChanged();
} else {
clientWeatherBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder getClientWeatherBuilder(
int index) {
return getClientWeatherFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder getClientWeatherOrBuilder(
int index) {
if (clientWeatherBuilder_ == null) {
return clientWeather_.get(index); } else {
return clientWeatherBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public java.util.List extends POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder>
getClientWeatherOrBuilderList() {
if (clientWeatherBuilder_ != null) {
return clientWeatherBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(clientWeather_);
}
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder addClientWeatherBuilder() {
return getClientWeatherFieldBuilder().addBuilder(
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.getDefaultInstance());
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder addClientWeatherBuilder(
int index) {
return getClientWeatherFieldBuilder().addBuilder(
index, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.getDefaultInstance());
}
/**
* repeated .POGOProtos.Map.Weather.ClientWeather client_weather = 4;
*/
public java.util.List
getClientWeatherBuilderList() {
return getClientWeatherFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder>
getClientWeatherFieldBuilder() {
if (clientWeatherBuilder_ == null) {
clientWeatherBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeather.Builder, POGOProtos.Map.Weather.ClientWeatherOuterClass.ClientWeatherOrBuilder>(
clientWeather_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
clientWeather_ = null;
}
return clientWeatherBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Networking.Responses.GetMapObjectsResponse)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Responses.GetMapObjectsResponse)
private static final POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse();
}
public static POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetMapObjectsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetMapObjectsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass.GetMapObjectsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_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;POGOProtos/Networking/Responses/GetMap" +
"ObjectsResponse.proto\022\037POGOProtos.Networ" +
"king.Responses\032\034POGOProtos/Map/MapCell.p" +
"roto\032%POGOProtos/Map/MapObjectsStatus.pr" +
"oto\032*POGOProtos/Map/Weather/ClientWeathe" +
"r.proto\"\266\002\n\025GetMapObjectsResponse\022*\n\tmap" +
"_cells\030\001 \003(\0132\027.POGOProtos.Map.MapCell\0220\n" +
"\006status\030\002 \001(\0162 .POGOProtos.Map.MapObject" +
"sStatus\022U\n\013time_of_day\030\003 \001(\[email protected]" +
"s.Networking.Responses.GetMapObjectsResp" +
"onse.TimeOfDay\022=\n\016client_weather\030\004 \003(\0132%" +
".POGOProtos.Map.Weather.ClientWeather\")\n" +
"\tTimeOfDay\022\010\n\004NONE\020\000\022\007\n\003DAY\020\001\022\t\n\005NIGHT\020\002" +
"b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Map.MapCellOuterClass.getDescriptor(),
POGOProtos.Map.MapObjectsStatusOuterClass.getDescriptor(),
POGOProtos.Map.Weather.ClientWeatherOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Responses_GetMapObjectsResponse_descriptor,
new java.lang.String[] { "MapCells", "Status", "TimeOfDay", "ClientWeather", });
POGOProtos.Map.MapCellOuterClass.getDescriptor();
POGOProtos.Map.MapObjectsStatusOuterClass.getDescriptor();
POGOProtos.Map.Weather.ClientWeatherOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy