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

io.bloombox.schema.services.dash.v1beta1.GetLocation Maven / Gradle / Ivy

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;

/**
 * 
 * Retrieve an individual partner location record.
 * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation} */ public final class GetLocation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.GetLocation) GetLocationOrBuilder { private static final long serialVersionUID = 0L; // Use GetLocation.newBuilder() to construct. private GetLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetLocation() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetLocation( 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_GetLocation_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_GetLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.dash.v1beta1.GetLocation.Request) com.google.protobuf.MessageOrBuilder { /** *
     * Shorcode for the partner that owns the desired location.
     * 
* * string partner = 1; */ java.lang.String getPartner(); /** *
     * Shorcode for the partner that owns the desired location.
     * 
* * string partner = 1; */ com.google.protobuf.ByteString getPartnerBytes(); /** *
     * Shortcode for the desired location.
     * 
* * string location = 2; */ java.lang.String getLocation(); /** *
     * Shortcode for the desired location.
     * 
* * string location = 2; */ com.google.protobuf.ByteString getLocationBytes(); } /** *
   * Request to retrieve an individual partner location record.
   * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.GetLocation.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_ = ""; location_ = ""; } @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; } case 18: { java.lang.String s = input.readStringRequireUtf8(); location_ = 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_GetLocation_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_GetLocation_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.Builder.class); } public static final int PARTNER_FIELD_NUMBER = 1; private volatile java.lang.Object partner_; /** *
     * Shorcode for the partner that owns the desired location.
     * 
* * 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; } } /** *
     * Shorcode for the partner that owns the desired location.
     * 
* * 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; } } public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** *
     * Shortcode for the desired location.
     * 
* * string location = 2; */ public java.lang.String getLocation() { java.lang.Object ref = location_; 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(); location_ = s; return s; } } /** *
     * Shortcode for the desired location.
     * 
* * string location = 2; */ public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); location_ = 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_); } if (!getLocationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, location_); } 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_); } if (!getLocationBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); } 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.GetLocation.Request)) { return super.equals(obj); } io.bloombox.schema.services.dash.v1beta1.GetLocation.Request other = (io.bloombox.schema.services.dash.v1beta1.GetLocation.Request) obj; if (!getPartner() .equals(other.getPartner())) return false; if (!getLocation() .equals(other.getLocation())) 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 = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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 retrieve an individual partner location record.
     * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.GetLocation.Request) io.bloombox.schema.services.dash.v1beta1.GetLocation.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_GetLocation_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_GetLocation_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.Builder.class); } // Construct using io.bloombox.schema.services.dash.v1beta1.GetLocation.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_ = ""; location_ = ""; 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_GetLocation_Request_descriptor; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Request getDefaultInstanceForType() { return io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Request build() { io.bloombox.schema.services.dash.v1beta1.GetLocation.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Request buildPartial() { io.bloombox.schema.services.dash.v1beta1.GetLocation.Request result = new io.bloombox.schema.services.dash.v1beta1.GetLocation.Request(this); result.partner_ = partner_; result.location_ = location_; 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.GetLocation.Request) { return mergeFrom((io.bloombox.schema.services.dash.v1beta1.GetLocation.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.GetLocation.Request other) { if (other == io.bloombox.schema.services.dash.v1beta1.GetLocation.Request.getDefaultInstance()) return this; if (!other.getPartner().isEmpty()) { partner_ = other.partner_; onChanged(); } if (!other.getLocation().isEmpty()) { location_ = other.location_; 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.GetLocation.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.dash.v1beta1.GetLocation.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object partner_ = ""; /** *
       * Shorcode for the partner that owns the desired location.
       * 
* * 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; } } /** *
       * Shorcode for the partner that owns the desired location.
       * 
* * 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; } } /** *
       * Shorcode for the partner that owns the desired location.
       * 
* * string partner = 1; */ public Builder setPartner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partner_ = value; onChanged(); return this; } /** *
       * Shorcode for the partner that owns the desired location.
       * 
* * string partner = 1; */ public Builder clearPartner() { partner_ = getDefaultInstance().getPartner(); onChanged(); return this; } /** *
       * Shorcode for the partner that owns the desired location.
       * 
* * string partner = 1; */ public Builder setPartnerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partner_ = value; onChanged(); return this; } private java.lang.Object location_ = ""; /** *
       * Shortcode for the desired location.
       * 
* * string location = 2; */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Shortcode for the desired location.
       * 
* * string location = 2; */ public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); location_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Shortcode for the desired location.
       * 
* * string location = 2; */ public Builder setLocation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } location_ = value; onChanged(); return this; } /** *
       * Shortcode for the desired location.
       * 
* * string location = 2; */ public Builder clearLocation() { location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** *
       * Shortcode for the desired location.
       * 
* * string location = 2; */ public Builder setLocationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = 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.GetLocation.Request) } // @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.GetLocation.Request) private static final io.bloombox.schema.services.dash.v1beta1.GetLocation.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.GetLocation.Request(); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.dash.v1beta1.GetLocation.Response) com.google.protobuf.MessageOrBuilder { /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ boolean hasLocation(); /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation(); /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder(); } /** *
   * Response to a request to retrieve an individual location.
   * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.dash.v1beta1.GetLocation.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() { } @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: { io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder subBuilder = null; if (location_ != null) { subBuilder = location_.toBuilder(); } location_ = input.readMessage(io.bloombox.schema.partner.LocationAccount.PartnerLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(location_); location_ = subBuilder.buildPartial(); } 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_GetLocation_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_GetLocation_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private io.bloombox.schema.partner.LocationAccount.PartnerLocation location_; /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ public boolean hasLocation() { return location_ != null; } /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation() { return location_ == null ? io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance() : location_; } /** *
     * Resulting location record.
     * 
* * .bloombox.partner.PartnerLocation location = 1; */ public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder() { return getLocation(); } 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 (location_ != null) { output.writeMessage(1, getLocation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (location_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLocation()); } 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.GetLocation.Response)) { return super.equals(obj); } io.bloombox.schema.services.dash.v1beta1.GetLocation.Response other = (io.bloombox.schema.services.dash.v1beta1.GetLocation.Response) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { if (!getLocation() .equals(other.getLocation())) 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 (hasLocation()) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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.GetLocation.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 retrieve an individual location.
     * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.GetLocation.Response) io.bloombox.schema.services.dash.v1beta1.GetLocation.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_GetLocation_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_GetLocation_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.Builder.class); } // Construct using io.bloombox.schema.services.dash.v1beta1.GetLocation.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) { } } @java.lang.Override public Builder clear() { super.clear(); if (locationBuilder_ == null) { location_ = null; } else { location_ = null; locationBuilder_ = null; } 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_GetLocation_Response_descriptor; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Response getDefaultInstanceForType() { return io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Response build() { io.bloombox.schema.services.dash.v1beta1.GetLocation.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation.Response buildPartial() { io.bloombox.schema.services.dash.v1beta1.GetLocation.Response result = new io.bloombox.schema.services.dash.v1beta1.GetLocation.Response(this); if (locationBuilder_ == null) { result.location_ = location_; } else { result.location_ = locationBuilder_.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.GetLocation.Response) { return mergeFrom((io.bloombox.schema.services.dash.v1beta1.GetLocation.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.GetLocation.Response other) { if (other == io.bloombox.schema.services.dash.v1beta1.GetLocation.Response.getDefaultInstance()) return this; if (other.hasLocation()) { mergeLocation(other.getLocation()); } 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.GetLocation.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.dash.v1beta1.GetLocation.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.partner.LocationAccount.PartnerLocation location_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder> locationBuilder_; /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation getLocation() { if (locationBuilder_ == null) { return location_ == null ? io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public Builder setLocation(io.bloombox.schema.partner.LocationAccount.PartnerLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } location_ = value; onChanged(); } else { locationBuilder_.setMessage(value); } return this; } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public Builder setLocation( io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder builderForValue) { if (locationBuilder_ == null) { location_ = builderForValue.build(); onChanged(); } else { locationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public Builder mergeLocation(io.bloombox.schema.partner.LocationAccount.PartnerLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = io.bloombox.schema.partner.LocationAccount.PartnerLocation.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } onChanged(); } else { locationBuilder_.mergeFrom(value); } return this; } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public Builder clearLocation() { if (locationBuilder_ == null) { location_ = null; onChanged(); } else { location_ = null; locationBuilder_ = null; } return this; } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder getLocationBuilder() { onChanged(); return getLocationFieldBuilder().getBuilder(); } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ public io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { return location_ == null ? io.bloombox.schema.partner.LocationAccount.PartnerLocation.getDefaultInstance() : location_; } } /** *
       * Resulting location record.
       * 
* * .bloombox.partner.PartnerLocation location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.partner.LocationAccount.PartnerLocation, io.bloombox.schema.partner.LocationAccount.PartnerLocation.Builder, io.bloombox.schema.partner.LocationAccount.PartnerLocationOrBuilder>( getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; } @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.GetLocation.Response) } // @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.GetLocation.Response) private static final io.bloombox.schema.services.dash.v1beta1.GetLocation.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.GetLocation.Response(); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation.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.GetLocation)) { return super.equals(obj); } io.bloombox.schema.services.dash.v1beta1.GetLocation other = (io.bloombox.schema.services.dash.v1beta1.GetLocation) 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.GetLocation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation 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.GetLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation 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.GetLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation 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.GetLocation 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.GetLocation 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.GetLocation 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.GetLocation 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.GetLocation 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.GetLocation 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.GetLocation 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; } /** *
   * Retrieve an individual partner location record.
   * 
* * Protobuf type {@code bloombox.services.dash.v1beta1.GetLocation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.dash.v1beta1.GetLocation) io.bloombox.schema.services.dash.v1beta1.GetLocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.dash.v1beta1.DashServiceBeta1.internal_static_bloombox_services_dash_v1beta1_GetLocation_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_GetLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.dash.v1beta1.GetLocation.class, io.bloombox.schema.services.dash.v1beta1.GetLocation.Builder.class); } // Construct using io.bloombox.schema.services.dash.v1beta1.GetLocation.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_GetLocation_descriptor; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation getDefaultInstanceForType() { return io.bloombox.schema.services.dash.v1beta1.GetLocation.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation build() { io.bloombox.schema.services.dash.v1beta1.GetLocation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.dash.v1beta1.GetLocation buildPartial() { io.bloombox.schema.services.dash.v1beta1.GetLocation result = new io.bloombox.schema.services.dash.v1beta1.GetLocation(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.GetLocation) { return mergeFrom((io.bloombox.schema.services.dash.v1beta1.GetLocation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.dash.v1beta1.GetLocation other) { if (other == io.bloombox.schema.services.dash.v1beta1.GetLocation.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.GetLocation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.dash.v1beta1.GetLocation) 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.GetLocation) } // @@protoc_insertion_point(class_scope:bloombox.services.dash.v1beta1.GetLocation) private static final io.bloombox.schema.services.dash.v1beta1.GetLocation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.dash.v1beta1.GetLocation(); } public static io.bloombox.schema.services.dash.v1beta1.GetLocation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetLocation(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.GetLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy