io.bloombox.schema.services.dash.v1beta1.ListLocations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dash/v1beta1/DashService_Beta1.proto
package io.bloombox.schema.services.dash.v1beta1;
/**
*
* List locations for a given partner account.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations}
*/
public final class ListLocations extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.ListLocations)
ListLocationsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListLocations.newBuilder() to construct.
private ListLocations(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListLocations() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListLocations(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
default: {
if (!parseUnknownField(
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.dash.v1beta1.ListLocations.Request)
com.google.protobuf.MessageOrBuilder {
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
java.lang.String getPartner();
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
com.google.protobuf.ByteString
getPartnerBytes();
}
/**
*
* Request to list locations for a given partner account.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.ListLocations.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
partner_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
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: {
java.lang.String s = input.readStringRequireUtf8();
partner_ = s;
break;
}
default: {
if (!parseUnknownField(
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.Builder.class);
}
public static final int PARTNER_FIELD_NUMBER = 1;
private volatile java.lang.Object partner_;
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public java.lang.String getPartner() {
java.lang.Object ref = partner_;
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();
partner_ = s;
return s;
}
}
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public com.google.protobuf.ByteString
getPartnerBytes() {
java.lang.Object ref = partner_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getPartnerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partner_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPartnerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partner_);
}
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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request other = (io.bloombox.schema.services.dash.v1beta1.ListLocations.Request) obj;
if (!getPartner()
.equals(other.getPartner())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARTNER_FIELD_NUMBER;
hash = (53 * hash) + getPartner().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request 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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request 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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request 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(io.bloombox.schema.services.dash.v1beta1.ListLocations.Request 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 list locations for a given partner account.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.ListLocations.Request)
io.bloombox.schema.services.dash.v1beta1.ListLocations.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
partner_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Request build() {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Request buildPartial() {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request result = new io.bloombox.schema.services.dash.v1beta1.ListLocations.Request(this);
result.partner_ = partner_;
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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Request) {
return mergeFrom((io.bloombox.schema.services.dash.v1beta1.ListLocations.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.ListLocations.Request other) {
if (other == io.bloombox.schema.services.dash.v1beta1.ListLocations.Request.getDefaultInstance()) return this;
if (!other.getPartner().isEmpty()) {
partner_ = other.partner_;
onChanged();
}
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 {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.dash.v1beta1.ListLocations.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object partner_ = "";
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public java.lang.String getPartner() {
java.lang.Object ref = partner_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partner_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public com.google.protobuf.ByteString
getPartnerBytes() {
java.lang.Object ref = partner_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partner_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public Builder setPartner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
partner_ = value;
onChanged();
return this;
}
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public Builder clearPartner() {
partner_ = getDefaultInstance().getPartner();
onChanged();
return this;
}
/**
*
* Shortcode for the partner for which we want to list locations.
*
*
* string partner = 1;
*/
public Builder setPartnerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
partner_ = value;
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:bloombox.services.dash.v1beta1.ListLocations.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.ListLocations.Request)
private static final io.bloombox.schema.services.dash.v1beta1.ListLocations.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.ListLocations.Request();
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.dash.v1beta1.ListLocations.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
java.util.List
getLocationsList();
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocations(int index);
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
int getLocationsCount();
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
java.util.List extends io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>
getLocationsOrBuilderList();
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationsOrBuilder(
int index);
}
/**
*
* Response to a request to list locations for a given partner.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.ListLocations.Response)
ResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use Response.newBuilder() to construct.
private Response(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Response() {
locations_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Response(
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) != 0)) {
locations_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locations_.add(
input.readMessage(io.bloombox.schema.partner.LocationAccount.PartnerLocation.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
locations_ = java.util.Collections.unmodifiableList(locations_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.Builder.class);
}
public static final int LOCATIONS_FIELD_NUMBER = 1;
private java.util.List locations_;
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public java.util.List getLocationsList() {
return locations_;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public java.util.List extends io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>
getLocationsOrBuilderList() {
return locations_;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public int getLocationsCount() {
return locations_.size();
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocations(int index) {
return locations_.get(index);
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationsOrBuilder(
int index) {
return locations_.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 < locations_.size(); i++) {
output.writeMessage(1, locations_.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 < locations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locations_.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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Response)) {
return super.equals(obj);
}
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response other = (io.bloombox.schema.services.dash.v1beta1.ListLocations.Response) obj;
if (!getLocationsList()
.equals(other.getLocationsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLocationsCount() > 0) {
hash = (37 * hash) + LOCATIONS_FIELD_NUMBER;
hash = (53 * hash) + getLocationsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response 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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response 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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response 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(io.bloombox.schema.services.dash.v1beta1.ListLocations.Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Response to a request to list locations for a given partner.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.ListLocations.Response)
io.bloombox.schema.services.dash.v1beta1.ListLocations.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.Builder.class);
}
// Construct using io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocationsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locationsBuilder_ == null) {
locations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locationsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_Response_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Response getDefaultInstanceForType() {
return io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Response build() {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations.Response buildPartial() {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response result = new io.bloombox.schema.services.dash.v1beta1.ListLocations.Response(this);
int from_bitField0_ = bitField0_;
if (locationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locations_ = java.util.Collections.unmodifiableList(locations_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locations_ = locations_;
} else {
result.locations_ = locationsBuilder_.build();
}
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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Response) {
return mergeFrom((io.bloombox.schema.services.dash.v1beta1.ListLocations.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.ListLocations.Response other) {
if (other == io.bloombox.schema.services.dash.v1beta1.ListLocations.Response.getDefaultInstance()) return this;
if (locationsBuilder_ == null) {
if (!other.locations_.isEmpty()) {
if (locations_.isEmpty()) {
locations_ = other.locations_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocationsIsMutable();
locations_.addAll(other.locations_);
}
onChanged();
}
} else {
if (!other.locations_.isEmpty()) {
if (locationsBuilder_.isEmpty()) {
locationsBuilder_.dispose();
locationsBuilder_ = null;
locations_ = other.locations_;
bitField0_ = (bitField0_ & ~0x00000001);
locationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocationsFieldBuilder() : null;
} else {
locationsBuilder_.addAllMessages(other.locations_);
}
}
}
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 {
io.bloombox.schema.services.dash.v1beta1.ListLocations.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.dash.v1beta1.ListLocations.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locations_ =
java.util.Collections.emptyList();
private void ensureLocationsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locations_ = new java.util.ArrayList(locations_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder> locationsBuilder_;
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public java.util.List getLocationsList() {
if (locationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locations_);
} else {
return locationsBuilder_.getMessageList();
}
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public int getLocationsCount() {
if (locationsBuilder_ == null) {
return locations_.size();
} else {
return locationsBuilder_.getCount();
}
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocations(int index) {
if (locationsBuilder_ == null) {
return locations_.get(index);
} else {
return locationsBuilder_.getMessage(index);
}
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder setLocations(
int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.set(index, value);
onChanged();
} else {
locationsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder setLocations(
int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.set(index, builderForValue.build());
onChanged();
} else {
locationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder addLocations(io.bloombox.schema.partner.LocationAccount.PartnerLocation value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.add(value);
onChanged();
} else {
locationsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder addLocations(
int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation value) {
if (locationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocationsIsMutable();
locations_.add(index, value);
onChanged();
} else {
locationsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder addLocations(
io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.add(builderForValue.build());
onChanged();
} else {
locationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder addLocations(
int index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.add(index, builderForValue.build());
onChanged();
} else {
locationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder addAllLocations(
java.lang.Iterable extends io.bloombox.schema.partner.LocationAccount.PartnerLocation> values) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locations_);
onChanged();
} else {
locationsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder clearLocations() {
if (locationsBuilder_ == null) {
locations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locationsBuilder_.clear();
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public Builder removeLocations(int index) {
if (locationsBuilder_ == null) {
ensureLocationsIsMutable();
locations_.remove(index);
onChanged();
} else {
locationsBuilder_.remove(index);
}
return this;
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder getLocationsBuilder(
int index) {
return getLocationsFieldBuilder().getBuilder(index);
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationsOrBuilder(
int index) {
if (locationsBuilder_ == null) {
return locations_.get(index); } else {
return locationsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public java.util.List extends io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>
getLocationsOrBuilderList() {
if (locationsBuilder_ != null) {
return locationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locations_);
}
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder addLocationsBuilder() {
return getLocationsFieldBuilder().addBuilder(
io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance());
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder addLocationsBuilder(
int index) {
return getLocationsFieldBuilder().addBuilder(
index, io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance());
}
/**
*
* Locations owned by the partner, if the partner record could be located.
*
*
* repeated .bloombox.partner.PartnerLocation locations = 1;
*/
public java.util.List
getLocationsBuilderList() {
return getLocationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>
getLocationsFieldBuilder() {
if (locationsBuilder_ == null) {
locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>(
locations_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locations_ = null;
}
return locationsBuilder_;
}
@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:bloombox.services.dash.v1beta1.ListLocations.Response)
}
// @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.ListLocations.Response)
private static final io.bloombox.schema.services.dash.v1beta1.ListLocations.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.ListLocations.Response();
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations.Response getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Response parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Response(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 io.bloombox.schema.services.dash.v1beta1.ListLocations.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 io.bloombox.schema.services.dash.v1beta1.ListLocations)) {
return super.equals(obj);
}
io.bloombox.schema.services.dash.v1beta1.ListLocations other = (io.bloombox.schema.services.dash.v1beta1.ListLocations) obj;
if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations 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 io.bloombox.schema.services.dash.v1beta1.ListLocations parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations 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 io.bloombox.schema.services.dash.v1beta1.ListLocations parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations 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(io.bloombox.schema.services.dash.v1beta1.ListLocations 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;
}
/**
*
* List locations for a given partner account.
*
*
* Protobuf type {@code bloombox.services.dash.v1beta1.ListLocations}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.ListLocations)
io.bloombox.schema.services.dash.v1beta1.ListLocationsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.dash.v1beta1.ListLocations.class, io.bloombox.schema.services.dash.v1beta1.ListLocations.Builder.class);
}
// Construct using io.bloombox.schema.services.dash.v1beta1.ListLocations.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_ListLocations_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations getDefaultInstanceForType() {
return io.bloombox.schema.services.dash.v1beta1.ListLocations.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations build() {
io.bloombox.schema.services.dash.v1beta1.ListLocations result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.dash.v1beta1.ListLocations buildPartial() {
io.bloombox.schema.services.dash.v1beta1.ListLocations result = new io.bloombox.schema.services.dash.v1beta1.ListLocations(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 io.bloombox.schema.services.dash.v1beta1.ListLocations) {
return mergeFrom((io.bloombox.schema.services.dash.v1beta1.ListLocations)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.ListLocations other) {
if (other == io.bloombox.schema.services.dash.v1beta1.ListLocations.getDefaultInstance()) return this;
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 {
io.bloombox.schema.services.dash.v1beta1.ListLocations parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.dash.v1beta1.ListLocations) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:bloombox.services.dash.v1beta1.ListLocations)
}
// @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.ListLocations)
private static final io.bloombox.schema.services.dash.v1beta1.ListLocations DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.ListLocations();
}
public static io.bloombox.schema.services.dash.v1beta1.ListLocations getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListLocations parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListLocations(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 io.bloombox.schema.services.dash.v1beta1.ListLocations getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy