
io.bloombox.schema.services.platform.v1.DomainInfo 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: platform/v1/PlatformService_v1.proto
package io.bloombox.schema.services.platform.v1;
/**
*
* Specifies a request to retrieve the set of domains assigned for use by a partner location.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo}
*/
public final class DomainInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.platform.v1.DomainInfo)
DomainInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DomainInfo.newBuilder() to construct.
private DomainInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DomainInfo() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DomainInfo(
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.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.class, io.bloombox.schema.services.platform.v1.DomainInfo.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.platform.v1.DomainInfo.Request)
com.google.protobuf.MessageOrBuilder {
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
java.lang.String getPartnerId();
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
com.google.protobuf.ByteString
getPartnerIdBytes();
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
java.lang.String getLocationId();
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
com.google.protobuf.ByteString
getLocationIdBytes();
}
/**
*
* Request for domain info.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.platform.v1.DomainInfo.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() {
partnerId_ = "";
locationId_ = "";
}
@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();
partnerId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
locationId_ = 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.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.Request.class, io.bloombox.schema.services.platform.v1.DomainInfo.Request.Builder.class);
}
public static final int PARTNER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object partnerId_;
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public java.lang.String getPartnerId() {
java.lang.Object ref = partnerId_;
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();
partnerId_ = s;
return s;
}
}
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public com.google.protobuf.ByteString
getPartnerIdBytes() {
java.lang.Object ref = partnerId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATION_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object locationId_;
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
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();
locationId_ = s;
return s;
}
}
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public com.google.protobuf.ByteString
getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationId_ = 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 (!getPartnerIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partnerId_);
}
if (!getLocationIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, locationId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPartnerIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, partnerId_);
}
if (!getLocationIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationId_);
}
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.platform.v1.DomainInfo.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.platform.v1.DomainInfo.Request other = (io.bloombox.schema.services.platform.v1.DomainInfo.Request) obj;
if (!getPartnerId()
.equals(other.getPartnerId())) return false;
if (!getLocationId()
.equals(other.getLocationId())) 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_ID_FIELD_NUMBER;
hash = (53 * hash) + getPartnerId().hashCode();
hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getLocationId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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 for domain info.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.platform.v1.DomainInfo.Request)
io.bloombox.schema.services.platform.v1.DomainInfo.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.Request.class, io.bloombox.schema.services.platform.v1.DomainInfo.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.platform.v1.DomainInfo.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();
partnerId_ = "";
locationId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.platform.v1.DomainInfo.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Request build() {
io.bloombox.schema.services.platform.v1.DomainInfo.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Request buildPartial() {
io.bloombox.schema.services.platform.v1.DomainInfo.Request result = new io.bloombox.schema.services.platform.v1.DomainInfo.Request(this);
result.partnerId_ = partnerId_;
result.locationId_ = locationId_;
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.platform.v1.DomainInfo.Request) {
return mergeFrom((io.bloombox.schema.services.platform.v1.DomainInfo.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.platform.v1.DomainInfo.Request other) {
if (other == io.bloombox.schema.services.platform.v1.DomainInfo.Request.getDefaultInstance()) return this;
if (!other.getPartnerId().isEmpty()) {
partnerId_ = other.partnerId_;
onChanged();
}
if (!other.getLocationId().isEmpty()) {
locationId_ = other.locationId_;
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.platform.v1.DomainInfo.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.platform.v1.DomainInfo.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object partnerId_ = "";
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public java.lang.String getPartnerId() {
java.lang.Object ref = partnerId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
partnerId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public com.google.protobuf.ByteString
getPartnerIdBytes() {
java.lang.Object ref = partnerId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
partnerId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public Builder setPartnerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
partnerId_ = value;
onChanged();
return this;
}
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public Builder clearPartnerId() {
partnerId_ = getDefaultInstance().getPartnerId();
onChanged();
return this;
}
/**
*
* Partner ID to fetch domains for.
*
*
* string partner_id = 1;
*/
public Builder setPartnerIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
partnerId_ = value;
onChanged();
return this;
}
private java.lang.Object locationId_ = "";
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public java.lang.String getLocationId() {
java.lang.Object ref = locationId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public com.google.protobuf.ByteString
getLocationIdBytes() {
java.lang.Object ref = locationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public Builder setLocationId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locationId_ = value;
onChanged();
return this;
}
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public Builder clearLocationId() {
locationId_ = getDefaultInstance().getLocationId();
onChanged();
return this;
}
/**
*
* Location ID to fetch domains for.
*
*
* string location_id = 2;
*/
public Builder setLocationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locationId_ = 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.platform.v1.DomainInfo.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.platform.v1.DomainInfo.Request)
private static final io.bloombox.schema.services.platform.v1.DomainInfo.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.platform.v1.DomainInfo.Request();
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.platform.v1.DomainInfo.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
java.lang.String getShop();
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
com.google.protobuf.ByteString
getShopBytes();
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
java.lang.String getMenu();
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
com.google.protobuf.ByteString
getMenuBytes();
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
java.lang.String getDashboard();
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
com.google.protobuf.ByteString
getDashboardBytes();
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
java.lang.String getTv();
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
com.google.protobuf.ByteString
getTvBytes();
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
java.lang.String getLink();
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
com.google.protobuf.ByteString
getLinkBytes();
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
java.lang.String getWebsite();
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
com.google.protobuf.ByteString
getWebsiteBytes();
}
/**
*
* Response to a request for domain info.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.platform.v1.DomainInfo.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() {
shop_ = "";
menu_ = "";
dashboard_ = "";
tv_ = "";
link_ = "";
website_ = "";
}
@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: {
java.lang.String s = input.readStringRequireUtf8();
shop_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
menu_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
dashboard_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
tv_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
link_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
website_ = 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.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.Response.class, io.bloombox.schema.services.platform.v1.DomainInfo.Response.Builder.class);
}
public static final int SHOP_FIELD_NUMBER = 1;
private volatile java.lang.Object shop_;
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public java.lang.String getShop() {
java.lang.Object ref = shop_;
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();
shop_ = s;
return s;
}
}
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public com.google.protobuf.ByteString
getShopBytes() {
java.lang.Object ref = shop_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shop_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MENU_FIELD_NUMBER = 2;
private volatile java.lang.Object menu_;
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public java.lang.String getMenu() {
java.lang.Object ref = menu_;
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();
menu_ = s;
return s;
}
}
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public com.google.protobuf.ByteString
getMenuBytes() {
java.lang.Object ref = menu_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
menu_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DASHBOARD_FIELD_NUMBER = 3;
private volatile java.lang.Object dashboard_;
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public java.lang.String getDashboard() {
java.lang.Object ref = dashboard_;
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();
dashboard_ = s;
return s;
}
}
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public com.google.protobuf.ByteString
getDashboardBytes() {
java.lang.Object ref = dashboard_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dashboard_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TV_FIELD_NUMBER = 4;
private volatile java.lang.Object tv_;
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public java.lang.String getTv() {
java.lang.Object ref = tv_;
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();
tv_ = s;
return s;
}
}
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public com.google.protobuf.ByteString
getTvBytes() {
java.lang.Object ref = tv_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tv_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINK_FIELD_NUMBER = 5;
private volatile java.lang.Object link_;
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public java.lang.String getLink() {
java.lang.Object ref = link_;
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();
link_ = s;
return s;
}
}
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public com.google.protobuf.ByteString
getLinkBytes() {
java.lang.Object ref = link_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
link_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBSITE_FIELD_NUMBER = 6;
private volatile java.lang.Object website_;
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public java.lang.String getWebsite() {
java.lang.Object ref = website_;
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();
website_ = s;
return s;
}
}
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public com.google.protobuf.ByteString
getWebsiteBytes() {
java.lang.Object ref = website_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
website_ = 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 (!getShopBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, shop_);
}
if (!getMenuBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, menu_);
}
if (!getDashboardBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dashboard_);
}
if (!getTvBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tv_);
}
if (!getLinkBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, link_);
}
if (!getWebsiteBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, website_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getShopBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, shop_);
}
if (!getMenuBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, menu_);
}
if (!getDashboardBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dashboard_);
}
if (!getTvBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tv_);
}
if (!getLinkBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, link_);
}
if (!getWebsiteBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, website_);
}
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.platform.v1.DomainInfo.Response)) {
return super.equals(obj);
}
io.bloombox.schema.services.platform.v1.DomainInfo.Response other = (io.bloombox.schema.services.platform.v1.DomainInfo.Response) obj;
if (!getShop()
.equals(other.getShop())) return false;
if (!getMenu()
.equals(other.getMenu())) return false;
if (!getDashboard()
.equals(other.getDashboard())) return false;
if (!getTv()
.equals(other.getTv())) return false;
if (!getLink()
.equals(other.getLink())) return false;
if (!getWebsite()
.equals(other.getWebsite())) 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) + SHOP_FIELD_NUMBER;
hash = (53 * hash) + getShop().hashCode();
hash = (37 * hash) + MENU_FIELD_NUMBER;
hash = (53 * hash) + getMenu().hashCode();
hash = (37 * hash) + DASHBOARD_FIELD_NUMBER;
hash = (53 * hash) + getDashboard().hashCode();
hash = (37 * hash) + TV_FIELD_NUMBER;
hash = (53 * hash) + getTv().hashCode();
hash = (37 * hash) + LINK_FIELD_NUMBER;
hash = (53 * hash) + getLink().hashCode();
hash = (37 * hash) + WEBSITE_FIELD_NUMBER;
hash = (53 * hash) + getWebsite().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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 for domain info.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.platform.v1.DomainInfo.Response)
io.bloombox.schema.services.platform.v1.DomainInfo.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.Response.class, io.bloombox.schema.services.platform.v1.DomainInfo.Response.Builder.class);
}
// Construct using io.bloombox.schema.services.platform.v1.DomainInfo.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();
shop_ = "";
menu_ = "";
dashboard_ = "";
tv_ = "";
link_ = "";
website_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_Response_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Response getDefaultInstanceForType() {
return io.bloombox.schema.services.platform.v1.DomainInfo.Response.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Response build() {
io.bloombox.schema.services.platform.v1.DomainInfo.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo.Response buildPartial() {
io.bloombox.schema.services.platform.v1.DomainInfo.Response result = new io.bloombox.schema.services.platform.v1.DomainInfo.Response(this);
result.shop_ = shop_;
result.menu_ = menu_;
result.dashboard_ = dashboard_;
result.tv_ = tv_;
result.link_ = link_;
result.website_ = website_;
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.platform.v1.DomainInfo.Response) {
return mergeFrom((io.bloombox.schema.services.platform.v1.DomainInfo.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.platform.v1.DomainInfo.Response other) {
if (other == io.bloombox.schema.services.platform.v1.DomainInfo.Response.getDefaultInstance()) return this;
if (!other.getShop().isEmpty()) {
shop_ = other.shop_;
onChanged();
}
if (!other.getMenu().isEmpty()) {
menu_ = other.menu_;
onChanged();
}
if (!other.getDashboard().isEmpty()) {
dashboard_ = other.dashboard_;
onChanged();
}
if (!other.getTv().isEmpty()) {
tv_ = other.tv_;
onChanged();
}
if (!other.getLink().isEmpty()) {
link_ = other.link_;
onChanged();
}
if (!other.getWebsite().isEmpty()) {
website_ = other.website_;
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.platform.v1.DomainInfo.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.platform.v1.DomainInfo.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object shop_ = "";
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public java.lang.String getShop() {
java.lang.Object ref = shop_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
shop_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public com.google.protobuf.ByteString
getShopBytes() {
java.lang.Object ref = shop_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shop_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public Builder setShop(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
shop_ = value;
onChanged();
return this;
}
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public Builder clearShop() {
shop_ = getDefaultInstance().getShop();
onChanged();
return this;
}
/**
*
* Shop domain/home link.
*
*
* string shop = 1;
*/
public Builder setShopBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
shop_ = value;
onChanged();
return this;
}
private java.lang.Object menu_ = "";
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public java.lang.String getMenu() {
java.lang.Object ref = menu_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
menu_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public com.google.protobuf.ByteString
getMenuBytes() {
java.lang.Object ref = menu_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
menu_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public Builder setMenu(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
menu_ = value;
onChanged();
return this;
}
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public Builder clearMenu() {
menu_ = getDefaultInstance().getMenu();
onChanged();
return this;
}
/**
*
* Standalone menu link.
*
*
* string menu = 2;
*/
public Builder setMenuBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
menu_ = value;
onChanged();
return this;
}
private java.lang.Object dashboard_ = "";
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public java.lang.String getDashboard() {
java.lang.Object ref = dashboard_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dashboard_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public com.google.protobuf.ByteString
getDashboardBytes() {
java.lang.Object ref = dashboard_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dashboard_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public Builder setDashboard(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dashboard_ = value;
onChanged();
return this;
}
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public Builder clearDashboard() {
dashboard_ = getDefaultInstance().getDashboard();
onChanged();
return this;
}
/**
*
* Dashboard link.
*
*
* string dashboard = 3;
*/
public Builder setDashboardBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dashboard_ = value;
onChanged();
return this;
}
private java.lang.Object tv_ = "";
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public java.lang.String getTv() {
java.lang.Object ref = tv_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tv_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public com.google.protobuf.ByteString
getTvBytes() {
java.lang.Object ref = tv_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tv_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public Builder setTv(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tv_ = value;
onChanged();
return this;
}
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public Builder clearTv() {
tv_ = getDefaultInstance().getTv();
onChanged();
return this;
}
/**
*
* TV menu link.
*
*
* string tv = 4;
*/
public Builder setTvBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tv_ = value;
onChanged();
return this;
}
private java.lang.Object link_ = "";
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public java.lang.String getLink() {
java.lang.Object ref = link_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
link_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public com.google.protobuf.ByteString
getLinkBytes() {
java.lang.Object ref = link_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
link_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public Builder setLink(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
link_ = value;
onChanged();
return this;
}
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public Builder clearLink() {
link_ = getDefaultInstance().getLink();
onChanged();
return this;
}
/**
*
* Embedded/email link domain.
*
*
* string link = 5;
*/
public Builder setLinkBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
link_ = value;
onChanged();
return this;
}
private java.lang.Object website_ = "";
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public java.lang.String getWebsite() {
java.lang.Object ref = website_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
website_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public com.google.protobuf.ByteString
getWebsiteBytes() {
java.lang.Object ref = website_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
website_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public Builder setWebsite(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
website_ = value;
onChanged();
return this;
}
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public Builder clearWebsite() {
website_ = getDefaultInstance().getWebsite();
onChanged();
return this;
}
/**
*
* Internal/store website for the partner location.
*
*
* string website = 6;
*/
public Builder setWebsiteBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
website_ = 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.platform.v1.DomainInfo.Response)
}
// @@protoc_insertion_point(class_scope:bloombox.services.platform.v1.DomainInfo.Response)
private static final io.bloombox.schema.services.platform.v1.DomainInfo.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.platform.v1.DomainInfo.Response();
}
public static io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo.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.platform.v1.DomainInfo)) {
return super.equals(obj);
}
io.bloombox.schema.services.platform.v1.DomainInfo other = (io.bloombox.schema.services.platform.v1.DomainInfo) 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.platform.v1.DomainInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo 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.platform.v1.DomainInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo 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.platform.v1.DomainInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo 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.platform.v1.DomainInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo 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.platform.v1.DomainInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.platform.v1.DomainInfo 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.platform.v1.DomainInfo 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;
}
/**
*
* Specifies a request to retrieve the set of domains assigned for use by a partner location.
*
*
* Protobuf type {@code bloombox.services.platform.v1.DomainInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.platform.v1.DomainInfo)
io.bloombox.schema.services.platform.v1.DomainInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.platform.v1.DomainInfo.class, io.bloombox.schema.services.platform.v1.DomainInfo.Builder.class);
}
// Construct using io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.PlatformServiceV1.internal_static_bloombox_services_platform_v1_DomainInfo_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo getDefaultInstanceForType() {
return io.bloombox.schema.services.platform.v1.DomainInfo.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo build() {
io.bloombox.schema.services.platform.v1.DomainInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.platform.v1.DomainInfo buildPartial() {
io.bloombox.schema.services.platform.v1.DomainInfo result = new io.bloombox.schema.services.platform.v1.DomainInfo(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.platform.v1.DomainInfo) {
return mergeFrom((io.bloombox.schema.services.platform.v1.DomainInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.platform.v1.DomainInfo other) {
if (other == io.bloombox.schema.services.platform.v1.DomainInfo.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.platform.v1.DomainInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.platform.v1.DomainInfo) 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.platform.v1.DomainInfo)
}
// @@protoc_insertion_point(class_scope:bloombox.services.platform.v1.DomainInfo)
private static final io.bloombox.schema.services.platform.v1.DomainInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.platform.v1.DomainInfo();
}
public static io.bloombox.schema.services.platform.v1.DomainInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DomainInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DomainInfo(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.platform.v1.DomainInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy