
com.vendasta.accountgroup.v1.generated.ApiProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of accountgroup.v1 Show documentation
Show all versions of accountgroup.v1 Show documentation
Java SDK for service account-group
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: account_group/v1/api.proto
package com.vendasta.accountgroup.v1.generated;
public final class ApiProto {
private ApiProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code accountgroup.v1.IsAvailable}
*/
public enum IsAvailable
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSET = 0;
*/
UNSET(0),
/**
* YES = 1;
*/
YES(1),
/**
* NO = 2;
*/
NO(2),
UNRECOGNIZED(-1),
;
/**
* UNSET = 0;
*/
public static final int UNSET_VALUE = 0;
/**
* YES = 1;
*/
public static final int YES_VALUE = 1;
/**
* NO = 2;
*/
public static final int NO_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static IsAvailable valueOf(int value) {
return forNumber(value);
}
public static IsAvailable forNumber(int value) {
switch (value) {
case 0: return UNSET;
case 1: return YES;
case 2: return NO;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
IsAvailable> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public IsAvailable findValueByNumber(int number) {
return IsAvailable.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.getDescriptor().getEnumTypes().get(0);
}
private static final IsAvailable[] VALUES = values();
public static IsAvailable valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private IsAvailable(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.IsAvailable)
}
/**
*
* ClosedStatus describes if the business is permanently or temporarily closed, or in a limited state
*
*
* Protobuf enum {@code accountgroup.v1.ClosedStatus}
*/
public enum ClosedStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSPECIFIED = 0;
*/
UNSPECIFIED(0),
/**
* OPEN = 1;
*/
OPEN(1),
/**
* LIMITED = 2;
*/
LIMITED(2),
/**
* TEMPORARY = 3;
*/
TEMPORARY(3),
/**
* PERMANENT = 4;
*/
PERMANENT(4),
UNRECOGNIZED(-1),
;
/**
* UNSPECIFIED = 0;
*/
public static final int UNSPECIFIED_VALUE = 0;
/**
* OPEN = 1;
*/
public static final int OPEN_VALUE = 1;
/**
* LIMITED = 2;
*/
public static final int LIMITED_VALUE = 2;
/**
* TEMPORARY = 3;
*/
public static final int TEMPORARY_VALUE = 3;
/**
* PERMANENT = 4;
*/
public static final int PERMANENT_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ClosedStatus valueOf(int value) {
return forNumber(value);
}
public static ClosedStatus forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return OPEN;
case 2: return LIMITED;
case 3: return TEMPORARY;
case 4: return PERMANENT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ClosedStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ClosedStatus findValueByNumber(int number) {
return ClosedStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.getDescriptor().getEnumTypes().get(1);
}
private static final ClosedStatus[] VALUES = values();
public static ClosedStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ClosedStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.ClosedStatus)
}
/**
*
* The directions that a result set can be sorted in.
*
*
* Protobuf enum {@code accountgroup.v1.SortDirection}
*/
public enum SortDirection
implements com.google.protobuf.ProtocolMessageEnum {
/**
* Ascending = 0;
*/
Ascending(0),
/**
* Descending = 1;
*/
Descending(1),
UNRECOGNIZED(-1),
;
/**
* Ascending = 0;
*/
public static final int Ascending_VALUE = 0;
/**
* Descending = 1;
*/
public static final int Descending_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SortDirection valueOf(int value) {
return forNumber(value);
}
public static SortDirection forNumber(int value) {
switch (value) {
case 0: return Ascending;
case 1: return Descending;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SortDirection> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public SortDirection findValueByNumber(int number) {
return SortDirection.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.getDescriptor().getEnumTypes().get(2);
}
private static final SortDirection[] VALUES = values();
public static SortDirection valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private SortDirection(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.SortDirection)
}
/**
*
* The field to sort a result set on.
*
*
* Protobuf enum {@code accountgroup.v1.SortField}
*/
public enum SortField
implements com.google.protobuf.ProtocolMessageEnum {
/**
* Modified = 0;
*/
Modified(0),
/**
* Created = 1;
*/
Created(1),
/**
* CompanyName = 2;
*/
CompanyName(2),
UNRECOGNIZED(-1),
;
/**
* Modified = 0;
*/
public static final int Modified_VALUE = 0;
/**
* Created = 1;
*/
public static final int Created_VALUE = 1;
/**
* CompanyName = 2;
*/
public static final int CompanyName_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SortField valueOf(int value) {
return forNumber(value);
}
public static SortField forNumber(int value) {
switch (value) {
case 0: return Modified;
case 1: return Created;
case 2: return CompanyName;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SortField> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public SortField findValueByNumber(int number) {
return SortField.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.getDescriptor().getEnumTypes().get(3);
}
private static final SortField[] VALUES = values();
public static SortField valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private SortField(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.SortField)
}
public interface GeoOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Geo)
com.google.protobuf.MessageOrBuilder {
/**
* double latitude = 1;
*/
double getLatitude();
/**
* double longitude = 2;
*/
double getLongitude();
}
/**
*
* Represents a geo point location.
*
*
* Protobuf type {@code accountgroup.v1.Geo}
*/
public static final class Geo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Geo)
GeoOrBuilder {
// Use Geo.newBuilder() to construct.
private Geo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Geo() {
latitude_ = 0D;
longitude_ = 0D;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Geo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 9: {
latitude_ = input.readDouble();
break;
}
case 17: {
longitude_ = input.readDouble();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Geo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Geo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.class, com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder.class);
}
public static final int LATITUDE_FIELD_NUMBER = 1;
private double latitude_;
/**
* double latitude = 1;
*/
public double getLatitude() {
return latitude_;
}
public static final int LONGITUDE_FIELD_NUMBER = 2;
private double longitude_;
/**
* double longitude = 2;
*/
public double getLongitude() {
return longitude_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (latitude_ != 0D) {
output.writeDouble(1, latitude_);
}
if (longitude_ != 0D) {
output.writeDouble(2, longitude_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (latitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, latitude_);
}
if (longitude_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, longitude_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Geo)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Geo other = (com.vendasta.accountgroup.v1.generated.ApiProto.Geo) obj;
boolean result = true;
result = result && (
java.lang.Double.doubleToLongBits(getLatitude())
== java.lang.Double.doubleToLongBits(
other.getLatitude()));
result = result && (
java.lang.Double.doubleToLongBits(getLongitude())
== java.lang.Double.doubleToLongBits(
other.getLongitude()));
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LATITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLatitude()));
hash = (37 * hash) + LONGITUDE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLongitude()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo 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 com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo 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 com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Geo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Represents a geo point location.
*
*
* Protobuf type {@code accountgroup.v1.Geo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Geo)
com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Geo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Geo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.class, com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Geo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
latitude_ = 0D;
longitude_ = 0D;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Geo_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Geo.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Geo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Geo result = new com.vendasta.accountgroup.v1.generated.ApiProto.Geo(this);
result.latitude_ = latitude_;
result.longitude_ = longitude_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Geo) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Geo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Geo other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Geo.getDefaultInstance()) return this;
if (other.getLatitude() != 0D) {
setLatitude(other.getLatitude());
}
if (other.getLongitude() != 0D) {
setLongitude(other.getLongitude());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Geo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Geo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double latitude_ ;
/**
* double latitude = 1;
*/
public double getLatitude() {
return latitude_;
}
/**
* double latitude = 1;
*/
public Builder setLatitude(double value) {
latitude_ = value;
onChanged();
return this;
}
/**
* double latitude = 1;
*/
public Builder clearLatitude() {
latitude_ = 0D;
onChanged();
return this;
}
private double longitude_ ;
/**
* double longitude = 2;
*/
public double getLongitude() {
return longitude_;
}
/**
* double longitude = 2;
*/
public Builder setLongitude(double value) {
longitude_ = value;
onChanged();
return this;
}
/**
* double longitude = 2;
*/
public Builder clearLongitude() {
longitude_ = 0D;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Geo)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Geo)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Geo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Geo();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Geo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Geo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Geo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OnBoardingStrategyOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.OnBoardingStrategy)
com.google.protobuf.MessageOrBuilder {
/**
* string goal = 1;
*/
java.lang.String getGoal();
/**
* string goal = 1;
*/
com.google.protobuf.ByteString
getGoalBytes();
/**
* string early_wins = 2;
*/
java.lang.String getEarlyWins();
/**
* string early_wins = 2;
*/
com.google.protobuf.ByteString
getEarlyWinsBytes();
/**
* repeated string priorities = 3;
*/
java.util.List
getPrioritiesList();
/**
* repeated string priorities = 3;
*/
int getPrioritiesCount();
/**
* repeated string priorities = 3;
*/
java.lang.String getPriorities(int index);
/**
* repeated string priorities = 3;
*/
com.google.protobuf.ByteString
getPrioritiesBytes(int index);
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* Protobuf type {@code accountgroup.v1.OnBoardingStrategy}
*/
public static final class OnBoardingStrategy extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.OnBoardingStrategy)
OnBoardingStrategyOrBuilder {
// Use OnBoardingStrategy.newBuilder() to construct.
private OnBoardingStrategy(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OnBoardingStrategy() {
goal_ = "";
earlyWins_ = "";
priorities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private OnBoardingStrategy(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
goal_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
earlyWins_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
priorities_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
priorities_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
priorities_ = priorities_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_OnBoardingStrategy_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_OnBoardingStrategy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.class, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder.class);
}
private int bitField0_;
public static final int GOAL_FIELD_NUMBER = 1;
private volatile java.lang.Object goal_;
/**
* string goal = 1;
*/
public java.lang.String getGoal() {
java.lang.Object ref = goal_;
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();
goal_ = s;
return s;
}
}
/**
* string goal = 1;
*/
public com.google.protobuf.ByteString
getGoalBytes() {
java.lang.Object ref = goal_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
goal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EARLY_WINS_FIELD_NUMBER = 2;
private volatile java.lang.Object earlyWins_;
/**
* string early_wins = 2;
*/
public java.lang.String getEarlyWins() {
java.lang.Object ref = earlyWins_;
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();
earlyWins_ = s;
return s;
}
}
/**
* string early_wins = 2;
*/
public com.google.protobuf.ByteString
getEarlyWinsBytes() {
java.lang.Object ref = earlyWins_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
earlyWins_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIORITIES_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList priorities_;
/**
* repeated string priorities = 3;
*/
public com.google.protobuf.ProtocolStringList
getPrioritiesList() {
return priorities_;
}
/**
* repeated string priorities = 3;
*/
public int getPrioritiesCount() {
return priorities_.size();
}
/**
* repeated string priorities = 3;
*/
public java.lang.String getPriorities(int index) {
return priorities_.get(index);
}
/**
* repeated string priorities = 3;
*/
public com.google.protobuf.ByteString
getPrioritiesBytes(int index) {
return priorities_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getGoalBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, goal_);
}
if (!getEarlyWinsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, earlyWins_);
}
for (int i = 0; i < priorities_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, priorities_.getRaw(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getGoalBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, goal_);
}
if (!getEarlyWinsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, earlyWins_);
}
{
int dataSize = 0;
for (int i = 0; i < priorities_.size(); i++) {
dataSize += computeStringSizeNoTag(priorities_.getRaw(i));
}
size += dataSize;
size += 1 * getPrioritiesList().size();
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy other = (com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy) obj;
boolean result = true;
result = result && getGoal()
.equals(other.getGoal());
result = result && getEarlyWins()
.equals(other.getEarlyWins());
result = result && getPrioritiesList()
.equals(other.getPrioritiesList());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + GOAL_FIELD_NUMBER;
hash = (53 * hash) + getGoal().hashCode();
hash = (37 * hash) + EARLY_WINS_FIELD_NUMBER;
hash = (53 * hash) + getEarlyWins().hashCode();
if (getPrioritiesCount() > 0) {
hash = (37 * hash) + PRIORITIES_FIELD_NUMBER;
hash = (53 * hash) + getPrioritiesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy 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 com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy 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 com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* Protobuf type {@code accountgroup.v1.OnBoardingStrategy}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.OnBoardingStrategy)
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_OnBoardingStrategy_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_OnBoardingStrategy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.class, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
goal_ = "";
earlyWins_ = "";
priorities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_OnBoardingStrategy_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy build() {
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy result = new com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.goal_ = goal_;
result.earlyWins_ = earlyWins_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
priorities_ = priorities_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.priorities_ = priorities_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.getDefaultInstance()) return this;
if (!other.getGoal().isEmpty()) {
goal_ = other.goal_;
onChanged();
}
if (!other.getEarlyWins().isEmpty()) {
earlyWins_ = other.earlyWins_;
onChanged();
}
if (!other.priorities_.isEmpty()) {
if (priorities_.isEmpty()) {
priorities_ = other.priorities_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePrioritiesIsMutable();
priorities_.addAll(other.priorities_);
}
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object goal_ = "";
/**
* string goal = 1;
*/
public java.lang.String getGoal() {
java.lang.Object ref = goal_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
goal_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string goal = 1;
*/
public com.google.protobuf.ByteString
getGoalBytes() {
java.lang.Object ref = goal_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
goal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string goal = 1;
*/
public Builder setGoal(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
goal_ = value;
onChanged();
return this;
}
/**
* string goal = 1;
*/
public Builder clearGoal() {
goal_ = getDefaultInstance().getGoal();
onChanged();
return this;
}
/**
* string goal = 1;
*/
public Builder setGoalBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
goal_ = value;
onChanged();
return this;
}
private java.lang.Object earlyWins_ = "";
/**
* string early_wins = 2;
*/
public java.lang.String getEarlyWins() {
java.lang.Object ref = earlyWins_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
earlyWins_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string early_wins = 2;
*/
public com.google.protobuf.ByteString
getEarlyWinsBytes() {
java.lang.Object ref = earlyWins_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
earlyWins_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string early_wins = 2;
*/
public Builder setEarlyWins(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
earlyWins_ = value;
onChanged();
return this;
}
/**
* string early_wins = 2;
*/
public Builder clearEarlyWins() {
earlyWins_ = getDefaultInstance().getEarlyWins();
onChanged();
return this;
}
/**
* string early_wins = 2;
*/
public Builder setEarlyWinsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
earlyWins_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList priorities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePrioritiesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
priorities_ = new com.google.protobuf.LazyStringArrayList(priorities_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string priorities = 3;
*/
public com.google.protobuf.ProtocolStringList
getPrioritiesList() {
return priorities_.getUnmodifiableView();
}
/**
* repeated string priorities = 3;
*/
public int getPrioritiesCount() {
return priorities_.size();
}
/**
* repeated string priorities = 3;
*/
public java.lang.String getPriorities(int index) {
return priorities_.get(index);
}
/**
* repeated string priorities = 3;
*/
public com.google.protobuf.ByteString
getPrioritiesBytes(int index) {
return priorities_.getByteString(index);
}
/**
* repeated string priorities = 3;
*/
public Builder setPriorities(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePrioritiesIsMutable();
priorities_.set(index, value);
onChanged();
return this;
}
/**
* repeated string priorities = 3;
*/
public Builder addPriorities(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePrioritiesIsMutable();
priorities_.add(value);
onChanged();
return this;
}
/**
* repeated string priorities = 3;
*/
public Builder addAllPriorities(
java.lang.Iterable values) {
ensurePrioritiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, priorities_);
onChanged();
return this;
}
/**
* repeated string priorities = 3;
*/
public Builder clearPriorities() {
priorities_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string priorities = 3;
*/
public Builder addPrioritiesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensurePrioritiesIsMutable();
priorities_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.OnBoardingStrategy)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.OnBoardingStrategy)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public OnBoardingStrategy parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OnBoardingStrategy(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Account)
com.google.protobuf.MessageOrBuilder {
/**
*
* Whether the account is a trial account or not
*
*
* bool is_trial = 1;
*/
boolean getIsTrial();
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
java.util.List
getTagsList();
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
int getTagsCount();
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
java.lang.String getTags(int index);
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
java.lang.String getMarketplaceAppId();
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
com.google.protobuf.ByteString
getMarketplaceAppIdBytes();
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
java.lang.String getAccountId();
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
com.google.protobuf.ByteString
getAccountIdBytes();
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
boolean hasExpiry();
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
com.google.protobuf.Timestamp getExpiry();
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder();
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
java.lang.String getEditionId();
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
com.google.protobuf.ByteString
getEditionIdBytes();
}
/**
*
* A representation of a single account on an Account Group
*
*
* Protobuf type {@code accountgroup.v1.Account}
*/
public static final class Account extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Account)
AccountOrBuilder {
// Use Account.newBuilder() to construct.
private Account(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Account() {
isTrial_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
marketplaceAppId_ = "";
accountId_ = "";
editionId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Account(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
isTrial_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
tags_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
marketplaceAppId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
accountId_ = s;
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (expiry_ != null) {
subBuilder = expiry_.toBuilder();
}
expiry_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(expiry_);
expiry_ = subBuilder.buildPartial();
}
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
editionId_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
tags_ = tags_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Account_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Account_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Account.class, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder.class);
}
private int bitField0_;
public static final int IS_TRIAL_FIELD_NUMBER = 1;
private boolean isTrial_;
/**
*
* Whether the account is a trial account or not
*
*
* bool is_trial = 1;
*/
public boolean getIsTrial() {
return isTrial_;
}
public static final int TAGS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList tags_;
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int MARKETPLACE_APP_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object marketplaceAppId_;
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public java.lang.String getMarketplaceAppId() {
java.lang.Object ref = marketplaceAppId_;
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();
marketplaceAppId_ = s;
return s;
}
}
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public com.google.protobuf.ByteString
getMarketplaceAppIdBytes() {
java.lang.Object ref = marketplaceAppId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
marketplaceAppId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCOUNT_ID_FIELD_NUMBER = 4;
private volatile java.lang.Object accountId_;
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
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();
accountId_ = s;
return s;
}
}
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRY_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp expiry_;
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public boolean hasExpiry() {
return expiry_ != null;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public com.google.protobuf.Timestamp getExpiry() {
return expiry_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder() {
return getExpiry();
}
public static final int EDITION_ID_FIELD_NUMBER = 6;
private volatile java.lang.Object editionId_;
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public java.lang.String getEditionId() {
java.lang.Object ref = editionId_;
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();
editionId_ = s;
return s;
}
}
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public com.google.protobuf.ByteString
getEditionIdBytes() {
java.lang.Object ref = editionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
editionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isTrial_ != false) {
output.writeBool(1, isTrial_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tags_.getRaw(i));
}
if (!getMarketplaceAppIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, marketplaceAppId_);
}
if (!getAccountIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, accountId_);
}
if (expiry_ != null) {
output.writeMessage(5, getExpiry());
}
if (!getEditionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, editionId_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isTrial_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isTrial_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (!getMarketplaceAppIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, marketplaceAppId_);
}
if (!getAccountIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, accountId_);
}
if (expiry_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getExpiry());
}
if (!getEditionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, editionId_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Account)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Account other = (com.vendasta.accountgroup.v1.generated.ApiProto.Account) obj;
boolean result = true;
result = result && (getIsTrial()
== other.getIsTrial());
result = result && getTagsList()
.equals(other.getTagsList());
result = result && getMarketplaceAppId()
.equals(other.getMarketplaceAppId());
result = result && getAccountId()
.equals(other.getAccountId());
result = result && (hasExpiry() == other.hasExpiry());
if (hasExpiry()) {
result = result && getExpiry()
.equals(other.getExpiry());
}
result = result && getEditionId()
.equals(other.getEditionId());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_TRIAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTrial());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
hash = (37 * hash) + MARKETPLACE_APP_ID_FIELD_NUMBER;
hash = (53 * hash) + getMarketplaceAppId().hashCode();
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId().hashCode();
if (hasExpiry()) {
hash = (37 * hash) + EXPIRY_FIELD_NUMBER;
hash = (53 * hash) + getExpiry().hashCode();
}
hash = (37 * hash) + EDITION_ID_FIELD_NUMBER;
hash = (53 * hash) + getEditionId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account 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 com.vendasta.accountgroup.v1.generated.ApiProto.Account parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account 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 com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Account prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* A representation of a single account on an Account Group
*
*
* Protobuf type {@code accountgroup.v1.Account}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Account)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Account_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Account_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Account.class, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Account.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
isTrial_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
marketplaceAppId_ = "";
accountId_ = "";
if (expiryBuilder_ == null) {
expiry_ = null;
} else {
expiry_ = null;
expiryBuilder_ = null;
}
editionId_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Account_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Account getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Account.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Account build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Account result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Account buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Account result = new com.vendasta.accountgroup.v1.generated.ApiProto.Account(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.isTrial_ = isTrial_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tags_ = tags_;
result.marketplaceAppId_ = marketplaceAppId_;
result.accountId_ = accountId_;
if (expiryBuilder_ == null) {
result.expiry_ = expiry_;
} else {
result.expiry_ = expiryBuilder_.build();
}
result.editionId_ = editionId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Account) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Account)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Account other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Account.getDefaultInstance()) return this;
if (other.getIsTrial() != false) {
setIsTrial(other.getIsTrial());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (!other.getMarketplaceAppId().isEmpty()) {
marketplaceAppId_ = other.marketplaceAppId_;
onChanged();
}
if (!other.getAccountId().isEmpty()) {
accountId_ = other.accountId_;
onChanged();
}
if (other.hasExpiry()) {
mergeExpiry(other.getExpiry());
}
if (!other.getEditionId().isEmpty()) {
editionId_ = other.editionId_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Account parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Account) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isTrial_ ;
/**
*
* Whether the account is a trial account or not
*
*
* bool is_trial = 1;
*/
public boolean getIsTrial() {
return isTrial_;
}
/**
*
* Whether the account is a trial account or not
*
*
* bool is_trial = 1;
*/
public Builder setIsTrial(boolean value) {
isTrial_ = value;
onChanged();
return this;
}
/**
*
* Whether the account is a trial account or not
*
*
* bool is_trial = 1;
*/
public Builder clearIsTrial() {
isTrial_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000002;
}
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public Builder addTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Tags on the account
*
*
* repeated string tags = 2;
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
private java.lang.Object marketplaceAppId_ = "";
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public java.lang.String getMarketplaceAppId() {
java.lang.Object ref = marketplaceAppId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
marketplaceAppId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public com.google.protobuf.ByteString
getMarketplaceAppIdBytes() {
java.lang.Object ref = marketplaceAppId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
marketplaceAppId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public Builder setMarketplaceAppId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
marketplaceAppId_ = value;
onChanged();
return this;
}
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public Builder clearMarketplaceAppId() {
marketplaceAppId_ = getDefaultInstance().getMarketplaceAppId();
onChanged();
return this;
}
/**
*
* The marketplace app id or the legacy product id the account belongs to
*
*
* string marketplace_app_id = 3;
*/
public Builder setMarketplaceAppIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
marketplaceAppId_ = value;
onChanged();
return this;
}
private java.lang.Object accountId_ = "";
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public Builder setAccountId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountId_ = value;
onChanged();
return this;
}
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public Builder clearAccountId() {
accountId_ = getDefaultInstance().getAccountId();
onChanged();
return this;
}
/**
*
* Account ID of this account
*
*
* string account_id = 4;
*/
public Builder setAccountIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp expiry_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryBuilder_;
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public boolean hasExpiry() {
return expiryBuilder_ != null || expiry_ != null;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public com.google.protobuf.Timestamp getExpiry() {
if (expiryBuilder_ == null) {
return expiry_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
} else {
return expiryBuilder_.getMessage();
}
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public Builder setExpiry(com.google.protobuf.Timestamp value) {
if (expiryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expiry_ = value;
onChanged();
} else {
expiryBuilder_.setMessage(value);
}
return this;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public Builder setExpiry(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (expiryBuilder_ == null) {
expiry_ = builderForValue.build();
onChanged();
} else {
expiryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public Builder mergeExpiry(com.google.protobuf.Timestamp value) {
if (expiryBuilder_ == null) {
if (expiry_ != null) {
expiry_ =
com.google.protobuf.Timestamp.newBuilder(expiry_).mergeFrom(value).buildPartial();
} else {
expiry_ = value;
}
onChanged();
} else {
expiryBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public Builder clearExpiry() {
if (expiryBuilder_ == null) {
expiry_ = null;
onChanged();
} else {
expiry_ = null;
expiryBuilder_ = null;
}
return this;
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public com.google.protobuf.Timestamp.Builder getExpiryBuilder() {
onChanged();
return getExpiryFieldBuilder().getBuilder();
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder() {
if (expiryBuilder_ != null) {
return expiryBuilder_.getMessageOrBuilder();
} else {
return expiry_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
}
}
/**
*
* The date on which the account expires
*
*
* .google.protobuf.Timestamp expiry = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getExpiryFieldBuilder() {
if (expiryBuilder_ == null) {
expiryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getExpiry(),
getParentForChildren(),
isClean());
expiry_ = null;
}
return expiryBuilder_;
}
private java.lang.Object editionId_ = "";
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public java.lang.String getEditionId() {
java.lang.Object ref = editionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
editionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public com.google.protobuf.ByteString
getEditionIdBytes() {
java.lang.Object ref = editionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
editionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public Builder setEditionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
editionId_ = value;
onChanged();
return this;
}
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public Builder clearEditionId() {
editionId_ = getDefaultInstance().getEditionId();
onChanged();
return this;
}
/**
*
* The id of the edition associated with the marketplace_app_id that was activated on the account group.
*
*
* string edition_id = 6;
*/
public Builder setEditionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
editionId_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Account)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Account)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Account DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Account();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Account getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Account parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Account(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Account getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Accounts)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
java.util.List
getAccountsList();
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Account getAccounts(int index);
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
int getAccountsCount();
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>
getAccountsOrBuilderList();
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder getAccountsOrBuilder(
int index);
}
/**
* Protobuf type {@code accountgroup.v1.Accounts}
*/
public static final class Accounts extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Accounts)
AccountsOrBuilder {
// Use Accounts.newBuilder() to construct.
private Accounts(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Accounts() {
accounts_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Accounts(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
accounts_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Account.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = java.util.Collections.unmodifiableList(accounts_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Accounts_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Accounts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.class, com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder.class);
}
public static final int ACCOUNTS_FIELD_NUMBER = 1;
private java.util.List accounts_;
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public java.util.List getAccountsList() {
return accounts_;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>
getAccountsOrBuilderList() {
return accounts_;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public int getAccountsCount() {
return accounts_.size();
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Account getAccounts(int index) {
return accounts_.get(index);
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder getAccountsOrBuilder(
int index) {
return accounts_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < accounts_.size(); i++) {
output.writeMessage(1, accounts_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < accounts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, accounts_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Accounts)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts other = (com.vendasta.accountgroup.v1.generated.ApiProto.Accounts) obj;
boolean result = true;
result = result && getAccountsList()
.equals(other.getAccountsList());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getAccountsCount() > 0) {
hash = (37 * hash) + ACCOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getAccountsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts 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 com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts 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 com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Accounts prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.Accounts}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Accounts)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Accounts_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Accounts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.class, com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAccountsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (accountsBuilder_ == null) {
accounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
accountsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Accounts_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts result = new com.vendasta.accountgroup.v1.generated.ApiProto.Accounts(this);
int from_bitField0_ = bitField0_;
if (accountsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = java.util.Collections.unmodifiableList(accounts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.accounts_ = accounts_;
} else {
result.accounts_ = accountsBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Accounts) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Accounts)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Accounts other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.getDefaultInstance()) return this;
if (accountsBuilder_ == null) {
if (!other.accounts_.isEmpty()) {
if (accounts_.isEmpty()) {
accounts_ = other.accounts_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAccountsIsMutable();
accounts_.addAll(other.accounts_);
}
onChanged();
}
} else {
if (!other.accounts_.isEmpty()) {
if (accountsBuilder_.isEmpty()) {
accountsBuilder_.dispose();
accountsBuilder_ = null;
accounts_ = other.accounts_;
bitField0_ = (bitField0_ & ~0x00000001);
accountsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAccountsFieldBuilder() : null;
} else {
accountsBuilder_.addAllMessages(other.accounts_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Accounts) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List accounts_ =
java.util.Collections.emptyList();
private void ensureAccountsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = new java.util.ArrayList(accounts_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Account, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder> accountsBuilder_;
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public java.util.List getAccountsList() {
if (accountsBuilder_ == null) {
return java.util.Collections.unmodifiableList(accounts_);
} else {
return accountsBuilder_.getMessageList();
}
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public int getAccountsCount() {
if (accountsBuilder_ == null) {
return accounts_.size();
} else {
return accountsBuilder_.getCount();
}
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Account getAccounts(int index) {
if (accountsBuilder_ == null) {
return accounts_.get(index);
} else {
return accountsBuilder_.getMessage(index);
}
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder setAccounts(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Account value) {
if (accountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountsIsMutable();
accounts_.set(index, value);
onChanged();
} else {
accountsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder setAccounts(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder builderForValue) {
if (accountsBuilder_ == null) {
ensureAccountsIsMutable();
accounts_.set(index, builderForValue.build());
onChanged();
} else {
accountsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder addAccounts(com.vendasta.accountgroup.v1.generated.ApiProto.Account value) {
if (accountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountsIsMutable();
accounts_.add(value);
onChanged();
} else {
accountsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder addAccounts(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Account value) {
if (accountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAccountsIsMutable();
accounts_.add(index, value);
onChanged();
} else {
accountsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder addAccounts(
com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder builderForValue) {
if (accountsBuilder_ == null) {
ensureAccountsIsMutable();
accounts_.add(builderForValue.build());
onChanged();
} else {
accountsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder addAccounts(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder builderForValue) {
if (accountsBuilder_ == null) {
ensureAccountsIsMutable();
accounts_.add(index, builderForValue.build());
onChanged();
} else {
accountsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder addAllAccounts(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.Account> values) {
if (accountsBuilder_ == null) {
ensureAccountsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accounts_);
onChanged();
} else {
accountsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder clearAccounts() {
if (accountsBuilder_ == null) {
accounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
accountsBuilder_.clear();
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public Builder removeAccounts(int index) {
if (accountsBuilder_ == null) {
ensureAccountsIsMutable();
accounts_.remove(index);
onChanged();
} else {
accountsBuilder_.remove(index);
}
return this;
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder getAccountsBuilder(
int index) {
return getAccountsFieldBuilder().getBuilder(index);
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder getAccountsOrBuilder(
int index) {
if (accountsBuilder_ == null) {
return accounts_.get(index); } else {
return accountsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>
getAccountsOrBuilderList() {
if (accountsBuilder_ != null) {
return accountsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(accounts_);
}
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder addAccountsBuilder() {
return getAccountsFieldBuilder().addBuilder(
com.vendasta.accountgroup.v1.generated.ApiProto.Account.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder addAccountsBuilder(
int index) {
return getAccountsFieldBuilder().addBuilder(
index, com.vendasta.accountgroup.v1.generated.ApiProto.Account.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Account accounts = 1;
*/
public java.util.List
getAccountsBuilderList() {
return getAccountsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Account, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>
getAccountsFieldBuilder() {
if (accountsBuilder_ == null) {
accountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Account, com.vendasta.accountgroup.v1.generated.ApiProto.Account.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>(
accounts_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
accounts_ = null;
}
return accountsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Accounts)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Accounts)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Accounts DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Accounts();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Accounts parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Accounts(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListingDistributionDetailsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ListingDistributionDetails)
com.google.protobuf.MessageOrBuilder {
/**
* string order_id = 1;
*/
java.lang.String getOrderId();
/**
* string order_id = 1;
*/
com.google.protobuf.ByteString
getOrderIdBytes();
/**
* string purchase_id = 2;
*/
java.lang.String getPurchaseId();
/**
* string purchase_id = 2;
*/
com.google.protobuf.ByteString
getPurchaseIdBytes();
/**
* .google.protobuf.Timestamp from_date = 3;
*/
boolean hasFromDate();
/**
* .google.protobuf.Timestamp from_date = 3;
*/
com.google.protobuf.Timestamp getFromDate();
/**
* .google.protobuf.Timestamp from_date = 3;
*/
com.google.protobuf.TimestampOrBuilder getFromDateOrBuilder();
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
boolean hasThruDate();
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
com.google.protobuf.Timestamp getThruDate();
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
com.google.protobuf.TimestampOrBuilder getThruDateOrBuilder();
/**
* bool auto_renew = 5;
*/
boolean getAutoRenew();
}
/**
* Protobuf type {@code accountgroup.v1.ListingDistributionDetails}
*/
public static final class ListingDistributionDetails extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ListingDistributionDetails)
ListingDistributionDetailsOrBuilder {
// Use ListingDistributionDetails.newBuilder() to construct.
private ListingDistributionDetails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListingDistributionDetails() {
orderId_ = "";
purchaseId_ = "";
autoRenew_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ListingDistributionDetails(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
orderId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
purchaseId_ = s;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (fromDate_ != null) {
subBuilder = fromDate_.toBuilder();
}
fromDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fromDate_);
fromDate_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (thruDate_ != null) {
subBuilder = thruDate_.toBuilder();
}
thruDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(thruDate_);
thruDate_ = subBuilder.buildPartial();
}
break;
}
case 40: {
autoRenew_ = input.readBool();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingDistributionDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingDistributionDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder.class);
}
public static final int ORDER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object orderId_;
/**
* string order_id = 1;
*/
public java.lang.String getOrderId() {
java.lang.Object ref = orderId_;
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();
orderId_ = s;
return s;
}
}
/**
* string order_id = 1;
*/
public com.google.protobuf.ByteString
getOrderIdBytes() {
java.lang.Object ref = orderId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
orderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PURCHASE_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object purchaseId_;
/**
* string purchase_id = 2;
*/
public java.lang.String getPurchaseId() {
java.lang.Object ref = purchaseId_;
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();
purchaseId_ = s;
return s;
}
}
/**
* string purchase_id = 2;
*/
public com.google.protobuf.ByteString
getPurchaseIdBytes() {
java.lang.Object ref = purchaseId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FROM_DATE_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp fromDate_;
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public boolean hasFromDate() {
return fromDate_ != null;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public com.google.protobuf.Timestamp getFromDate() {
return fromDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : fromDate_;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public com.google.protobuf.TimestampOrBuilder getFromDateOrBuilder() {
return getFromDate();
}
public static final int THRU_DATE_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp thruDate_;
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public boolean hasThruDate() {
return thruDate_ != null;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public com.google.protobuf.Timestamp getThruDate() {
return thruDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : thruDate_;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public com.google.protobuf.TimestampOrBuilder getThruDateOrBuilder() {
return getThruDate();
}
public static final int AUTO_RENEW_FIELD_NUMBER = 5;
private boolean autoRenew_;
/**
* bool auto_renew = 5;
*/
public boolean getAutoRenew() {
return autoRenew_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getOrderIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderId_);
}
if (!getPurchaseIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, purchaseId_);
}
if (fromDate_ != null) {
output.writeMessage(3, getFromDate());
}
if (thruDate_ != null) {
output.writeMessage(4, getThruDate());
}
if (autoRenew_ != false) {
output.writeBool(5, autoRenew_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getOrderIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderId_);
}
if (!getPurchaseIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, purchaseId_);
}
if (fromDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getFromDate());
}
if (thruDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getThruDate());
}
if (autoRenew_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, autoRenew_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails other = (com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails) obj;
boolean result = true;
result = result && getOrderId()
.equals(other.getOrderId());
result = result && getPurchaseId()
.equals(other.getPurchaseId());
result = result && (hasFromDate() == other.hasFromDate());
if (hasFromDate()) {
result = result && getFromDate()
.equals(other.getFromDate());
}
result = result && (hasThruDate() == other.hasThruDate());
if (hasThruDate()) {
result = result && getThruDate()
.equals(other.getThruDate());
}
result = result && (getAutoRenew()
== other.getAutoRenew());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ORDER_ID_FIELD_NUMBER;
hash = (53 * hash) + getOrderId().hashCode();
hash = (37 * hash) + PURCHASE_ID_FIELD_NUMBER;
hash = (53 * hash) + getPurchaseId().hashCode();
if (hasFromDate()) {
hash = (37 * hash) + FROM_DATE_FIELD_NUMBER;
hash = (53 * hash) + getFromDate().hashCode();
}
if (hasThruDate()) {
hash = (37 * hash) + THRU_DATE_FIELD_NUMBER;
hash = (53 * hash) + getThruDate().hashCode();
}
hash = (37 * hash) + AUTO_RENEW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAutoRenew());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.ListingDistributionDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ListingDistributionDetails)
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingDistributionDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingDistributionDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
orderId_ = "";
purchaseId_ = "";
if (fromDateBuilder_ == null) {
fromDate_ = null;
} else {
fromDate_ = null;
fromDateBuilder_ = null;
}
if (thruDateBuilder_ == null) {
thruDate_ = null;
} else {
thruDate_ = null;
thruDateBuilder_ = null;
}
autoRenew_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingDistributionDetails_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails result = new com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails(this);
result.orderId_ = orderId_;
result.purchaseId_ = purchaseId_;
if (fromDateBuilder_ == null) {
result.fromDate_ = fromDate_;
} else {
result.fromDate_ = fromDateBuilder_.build();
}
if (thruDateBuilder_ == null) {
result.thruDate_ = thruDate_;
} else {
result.thruDate_ = thruDateBuilder_.build();
}
result.autoRenew_ = autoRenew_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.getDefaultInstance()) return this;
if (!other.getOrderId().isEmpty()) {
orderId_ = other.orderId_;
onChanged();
}
if (!other.getPurchaseId().isEmpty()) {
purchaseId_ = other.purchaseId_;
onChanged();
}
if (other.hasFromDate()) {
mergeFromDate(other.getFromDate());
}
if (other.hasThruDate()) {
mergeThruDate(other.getThruDate());
}
if (other.getAutoRenew() != false) {
setAutoRenew(other.getAutoRenew());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object orderId_ = "";
/**
* string order_id = 1;
*/
public java.lang.String getOrderId() {
java.lang.Object ref = orderId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
orderId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string order_id = 1;
*/
public com.google.protobuf.ByteString
getOrderIdBytes() {
java.lang.Object ref = orderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
orderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string order_id = 1;
*/
public Builder setOrderId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
orderId_ = value;
onChanged();
return this;
}
/**
* string order_id = 1;
*/
public Builder clearOrderId() {
orderId_ = getDefaultInstance().getOrderId();
onChanged();
return this;
}
/**
* string order_id = 1;
*/
public Builder setOrderIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
orderId_ = value;
onChanged();
return this;
}
private java.lang.Object purchaseId_ = "";
/**
* string purchase_id = 2;
*/
public java.lang.String getPurchaseId() {
java.lang.Object ref = purchaseId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
purchaseId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string purchase_id = 2;
*/
public com.google.protobuf.ByteString
getPurchaseIdBytes() {
java.lang.Object ref = purchaseId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string purchase_id = 2;
*/
public Builder setPurchaseId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
purchaseId_ = value;
onChanged();
return this;
}
/**
* string purchase_id = 2;
*/
public Builder clearPurchaseId() {
purchaseId_ = getDefaultInstance().getPurchaseId();
onChanged();
return this;
}
/**
* string purchase_id = 2;
*/
public Builder setPurchaseIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
purchaseId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp fromDate_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> fromDateBuilder_;
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public boolean hasFromDate() {
return fromDateBuilder_ != null || fromDate_ != null;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public com.google.protobuf.Timestamp getFromDate() {
if (fromDateBuilder_ == null) {
return fromDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : fromDate_;
} else {
return fromDateBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public Builder setFromDate(com.google.protobuf.Timestamp value) {
if (fromDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fromDate_ = value;
onChanged();
} else {
fromDateBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public Builder setFromDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (fromDateBuilder_ == null) {
fromDate_ = builderForValue.build();
onChanged();
} else {
fromDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public Builder mergeFromDate(com.google.protobuf.Timestamp value) {
if (fromDateBuilder_ == null) {
if (fromDate_ != null) {
fromDate_ =
com.google.protobuf.Timestamp.newBuilder(fromDate_).mergeFrom(value).buildPartial();
} else {
fromDate_ = value;
}
onChanged();
} else {
fromDateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public Builder clearFromDate() {
if (fromDateBuilder_ == null) {
fromDate_ = null;
onChanged();
} else {
fromDate_ = null;
fromDateBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public com.google.protobuf.Timestamp.Builder getFromDateBuilder() {
onChanged();
return getFromDateFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
public com.google.protobuf.TimestampOrBuilder getFromDateOrBuilder() {
if (fromDateBuilder_ != null) {
return fromDateBuilder_.getMessageOrBuilder();
} else {
return fromDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : fromDate_;
}
}
/**
* .google.protobuf.Timestamp from_date = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getFromDateFieldBuilder() {
if (fromDateBuilder_ == null) {
fromDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getFromDate(),
getParentForChildren(),
isClean());
fromDate_ = null;
}
return fromDateBuilder_;
}
private com.google.protobuf.Timestamp thruDate_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> thruDateBuilder_;
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public boolean hasThruDate() {
return thruDateBuilder_ != null || thruDate_ != null;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public com.google.protobuf.Timestamp getThruDate() {
if (thruDateBuilder_ == null) {
return thruDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : thruDate_;
} else {
return thruDateBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public Builder setThruDate(com.google.protobuf.Timestamp value) {
if (thruDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
thruDate_ = value;
onChanged();
} else {
thruDateBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public Builder setThruDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (thruDateBuilder_ == null) {
thruDate_ = builderForValue.build();
onChanged();
} else {
thruDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public Builder mergeThruDate(com.google.protobuf.Timestamp value) {
if (thruDateBuilder_ == null) {
if (thruDate_ != null) {
thruDate_ =
com.google.protobuf.Timestamp.newBuilder(thruDate_).mergeFrom(value).buildPartial();
} else {
thruDate_ = value;
}
onChanged();
} else {
thruDateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public Builder clearThruDate() {
if (thruDateBuilder_ == null) {
thruDate_ = null;
onChanged();
} else {
thruDate_ = null;
thruDateBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public com.google.protobuf.Timestamp.Builder getThruDateBuilder() {
onChanged();
return getThruDateFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
public com.google.protobuf.TimestampOrBuilder getThruDateOrBuilder() {
if (thruDateBuilder_ != null) {
return thruDateBuilder_.getMessageOrBuilder();
} else {
return thruDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : thruDate_;
}
}
/**
* .google.protobuf.Timestamp thru_date = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getThruDateFieldBuilder() {
if (thruDateBuilder_ == null) {
thruDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getThruDate(),
getParentForChildren(),
isClean());
thruDate_ = null;
}
return thruDateBuilder_;
}
private boolean autoRenew_ ;
/**
* bool auto_renew = 5;
*/
public boolean getAutoRenew() {
return autoRenew_;
}
/**
* bool auto_renew = 5;
*/
public Builder setAutoRenew(boolean value) {
autoRenew_ = value;
onChanged();
return this;
}
/**
* bool auto_renew = 5;
*/
public Builder clearAutoRenew() {
autoRenew_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ListingDistributionDetails)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ListingDistributionDetails)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListingDistributionDetails parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListingDistributionDetails(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListingSyncProOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ListingSyncPro)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
boolean hasPurchaseDate();
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
com.google.protobuf.Timestamp getPurchaseDate();
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
com.google.protobuf.TimestampOrBuilder getPurchaseDateOrBuilder();
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
int getBillingFrequencyValue();
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency getBillingFrequency();
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
boolean hasExpiryDate();
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
com.google.protobuf.Timestamp getExpiryDate();
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder();
/**
* string country = 4;
*/
java.lang.String getCountry();
/**
* string country = 4;
*/
com.google.protobuf.ByteString
getCountryBytes();
/**
* bool discount_flag = 5;
*/
boolean getDiscountFlag();
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
int getServiceProviderValue();
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders getServiceProvider();
}
/**
* Protobuf type {@code accountgroup.v1.ListingSyncPro}
*/
public static final class ListingSyncPro extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ListingSyncPro)
ListingSyncProOrBuilder {
// Use ListingSyncPro.newBuilder() to construct.
private ListingSyncPro(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListingSyncPro() {
billingFrequency_ = 0;
country_ = "";
discountFlag_ = false;
serviceProvider_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ListingSyncPro(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (purchaseDate_ != null) {
subBuilder = purchaseDate_.toBuilder();
}
purchaseDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(purchaseDate_);
purchaseDate_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
billingFrequency_ = rawValue;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (expiryDate_ != null) {
subBuilder = expiryDate_.toBuilder();
}
expiryDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(expiryDate_);
expiryDate_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
country_ = s;
break;
}
case 40: {
discountFlag_ = input.readBool();
break;
}
case 48: {
int rawValue = input.readEnum();
serviceProvider_ = rawValue;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingSyncPro_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingSyncPro_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder.class);
}
/**
* Protobuf enum {@code accountgroup.v1.ListingSyncPro.ServiceProviders}
*/
public enum ServiceProviders
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UBERALL = 0;
*/
UBERALL(0),
/**
* YEXT = 1;
*/
YEXT(1),
UNRECOGNIZED(-1),
;
/**
* UBERALL = 0;
*/
public static final int UBERALL_VALUE = 0;
/**
* YEXT = 1;
*/
public static final int YEXT_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServiceProviders valueOf(int value) {
return forNumber(value);
}
public static ServiceProviders forNumber(int value) {
switch (value) {
case 0: return UBERALL;
case 1: return YEXT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ServiceProviders> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ServiceProviders findValueByNumber(int number) {
return ServiceProviders.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDescriptor().getEnumTypes().get(0);
}
private static final ServiceProviders[] VALUES = values();
public static ServiceProviders valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ServiceProviders(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.ListingSyncPro.ServiceProviders)
}
/**
* Protobuf enum {@code accountgroup.v1.ListingSyncPro.BillingFrequency}
*/
public enum BillingFrequency
implements com.google.protobuf.ProtocolMessageEnum {
/**
* MONTHLY = 0;
*/
MONTHLY(0),
/**
* YEARLY = 1;
*/
YEARLY(1),
/**
* ONE_TIME = 2;
*/
ONE_TIME(2),
UNRECOGNIZED(-1),
;
/**
* MONTHLY = 0;
*/
public static final int MONTHLY_VALUE = 0;
/**
* YEARLY = 1;
*/
public static final int YEARLY_VALUE = 1;
/**
* ONE_TIME = 2;
*/
public static final int ONE_TIME_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BillingFrequency valueOf(int value) {
return forNumber(value);
}
public static BillingFrequency forNumber(int value) {
switch (value) {
case 0: return MONTHLY;
case 1: return YEARLY;
case 2: return ONE_TIME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BillingFrequency> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public BillingFrequency findValueByNumber(int number) {
return BillingFrequency.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDescriptor().getEnumTypes().get(1);
}
private static final BillingFrequency[] VALUES = values();
public static BillingFrequency valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private BillingFrequency(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.ListingSyncPro.BillingFrequency)
}
public static final int PURCHASE_DATE_FIELD_NUMBER = 1;
private com.google.protobuf.Timestamp purchaseDate_;
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public boolean hasPurchaseDate() {
return purchaseDate_ != null;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public com.google.protobuf.Timestamp getPurchaseDate() {
return purchaseDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purchaseDate_;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public com.google.protobuf.TimestampOrBuilder getPurchaseDateOrBuilder() {
return getPurchaseDate();
}
public static final int BILLING_FREQUENCY_FIELD_NUMBER = 2;
private int billingFrequency_;
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public int getBillingFrequencyValue() {
return billingFrequency_;
}
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency getBillingFrequency() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency result = com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.valueOf(billingFrequency_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.UNRECOGNIZED : result;
}
public static final int EXPIRY_DATE_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp expiryDate_;
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public boolean hasExpiryDate() {
return expiryDate_ != null;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public com.google.protobuf.Timestamp getExpiryDate() {
return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() {
return getExpiryDate();
}
public static final int COUNTRY_FIELD_NUMBER = 4;
private volatile java.lang.Object country_;
/**
* string country = 4;
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
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();
country_ = s;
return s;
}
}
/**
* string country = 4;
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DISCOUNT_FLAG_FIELD_NUMBER = 5;
private boolean discountFlag_;
/**
* bool discount_flag = 5;
*/
public boolean getDiscountFlag() {
return discountFlag_;
}
public static final int SERVICE_PROVIDER_FIELD_NUMBER = 6;
private int serviceProvider_;
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public int getServiceProviderValue() {
return serviceProvider_;
}
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders getServiceProvider() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders result = com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.valueOf(serviceProvider_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (purchaseDate_ != null) {
output.writeMessage(1, getPurchaseDate());
}
if (billingFrequency_ != com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.MONTHLY.getNumber()) {
output.writeEnum(2, billingFrequency_);
}
if (expiryDate_ != null) {
output.writeMessage(3, getExpiryDate());
}
if (!getCountryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, country_);
}
if (discountFlag_ != false) {
output.writeBool(5, discountFlag_);
}
if (serviceProvider_ != com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.UBERALL.getNumber()) {
output.writeEnum(6, serviceProvider_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (purchaseDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPurchaseDate());
}
if (billingFrequency_ != com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.MONTHLY.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, billingFrequency_);
}
if (expiryDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getExpiryDate());
}
if (!getCountryBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, country_);
}
if (discountFlag_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, discountFlag_);
}
if (serviceProvider_ != com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.UBERALL.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, serviceProvider_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro other = (com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro) obj;
boolean result = true;
result = result && (hasPurchaseDate() == other.hasPurchaseDate());
if (hasPurchaseDate()) {
result = result && getPurchaseDate()
.equals(other.getPurchaseDate());
}
result = result && billingFrequency_ == other.billingFrequency_;
result = result && (hasExpiryDate() == other.hasExpiryDate());
if (hasExpiryDate()) {
result = result && getExpiryDate()
.equals(other.getExpiryDate());
}
result = result && getCountry()
.equals(other.getCountry());
result = result && (getDiscountFlag()
== other.getDiscountFlag());
result = result && serviceProvider_ == other.serviceProvider_;
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPurchaseDate()) {
hash = (37 * hash) + PURCHASE_DATE_FIELD_NUMBER;
hash = (53 * hash) + getPurchaseDate().hashCode();
}
hash = (37 * hash) + BILLING_FREQUENCY_FIELD_NUMBER;
hash = (53 * hash) + billingFrequency_;
if (hasExpiryDate()) {
hash = (37 * hash) + EXPIRY_DATE_FIELD_NUMBER;
hash = (53 * hash) + getExpiryDate().hashCode();
}
hash = (37 * hash) + COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCountry().hashCode();
hash = (37 * hash) + DISCOUNT_FLAG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDiscountFlag());
hash = (37 * hash) + SERVICE_PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + serviceProvider_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.ListingSyncPro}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ListingSyncPro)
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingSyncPro_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingSyncPro_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (purchaseDateBuilder_ == null) {
purchaseDate_ = null;
} else {
purchaseDate_ = null;
purchaseDateBuilder_ = null;
}
billingFrequency_ = 0;
if (expiryDateBuilder_ == null) {
expiryDate_ = null;
} else {
expiryDate_ = null;
expiryDateBuilder_ = null;
}
country_ = "";
discountFlag_ = false;
serviceProvider_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListingSyncPro_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro result = new com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro(this);
if (purchaseDateBuilder_ == null) {
result.purchaseDate_ = purchaseDate_;
} else {
result.purchaseDate_ = purchaseDateBuilder_.build();
}
result.billingFrequency_ = billingFrequency_;
if (expiryDateBuilder_ == null) {
result.expiryDate_ = expiryDate_;
} else {
result.expiryDate_ = expiryDateBuilder_.build();
}
result.country_ = country_;
result.discountFlag_ = discountFlag_;
result.serviceProvider_ = serviceProvider_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDefaultInstance()) return this;
if (other.hasPurchaseDate()) {
mergePurchaseDate(other.getPurchaseDate());
}
if (other.billingFrequency_ != 0) {
setBillingFrequencyValue(other.getBillingFrequencyValue());
}
if (other.hasExpiryDate()) {
mergeExpiryDate(other.getExpiryDate());
}
if (!other.getCountry().isEmpty()) {
country_ = other.country_;
onChanged();
}
if (other.getDiscountFlag() != false) {
setDiscountFlag(other.getDiscountFlag());
}
if (other.serviceProvider_ != 0) {
setServiceProviderValue(other.getServiceProviderValue());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Timestamp purchaseDate_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purchaseDateBuilder_;
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public boolean hasPurchaseDate() {
return purchaseDateBuilder_ != null || purchaseDate_ != null;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public com.google.protobuf.Timestamp getPurchaseDate() {
if (purchaseDateBuilder_ == null) {
return purchaseDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purchaseDate_;
} else {
return purchaseDateBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public Builder setPurchaseDate(com.google.protobuf.Timestamp value) {
if (purchaseDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
purchaseDate_ = value;
onChanged();
} else {
purchaseDateBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public Builder setPurchaseDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (purchaseDateBuilder_ == null) {
purchaseDate_ = builderForValue.build();
onChanged();
} else {
purchaseDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public Builder mergePurchaseDate(com.google.protobuf.Timestamp value) {
if (purchaseDateBuilder_ == null) {
if (purchaseDate_ != null) {
purchaseDate_ =
com.google.protobuf.Timestamp.newBuilder(purchaseDate_).mergeFrom(value).buildPartial();
} else {
purchaseDate_ = value;
}
onChanged();
} else {
purchaseDateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public Builder clearPurchaseDate() {
if (purchaseDateBuilder_ == null) {
purchaseDate_ = null;
onChanged();
} else {
purchaseDate_ = null;
purchaseDateBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public com.google.protobuf.Timestamp.Builder getPurchaseDateBuilder() {
onChanged();
return getPurchaseDateFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
public com.google.protobuf.TimestampOrBuilder getPurchaseDateOrBuilder() {
if (purchaseDateBuilder_ != null) {
return purchaseDateBuilder_.getMessageOrBuilder();
} else {
return purchaseDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : purchaseDate_;
}
}
/**
* .google.protobuf.Timestamp purchase_date = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getPurchaseDateFieldBuilder() {
if (purchaseDateBuilder_ == null) {
purchaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getPurchaseDate(),
getParentForChildren(),
isClean());
purchaseDate_ = null;
}
return purchaseDateBuilder_;
}
private int billingFrequency_ = 0;
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public int getBillingFrequencyValue() {
return billingFrequency_;
}
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public Builder setBillingFrequencyValue(int value) {
billingFrequency_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency getBillingFrequency() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency result = com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.valueOf(billingFrequency_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public Builder setBillingFrequency(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.BillingFrequency value) {
if (value == null) {
throw new NullPointerException();
}
billingFrequency_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.ListingSyncPro.BillingFrequency billing_frequency = 2;
*/
public Builder clearBillingFrequency() {
billingFrequency_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp expiryDate_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryDateBuilder_;
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public boolean hasExpiryDate() {
return expiryDateBuilder_ != null || expiryDate_ != null;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public com.google.protobuf.Timestamp getExpiryDate() {
if (expiryDateBuilder_ == null) {
return expiryDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_;
} else {
return expiryDateBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public Builder setExpiryDate(com.google.protobuf.Timestamp value) {
if (expiryDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expiryDate_ = value;
onChanged();
} else {
expiryDateBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public Builder setExpiryDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (expiryDateBuilder_ == null) {
expiryDate_ = builderForValue.build();
onChanged();
} else {
expiryDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public Builder mergeExpiryDate(com.google.protobuf.Timestamp value) {
if (expiryDateBuilder_ == null) {
if (expiryDate_ != null) {
expiryDate_ =
com.google.protobuf.Timestamp.newBuilder(expiryDate_).mergeFrom(value).buildPartial();
} else {
expiryDate_ = value;
}
onChanged();
} else {
expiryDateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public Builder clearExpiryDate() {
if (expiryDateBuilder_ == null) {
expiryDate_ = null;
onChanged();
} else {
expiryDate_ = null;
expiryDateBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public com.google.protobuf.Timestamp.Builder getExpiryDateBuilder() {
onChanged();
return getExpiryDateFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryDateOrBuilder() {
if (expiryDateBuilder_ != null) {
return expiryDateBuilder_.getMessageOrBuilder();
} else {
return expiryDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : expiryDate_;
}
}
/**
* .google.protobuf.Timestamp expiry_date = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getExpiryDateFieldBuilder() {
if (expiryDateBuilder_ == null) {
expiryDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getExpiryDate(),
getParentForChildren(),
isClean());
expiryDate_ = null;
}
return expiryDateBuilder_;
}
private java.lang.Object country_ = "";
/**
* string country = 4;
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
country_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string country = 4;
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string country = 4;
*/
public Builder setCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
country_ = value;
onChanged();
return this;
}
/**
* string country = 4;
*/
public Builder clearCountry() {
country_ = getDefaultInstance().getCountry();
onChanged();
return this;
}
/**
* string country = 4;
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
country_ = value;
onChanged();
return this;
}
private boolean discountFlag_ ;
/**
* bool discount_flag = 5;
*/
public boolean getDiscountFlag() {
return discountFlag_;
}
/**
* bool discount_flag = 5;
*/
public Builder setDiscountFlag(boolean value) {
discountFlag_ = value;
onChanged();
return this;
}
/**
* bool discount_flag = 5;
*/
public Builder clearDiscountFlag() {
discountFlag_ = false;
onChanged();
return this;
}
private int serviceProvider_ = 0;
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public int getServiceProviderValue() {
return serviceProvider_;
}
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public Builder setServiceProviderValue(int value) {
serviceProvider_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders getServiceProvider() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders result = com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.valueOf(serviceProvider_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public Builder setServiceProvider(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.ServiceProviders value) {
if (value == null) {
throw new NullPointerException();
}
serviceProvider_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.ListingSyncPro.ServiceProviders service_provider = 6;
*/
public Builder clearServiceProvider() {
serviceProvider_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ListingSyncPro)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ListingSyncPro)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListingSyncPro parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListingSyncPro(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountGroupExternalIdentifiersOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.AccountGroupExternalIdentifiers)
com.google.protobuf.MessageOrBuilder {
/**
* string origin = 1;
*/
java.lang.String getOrigin();
/**
* string origin = 1;
*/
com.google.protobuf.ByteString
getOriginBytes();
/**
* repeated string job_id = 2;
*/
java.util.List
getJobIdList();
/**
* repeated string job_id = 2;
*/
int getJobIdCount();
/**
* repeated string job_id = 2;
*/
java.lang.String getJobId(int index);
/**
* repeated string job_id = 2;
*/
com.google.protobuf.ByteString
getJobIdBytes(int index);
/**
* string customer_identifier = 3;
*/
java.lang.String getCustomerIdentifier();
/**
* string customer_identifier = 3;
*/
com.google.protobuf.ByteString
getCustomerIdentifierBytes();
/**
* repeated string tags = 5;
*/
java.util.List
getTagsList();
/**
* repeated string tags = 5;
*/
int getTagsCount();
/**
* repeated string tags = 5;
*/
java.lang.String getTags(int index);
/**
* repeated string tags = 5;
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
/**
* repeated string action_lists = 6;
*/
java.util.List
getActionListsList();
/**
* repeated string action_lists = 6;
*/
int getActionListsCount();
/**
* repeated string action_lists = 6;
*/
java.lang.String getActionLists(int index);
/**
* repeated string action_lists = 6;
*/
com.google.protobuf.ByteString
getActionListsBytes(int index);
/**
* string social_profile_id = 7;
*/
java.lang.String getSocialProfileId();
/**
* string social_profile_id = 7;
*/
com.google.protobuf.ByteString
getSocialProfileIdBytes();
/**
* string partner_id = 8;
*/
java.lang.String getPartnerId();
/**
* string partner_id = 8;
*/
com.google.protobuf.ByteString
getPartnerIdBytes();
/**
* string market_id = 9;
*/
java.lang.String getMarketId();
/**
* string market_id = 9;
*/
com.google.protobuf.ByteString
getMarketIdBytes();
/**
* repeated string tax_ids = 10;
*/
java.util.List
getTaxIdsList();
/**
* repeated string tax_ids = 10;
*/
int getTaxIdsCount();
/**
* repeated string tax_ids = 10;
*/
java.lang.String getTaxIds(int index);
/**
* repeated string tax_ids = 10;
*/
com.google.protobuf.ByteString
getTaxIdsBytes(int index);
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
java.lang.String getSalesPersonId();
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
com.google.protobuf.ByteString
getSalesPersonIdBytes();
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
java.util.List
getAdditionalSalesPersonIdsList();
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
int getAdditionalSalesPersonIdsCount();
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
java.lang.String getAdditionalSalesPersonIds(int index);
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
com.google.protobuf.ByteString
getAdditionalSalesPersonIdsBytes(int index);
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
java.lang.String getSalesforceId();
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
com.google.protobuf.ByteString
getSalesforceIdBytes();
}
/**
* Protobuf type {@code accountgroup.v1.AccountGroupExternalIdentifiers}
*/
public static final class AccountGroupExternalIdentifiers extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.AccountGroupExternalIdentifiers)
AccountGroupExternalIdentifiersOrBuilder {
// Use AccountGroupExternalIdentifiers.newBuilder() to construct.
private AccountGroupExternalIdentifiers(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccountGroupExternalIdentifiers() {
origin_ = "";
jobId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
customerIdentifier_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
actionLists_ = com.google.protobuf.LazyStringArrayList.EMPTY;
socialProfileId_ = "";
partnerId_ = "";
marketId_ = "";
taxIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
salesPersonId_ = "";
additionalSalesPersonIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
salesforceId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private AccountGroupExternalIdentifiers(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
origin_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
jobId_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
jobId_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
customerIdentifier_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
tags_.add(s);
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
actionLists_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
actionLists_.add(s);
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
socialProfileId_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
partnerId_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
marketId_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
taxIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000100;
}
taxIds_.add(s);
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
salesPersonId_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
additionalSalesPersonIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000400;
}
additionalSalesPersonIds_.add(s);
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
salesforceId_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
jobId_ = jobId_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = tags_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
actionLists_ = actionLists_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
taxIds_ = taxIds_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
additionalSalesPersonIds_ = additionalSalesPersonIds_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupExternalIdentifiers_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupExternalIdentifiers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder.class);
}
private int bitField0_;
public static final int ORIGIN_FIELD_NUMBER = 1;
private volatile java.lang.Object origin_;
/**
* string origin = 1;
*/
public java.lang.String getOrigin() {
java.lang.Object ref = origin_;
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();
origin_ = s;
return s;
}
}
/**
* string origin = 1;
*/
public com.google.protobuf.ByteString
getOriginBytes() {
java.lang.Object ref = origin_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
origin_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_ID_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList jobId_;
/**
* repeated string job_id = 2;
*/
public com.google.protobuf.ProtocolStringList
getJobIdList() {
return jobId_;
}
/**
* repeated string job_id = 2;
*/
public int getJobIdCount() {
return jobId_.size();
}
/**
* repeated string job_id = 2;
*/
public java.lang.String getJobId(int index) {
return jobId_.get(index);
}
/**
* repeated string job_id = 2;
*/
public com.google.protobuf.ByteString
getJobIdBytes(int index) {
return jobId_.getByteString(index);
}
public static final int CUSTOMER_IDENTIFIER_FIELD_NUMBER = 3;
private volatile java.lang.Object customerIdentifier_;
/**
* string customer_identifier = 3;
*/
public java.lang.String getCustomerIdentifier() {
java.lang.Object ref = customerIdentifier_;
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();
customerIdentifier_ = s;
return s;
}
}
/**
* string customer_identifier = 3;
*/
public com.google.protobuf.ByteString
getCustomerIdentifierBytes() {
java.lang.Object ref = customerIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customerIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGS_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList tags_;
/**
* repeated string tags = 5;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* repeated string tags = 5;
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 5;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 5;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int ACTION_LISTS_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList actionLists_;
/**
* repeated string action_lists = 6;
*/
public com.google.protobuf.ProtocolStringList
getActionListsList() {
return actionLists_;
}
/**
* repeated string action_lists = 6;
*/
public int getActionListsCount() {
return actionLists_.size();
}
/**
* repeated string action_lists = 6;
*/
public java.lang.String getActionLists(int index) {
return actionLists_.get(index);
}
/**
* repeated string action_lists = 6;
*/
public com.google.protobuf.ByteString
getActionListsBytes(int index) {
return actionLists_.getByteString(index);
}
public static final int SOCIAL_PROFILE_ID_FIELD_NUMBER = 7;
private volatile java.lang.Object socialProfileId_;
/**
* string social_profile_id = 7;
*/
public java.lang.String getSocialProfileId() {
java.lang.Object ref = socialProfileId_;
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();
socialProfileId_ = s;
return s;
}
}
/**
* string social_profile_id = 7;
*/
public com.google.protobuf.ByteString
getSocialProfileIdBytes() {
java.lang.Object ref = socialProfileId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
socialProfileId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARTNER_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object partnerId_;
/**
* string partner_id = 8;
*/
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;
}
}
/**
* string partner_id = 8;
*/
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 MARKET_ID_FIELD_NUMBER = 9;
private volatile java.lang.Object marketId_;
/**
* string market_id = 9;
*/
public java.lang.String getMarketId() {
java.lang.Object ref = marketId_;
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();
marketId_ = s;
return s;
}
}
/**
* string market_id = 9;
*/
public com.google.protobuf.ByteString
getMarketIdBytes() {
java.lang.Object ref = marketId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
marketId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAX_IDS_FIELD_NUMBER = 10;
private com.google.protobuf.LazyStringList taxIds_;
/**
* repeated string tax_ids = 10;
*/
public com.google.protobuf.ProtocolStringList
getTaxIdsList() {
return taxIds_;
}
/**
* repeated string tax_ids = 10;
*/
public int getTaxIdsCount() {
return taxIds_.size();
}
/**
* repeated string tax_ids = 10;
*/
public java.lang.String getTaxIds(int index) {
return taxIds_.get(index);
}
/**
* repeated string tax_ids = 10;
*/
public com.google.protobuf.ByteString
getTaxIdsBytes(int index) {
return taxIds_.getByteString(index);
}
public static final int SALES_PERSON_ID_FIELD_NUMBER = 11;
private volatile java.lang.Object salesPersonId_;
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public java.lang.String getSalesPersonId() {
java.lang.Object ref = salesPersonId_;
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();
salesPersonId_ = s;
return s;
}
}
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public com.google.protobuf.ByteString
getSalesPersonIdBytes() {
java.lang.Object ref = salesPersonId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salesPersonId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADDITIONAL_SALES_PERSON_IDS_FIELD_NUMBER = 12;
private com.google.protobuf.LazyStringList additionalSalesPersonIds_;
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public com.google.protobuf.ProtocolStringList
getAdditionalSalesPersonIdsList() {
return additionalSalesPersonIds_;
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public int getAdditionalSalesPersonIdsCount() {
return additionalSalesPersonIds_.size();
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public java.lang.String getAdditionalSalesPersonIds(int index) {
return additionalSalesPersonIds_.get(index);
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public com.google.protobuf.ByteString
getAdditionalSalesPersonIdsBytes(int index) {
return additionalSalesPersonIds_.getByteString(index);
}
public static final int SALESFORCE_ID_FIELD_NUMBER = 13;
private volatile java.lang.Object salesforceId_;
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public java.lang.String getSalesforceId() {
java.lang.Object ref = salesforceId_;
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();
salesforceId_ = s;
return s;
}
}
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public com.google.protobuf.ByteString
getSalesforceIdBytes() {
java.lang.Object ref = salesforceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salesforceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getOriginBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, origin_);
}
for (int i = 0; i < jobId_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_.getRaw(i));
}
if (!getCustomerIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, customerIdentifier_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tags_.getRaw(i));
}
for (int i = 0; i < actionLists_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, actionLists_.getRaw(i));
}
if (!getSocialProfileIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, socialProfileId_);
}
if (!getPartnerIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, partnerId_);
}
if (!getMarketIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, marketId_);
}
for (int i = 0; i < taxIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, taxIds_.getRaw(i));
}
if (!getSalesPersonIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, salesPersonId_);
}
for (int i = 0; i < additionalSalesPersonIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, additionalSalesPersonIds_.getRaw(i));
}
if (!getSalesforceIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, salesforceId_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getOriginBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, origin_);
}
{
int dataSize = 0;
for (int i = 0; i < jobId_.size(); i++) {
dataSize += computeStringSizeNoTag(jobId_.getRaw(i));
}
size += dataSize;
size += 1 * getJobIdList().size();
}
if (!getCustomerIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerIdentifier_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < actionLists_.size(); i++) {
dataSize += computeStringSizeNoTag(actionLists_.getRaw(i));
}
size += dataSize;
size += 1 * getActionListsList().size();
}
if (!getSocialProfileIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, socialProfileId_);
}
if (!getPartnerIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, partnerId_);
}
if (!getMarketIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, marketId_);
}
{
int dataSize = 0;
for (int i = 0; i < taxIds_.size(); i++) {
dataSize += computeStringSizeNoTag(taxIds_.getRaw(i));
}
size += dataSize;
size += 1 * getTaxIdsList().size();
}
if (!getSalesPersonIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, salesPersonId_);
}
{
int dataSize = 0;
for (int i = 0; i < additionalSalesPersonIds_.size(); i++) {
dataSize += computeStringSizeNoTag(additionalSalesPersonIds_.getRaw(i));
}
size += dataSize;
size += 1 * getAdditionalSalesPersonIdsList().size();
}
if (!getSalesforceIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, salesforceId_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers other = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers) obj;
boolean result = true;
result = result && getOrigin()
.equals(other.getOrigin());
result = result && getJobIdList()
.equals(other.getJobIdList());
result = result && getCustomerIdentifier()
.equals(other.getCustomerIdentifier());
result = result && getTagsList()
.equals(other.getTagsList());
result = result && getActionListsList()
.equals(other.getActionListsList());
result = result && getSocialProfileId()
.equals(other.getSocialProfileId());
result = result && getPartnerId()
.equals(other.getPartnerId());
result = result && getMarketId()
.equals(other.getMarketId());
result = result && getTaxIdsList()
.equals(other.getTaxIdsList());
result = result && getSalesPersonId()
.equals(other.getSalesPersonId());
result = result && getAdditionalSalesPersonIdsList()
.equals(other.getAdditionalSalesPersonIdsList());
result = result && getSalesforceId()
.equals(other.getSalesforceId());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ORIGIN_FIELD_NUMBER;
hash = (53 * hash) + getOrigin().hashCode();
if (getJobIdCount() > 0) {
hash = (37 * hash) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + getJobIdList().hashCode();
}
hash = (37 * hash) + CUSTOMER_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getCustomerIdentifier().hashCode();
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (getActionListsCount() > 0) {
hash = (37 * hash) + ACTION_LISTS_FIELD_NUMBER;
hash = (53 * hash) + getActionListsList().hashCode();
}
hash = (37 * hash) + SOCIAL_PROFILE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSocialProfileId().hashCode();
hash = (37 * hash) + PARTNER_ID_FIELD_NUMBER;
hash = (53 * hash) + getPartnerId().hashCode();
hash = (37 * hash) + MARKET_ID_FIELD_NUMBER;
hash = (53 * hash) + getMarketId().hashCode();
if (getTaxIdsCount() > 0) {
hash = (37 * hash) + TAX_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTaxIdsList().hashCode();
}
hash = (37 * hash) + SALES_PERSON_ID_FIELD_NUMBER;
hash = (53 * hash) + getSalesPersonId().hashCode();
if (getAdditionalSalesPersonIdsCount() > 0) {
hash = (37 * hash) + ADDITIONAL_SALES_PERSON_IDS_FIELD_NUMBER;
hash = (53 * hash) + getAdditionalSalesPersonIdsList().hashCode();
}
hash = (37 * hash) + SALESFORCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSalesforceId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.AccountGroupExternalIdentifiers}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.AccountGroupExternalIdentifiers)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupExternalIdentifiers_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupExternalIdentifiers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
origin_ = "";
jobId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
customerIdentifier_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
actionLists_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
socialProfileId_ = "";
partnerId_ = "";
marketId_ = "";
taxIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
salesPersonId_ = "";
additionalSalesPersonIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
salesforceId_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupExternalIdentifiers_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers build() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers result = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.origin_ = origin_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
jobId_ = jobId_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.jobId_ = jobId_;
result.customerIdentifier_ = customerIdentifier_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.tags_ = tags_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
actionLists_ = actionLists_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.actionLists_ = actionLists_;
result.socialProfileId_ = socialProfileId_;
result.partnerId_ = partnerId_;
result.marketId_ = marketId_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
taxIds_ = taxIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000100);
}
result.taxIds_ = taxIds_;
result.salesPersonId_ = salesPersonId_;
if (((bitField0_ & 0x00000400) == 0x00000400)) {
additionalSalesPersonIds_ = additionalSalesPersonIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000400);
}
result.additionalSalesPersonIds_ = additionalSalesPersonIds_;
result.salesforceId_ = salesforceId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.getDefaultInstance()) return this;
if (!other.getOrigin().isEmpty()) {
origin_ = other.origin_;
onChanged();
}
if (!other.jobId_.isEmpty()) {
if (jobId_.isEmpty()) {
jobId_ = other.jobId_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureJobIdIsMutable();
jobId_.addAll(other.jobId_);
}
onChanged();
}
if (!other.getCustomerIdentifier().isEmpty()) {
customerIdentifier_ = other.customerIdentifier_;
onChanged();
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (!other.actionLists_.isEmpty()) {
if (actionLists_.isEmpty()) {
actionLists_ = other.actionLists_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureActionListsIsMutable();
actionLists_.addAll(other.actionLists_);
}
onChanged();
}
if (!other.getSocialProfileId().isEmpty()) {
socialProfileId_ = other.socialProfileId_;
onChanged();
}
if (!other.getPartnerId().isEmpty()) {
partnerId_ = other.partnerId_;
onChanged();
}
if (!other.getMarketId().isEmpty()) {
marketId_ = other.marketId_;
onChanged();
}
if (!other.taxIds_.isEmpty()) {
if (taxIds_.isEmpty()) {
taxIds_ = other.taxIds_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureTaxIdsIsMutable();
taxIds_.addAll(other.taxIds_);
}
onChanged();
}
if (!other.getSalesPersonId().isEmpty()) {
salesPersonId_ = other.salesPersonId_;
onChanged();
}
if (!other.additionalSalesPersonIds_.isEmpty()) {
if (additionalSalesPersonIds_.isEmpty()) {
additionalSalesPersonIds_ = other.additionalSalesPersonIds_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureAdditionalSalesPersonIdsIsMutable();
additionalSalesPersonIds_.addAll(other.additionalSalesPersonIds_);
}
onChanged();
}
if (!other.getSalesforceId().isEmpty()) {
salesforceId_ = other.salesforceId_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object origin_ = "";
/**
* string origin = 1;
*/
public java.lang.String getOrigin() {
java.lang.Object ref = origin_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
origin_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string origin = 1;
*/
public com.google.protobuf.ByteString
getOriginBytes() {
java.lang.Object ref = origin_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
origin_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string origin = 1;
*/
public Builder setOrigin(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
origin_ = value;
onChanged();
return this;
}
/**
* string origin = 1;
*/
public Builder clearOrigin() {
origin_ = getDefaultInstance().getOrigin();
onChanged();
return this;
}
/**
* string origin = 1;
*/
public Builder setOriginBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
origin_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList jobId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureJobIdIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
jobId_ = new com.google.protobuf.LazyStringArrayList(jobId_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string job_id = 2;
*/
public com.google.protobuf.ProtocolStringList
getJobIdList() {
return jobId_.getUnmodifiableView();
}
/**
* repeated string job_id = 2;
*/
public int getJobIdCount() {
return jobId_.size();
}
/**
* repeated string job_id = 2;
*/
public java.lang.String getJobId(int index) {
return jobId_.get(index);
}
/**
* repeated string job_id = 2;
*/
public com.google.protobuf.ByteString
getJobIdBytes(int index) {
return jobId_.getByteString(index);
}
/**
* repeated string job_id = 2;
*/
public Builder setJobId(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureJobIdIsMutable();
jobId_.set(index, value);
onChanged();
return this;
}
/**
* repeated string job_id = 2;
*/
public Builder addJobId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureJobIdIsMutable();
jobId_.add(value);
onChanged();
return this;
}
/**
* repeated string job_id = 2;
*/
public Builder addAllJobId(
java.lang.Iterable values) {
ensureJobIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, jobId_);
onChanged();
return this;
}
/**
* repeated string job_id = 2;
*/
public Builder clearJobId() {
jobId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string job_id = 2;
*/
public Builder addJobIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureJobIdIsMutable();
jobId_.add(value);
onChanged();
return this;
}
private java.lang.Object customerIdentifier_ = "";
/**
* string customer_identifier = 3;
*/
public java.lang.String getCustomerIdentifier() {
java.lang.Object ref = customerIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
customerIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string customer_identifier = 3;
*/
public com.google.protobuf.ByteString
getCustomerIdentifierBytes() {
java.lang.Object ref = customerIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
customerIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string customer_identifier = 3;
*/
public Builder setCustomerIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
customerIdentifier_ = value;
onChanged();
return this;
}
/**
* string customer_identifier = 3;
*/
public Builder clearCustomerIdentifier() {
customerIdentifier_ = getDefaultInstance().getCustomerIdentifier();
onChanged();
return this;
}
/**
* string customer_identifier = 3;
*/
public Builder setCustomerIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
customerIdentifier_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string tags = 5;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
* repeated string tags = 5;
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 5;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 5;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* repeated string tags = 5;
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tags = 5;
*/
public Builder addTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
* repeated string tags = 5;
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
* repeated string tags = 5;
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string tags = 5;
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList actionLists_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureActionListsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
actionLists_ = new com.google.protobuf.LazyStringArrayList(actionLists_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string action_lists = 6;
*/
public com.google.protobuf.ProtocolStringList
getActionListsList() {
return actionLists_.getUnmodifiableView();
}
/**
* repeated string action_lists = 6;
*/
public int getActionListsCount() {
return actionLists_.size();
}
/**
* repeated string action_lists = 6;
*/
public java.lang.String getActionLists(int index) {
return actionLists_.get(index);
}
/**
* repeated string action_lists = 6;
*/
public com.google.protobuf.ByteString
getActionListsBytes(int index) {
return actionLists_.getByteString(index);
}
/**
* repeated string action_lists = 6;
*/
public Builder setActionLists(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureActionListsIsMutable();
actionLists_.set(index, value);
onChanged();
return this;
}
/**
* repeated string action_lists = 6;
*/
public Builder addActionLists(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureActionListsIsMutable();
actionLists_.add(value);
onChanged();
return this;
}
/**
* repeated string action_lists = 6;
*/
public Builder addAllActionLists(
java.lang.Iterable values) {
ensureActionListsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, actionLists_);
onChanged();
return this;
}
/**
* repeated string action_lists = 6;
*/
public Builder clearActionLists() {
actionLists_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string action_lists = 6;
*/
public Builder addActionListsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureActionListsIsMutable();
actionLists_.add(value);
onChanged();
return this;
}
private java.lang.Object socialProfileId_ = "";
/**
* string social_profile_id = 7;
*/
public java.lang.String getSocialProfileId() {
java.lang.Object ref = socialProfileId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
socialProfileId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string social_profile_id = 7;
*/
public com.google.protobuf.ByteString
getSocialProfileIdBytes() {
java.lang.Object ref = socialProfileId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
socialProfileId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string social_profile_id = 7;
*/
public Builder setSocialProfileId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
socialProfileId_ = value;
onChanged();
return this;
}
/**
* string social_profile_id = 7;
*/
public Builder clearSocialProfileId() {
socialProfileId_ = getDefaultInstance().getSocialProfileId();
onChanged();
return this;
}
/**
* string social_profile_id = 7;
*/
public Builder setSocialProfileIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
socialProfileId_ = value;
onChanged();
return this;
}
private java.lang.Object partnerId_ = "";
/**
* string partner_id = 8;
*/
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;
}
}
/**
* string partner_id = 8;
*/
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;
}
}
/**
* string partner_id = 8;
*/
public Builder setPartnerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
partnerId_ = value;
onChanged();
return this;
}
/**
* string partner_id = 8;
*/
public Builder clearPartnerId() {
partnerId_ = getDefaultInstance().getPartnerId();
onChanged();
return this;
}
/**
* string partner_id = 8;
*/
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 marketId_ = "";
/**
* string market_id = 9;
*/
public java.lang.String getMarketId() {
java.lang.Object ref = marketId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
marketId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string market_id = 9;
*/
public com.google.protobuf.ByteString
getMarketIdBytes() {
java.lang.Object ref = marketId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
marketId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string market_id = 9;
*/
public Builder setMarketId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
marketId_ = value;
onChanged();
return this;
}
/**
* string market_id = 9;
*/
public Builder clearMarketId() {
marketId_ = getDefaultInstance().getMarketId();
onChanged();
return this;
}
/**
* string market_id = 9;
*/
public Builder setMarketIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
marketId_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList taxIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTaxIdsIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
taxIds_ = new com.google.protobuf.LazyStringArrayList(taxIds_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated string tax_ids = 10;
*/
public com.google.protobuf.ProtocolStringList
getTaxIdsList() {
return taxIds_.getUnmodifiableView();
}
/**
* repeated string tax_ids = 10;
*/
public int getTaxIdsCount() {
return taxIds_.size();
}
/**
* repeated string tax_ids = 10;
*/
public java.lang.String getTaxIds(int index) {
return taxIds_.get(index);
}
/**
* repeated string tax_ids = 10;
*/
public com.google.protobuf.ByteString
getTaxIdsBytes(int index) {
return taxIds_.getByteString(index);
}
/**
* repeated string tax_ids = 10;
*/
public Builder setTaxIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTaxIdsIsMutable();
taxIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tax_ids = 10;
*/
public Builder addTaxIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTaxIdsIsMutable();
taxIds_.add(value);
onChanged();
return this;
}
/**
* repeated string tax_ids = 10;
*/
public Builder addAllTaxIds(
java.lang.Iterable values) {
ensureTaxIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, taxIds_);
onChanged();
return this;
}
/**
* repeated string tax_ids = 10;
*/
public Builder clearTaxIds() {
taxIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* repeated string tax_ids = 10;
*/
public Builder addTaxIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTaxIdsIsMutable();
taxIds_.add(value);
onChanged();
return this;
}
private java.lang.Object salesPersonId_ = "";
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public java.lang.String getSalesPersonId() {
java.lang.Object ref = salesPersonId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
salesPersonId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public com.google.protobuf.ByteString
getSalesPersonIdBytes() {
java.lang.Object ref = salesPersonId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salesPersonId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public Builder setSalesPersonId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
salesPersonId_ = value;
onChanged();
return this;
}
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public Builder clearSalesPersonId() {
salesPersonId_ = getDefaultInstance().getSalesPersonId();
onChanged();
return this;
}
/**
*
* Primary salesperson id
*
*
* string sales_person_id = 11;
*/
public Builder setSalesPersonIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
salesPersonId_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList additionalSalesPersonIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAdditionalSalesPersonIdsIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
additionalSalesPersonIds_ = new com.google.protobuf.LazyStringArrayList(additionalSalesPersonIds_);
bitField0_ |= 0x00000400;
}
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public com.google.protobuf.ProtocolStringList
getAdditionalSalesPersonIdsList() {
return additionalSalesPersonIds_.getUnmodifiableView();
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public int getAdditionalSalesPersonIdsCount() {
return additionalSalesPersonIds_.size();
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public java.lang.String getAdditionalSalesPersonIds(int index) {
return additionalSalesPersonIds_.get(index);
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public com.google.protobuf.ByteString
getAdditionalSalesPersonIdsBytes(int index) {
return additionalSalesPersonIds_.getByteString(index);
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public Builder setAdditionalSalesPersonIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalSalesPersonIdsIsMutable();
additionalSalesPersonIds_.set(index, value);
onChanged();
return this;
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public Builder addAdditionalSalesPersonIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalSalesPersonIdsIsMutable();
additionalSalesPersonIds_.add(value);
onChanged();
return this;
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public Builder addAllAdditionalSalesPersonIds(
java.lang.Iterable values) {
ensureAdditionalSalesPersonIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, additionalSalesPersonIds_);
onChanged();
return this;
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public Builder clearAdditionalSalesPersonIds() {
additionalSalesPersonIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
*
* Additional salesperson ids assigned to an account group which is not the primary salesperson id
*
*
* repeated string additional_sales_person_ids = 12;
*/
public Builder addAdditionalSalesPersonIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAdditionalSalesPersonIdsIsMutable();
additionalSalesPersonIds_.add(value);
onChanged();
return this;
}
private java.lang.Object salesforceId_ = "";
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public java.lang.String getSalesforceId() {
java.lang.Object ref = salesforceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
salesforceId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public com.google.protobuf.ByteString
getSalesforceIdBytes() {
java.lang.Object ref = salesforceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
salesforceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public Builder setSalesforceId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
salesforceId_ = value;
onChanged();
return this;
}
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public Builder clearSalesforceId() {
salesforceId_ = getDefaultInstance().getSalesforceId();
onChanged();
return this;
}
/**
*
* Used to link AccountGroups to a corresponding Salesforce Account Object
*
*
* string salesforce_id = 13;
*/
public Builder setSalesforceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
salesforceId_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.AccountGroupExternalIdentifiers)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.AccountGroupExternalIdentifiers)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccountGroupExternalIdentifiers parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccountGroupExternalIdentifiers(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SocialURLsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.SocialURLs)
com.google.protobuf.MessageOrBuilder {
/**
* string googleplus_url = 1;
*/
java.lang.String getGoogleplusUrl();
/**
* string googleplus_url = 1;
*/
com.google.protobuf.ByteString
getGoogleplusUrlBytes();
/**
* string linkedin_url = 2;
*/
java.lang.String getLinkedinUrl();
/**
* string linkedin_url = 2;
*/
com.google.protobuf.ByteString
getLinkedinUrlBytes();
/**
* string foursquare_url = 3;
*/
java.lang.String getFoursquareUrl();
/**
* string foursquare_url = 3;
*/
com.google.protobuf.ByteString
getFoursquareUrlBytes();
/**
* string twitter_url = 4;
*/
java.lang.String getTwitterUrl();
/**
* string twitter_url = 4;
*/
com.google.protobuf.ByteString
getTwitterUrlBytes();
/**
* string facebook_url = 5;
*/
java.lang.String getFacebookUrl();
/**
* string facebook_url = 5;
*/
com.google.protobuf.ByteString
getFacebookUrlBytes();
/**
* string rss_url = 6;
*/
java.lang.String getRssUrl();
/**
* string rss_url = 6;
*/
com.google.protobuf.ByteString
getRssUrlBytes();
/**
* string youtube_url = 7;
*/
java.lang.String getYoutubeUrl();
/**
* string youtube_url = 7;
*/
com.google.protobuf.ByteString
getYoutubeUrlBytes();
/**
* string instagram_url = 8;
*/
java.lang.String getInstagramUrl();
/**
* string instagram_url = 8;
*/
com.google.protobuf.ByteString
getInstagramUrlBytes();
/**
* string pinterest_url = 9;
*/
java.lang.String getPinterestUrl();
/**
* string pinterest_url = 9;
*/
com.google.protobuf.ByteString
getPinterestUrlBytes();
}
/**
* Protobuf type {@code accountgroup.v1.SocialURLs}
*/
public static final class SocialURLs extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.SocialURLs)
SocialURLsOrBuilder {
// Use SocialURLs.newBuilder() to construct.
private SocialURLs(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SocialURLs() {
googleplusUrl_ = "";
linkedinUrl_ = "";
foursquareUrl_ = "";
twitterUrl_ = "";
facebookUrl_ = "";
rssUrl_ = "";
youtubeUrl_ = "";
instagramUrl_ = "";
pinterestUrl_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private SocialURLs(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
googleplusUrl_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
linkedinUrl_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
foursquareUrl_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
twitterUrl_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
facebookUrl_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
rssUrl_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
youtubeUrl_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
instagramUrl_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
pinterestUrl_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_SocialURLs_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_SocialURLs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.class, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder.class);
}
public static final int GOOGLEPLUS_URL_FIELD_NUMBER = 1;
private volatile java.lang.Object googleplusUrl_;
/**
* string googleplus_url = 1;
*/
public java.lang.String getGoogleplusUrl() {
java.lang.Object ref = googleplusUrl_;
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();
googleplusUrl_ = s;
return s;
}
}
/**
* string googleplus_url = 1;
*/
public com.google.protobuf.ByteString
getGoogleplusUrlBytes() {
java.lang.Object ref = googleplusUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
googleplusUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINKEDIN_URL_FIELD_NUMBER = 2;
private volatile java.lang.Object linkedinUrl_;
/**
* string linkedin_url = 2;
*/
public java.lang.String getLinkedinUrl() {
java.lang.Object ref = linkedinUrl_;
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();
linkedinUrl_ = s;
return s;
}
}
/**
* string linkedin_url = 2;
*/
public com.google.protobuf.ByteString
getLinkedinUrlBytes() {
java.lang.Object ref = linkedinUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
linkedinUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FOURSQUARE_URL_FIELD_NUMBER = 3;
private volatile java.lang.Object foursquareUrl_;
/**
* string foursquare_url = 3;
*/
public java.lang.String getFoursquareUrl() {
java.lang.Object ref = foursquareUrl_;
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();
foursquareUrl_ = s;
return s;
}
}
/**
* string foursquare_url = 3;
*/
public com.google.protobuf.ByteString
getFoursquareUrlBytes() {
java.lang.Object ref = foursquareUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foursquareUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TWITTER_URL_FIELD_NUMBER = 4;
private volatile java.lang.Object twitterUrl_;
/**
* string twitter_url = 4;
*/
public java.lang.String getTwitterUrl() {
java.lang.Object ref = twitterUrl_;
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();
twitterUrl_ = s;
return s;
}
}
/**
* string twitter_url = 4;
*/
public com.google.protobuf.ByteString
getTwitterUrlBytes() {
java.lang.Object ref = twitterUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
twitterUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FACEBOOK_URL_FIELD_NUMBER = 5;
private volatile java.lang.Object facebookUrl_;
/**
* string facebook_url = 5;
*/
public java.lang.String getFacebookUrl() {
java.lang.Object ref = facebookUrl_;
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();
facebookUrl_ = s;
return s;
}
}
/**
* string facebook_url = 5;
*/
public com.google.protobuf.ByteString
getFacebookUrlBytes() {
java.lang.Object ref = facebookUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
facebookUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RSS_URL_FIELD_NUMBER = 6;
private volatile java.lang.Object rssUrl_;
/**
* string rss_url = 6;
*/
public java.lang.String getRssUrl() {
java.lang.Object ref = rssUrl_;
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();
rssUrl_ = s;
return s;
}
}
/**
* string rss_url = 6;
*/
public com.google.protobuf.ByteString
getRssUrlBytes() {
java.lang.Object ref = rssUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rssUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int YOUTUBE_URL_FIELD_NUMBER = 7;
private volatile java.lang.Object youtubeUrl_;
/**
* string youtube_url = 7;
*/
public java.lang.String getYoutubeUrl() {
java.lang.Object ref = youtubeUrl_;
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();
youtubeUrl_ = s;
return s;
}
}
/**
* string youtube_url = 7;
*/
public com.google.protobuf.ByteString
getYoutubeUrlBytes() {
java.lang.Object ref = youtubeUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
youtubeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTAGRAM_URL_FIELD_NUMBER = 8;
private volatile java.lang.Object instagramUrl_;
/**
* string instagram_url = 8;
*/
public java.lang.String getInstagramUrl() {
java.lang.Object ref = instagramUrl_;
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();
instagramUrl_ = s;
return s;
}
}
/**
* string instagram_url = 8;
*/
public com.google.protobuf.ByteString
getInstagramUrlBytes() {
java.lang.Object ref = instagramUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instagramUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PINTEREST_URL_FIELD_NUMBER = 9;
private volatile java.lang.Object pinterestUrl_;
/**
* string pinterest_url = 9;
*/
public java.lang.String getPinterestUrl() {
java.lang.Object ref = pinterestUrl_;
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();
pinterestUrl_ = s;
return s;
}
}
/**
* string pinterest_url = 9;
*/
public com.google.protobuf.ByteString
getPinterestUrlBytes() {
java.lang.Object ref = pinterestUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinterestUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getGoogleplusUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, googleplusUrl_);
}
if (!getLinkedinUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, linkedinUrl_);
}
if (!getFoursquareUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, foursquareUrl_);
}
if (!getTwitterUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, twitterUrl_);
}
if (!getFacebookUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, facebookUrl_);
}
if (!getRssUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rssUrl_);
}
if (!getYoutubeUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, youtubeUrl_);
}
if (!getInstagramUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, instagramUrl_);
}
if (!getPinterestUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, pinterestUrl_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getGoogleplusUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, googleplusUrl_);
}
if (!getLinkedinUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, linkedinUrl_);
}
if (!getFoursquareUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, foursquareUrl_);
}
if (!getTwitterUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, twitterUrl_);
}
if (!getFacebookUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, facebookUrl_);
}
if (!getRssUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, rssUrl_);
}
if (!getYoutubeUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, youtubeUrl_);
}
if (!getInstagramUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, instagramUrl_);
}
if (!getPinterestUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pinterestUrl_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs other = (com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs) obj;
boolean result = true;
result = result && getGoogleplusUrl()
.equals(other.getGoogleplusUrl());
result = result && getLinkedinUrl()
.equals(other.getLinkedinUrl());
result = result && getFoursquareUrl()
.equals(other.getFoursquareUrl());
result = result && getTwitterUrl()
.equals(other.getTwitterUrl());
result = result && getFacebookUrl()
.equals(other.getFacebookUrl());
result = result && getRssUrl()
.equals(other.getRssUrl());
result = result && getYoutubeUrl()
.equals(other.getYoutubeUrl());
result = result && getInstagramUrl()
.equals(other.getInstagramUrl());
result = result && getPinterestUrl()
.equals(other.getPinterestUrl());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + GOOGLEPLUS_URL_FIELD_NUMBER;
hash = (53 * hash) + getGoogleplusUrl().hashCode();
hash = (37 * hash) + LINKEDIN_URL_FIELD_NUMBER;
hash = (53 * hash) + getLinkedinUrl().hashCode();
hash = (37 * hash) + FOURSQUARE_URL_FIELD_NUMBER;
hash = (53 * hash) + getFoursquareUrl().hashCode();
hash = (37 * hash) + TWITTER_URL_FIELD_NUMBER;
hash = (53 * hash) + getTwitterUrl().hashCode();
hash = (37 * hash) + FACEBOOK_URL_FIELD_NUMBER;
hash = (53 * hash) + getFacebookUrl().hashCode();
hash = (37 * hash) + RSS_URL_FIELD_NUMBER;
hash = (53 * hash) + getRssUrl().hashCode();
hash = (37 * hash) + YOUTUBE_URL_FIELD_NUMBER;
hash = (53 * hash) + getYoutubeUrl().hashCode();
hash = (37 * hash) + INSTAGRAM_URL_FIELD_NUMBER;
hash = (53 * hash) + getInstagramUrl().hashCode();
hash = (37 * hash) + PINTEREST_URL_FIELD_NUMBER;
hash = (53 * hash) + getPinterestUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs 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 com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs 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 com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.SocialURLs}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.SocialURLs)
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_SocialURLs_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_SocialURLs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.class, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
googleplusUrl_ = "";
linkedinUrl_ = "";
foursquareUrl_ = "";
twitterUrl_ = "";
facebookUrl_ = "";
rssUrl_ = "";
youtubeUrl_ = "";
instagramUrl_ = "";
pinterestUrl_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_SocialURLs_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs build() {
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs result = new com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs(this);
result.googleplusUrl_ = googleplusUrl_;
result.linkedinUrl_ = linkedinUrl_;
result.foursquareUrl_ = foursquareUrl_;
result.twitterUrl_ = twitterUrl_;
result.facebookUrl_ = facebookUrl_;
result.rssUrl_ = rssUrl_;
result.youtubeUrl_ = youtubeUrl_;
result.instagramUrl_ = instagramUrl_;
result.pinterestUrl_ = pinterestUrl_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.getDefaultInstance()) return this;
if (!other.getGoogleplusUrl().isEmpty()) {
googleplusUrl_ = other.googleplusUrl_;
onChanged();
}
if (!other.getLinkedinUrl().isEmpty()) {
linkedinUrl_ = other.linkedinUrl_;
onChanged();
}
if (!other.getFoursquareUrl().isEmpty()) {
foursquareUrl_ = other.foursquareUrl_;
onChanged();
}
if (!other.getTwitterUrl().isEmpty()) {
twitterUrl_ = other.twitterUrl_;
onChanged();
}
if (!other.getFacebookUrl().isEmpty()) {
facebookUrl_ = other.facebookUrl_;
onChanged();
}
if (!other.getRssUrl().isEmpty()) {
rssUrl_ = other.rssUrl_;
onChanged();
}
if (!other.getYoutubeUrl().isEmpty()) {
youtubeUrl_ = other.youtubeUrl_;
onChanged();
}
if (!other.getInstagramUrl().isEmpty()) {
instagramUrl_ = other.instagramUrl_;
onChanged();
}
if (!other.getPinterestUrl().isEmpty()) {
pinterestUrl_ = other.pinterestUrl_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object googleplusUrl_ = "";
/**
* string googleplus_url = 1;
*/
public java.lang.String getGoogleplusUrl() {
java.lang.Object ref = googleplusUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
googleplusUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string googleplus_url = 1;
*/
public com.google.protobuf.ByteString
getGoogleplusUrlBytes() {
java.lang.Object ref = googleplusUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
googleplusUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string googleplus_url = 1;
*/
public Builder setGoogleplusUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
googleplusUrl_ = value;
onChanged();
return this;
}
/**
* string googleplus_url = 1;
*/
public Builder clearGoogleplusUrl() {
googleplusUrl_ = getDefaultInstance().getGoogleplusUrl();
onChanged();
return this;
}
/**
* string googleplus_url = 1;
*/
public Builder setGoogleplusUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
googleplusUrl_ = value;
onChanged();
return this;
}
private java.lang.Object linkedinUrl_ = "";
/**
* string linkedin_url = 2;
*/
public java.lang.String getLinkedinUrl() {
java.lang.Object ref = linkedinUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
linkedinUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string linkedin_url = 2;
*/
public com.google.protobuf.ByteString
getLinkedinUrlBytes() {
java.lang.Object ref = linkedinUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
linkedinUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string linkedin_url = 2;
*/
public Builder setLinkedinUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
linkedinUrl_ = value;
onChanged();
return this;
}
/**
* string linkedin_url = 2;
*/
public Builder clearLinkedinUrl() {
linkedinUrl_ = getDefaultInstance().getLinkedinUrl();
onChanged();
return this;
}
/**
* string linkedin_url = 2;
*/
public Builder setLinkedinUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
linkedinUrl_ = value;
onChanged();
return this;
}
private java.lang.Object foursquareUrl_ = "";
/**
* string foursquare_url = 3;
*/
public java.lang.String getFoursquareUrl() {
java.lang.Object ref = foursquareUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
foursquareUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string foursquare_url = 3;
*/
public com.google.protobuf.ByteString
getFoursquareUrlBytes() {
java.lang.Object ref = foursquareUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
foursquareUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string foursquare_url = 3;
*/
public Builder setFoursquareUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
foursquareUrl_ = value;
onChanged();
return this;
}
/**
* string foursquare_url = 3;
*/
public Builder clearFoursquareUrl() {
foursquareUrl_ = getDefaultInstance().getFoursquareUrl();
onChanged();
return this;
}
/**
* string foursquare_url = 3;
*/
public Builder setFoursquareUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
foursquareUrl_ = value;
onChanged();
return this;
}
private java.lang.Object twitterUrl_ = "";
/**
* string twitter_url = 4;
*/
public java.lang.String getTwitterUrl() {
java.lang.Object ref = twitterUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
twitterUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string twitter_url = 4;
*/
public com.google.protobuf.ByteString
getTwitterUrlBytes() {
java.lang.Object ref = twitterUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
twitterUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string twitter_url = 4;
*/
public Builder setTwitterUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
twitterUrl_ = value;
onChanged();
return this;
}
/**
* string twitter_url = 4;
*/
public Builder clearTwitterUrl() {
twitterUrl_ = getDefaultInstance().getTwitterUrl();
onChanged();
return this;
}
/**
* string twitter_url = 4;
*/
public Builder setTwitterUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
twitterUrl_ = value;
onChanged();
return this;
}
private java.lang.Object facebookUrl_ = "";
/**
* string facebook_url = 5;
*/
public java.lang.String getFacebookUrl() {
java.lang.Object ref = facebookUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
facebookUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string facebook_url = 5;
*/
public com.google.protobuf.ByteString
getFacebookUrlBytes() {
java.lang.Object ref = facebookUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
facebookUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string facebook_url = 5;
*/
public Builder setFacebookUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
facebookUrl_ = value;
onChanged();
return this;
}
/**
* string facebook_url = 5;
*/
public Builder clearFacebookUrl() {
facebookUrl_ = getDefaultInstance().getFacebookUrl();
onChanged();
return this;
}
/**
* string facebook_url = 5;
*/
public Builder setFacebookUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
facebookUrl_ = value;
onChanged();
return this;
}
private java.lang.Object rssUrl_ = "";
/**
* string rss_url = 6;
*/
public java.lang.String getRssUrl() {
java.lang.Object ref = rssUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rssUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string rss_url = 6;
*/
public com.google.protobuf.ByteString
getRssUrlBytes() {
java.lang.Object ref = rssUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rssUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string rss_url = 6;
*/
public Builder setRssUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
rssUrl_ = value;
onChanged();
return this;
}
/**
* string rss_url = 6;
*/
public Builder clearRssUrl() {
rssUrl_ = getDefaultInstance().getRssUrl();
onChanged();
return this;
}
/**
* string rss_url = 6;
*/
public Builder setRssUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
rssUrl_ = value;
onChanged();
return this;
}
private java.lang.Object youtubeUrl_ = "";
/**
* string youtube_url = 7;
*/
public java.lang.String getYoutubeUrl() {
java.lang.Object ref = youtubeUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
youtubeUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string youtube_url = 7;
*/
public com.google.protobuf.ByteString
getYoutubeUrlBytes() {
java.lang.Object ref = youtubeUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
youtubeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string youtube_url = 7;
*/
public Builder setYoutubeUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
youtubeUrl_ = value;
onChanged();
return this;
}
/**
* string youtube_url = 7;
*/
public Builder clearYoutubeUrl() {
youtubeUrl_ = getDefaultInstance().getYoutubeUrl();
onChanged();
return this;
}
/**
* string youtube_url = 7;
*/
public Builder setYoutubeUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
youtubeUrl_ = value;
onChanged();
return this;
}
private java.lang.Object instagramUrl_ = "";
/**
* string instagram_url = 8;
*/
public java.lang.String getInstagramUrl() {
java.lang.Object ref = instagramUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
instagramUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string instagram_url = 8;
*/
public com.google.protobuf.ByteString
getInstagramUrlBytes() {
java.lang.Object ref = instagramUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instagramUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string instagram_url = 8;
*/
public Builder setInstagramUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
instagramUrl_ = value;
onChanged();
return this;
}
/**
* string instagram_url = 8;
*/
public Builder clearInstagramUrl() {
instagramUrl_ = getDefaultInstance().getInstagramUrl();
onChanged();
return this;
}
/**
* string instagram_url = 8;
*/
public Builder setInstagramUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
instagramUrl_ = value;
onChanged();
return this;
}
private java.lang.Object pinterestUrl_ = "";
/**
* string pinterest_url = 9;
*/
public java.lang.String getPinterestUrl() {
java.lang.Object ref = pinterestUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pinterestUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string pinterest_url = 9;
*/
public com.google.protobuf.ByteString
getPinterestUrlBytes() {
java.lang.Object ref = pinterestUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinterestUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string pinterest_url = 9;
*/
public Builder setPinterestUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pinterestUrl_ = value;
onChanged();
return this;
}
/**
* string pinterest_url = 9;
*/
public Builder clearPinterestUrl() {
pinterestUrl_ = getDefaultInstance().getPinterestUrl();
onChanged();
return this;
}
/**
* string pinterest_url = 9;
*/
public Builder setPinterestUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pinterestUrl_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.SocialURLs)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.SocialURLs)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SocialURLs parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SocialURLs(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HoursOfOperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.HoursOfOperation)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
java.util.List
getHoursOfOperationList();
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getHoursOfOperation(int index);
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
int getHoursOfOperationCount();
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder>
getHoursOfOperationOrBuilderList();
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder getHoursOfOperationOrBuilder(
int index);
}
/**
* Protobuf type {@code accountgroup.v1.HoursOfOperation}
*/
public static final class HoursOfOperation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.HoursOfOperation)
HoursOfOperationOrBuilder {
// Use HoursOfOperation.newBuilder() to construct.
private HoursOfOperation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HoursOfOperation() {
hoursOfOperation_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private HoursOfOperation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
hoursOfOperation_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
hoursOfOperation_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
hoursOfOperation_ = java.util.Collections.unmodifiableList(hoursOfOperation_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.class, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder.class);
}
public interface SpanOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.HoursOfOperation.Span)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string day_of_week = 1;
*/
java.util.List
getDayOfWeekList();
/**
* repeated string day_of_week = 1;
*/
int getDayOfWeekCount();
/**
* repeated string day_of_week = 1;
*/
java.lang.String getDayOfWeek(int index);
/**
* repeated string day_of_week = 1;
*/
com.google.protobuf.ByteString
getDayOfWeekBytes(int index);
/**
* string opens = 2;
*/
java.lang.String getOpens();
/**
* string opens = 2;
*/
com.google.protobuf.ByteString
getOpensBytes();
/**
* string closes = 3;
*/
java.lang.String getCloses();
/**
* string closes = 3;
*/
com.google.protobuf.ByteString
getClosesBytes();
/**
* string description = 4;
*/
java.lang.String getDescription();
/**
* string description = 4;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
}
/**
* Protobuf type {@code accountgroup.v1.HoursOfOperation.Span}
*/
public static final class Span extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.HoursOfOperation.Span)
SpanOrBuilder {
// Use Span.newBuilder() to construct.
private Span(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Span() {
dayOfWeek_ = com.google.protobuf.LazyStringArrayList.EMPTY;
opens_ = "";
closes_ = "";
description_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Span(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
dayOfWeek_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
dayOfWeek_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
opens_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
closes_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
dayOfWeek_ = dayOfWeek_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_Span_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_Span_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.class, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder.class);
}
private int bitField0_;
public static final int DAY_OF_WEEK_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList dayOfWeek_;
/**
* repeated string day_of_week = 1;
*/
public com.google.protobuf.ProtocolStringList
getDayOfWeekList() {
return dayOfWeek_;
}
/**
* repeated string day_of_week = 1;
*/
public int getDayOfWeekCount() {
return dayOfWeek_.size();
}
/**
* repeated string day_of_week = 1;
*/
public java.lang.String getDayOfWeek(int index) {
return dayOfWeek_.get(index);
}
/**
* repeated string day_of_week = 1;
*/
public com.google.protobuf.ByteString
getDayOfWeekBytes(int index) {
return dayOfWeek_.getByteString(index);
}
public static final int OPENS_FIELD_NUMBER = 2;
private volatile java.lang.Object opens_;
/**
* string opens = 2;
*/
public java.lang.String getOpens() {
java.lang.Object ref = opens_;
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();
opens_ = s;
return s;
}
}
/**
* string opens = 2;
*/
public com.google.protobuf.ByteString
getOpensBytes() {
java.lang.Object ref = opens_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
opens_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLOSES_FIELD_NUMBER = 3;
private volatile java.lang.Object closes_;
/**
* string closes = 3;
*/
public java.lang.String getCloses() {
java.lang.Object ref = closes_;
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();
closes_ = s;
return s;
}
}
/**
* string closes = 3;
*/
public com.google.protobuf.ByteString
getClosesBytes() {
java.lang.Object ref = closes_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
closes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 4;
private volatile java.lang.Object description_;
/**
* string description = 4;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 4;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dayOfWeek_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dayOfWeek_.getRaw(i));
}
if (!getOpensBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, opens_);
}
if (!getClosesBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, closes_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < dayOfWeek_.size(); i++) {
dataSize += computeStringSizeNoTag(dayOfWeek_.getRaw(i));
}
size += dataSize;
size += 1 * getDayOfWeekList().size();
}
if (!getOpensBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, opens_);
}
if (!getClosesBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, closes_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span other = (com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span) obj;
boolean result = true;
result = result && getDayOfWeekList()
.equals(other.getDayOfWeekList());
result = result && getOpens()
.equals(other.getOpens());
result = result && getCloses()
.equals(other.getCloses());
result = result && getDescription()
.equals(other.getDescription());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDayOfWeekCount() > 0) {
hash = (37 * hash) + DAY_OF_WEEK_FIELD_NUMBER;
hash = (53 * hash) + getDayOfWeekList().hashCode();
}
hash = (37 * hash) + OPENS_FIELD_NUMBER;
hash = (53 * hash) + getOpens().hashCode();
hash = (37 * hash) + CLOSES_FIELD_NUMBER;
hash = (53 * hash) + getCloses().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span 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 com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span 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 com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.HoursOfOperation.Span}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.HoursOfOperation.Span)
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_Span_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_Span_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.class, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
dayOfWeek_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
opens_ = "";
closes_ = "";
description_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_Span_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span build() {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span result = new com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
dayOfWeek_ = dayOfWeek_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.dayOfWeek_ = dayOfWeek_;
result.opens_ = opens_;
result.closes_ = closes_;
result.description_ = description_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.getDefaultInstance()) return this;
if (!other.dayOfWeek_.isEmpty()) {
if (dayOfWeek_.isEmpty()) {
dayOfWeek_ = other.dayOfWeek_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDayOfWeekIsMutable();
dayOfWeek_.addAll(other.dayOfWeek_);
}
onChanged();
}
if (!other.getOpens().isEmpty()) {
opens_ = other.opens_;
onChanged();
}
if (!other.getCloses().isEmpty()) {
closes_ = other.closes_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList dayOfWeek_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDayOfWeekIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
dayOfWeek_ = new com.google.protobuf.LazyStringArrayList(dayOfWeek_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string day_of_week = 1;
*/
public com.google.protobuf.ProtocolStringList
getDayOfWeekList() {
return dayOfWeek_.getUnmodifiableView();
}
/**
* repeated string day_of_week = 1;
*/
public int getDayOfWeekCount() {
return dayOfWeek_.size();
}
/**
* repeated string day_of_week = 1;
*/
public java.lang.String getDayOfWeek(int index) {
return dayOfWeek_.get(index);
}
/**
* repeated string day_of_week = 1;
*/
public com.google.protobuf.ByteString
getDayOfWeekBytes(int index) {
return dayOfWeek_.getByteString(index);
}
/**
* repeated string day_of_week = 1;
*/
public Builder setDayOfWeek(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDayOfWeekIsMutable();
dayOfWeek_.set(index, value);
onChanged();
return this;
}
/**
* repeated string day_of_week = 1;
*/
public Builder addDayOfWeek(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDayOfWeekIsMutable();
dayOfWeek_.add(value);
onChanged();
return this;
}
/**
* repeated string day_of_week = 1;
*/
public Builder addAllDayOfWeek(
java.lang.Iterable values) {
ensureDayOfWeekIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dayOfWeek_);
onChanged();
return this;
}
/**
* repeated string day_of_week = 1;
*/
public Builder clearDayOfWeek() {
dayOfWeek_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string day_of_week = 1;
*/
public Builder addDayOfWeekBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDayOfWeekIsMutable();
dayOfWeek_.add(value);
onChanged();
return this;
}
private java.lang.Object opens_ = "";
/**
* string opens = 2;
*/
public java.lang.String getOpens() {
java.lang.Object ref = opens_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
opens_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string opens = 2;
*/
public com.google.protobuf.ByteString
getOpensBytes() {
java.lang.Object ref = opens_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
opens_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string opens = 2;
*/
public Builder setOpens(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
opens_ = value;
onChanged();
return this;
}
/**
* string opens = 2;
*/
public Builder clearOpens() {
opens_ = getDefaultInstance().getOpens();
onChanged();
return this;
}
/**
* string opens = 2;
*/
public Builder setOpensBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
opens_ = value;
onChanged();
return this;
}
private java.lang.Object closes_ = "";
/**
* string closes = 3;
*/
public java.lang.String getCloses() {
java.lang.Object ref = closes_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
closes_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string closes = 3;
*/
public com.google.protobuf.ByteString
getClosesBytes() {
java.lang.Object ref = closes_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
closes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string closes = 3;
*/
public Builder setCloses(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
closes_ = value;
onChanged();
return this;
}
/**
* string closes = 3;
*/
public Builder clearCloses() {
closes_ = getDefaultInstance().getCloses();
onChanged();
return this;
}
/**
* string closes = 3;
*/
public Builder setClosesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
closes_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 4;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 4;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 4;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 4;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 4;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.HoursOfOperation.Span)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.HoursOfOperation.Span)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Span parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Span(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int HOURS_OF_OPERATION_FIELD_NUMBER = 1;
private java.util.List hoursOfOperation_;
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public java.util.List getHoursOfOperationList() {
return hoursOfOperation_;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder>
getHoursOfOperationOrBuilderList() {
return hoursOfOperation_;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public int getHoursOfOperationCount() {
return hoursOfOperation_.size();
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getHoursOfOperation(int index) {
return hoursOfOperation_.get(index);
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder getHoursOfOperationOrBuilder(
int index) {
return hoursOfOperation_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < hoursOfOperation_.size(); i++) {
output.writeMessage(1, hoursOfOperation_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < hoursOfOperation_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, hoursOfOperation_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation other = (com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation) obj;
boolean result = true;
result = result && getHoursOfOperationList()
.equals(other.getHoursOfOperationList());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getHoursOfOperationCount() > 0) {
hash = (37 * hash) + HOURS_OF_OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getHoursOfOperationList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation 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 com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation 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 com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.HoursOfOperation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.HoursOfOperation)
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.class, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHoursOfOperationFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (hoursOfOperationBuilder_ == null) {
hoursOfOperation_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
hoursOfOperationBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HoursOfOperation_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation build() {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation result = new com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation(this);
int from_bitField0_ = bitField0_;
if (hoursOfOperationBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
hoursOfOperation_ = java.util.Collections.unmodifiableList(hoursOfOperation_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.hoursOfOperation_ = hoursOfOperation_;
} else {
result.hoursOfOperation_ = hoursOfOperationBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.getDefaultInstance()) return this;
if (hoursOfOperationBuilder_ == null) {
if (!other.hoursOfOperation_.isEmpty()) {
if (hoursOfOperation_.isEmpty()) {
hoursOfOperation_ = other.hoursOfOperation_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureHoursOfOperationIsMutable();
hoursOfOperation_.addAll(other.hoursOfOperation_);
}
onChanged();
}
} else {
if (!other.hoursOfOperation_.isEmpty()) {
if (hoursOfOperationBuilder_.isEmpty()) {
hoursOfOperationBuilder_.dispose();
hoursOfOperationBuilder_ = null;
hoursOfOperation_ = other.hoursOfOperation_;
bitField0_ = (bitField0_ & ~0x00000001);
hoursOfOperationBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getHoursOfOperationFieldBuilder() : null;
} else {
hoursOfOperationBuilder_.addAllMessages(other.hoursOfOperation_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List hoursOfOperation_ =
java.util.Collections.emptyList();
private void ensureHoursOfOperationIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
hoursOfOperation_ = new java.util.ArrayList(hoursOfOperation_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder> hoursOfOperationBuilder_;
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public java.util.List getHoursOfOperationList() {
if (hoursOfOperationBuilder_ == null) {
return java.util.Collections.unmodifiableList(hoursOfOperation_);
} else {
return hoursOfOperationBuilder_.getMessageList();
}
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public int getHoursOfOperationCount() {
if (hoursOfOperationBuilder_ == null) {
return hoursOfOperation_.size();
} else {
return hoursOfOperationBuilder_.getCount();
}
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span getHoursOfOperation(int index) {
if (hoursOfOperationBuilder_ == null) {
return hoursOfOperation_.get(index);
} else {
return hoursOfOperationBuilder_.getMessage(index);
}
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder setHoursOfOperation(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span value) {
if (hoursOfOperationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHoursOfOperationIsMutable();
hoursOfOperation_.set(index, value);
onChanged();
} else {
hoursOfOperationBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder setHoursOfOperation(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder builderForValue) {
if (hoursOfOperationBuilder_ == null) {
ensureHoursOfOperationIsMutable();
hoursOfOperation_.set(index, builderForValue.build());
onChanged();
} else {
hoursOfOperationBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder addHoursOfOperation(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span value) {
if (hoursOfOperationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHoursOfOperationIsMutable();
hoursOfOperation_.add(value);
onChanged();
} else {
hoursOfOperationBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder addHoursOfOperation(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span value) {
if (hoursOfOperationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHoursOfOperationIsMutable();
hoursOfOperation_.add(index, value);
onChanged();
} else {
hoursOfOperationBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder addHoursOfOperation(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder builderForValue) {
if (hoursOfOperationBuilder_ == null) {
ensureHoursOfOperationIsMutable();
hoursOfOperation_.add(builderForValue.build());
onChanged();
} else {
hoursOfOperationBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder addHoursOfOperation(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder builderForValue) {
if (hoursOfOperationBuilder_ == null) {
ensureHoursOfOperationIsMutable();
hoursOfOperation_.add(index, builderForValue.build());
onChanged();
} else {
hoursOfOperationBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder addAllHoursOfOperation(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span> values) {
if (hoursOfOperationBuilder_ == null) {
ensureHoursOfOperationIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, hoursOfOperation_);
onChanged();
} else {
hoursOfOperationBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder clearHoursOfOperation() {
if (hoursOfOperationBuilder_ == null) {
hoursOfOperation_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
hoursOfOperationBuilder_.clear();
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public Builder removeHoursOfOperation(int index) {
if (hoursOfOperationBuilder_ == null) {
ensureHoursOfOperationIsMutable();
hoursOfOperation_.remove(index);
onChanged();
} else {
hoursOfOperationBuilder_.remove(index);
}
return this;
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder getHoursOfOperationBuilder(
int index) {
return getHoursOfOperationFieldBuilder().getBuilder(index);
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder getHoursOfOperationOrBuilder(
int index) {
if (hoursOfOperationBuilder_ == null) {
return hoursOfOperation_.get(index); } else {
return hoursOfOperationBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder>
getHoursOfOperationOrBuilderList() {
if (hoursOfOperationBuilder_ != null) {
return hoursOfOperationBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(hoursOfOperation_);
}
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder addHoursOfOperationBuilder() {
return getHoursOfOperationFieldBuilder().addBuilder(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder addHoursOfOperationBuilder(
int index) {
return getHoursOfOperationFieldBuilder().addBuilder(
index, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.HoursOfOperation.Span hours_of_operation = 1;
*/
public java.util.List
getHoursOfOperationBuilderList() {
return getHoursOfOperationFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder>
getHoursOfOperationFieldBuilder() {
if (hoursOfOperationBuilder_ == null) {
hoursOfOperationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Span.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.SpanOrBuilder>(
hoursOfOperation_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
hoursOfOperation_ = null;
}
return hoursOfOperationBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.HoursOfOperation)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.HoursOfOperation)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public HoursOfOperation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HoursOfOperation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ContactDetailsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ContactDetails)
com.google.protobuf.MessageOrBuilder {
/**
* string first_name = 1;
*/
java.lang.String getFirstName();
/**
* string first_name = 1;
*/
com.google.protobuf.ByteString
getFirstNameBytes();
/**
* string last_name = 2;
*/
java.lang.String getLastName();
/**
* string last_name = 2;
*/
com.google.protobuf.ByteString
getLastNameBytes();
/**
* string email = 3;
*/
java.lang.String getEmail();
/**
* string email = 3;
*/
com.google.protobuf.ByteString
getEmailBytes();
/**
* string phone_number = 4;
*/
java.lang.String getPhoneNumber();
/**
* string phone_number = 4;
*/
com.google.protobuf.ByteString
getPhoneNumberBytes();
}
/**
* Protobuf type {@code accountgroup.v1.ContactDetails}
*/
public static final class ContactDetails extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ContactDetails)
ContactDetailsOrBuilder {
// Use ContactDetails.newBuilder() to construct.
private ContactDetails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ContactDetails() {
firstName_ = "";
lastName_ = "";
email_ = "";
phoneNumber_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ContactDetails(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
firstName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
lastName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
email_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
phoneNumber_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ContactDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ContactDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder.class);
}
public static final int FIRST_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object firstName_;
/**
* string first_name = 1;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
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();
firstName_ = s;
return s;
}
}
/**
* string first_name = 1;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LAST_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object lastName_;
/**
* string last_name = 2;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
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();
lastName_ = s;
return s;
}
}
/**
* string last_name = 2;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EMAIL_FIELD_NUMBER = 3;
private volatile java.lang.Object email_;
/**
* string email = 3;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
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();
email_ = s;
return s;
}
}
/**
* string email = 3;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PHONE_NUMBER_FIELD_NUMBER = 4;
private volatile java.lang.Object phoneNumber_;
/**
* string phone_number = 4;
*/
public java.lang.String getPhoneNumber() {
java.lang.Object ref = phoneNumber_;
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();
phoneNumber_ = s;
return s;
}
}
/**
* string phone_number = 4;
*/
public com.google.protobuf.ByteString
getPhoneNumberBytes() {
java.lang.Object ref = phoneNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phoneNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFirstNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firstName_);
}
if (!getLastNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, lastName_);
}
if (!getEmailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, email_);
}
if (!getPhoneNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, phoneNumber_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFirstNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, firstName_);
}
if (!getLastNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, lastName_);
}
if (!getEmailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, email_);
}
if (!getPhoneNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, phoneNumber_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails other = (com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails) obj;
boolean result = true;
result = result && getFirstName()
.equals(other.getFirstName());
result = result && getLastName()
.equals(other.getLastName());
result = result && getEmail()
.equals(other.getEmail());
result = result && getPhoneNumber()
.equals(other.getPhoneNumber());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FIRST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFirstName().hashCode();
hash = (37 * hash) + LAST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getLastName().hashCode();
hash = (37 * hash) + EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getEmail().hashCode();
hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getPhoneNumber().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.ContactDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ContactDetails)
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ContactDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ContactDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
firstName_ = "";
lastName_ = "";
email_ = "";
phoneNumber_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ContactDetails_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails result = new com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails(this);
result.firstName_ = firstName_;
result.lastName_ = lastName_;
result.email_ = email_;
result.phoneNumber_ = phoneNumber_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.getDefaultInstance()) return this;
if (!other.getFirstName().isEmpty()) {
firstName_ = other.firstName_;
onChanged();
}
if (!other.getLastName().isEmpty()) {
lastName_ = other.lastName_;
onChanged();
}
if (!other.getEmail().isEmpty()) {
email_ = other.email_;
onChanged();
}
if (!other.getPhoneNumber().isEmpty()) {
phoneNumber_ = other.phoneNumber_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object firstName_ = "";
/**
* string first_name = 1;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
firstName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string first_name = 1;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string first_name = 1;
*/
public Builder setFirstName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
firstName_ = value;
onChanged();
return this;
}
/**
* string first_name = 1;
*/
public Builder clearFirstName() {
firstName_ = getDefaultInstance().getFirstName();
onChanged();
return this;
}
/**
* string first_name = 1;
*/
public Builder setFirstNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
firstName_ = value;
onChanged();
return this;
}
private java.lang.Object lastName_ = "";
/**
* string last_name = 2;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lastName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string last_name = 2;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string last_name = 2;
*/
public Builder setLastName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lastName_ = value;
onChanged();
return this;
}
/**
* string last_name = 2;
*/
public Builder clearLastName() {
lastName_ = getDefaultInstance().getLastName();
onChanged();
return this;
}
/**
* string last_name = 2;
*/
public Builder setLastNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lastName_ = value;
onChanged();
return this;
}
private java.lang.Object email_ = "";
/**
* string email = 3;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
email_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string email = 3;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string email = 3;
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
email_ = value;
onChanged();
return this;
}
/**
* string email = 3;
*/
public Builder clearEmail() {
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
* string email = 3;
*/
public Builder setEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
email_ = value;
onChanged();
return this;
}
private java.lang.Object phoneNumber_ = "";
/**
* string phone_number = 4;
*/
public java.lang.String getPhoneNumber() {
java.lang.Object ref = phoneNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
phoneNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string phone_number = 4;
*/
public com.google.protobuf.ByteString
getPhoneNumberBytes() {
java.lang.Object ref = phoneNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phoneNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string phone_number = 4;
*/
public Builder setPhoneNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
phoneNumber_ = value;
onChanged();
return this;
}
/**
* string phone_number = 4;
*/
public Builder clearPhoneNumber() {
phoneNumber_ = getDefaultInstance().getPhoneNumber();
onChanged();
return this;
}
/**
* string phone_number = 4;
*/
public Builder setPhoneNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
phoneNumber_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ContactDetails)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ContactDetails)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ContactDetails parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContactDetails(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SnapshotsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Snapshots)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
java.util.List
getSnapshotsList();
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getSnapshots(int index);
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
int getSnapshotsCount();
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder>
getSnapshotsOrBuilderList();
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder getSnapshotsOrBuilder(
int index);
}
/**
* Protobuf type {@code accountgroup.v1.Snapshots}
*/
public static final class Snapshots extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Snapshots)
SnapshotsOrBuilder {
// Use Snapshots.newBuilder() to construct.
private Snapshots(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Snapshots() {
snapshots_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Snapshots(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
snapshots_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
snapshots_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.class, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder.class);
}
public interface SnapshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Snapshots.Snapshot)
com.google.protobuf.MessageOrBuilder {
/**
* string snapshot_id = 1;
*/
java.lang.String getSnapshotId();
/**
* string snapshot_id = 1;
*/
com.google.protobuf.ByteString
getSnapshotIdBytes();
/**
* .google.protobuf.Timestamp created = 2;
*/
boolean hasCreated();
/**
* .google.protobuf.Timestamp created = 2;
*/
com.google.protobuf.Timestamp getCreated();
/**
* .google.protobuf.Timestamp created = 2;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
* .google.protobuf.Timestamp expiry = 3;
*/
boolean hasExpiry();
/**
* .google.protobuf.Timestamp expiry = 3;
*/
com.google.protobuf.Timestamp getExpiry();
/**
* .google.protobuf.Timestamp expiry = 3;
*/
com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder();
}
/**
* Protobuf type {@code accountgroup.v1.Snapshots.Snapshot}
*/
public static final class Snapshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Snapshots.Snapshot)
SnapshotOrBuilder {
// Use Snapshot.newBuilder() to construct.
private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Snapshot() {
snapshotId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Snapshot(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
snapshotId_ = s;
break;
}
case 18: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (created_ != null) {
subBuilder = created_.toBuilder();
}
created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(created_);
created_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (expiry_ != null) {
subBuilder = expiry_.toBuilder();
}
expiry_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(expiry_);
expiry_ = subBuilder.buildPartial();
}
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_Snapshot_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_Snapshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.class, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder.class);
}
public static final int SNAPSHOT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object snapshotId_;
/**
* string snapshot_id = 1;
*/
public java.lang.String getSnapshotId() {
java.lang.Object ref = snapshotId_;
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();
snapshotId_ = s;
return s;
}
}
/**
* string snapshot_id = 1;
*/
public com.google.protobuf.ByteString
getSnapshotIdBytes() {
java.lang.Object ref = snapshotId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
snapshotId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATED_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp created_;
/**
* .google.protobuf.Timestamp created = 2;
*/
public boolean hasCreated() {
return created_ != null;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public com.google.protobuf.Timestamp getCreated() {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return getCreated();
}
public static final int EXPIRY_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp expiry_;
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public boolean hasExpiry() {
return expiry_ != null;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public com.google.protobuf.Timestamp getExpiry() {
return expiry_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder() {
return getExpiry();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSnapshotIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshotId_);
}
if (created_ != null) {
output.writeMessage(2, getCreated());
}
if (expiry_ != null) {
output.writeMessage(3, getExpiry());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSnapshotIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, snapshotId_);
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCreated());
}
if (expiry_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getExpiry());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot other = (com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot) obj;
boolean result = true;
result = result && getSnapshotId()
.equals(other.getSnapshotId());
result = result && (hasCreated() == other.hasCreated());
if (hasCreated()) {
result = result && getCreated()
.equals(other.getCreated());
}
result = result && (hasExpiry() == other.hasExpiry());
if (hasExpiry()) {
result = result && getExpiry()
.equals(other.getExpiry());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SNAPSHOT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSnapshotId().hashCode();
if (hasCreated()) {
hash = (37 * hash) + CREATED_FIELD_NUMBER;
hash = (53 * hash) + getCreated().hashCode();
}
if (hasExpiry()) {
hash = (37 * hash) + EXPIRY_FIELD_NUMBER;
hash = (53 * hash) + getExpiry().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot 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 com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot 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 com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.Snapshots.Snapshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Snapshots.Snapshot)
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_Snapshot_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_Snapshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.class, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
snapshotId_ = "";
if (createdBuilder_ == null) {
created_ = null;
} else {
created_ = null;
createdBuilder_ = null;
}
if (expiryBuilder_ == null) {
expiry_ = null;
} else {
expiry_ = null;
expiryBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_Snapshot_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot result = new com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot(this);
result.snapshotId_ = snapshotId_;
if (createdBuilder_ == null) {
result.created_ = created_;
} else {
result.created_ = createdBuilder_.build();
}
if (expiryBuilder_ == null) {
result.expiry_ = expiry_;
} else {
result.expiry_ = expiryBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.getDefaultInstance()) return this;
if (!other.getSnapshotId().isEmpty()) {
snapshotId_ = other.snapshotId_;
onChanged();
}
if (other.hasCreated()) {
mergeCreated(other.getCreated());
}
if (other.hasExpiry()) {
mergeExpiry(other.getExpiry());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object snapshotId_ = "";
/**
* string snapshot_id = 1;
*/
public java.lang.String getSnapshotId() {
java.lang.Object ref = snapshotId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
snapshotId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string snapshot_id = 1;
*/
public com.google.protobuf.ByteString
getSnapshotIdBytes() {
java.lang.Object ref = snapshotId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
snapshotId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string snapshot_id = 1;
*/
public Builder setSnapshotId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
snapshotId_ = value;
onChanged();
return this;
}
/**
* string snapshot_id = 1;
*/
public Builder clearSnapshotId() {
snapshotId_ = getDefaultInstance().getSnapshotId();
onChanged();
return this;
}
/**
* string snapshot_id = 1;
*/
public Builder setSnapshotIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
snapshotId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp created_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_;
/**
* .google.protobuf.Timestamp created = 2;
*/
public boolean hasCreated() {
return createdBuilder_ != null || created_ != null;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public com.google.protobuf.Timestamp getCreated() {
if (createdBuilder_ == null) {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
} else {
return createdBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public Builder setCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
created_ = value;
onChanged();
} else {
createdBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public Builder setCreated(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdBuilder_ == null) {
created_ = builderForValue.build();
onChanged();
} else {
createdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public Builder mergeCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (created_ != null) {
created_ =
com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial();
} else {
created_ = value;
}
onChanged();
} else {
createdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public Builder clearCreated() {
if (createdBuilder_ == null) {
created_ = null;
onChanged();
} else {
created_ = null;
createdBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp created = 2;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
if (createdBuilder_ != null) {
return createdBuilder_.getMessageOrBuilder();
} else {
return created_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
}
/**
* .google.protobuf.Timestamp created = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedFieldBuilder() {
if (createdBuilder_ == null) {
createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreated(),
getParentForChildren(),
isClean());
created_ = null;
}
return createdBuilder_;
}
private com.google.protobuf.Timestamp expiry_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryBuilder_;
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public boolean hasExpiry() {
return expiryBuilder_ != null || expiry_ != null;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public com.google.protobuf.Timestamp getExpiry() {
if (expiryBuilder_ == null) {
return expiry_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
} else {
return expiryBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public Builder setExpiry(com.google.protobuf.Timestamp value) {
if (expiryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expiry_ = value;
onChanged();
} else {
expiryBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public Builder setExpiry(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (expiryBuilder_ == null) {
expiry_ = builderForValue.build();
onChanged();
} else {
expiryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public Builder mergeExpiry(com.google.protobuf.Timestamp value) {
if (expiryBuilder_ == null) {
if (expiry_ != null) {
expiry_ =
com.google.protobuf.Timestamp.newBuilder(expiry_).mergeFrom(value).buildPartial();
} else {
expiry_ = value;
}
onChanged();
} else {
expiryBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public Builder clearExpiry() {
if (expiryBuilder_ == null) {
expiry_ = null;
onChanged();
} else {
expiry_ = null;
expiryBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public com.google.protobuf.Timestamp.Builder getExpiryBuilder() {
onChanged();
return getExpiryFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
public com.google.protobuf.TimestampOrBuilder getExpiryOrBuilder() {
if (expiryBuilder_ != null) {
return expiryBuilder_.getMessageOrBuilder();
} else {
return expiry_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : expiry_;
}
}
/**
* .google.protobuf.Timestamp expiry = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getExpiryFieldBuilder() {
if (expiryBuilder_ == null) {
expiryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getExpiry(),
getParentForChildren(),
isClean());
expiry_ = null;
}
return expiryBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Snapshots.Snapshot)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Snapshots.Snapshot)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Snapshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Snapshot(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int SNAPSHOTS_FIELD_NUMBER = 1;
private java.util.List snapshots_;
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public java.util.List getSnapshotsList() {
return snapshots_;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder>
getSnapshotsOrBuilderList() {
return snapshots_;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public int getSnapshotsCount() {
return snapshots_.size();
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getSnapshots(int index) {
return snapshots_.get(index);
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder getSnapshotsOrBuilder(
int index) {
return snapshots_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < snapshots_.size(); i++) {
output.writeMessage(1, snapshots_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < snapshots_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, snapshots_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots other = (com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots) obj;
boolean result = true;
result = result && getSnapshotsList()
.equals(other.getSnapshotsList());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSnapshotsCount() > 0) {
hash = (37 * hash) + SNAPSHOTS_FIELD_NUMBER;
hash = (53 * hash) + getSnapshotsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots 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 com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots 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 com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.Snapshots}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Snapshots)
com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.class, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSnapshotsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (snapshotsBuilder_ == null) {
snapshots_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
snapshotsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Snapshots_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots result = new com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots(this);
int from_bitField0_ = bitField0_;
if (snapshotsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.snapshots_ = snapshots_;
} else {
result.snapshots_ = snapshotsBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.getDefaultInstance()) return this;
if (snapshotsBuilder_ == null) {
if (!other.snapshots_.isEmpty()) {
if (snapshots_.isEmpty()) {
snapshots_ = other.snapshots_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSnapshotsIsMutable();
snapshots_.addAll(other.snapshots_);
}
onChanged();
}
} else {
if (!other.snapshots_.isEmpty()) {
if (snapshotsBuilder_.isEmpty()) {
snapshotsBuilder_.dispose();
snapshotsBuilder_ = null;
snapshots_ = other.snapshots_;
bitField0_ = (bitField0_ & ~0x00000001);
snapshotsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSnapshotsFieldBuilder() : null;
} else {
snapshotsBuilder_.addAllMessages(other.snapshots_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List snapshots_ =
java.util.Collections.emptyList();
private void ensureSnapshotsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
snapshots_ = new java.util.ArrayList(snapshots_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder> snapshotsBuilder_;
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public java.util.List getSnapshotsList() {
if (snapshotsBuilder_ == null) {
return java.util.Collections.unmodifiableList(snapshots_);
} else {
return snapshotsBuilder_.getMessageList();
}
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public int getSnapshotsCount() {
if (snapshotsBuilder_ == null) {
return snapshots_.size();
} else {
return snapshotsBuilder_.getCount();
}
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot getSnapshots(int index) {
if (snapshotsBuilder_ == null) {
return snapshots_.get(index);
} else {
return snapshotsBuilder_.getMessage(index);
}
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder setSnapshots(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot value) {
if (snapshotsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSnapshotsIsMutable();
snapshots_.set(index, value);
onChanged();
} else {
snapshotsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder setSnapshots(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder builderForValue) {
if (snapshotsBuilder_ == null) {
ensureSnapshotsIsMutable();
snapshots_.set(index, builderForValue.build());
onChanged();
} else {
snapshotsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder addSnapshots(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot value) {
if (snapshotsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSnapshotsIsMutable();
snapshots_.add(value);
onChanged();
} else {
snapshotsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder addSnapshots(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot value) {
if (snapshotsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSnapshotsIsMutable();
snapshots_.add(index, value);
onChanged();
} else {
snapshotsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder addSnapshots(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder builderForValue) {
if (snapshotsBuilder_ == null) {
ensureSnapshotsIsMutable();
snapshots_.add(builderForValue.build());
onChanged();
} else {
snapshotsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder addSnapshots(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder builderForValue) {
if (snapshotsBuilder_ == null) {
ensureSnapshotsIsMutable();
snapshots_.add(index, builderForValue.build());
onChanged();
} else {
snapshotsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder addAllSnapshots(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot> values) {
if (snapshotsBuilder_ == null) {
ensureSnapshotsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, snapshots_);
onChanged();
} else {
snapshotsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder clearSnapshots() {
if (snapshotsBuilder_ == null) {
snapshots_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
snapshotsBuilder_.clear();
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public Builder removeSnapshots(int index) {
if (snapshotsBuilder_ == null) {
ensureSnapshotsIsMutable();
snapshots_.remove(index);
onChanged();
} else {
snapshotsBuilder_.remove(index);
}
return this;
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder getSnapshotsBuilder(
int index) {
return getSnapshotsFieldBuilder().getBuilder(index);
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder getSnapshotsOrBuilder(
int index) {
if (snapshotsBuilder_ == null) {
return snapshots_.get(index); } else {
return snapshotsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder>
getSnapshotsOrBuilderList() {
if (snapshotsBuilder_ != null) {
return snapshotsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(snapshots_);
}
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder addSnapshotsBuilder() {
return getSnapshotsFieldBuilder().addBuilder(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder addSnapshotsBuilder(
int index) {
return getSnapshotsFieldBuilder().addBuilder(
index, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Snapshots.Snapshot snapshots = 1;
*/
public java.util.List
getSnapshotsBuilderList() {
return getSnapshotsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder>
getSnapshotsFieldBuilder() {
if (snapshotsBuilder_ == null) {
snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Snapshot.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.SnapshotOrBuilder>(
snapshots_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
snapshots_ = null;
}
return snapshotsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Snapshots)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Snapshots)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Snapshots parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Snapshots(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LegacyProductDetailsOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.LegacyProductDetails)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string key_person = 1;
*/
java.util.List
getKeyPersonList();
/**
* repeated string key_person = 1;
*/
int getKeyPersonCount();
/**
* repeated string key_person = 1;
*/
java.lang.String getKeyPerson(int index);
/**
* repeated string key_person = 1;
*/
com.google.protobuf.ByteString
getKeyPersonBytes(int index);
/**
* repeated string share_of_voice_service = 2;
*/
java.util.List
getShareOfVoiceServiceList();
/**
* repeated string share_of_voice_service = 2;
*/
int getShareOfVoiceServiceCount();
/**
* repeated string share_of_voice_service = 2;
*/
java.lang.String getShareOfVoiceService(int index);
/**
* repeated string share_of_voice_service = 2;
*/
com.google.protobuf.ByteString
getShareOfVoiceServiceBytes(int index);
/**
* string fax_number = 3;
*/
java.lang.String getFaxNumber();
/**
* string fax_number = 3;
*/
com.google.protobuf.ByteString
getFaxNumberBytes();
/**
* repeated string common_name = 4;
*/
java.util.List
getCommonNameList();
/**
* repeated string common_name = 4;
*/
int getCommonNameCount();
/**
* repeated string common_name = 4;
*/
java.lang.String getCommonName(int index);
/**
* repeated string common_name = 4;
*/
com.google.protobuf.ByteString
getCommonNameBytes(int index);
/**
* string cell_number = 5;
*/
java.lang.String getCellNumber();
/**
* string cell_number = 5;
*/
com.google.protobuf.ByteString
getCellNumberBytes();
/**
* repeated string competitor = 6;
*/
java.util.List
getCompetitorList();
/**
* repeated string competitor = 6;
*/
int getCompetitorCount();
/**
* repeated string competitor = 6;
*/
java.lang.String getCompetitor(int index);
/**
* repeated string competitor = 6;
*/
com.google.protobuf.ByteString
getCompetitorBytes(int index);
/**
* string admin_notes = 7;
*/
java.lang.String getAdminNotes();
/**
* string admin_notes = 7;
*/
com.google.protobuf.ByteString
getAdminNotesBytes();
/**
* repeated string seo_category = 8;
*/
java.util.List
getSeoCategoryList();
/**
* repeated string seo_category = 8;
*/
int getSeoCategoryCount();
/**
* repeated string seo_category = 8;
*/
java.lang.String getSeoCategory(int index);
/**
* repeated string seo_category = 8;
*/
com.google.protobuf.ByteString
getSeoCategoryBytes(int index);
/**
* string email = 9;
*/
java.lang.String getEmail();
/**
* string email = 9;
*/
com.google.protobuf.ByteString
getEmailBytes();
/**
* string place = 10;
*/
java.lang.String getPlace();
/**
* string place = 10;
*/
com.google.protobuf.ByteString
getPlaceBytes();
/**
* string tagline = 11;
*/
java.lang.String getTagline();
/**
* string tagline = 11;
*/
com.google.protobuf.ByteString
getTaglineBytes();
/**
* bool subscribed_to_campaigns = 12;
*/
boolean getSubscribedToCampaigns();
}
/**
* Protobuf type {@code accountgroup.v1.LegacyProductDetails}
*/
public static final class LegacyProductDetails extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.LegacyProductDetails)
LegacyProductDetailsOrBuilder {
// Use LegacyProductDetails.newBuilder() to construct.
private LegacyProductDetails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LegacyProductDetails() {
keyPerson_ = com.google.protobuf.LazyStringArrayList.EMPTY;
shareOfVoiceService_ = com.google.protobuf.LazyStringArrayList.EMPTY;
faxNumber_ = "";
commonName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
cellNumber_ = "";
competitor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
adminNotes_ = "";
seoCategory_ = com.google.protobuf.LazyStringArrayList.EMPTY;
email_ = "";
place_ = "";
tagline_ = "";
subscribedToCampaigns_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private LegacyProductDetails(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
keyPerson_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
keyPerson_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
shareOfVoiceService_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
shareOfVoiceService_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
faxNumber_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
commonName_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
commonName_.add(s);
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
cellNumber_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
competitor_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
competitor_.add(s);
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
adminNotes_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
seoCategory_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000080;
}
seoCategory_.add(s);
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
email_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
place_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
tagline_ = s;
break;
}
case 96: {
subscribedToCampaigns_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
keyPerson_ = keyPerson_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
shareOfVoiceService_ = shareOfVoiceService_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
commonName_ = commonName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
competitor_ = competitor_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
seoCategory_ = seoCategory_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_LegacyProductDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_LegacyProductDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder.class);
}
private int bitField0_;
public static final int KEY_PERSON_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList keyPerson_;
/**
* repeated string key_person = 1;
*/
public com.google.protobuf.ProtocolStringList
getKeyPersonList() {
return keyPerson_;
}
/**
* repeated string key_person = 1;
*/
public int getKeyPersonCount() {
return keyPerson_.size();
}
/**
* repeated string key_person = 1;
*/
public java.lang.String getKeyPerson(int index) {
return keyPerson_.get(index);
}
/**
* repeated string key_person = 1;
*/
public com.google.protobuf.ByteString
getKeyPersonBytes(int index) {
return keyPerson_.getByteString(index);
}
public static final int SHARE_OF_VOICE_SERVICE_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList shareOfVoiceService_;
/**
* repeated string share_of_voice_service = 2;
*/
public com.google.protobuf.ProtocolStringList
getShareOfVoiceServiceList() {
return shareOfVoiceService_;
}
/**
* repeated string share_of_voice_service = 2;
*/
public int getShareOfVoiceServiceCount() {
return shareOfVoiceService_.size();
}
/**
* repeated string share_of_voice_service = 2;
*/
public java.lang.String getShareOfVoiceService(int index) {
return shareOfVoiceService_.get(index);
}
/**
* repeated string share_of_voice_service = 2;
*/
public com.google.protobuf.ByteString
getShareOfVoiceServiceBytes(int index) {
return shareOfVoiceService_.getByteString(index);
}
public static final int FAX_NUMBER_FIELD_NUMBER = 3;
private volatile java.lang.Object faxNumber_;
/**
* string fax_number = 3;
*/
public java.lang.String getFaxNumber() {
java.lang.Object ref = faxNumber_;
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();
faxNumber_ = s;
return s;
}
}
/**
* string fax_number = 3;
*/
public com.google.protobuf.ByteString
getFaxNumberBytes() {
java.lang.Object ref = faxNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
faxNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMON_NAME_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList commonName_;
/**
* repeated string common_name = 4;
*/
public com.google.protobuf.ProtocolStringList
getCommonNameList() {
return commonName_;
}
/**
* repeated string common_name = 4;
*/
public int getCommonNameCount() {
return commonName_.size();
}
/**
* repeated string common_name = 4;
*/
public java.lang.String getCommonName(int index) {
return commonName_.get(index);
}
/**
* repeated string common_name = 4;
*/
public com.google.protobuf.ByteString
getCommonNameBytes(int index) {
return commonName_.getByteString(index);
}
public static final int CELL_NUMBER_FIELD_NUMBER = 5;
private volatile java.lang.Object cellNumber_;
/**
* string cell_number = 5;
*/
public java.lang.String getCellNumber() {
java.lang.Object ref = cellNumber_;
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();
cellNumber_ = s;
return s;
}
}
/**
* string cell_number = 5;
*/
public com.google.protobuf.ByteString
getCellNumberBytes() {
java.lang.Object ref = cellNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cellNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPETITOR_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList competitor_;
/**
* repeated string competitor = 6;
*/
public com.google.protobuf.ProtocolStringList
getCompetitorList() {
return competitor_;
}
/**
* repeated string competitor = 6;
*/
public int getCompetitorCount() {
return competitor_.size();
}
/**
* repeated string competitor = 6;
*/
public java.lang.String getCompetitor(int index) {
return competitor_.get(index);
}
/**
* repeated string competitor = 6;
*/
public com.google.protobuf.ByteString
getCompetitorBytes(int index) {
return competitor_.getByteString(index);
}
public static final int ADMIN_NOTES_FIELD_NUMBER = 7;
private volatile java.lang.Object adminNotes_;
/**
* string admin_notes = 7;
*/
public java.lang.String getAdminNotes() {
java.lang.Object ref = adminNotes_;
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();
adminNotes_ = s;
return s;
}
}
/**
* string admin_notes = 7;
*/
public com.google.protobuf.ByteString
getAdminNotesBytes() {
java.lang.Object ref = adminNotes_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adminNotes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEO_CATEGORY_FIELD_NUMBER = 8;
private com.google.protobuf.LazyStringList seoCategory_;
/**
* repeated string seo_category = 8;
*/
public com.google.protobuf.ProtocolStringList
getSeoCategoryList() {
return seoCategory_;
}
/**
* repeated string seo_category = 8;
*/
public int getSeoCategoryCount() {
return seoCategory_.size();
}
/**
* repeated string seo_category = 8;
*/
public java.lang.String getSeoCategory(int index) {
return seoCategory_.get(index);
}
/**
* repeated string seo_category = 8;
*/
public com.google.protobuf.ByteString
getSeoCategoryBytes(int index) {
return seoCategory_.getByteString(index);
}
public static final int EMAIL_FIELD_NUMBER = 9;
private volatile java.lang.Object email_;
/**
* string email = 9;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
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();
email_ = s;
return s;
}
}
/**
* string email = 9;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PLACE_FIELD_NUMBER = 10;
private volatile java.lang.Object place_;
/**
* string place = 10;
*/
public java.lang.String getPlace() {
java.lang.Object ref = place_;
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();
place_ = s;
return s;
}
}
/**
* string place = 10;
*/
public com.google.protobuf.ByteString
getPlaceBytes() {
java.lang.Object ref = place_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
place_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGLINE_FIELD_NUMBER = 11;
private volatile java.lang.Object tagline_;
/**
* string tagline = 11;
*/
public java.lang.String getTagline() {
java.lang.Object ref = tagline_;
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();
tagline_ = s;
return s;
}
}
/**
* string tagline = 11;
*/
public com.google.protobuf.ByteString
getTaglineBytes() {
java.lang.Object ref = tagline_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tagline_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBSCRIBED_TO_CAMPAIGNS_FIELD_NUMBER = 12;
private boolean subscribedToCampaigns_;
/**
* bool subscribed_to_campaigns = 12;
*/
public boolean getSubscribedToCampaigns() {
return subscribedToCampaigns_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < keyPerson_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyPerson_.getRaw(i));
}
for (int i = 0; i < shareOfVoiceService_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shareOfVoiceService_.getRaw(i));
}
if (!getFaxNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, faxNumber_);
}
for (int i = 0; i < commonName_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, commonName_.getRaw(i));
}
if (!getCellNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cellNumber_);
}
for (int i = 0; i < competitor_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, competitor_.getRaw(i));
}
if (!getAdminNotesBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, adminNotes_);
}
for (int i = 0; i < seoCategory_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, seoCategory_.getRaw(i));
}
if (!getEmailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, email_);
}
if (!getPlaceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, place_);
}
if (!getTaglineBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, tagline_);
}
if (subscribedToCampaigns_ != false) {
output.writeBool(12, subscribedToCampaigns_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < keyPerson_.size(); i++) {
dataSize += computeStringSizeNoTag(keyPerson_.getRaw(i));
}
size += dataSize;
size += 1 * getKeyPersonList().size();
}
{
int dataSize = 0;
for (int i = 0; i < shareOfVoiceService_.size(); i++) {
dataSize += computeStringSizeNoTag(shareOfVoiceService_.getRaw(i));
}
size += dataSize;
size += 1 * getShareOfVoiceServiceList().size();
}
if (!getFaxNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, faxNumber_);
}
{
int dataSize = 0;
for (int i = 0; i < commonName_.size(); i++) {
dataSize += computeStringSizeNoTag(commonName_.getRaw(i));
}
size += dataSize;
size += 1 * getCommonNameList().size();
}
if (!getCellNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cellNumber_);
}
{
int dataSize = 0;
for (int i = 0; i < competitor_.size(); i++) {
dataSize += computeStringSizeNoTag(competitor_.getRaw(i));
}
size += dataSize;
size += 1 * getCompetitorList().size();
}
if (!getAdminNotesBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, adminNotes_);
}
{
int dataSize = 0;
for (int i = 0; i < seoCategory_.size(); i++) {
dataSize += computeStringSizeNoTag(seoCategory_.getRaw(i));
}
size += dataSize;
size += 1 * getSeoCategoryList().size();
}
if (!getEmailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, email_);
}
if (!getPlaceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, place_);
}
if (!getTaglineBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, tagline_);
}
if (subscribedToCampaigns_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, subscribedToCampaigns_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails other = (com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails) obj;
boolean result = true;
result = result && getKeyPersonList()
.equals(other.getKeyPersonList());
result = result && getShareOfVoiceServiceList()
.equals(other.getShareOfVoiceServiceList());
result = result && getFaxNumber()
.equals(other.getFaxNumber());
result = result && getCommonNameList()
.equals(other.getCommonNameList());
result = result && getCellNumber()
.equals(other.getCellNumber());
result = result && getCompetitorList()
.equals(other.getCompetitorList());
result = result && getAdminNotes()
.equals(other.getAdminNotes());
result = result && getSeoCategoryList()
.equals(other.getSeoCategoryList());
result = result && getEmail()
.equals(other.getEmail());
result = result && getPlace()
.equals(other.getPlace());
result = result && getTagline()
.equals(other.getTagline());
result = result && (getSubscribedToCampaigns()
== other.getSubscribedToCampaigns());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getKeyPersonCount() > 0) {
hash = (37 * hash) + KEY_PERSON_FIELD_NUMBER;
hash = (53 * hash) + getKeyPersonList().hashCode();
}
if (getShareOfVoiceServiceCount() > 0) {
hash = (37 * hash) + SHARE_OF_VOICE_SERVICE_FIELD_NUMBER;
hash = (53 * hash) + getShareOfVoiceServiceList().hashCode();
}
hash = (37 * hash) + FAX_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getFaxNumber().hashCode();
if (getCommonNameCount() > 0) {
hash = (37 * hash) + COMMON_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCommonNameList().hashCode();
}
hash = (37 * hash) + CELL_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getCellNumber().hashCode();
if (getCompetitorCount() > 0) {
hash = (37 * hash) + COMPETITOR_FIELD_NUMBER;
hash = (53 * hash) + getCompetitorList().hashCode();
}
hash = (37 * hash) + ADMIN_NOTES_FIELD_NUMBER;
hash = (53 * hash) + getAdminNotes().hashCode();
if (getSeoCategoryCount() > 0) {
hash = (37 * hash) + SEO_CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getSeoCategoryList().hashCode();
}
hash = (37 * hash) + EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getEmail().hashCode();
hash = (37 * hash) + PLACE_FIELD_NUMBER;
hash = (53 * hash) + getPlace().hashCode();
hash = (37 * hash) + TAGLINE_FIELD_NUMBER;
hash = (53 * hash) + getTagline().hashCode();
hash = (37 * hash) + SUBSCRIBED_TO_CAMPAIGNS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSubscribedToCampaigns());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails 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 com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.LegacyProductDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.LegacyProductDetails)
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_LegacyProductDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_LegacyProductDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.class, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
keyPerson_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
shareOfVoiceService_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
faxNumber_ = "";
commonName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
cellNumber_ = "";
competitor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
adminNotes_ = "";
seoCategory_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
email_ = "";
place_ = "";
tagline_ = "";
subscribedToCampaigns_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_LegacyProductDetails_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails build() {
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails result = new com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
keyPerson_ = keyPerson_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.keyPerson_ = keyPerson_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
shareOfVoiceService_ = shareOfVoiceService_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.shareOfVoiceService_ = shareOfVoiceService_;
result.faxNumber_ = faxNumber_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
commonName_ = commonName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.commonName_ = commonName_;
result.cellNumber_ = cellNumber_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
competitor_ = competitor_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.competitor_ = competitor_;
result.adminNotes_ = adminNotes_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
seoCategory_ = seoCategory_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000080);
}
result.seoCategory_ = seoCategory_;
result.email_ = email_;
result.place_ = place_;
result.tagline_ = tagline_;
result.subscribedToCampaigns_ = subscribedToCampaigns_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.getDefaultInstance()) return this;
if (!other.keyPerson_.isEmpty()) {
if (keyPerson_.isEmpty()) {
keyPerson_ = other.keyPerson_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKeyPersonIsMutable();
keyPerson_.addAll(other.keyPerson_);
}
onChanged();
}
if (!other.shareOfVoiceService_.isEmpty()) {
if (shareOfVoiceService_.isEmpty()) {
shareOfVoiceService_ = other.shareOfVoiceService_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureShareOfVoiceServiceIsMutable();
shareOfVoiceService_.addAll(other.shareOfVoiceService_);
}
onChanged();
}
if (!other.getFaxNumber().isEmpty()) {
faxNumber_ = other.faxNumber_;
onChanged();
}
if (!other.commonName_.isEmpty()) {
if (commonName_.isEmpty()) {
commonName_ = other.commonName_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureCommonNameIsMutable();
commonName_.addAll(other.commonName_);
}
onChanged();
}
if (!other.getCellNumber().isEmpty()) {
cellNumber_ = other.cellNumber_;
onChanged();
}
if (!other.competitor_.isEmpty()) {
if (competitor_.isEmpty()) {
competitor_ = other.competitor_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCompetitorIsMutable();
competitor_.addAll(other.competitor_);
}
onChanged();
}
if (!other.getAdminNotes().isEmpty()) {
adminNotes_ = other.adminNotes_;
onChanged();
}
if (!other.seoCategory_.isEmpty()) {
if (seoCategory_.isEmpty()) {
seoCategory_ = other.seoCategory_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureSeoCategoryIsMutable();
seoCategory_.addAll(other.seoCategory_);
}
onChanged();
}
if (!other.getEmail().isEmpty()) {
email_ = other.email_;
onChanged();
}
if (!other.getPlace().isEmpty()) {
place_ = other.place_;
onChanged();
}
if (!other.getTagline().isEmpty()) {
tagline_ = other.tagline_;
onChanged();
}
if (other.getSubscribedToCampaigns() != false) {
setSubscribedToCampaigns(other.getSubscribedToCampaigns());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList keyPerson_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureKeyPersonIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
keyPerson_ = new com.google.protobuf.LazyStringArrayList(keyPerson_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string key_person = 1;
*/
public com.google.protobuf.ProtocolStringList
getKeyPersonList() {
return keyPerson_.getUnmodifiableView();
}
/**
* repeated string key_person = 1;
*/
public int getKeyPersonCount() {
return keyPerson_.size();
}
/**
* repeated string key_person = 1;
*/
public java.lang.String getKeyPerson(int index) {
return keyPerson_.get(index);
}
/**
* repeated string key_person = 1;
*/
public com.google.protobuf.ByteString
getKeyPersonBytes(int index) {
return keyPerson_.getByteString(index);
}
/**
* repeated string key_person = 1;
*/
public Builder setKeyPerson(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeyPersonIsMutable();
keyPerson_.set(index, value);
onChanged();
return this;
}
/**
* repeated string key_person = 1;
*/
public Builder addKeyPerson(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeyPersonIsMutable();
keyPerson_.add(value);
onChanged();
return this;
}
/**
* repeated string key_person = 1;
*/
public Builder addAllKeyPerson(
java.lang.Iterable values) {
ensureKeyPersonIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keyPerson_);
onChanged();
return this;
}
/**
* repeated string key_person = 1;
*/
public Builder clearKeyPerson() {
keyPerson_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string key_person = 1;
*/
public Builder addKeyPersonBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureKeyPersonIsMutable();
keyPerson_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList shareOfVoiceService_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureShareOfVoiceServiceIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
shareOfVoiceService_ = new com.google.protobuf.LazyStringArrayList(shareOfVoiceService_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string share_of_voice_service = 2;
*/
public com.google.protobuf.ProtocolStringList
getShareOfVoiceServiceList() {
return shareOfVoiceService_.getUnmodifiableView();
}
/**
* repeated string share_of_voice_service = 2;
*/
public int getShareOfVoiceServiceCount() {
return shareOfVoiceService_.size();
}
/**
* repeated string share_of_voice_service = 2;
*/
public java.lang.String getShareOfVoiceService(int index) {
return shareOfVoiceService_.get(index);
}
/**
* repeated string share_of_voice_service = 2;
*/
public com.google.protobuf.ByteString
getShareOfVoiceServiceBytes(int index) {
return shareOfVoiceService_.getByteString(index);
}
/**
* repeated string share_of_voice_service = 2;
*/
public Builder setShareOfVoiceService(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureShareOfVoiceServiceIsMutable();
shareOfVoiceService_.set(index, value);
onChanged();
return this;
}
/**
* repeated string share_of_voice_service = 2;
*/
public Builder addShareOfVoiceService(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureShareOfVoiceServiceIsMutable();
shareOfVoiceService_.add(value);
onChanged();
return this;
}
/**
* repeated string share_of_voice_service = 2;
*/
public Builder addAllShareOfVoiceService(
java.lang.Iterable values) {
ensureShareOfVoiceServiceIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, shareOfVoiceService_);
onChanged();
return this;
}
/**
* repeated string share_of_voice_service = 2;
*/
public Builder clearShareOfVoiceService() {
shareOfVoiceService_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string share_of_voice_service = 2;
*/
public Builder addShareOfVoiceServiceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureShareOfVoiceServiceIsMutable();
shareOfVoiceService_.add(value);
onChanged();
return this;
}
private java.lang.Object faxNumber_ = "";
/**
* string fax_number = 3;
*/
public java.lang.String getFaxNumber() {
java.lang.Object ref = faxNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
faxNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fax_number = 3;
*/
public com.google.protobuf.ByteString
getFaxNumberBytes() {
java.lang.Object ref = faxNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
faxNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fax_number = 3;
*/
public Builder setFaxNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
faxNumber_ = value;
onChanged();
return this;
}
/**
* string fax_number = 3;
*/
public Builder clearFaxNumber() {
faxNumber_ = getDefaultInstance().getFaxNumber();
onChanged();
return this;
}
/**
* string fax_number = 3;
*/
public Builder setFaxNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
faxNumber_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList commonName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCommonNameIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
commonName_ = new com.google.protobuf.LazyStringArrayList(commonName_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string common_name = 4;
*/
public com.google.protobuf.ProtocolStringList
getCommonNameList() {
return commonName_.getUnmodifiableView();
}
/**
* repeated string common_name = 4;
*/
public int getCommonNameCount() {
return commonName_.size();
}
/**
* repeated string common_name = 4;
*/
public java.lang.String getCommonName(int index) {
return commonName_.get(index);
}
/**
* repeated string common_name = 4;
*/
public com.google.protobuf.ByteString
getCommonNameBytes(int index) {
return commonName_.getByteString(index);
}
/**
* repeated string common_name = 4;
*/
public Builder setCommonName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCommonNameIsMutable();
commonName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string common_name = 4;
*/
public Builder addCommonName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCommonNameIsMutable();
commonName_.add(value);
onChanged();
return this;
}
/**
* repeated string common_name = 4;
*/
public Builder addAllCommonName(
java.lang.Iterable values) {
ensureCommonNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, commonName_);
onChanged();
return this;
}
/**
* repeated string common_name = 4;
*/
public Builder clearCommonName() {
commonName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string common_name = 4;
*/
public Builder addCommonNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureCommonNameIsMutable();
commonName_.add(value);
onChanged();
return this;
}
private java.lang.Object cellNumber_ = "";
/**
* string cell_number = 5;
*/
public java.lang.String getCellNumber() {
java.lang.Object ref = cellNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cellNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cell_number = 5;
*/
public com.google.protobuf.ByteString
getCellNumberBytes() {
java.lang.Object ref = cellNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cellNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cell_number = 5;
*/
public Builder setCellNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cellNumber_ = value;
onChanged();
return this;
}
/**
* string cell_number = 5;
*/
public Builder clearCellNumber() {
cellNumber_ = getDefaultInstance().getCellNumber();
onChanged();
return this;
}
/**
* string cell_number = 5;
*/
public Builder setCellNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cellNumber_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList competitor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCompetitorIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
competitor_ = new com.google.protobuf.LazyStringArrayList(competitor_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated string competitor = 6;
*/
public com.google.protobuf.ProtocolStringList
getCompetitorList() {
return competitor_.getUnmodifiableView();
}
/**
* repeated string competitor = 6;
*/
public int getCompetitorCount() {
return competitor_.size();
}
/**
* repeated string competitor = 6;
*/
public java.lang.String getCompetitor(int index) {
return competitor_.get(index);
}
/**
* repeated string competitor = 6;
*/
public com.google.protobuf.ByteString
getCompetitorBytes(int index) {
return competitor_.getByteString(index);
}
/**
* repeated string competitor = 6;
*/
public Builder setCompetitor(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCompetitorIsMutable();
competitor_.set(index, value);
onChanged();
return this;
}
/**
* repeated string competitor = 6;
*/
public Builder addCompetitor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCompetitorIsMutable();
competitor_.add(value);
onChanged();
return this;
}
/**
* repeated string competitor = 6;
*/
public Builder addAllCompetitor(
java.lang.Iterable values) {
ensureCompetitorIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, competitor_);
onChanged();
return this;
}
/**
* repeated string competitor = 6;
*/
public Builder clearCompetitor() {
competitor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* repeated string competitor = 6;
*/
public Builder addCompetitorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureCompetitorIsMutable();
competitor_.add(value);
onChanged();
return this;
}
private java.lang.Object adminNotes_ = "";
/**
* string admin_notes = 7;
*/
public java.lang.String getAdminNotes() {
java.lang.Object ref = adminNotes_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
adminNotes_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string admin_notes = 7;
*/
public com.google.protobuf.ByteString
getAdminNotesBytes() {
java.lang.Object ref = adminNotes_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adminNotes_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string admin_notes = 7;
*/
public Builder setAdminNotes(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
adminNotes_ = value;
onChanged();
return this;
}
/**
* string admin_notes = 7;
*/
public Builder clearAdminNotes() {
adminNotes_ = getDefaultInstance().getAdminNotes();
onChanged();
return this;
}
/**
* string admin_notes = 7;
*/
public Builder setAdminNotesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
adminNotes_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList seoCategory_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSeoCategoryIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
seoCategory_ = new com.google.protobuf.LazyStringArrayList(seoCategory_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated string seo_category = 8;
*/
public com.google.protobuf.ProtocolStringList
getSeoCategoryList() {
return seoCategory_.getUnmodifiableView();
}
/**
* repeated string seo_category = 8;
*/
public int getSeoCategoryCount() {
return seoCategory_.size();
}
/**
* repeated string seo_category = 8;
*/
public java.lang.String getSeoCategory(int index) {
return seoCategory_.get(index);
}
/**
* repeated string seo_category = 8;
*/
public com.google.protobuf.ByteString
getSeoCategoryBytes(int index) {
return seoCategory_.getByteString(index);
}
/**
* repeated string seo_category = 8;
*/
public Builder setSeoCategory(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSeoCategoryIsMutable();
seoCategory_.set(index, value);
onChanged();
return this;
}
/**
* repeated string seo_category = 8;
*/
public Builder addSeoCategory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSeoCategoryIsMutable();
seoCategory_.add(value);
onChanged();
return this;
}
/**
* repeated string seo_category = 8;
*/
public Builder addAllSeoCategory(
java.lang.Iterable values) {
ensureSeoCategoryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, seoCategory_);
onChanged();
return this;
}
/**
* repeated string seo_category = 8;
*/
public Builder clearSeoCategory() {
seoCategory_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* repeated string seo_category = 8;
*/
public Builder addSeoCategoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSeoCategoryIsMutable();
seoCategory_.add(value);
onChanged();
return this;
}
private java.lang.Object email_ = "";
/**
* string email = 9;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
email_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string email = 9;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string email = 9;
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
email_ = value;
onChanged();
return this;
}
/**
* string email = 9;
*/
public Builder clearEmail() {
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
* string email = 9;
*/
public Builder setEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
email_ = value;
onChanged();
return this;
}
private java.lang.Object place_ = "";
/**
* string place = 10;
*/
public java.lang.String getPlace() {
java.lang.Object ref = place_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
place_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string place = 10;
*/
public com.google.protobuf.ByteString
getPlaceBytes() {
java.lang.Object ref = place_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
place_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string place = 10;
*/
public Builder setPlace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
place_ = value;
onChanged();
return this;
}
/**
* string place = 10;
*/
public Builder clearPlace() {
place_ = getDefaultInstance().getPlace();
onChanged();
return this;
}
/**
* string place = 10;
*/
public Builder setPlaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
place_ = value;
onChanged();
return this;
}
private java.lang.Object tagline_ = "";
/**
* string tagline = 11;
*/
public java.lang.String getTagline() {
java.lang.Object ref = tagline_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tagline_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string tagline = 11;
*/
public com.google.protobuf.ByteString
getTaglineBytes() {
java.lang.Object ref = tagline_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tagline_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string tagline = 11;
*/
public Builder setTagline(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tagline_ = value;
onChanged();
return this;
}
/**
* string tagline = 11;
*/
public Builder clearTagline() {
tagline_ = getDefaultInstance().getTagline();
onChanged();
return this;
}
/**
* string tagline = 11;
*/
public Builder setTaglineBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tagline_ = value;
onChanged();
return this;
}
private boolean subscribedToCampaigns_ ;
/**
* bool subscribed_to_campaigns = 12;
*/
public boolean getSubscribedToCampaigns() {
return subscribedToCampaigns_;
}
/**
* bool subscribed_to_campaigns = 12;
*/
public Builder setSubscribedToCampaigns(boolean value) {
subscribedToCampaigns_ = value;
onChanged();
return this;
}
/**
* bool subscribed_to_campaigns = 12;
*/
public Builder clearSubscribedToCampaigns() {
subscribedToCampaigns_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.LegacyProductDetails)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.LegacyProductDetails)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public LegacyProductDetails parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LegacyProductDetails(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CustomFieldOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.CustomField)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
*/
java.lang.String getName();
/**
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string value = 2;
*/
java.lang.String getValue();
/**
* string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code accountgroup.v1.CustomField}
*/
public static final class CustomField extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.CustomField)
CustomFieldOrBuilder {
// Use CustomField.newBuilder() to construct.
private CustomField(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CustomField() {
name_ = "";
value_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private CustomField(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
value_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_CustomField_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_CustomField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.class, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object value_;
/**
* string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
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();
value_ = s;
return s;
}
}
/**
* string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getValueBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getValueBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.CustomField)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField other = (com.vendasta.accountgroup.v1.generated.ApiProto.CustomField) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getValue()
.equals(other.getValue());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField 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 com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField 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 com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.CustomField prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.CustomField}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.CustomField)
com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_CustomField_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_CustomField_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.class, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
name_ = "";
value_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_CustomField_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField build() {
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField result = new com.vendasta.accountgroup.v1.generated.ApiProto.CustomField(this);
result.name_ = name_;
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.CustomField) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.CustomField)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.CustomField other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getValue().isEmpty()) {
value_ = other.value_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.CustomField) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* string value = 2;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
value_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.CustomField)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.CustomField)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.CustomField DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.CustomField();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public CustomField parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CustomField(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HealthCareProfessionalInformationOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.HealthCareProfessionalInformation)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
boolean hasDateOfBirth();
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
com.google.protobuf.Timestamp getDateOfBirth();
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
com.google.protobuf.TimestampOrBuilder getDateOfBirthOrBuilder();
/**
* string email = 2;
*/
java.lang.String getEmail();
/**
* string email = 2;
*/
com.google.protobuf.ByteString
getEmailBytes();
/**
* repeated string fellowship = 3;
*/
java.util.List
getFellowshipList();
/**
* repeated string fellowship = 3;
*/
int getFellowshipCount();
/**
* repeated string fellowship = 3;
*/
java.lang.String getFellowship(int index);
/**
* repeated string fellowship = 3;
*/
com.google.protobuf.ByteString
getFellowshipBytes(int index);
/**
* string first_name = 4;
*/
java.lang.String getFirstName();
/**
* string first_name = 4;
*/
com.google.protobuf.ByteString
getFirstNameBytes();
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
int getGenderValue();
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender getGender();
/**
* string initials = 6;
*/
java.lang.String getInitials();
/**
* string initials = 6;
*/
com.google.protobuf.ByteString
getInitialsBytes();
/**
* repeated string insurances_accepted = 7;
*/
java.util.List
getInsurancesAcceptedList();
/**
* repeated string insurances_accepted = 7;
*/
int getInsurancesAcceptedCount();
/**
* repeated string insurances_accepted = 7;
*/
java.lang.String getInsurancesAccepted(int index);
/**
* repeated string insurances_accepted = 7;
*/
com.google.protobuf.ByteString
getInsurancesAcceptedBytes(int index);
/**
* string last_name = 9;
*/
java.lang.String getLastName();
/**
* string last_name = 9;
*/
com.google.protobuf.ByteString
getLastNameBytes();
/**
* string medical_license_number = 10;
*/
java.lang.String getMedicalLicenseNumber();
/**
* string medical_license_number = 10;
*/
com.google.protobuf.ByteString
getMedicalLicenseNumberBytes();
/**
* string national_provider_identifier = 11;
*/
java.lang.String getNationalProviderIdentifier();
/**
* string national_provider_identifier = 11;
*/
com.google.protobuf.ByteString
getNationalProviderIdentifierBytes();
/**
* string office = 12;
*/
java.lang.String getOffice();
/**
* string office = 12;
*/
com.google.protobuf.ByteString
getOfficeBytes();
/**
* repeated string professional_credential = 13;
*/
java.util.List
getProfessionalCredentialList();
/**
* repeated string professional_credential = 13;
*/
int getProfessionalCredentialCount();
/**
* repeated string professional_credential = 13;
*/
java.lang.String getProfessionalCredential(int index);
/**
* repeated string professional_credential = 13;
*/
com.google.protobuf.ByteString
getProfessionalCredentialBytes(int index);
/**
* repeated string residency = 14;
*/
java.util.List
getResidencyList();
/**
* repeated string residency = 14;
*/
int getResidencyCount();
/**
* repeated string residency = 14;
*/
java.lang.String getResidency(int index);
/**
* repeated string residency = 14;
*/
com.google.protobuf.ByteString
getResidencyBytes(int index);
/**
* repeated string school = 15;
*/
java.util.List
getSchoolList();
/**
* repeated string school = 15;
*/
int getSchoolCount();
/**
* repeated string school = 15;
*/
java.lang.String getSchool(int index);
/**
* repeated string school = 15;
*/
com.google.protobuf.ByteString
getSchoolBytes(int index);
/**
* repeated string specialty = 16;
*/
java.util.List
getSpecialtyList();
/**
* repeated string specialty = 16;
*/
int getSpecialtyCount();
/**
* repeated string specialty = 16;
*/
java.lang.String getSpecialty(int index);
/**
* repeated string specialty = 16;
*/
com.google.protobuf.ByteString
getSpecialtyBytes(int index);
/**
* string standardized_title = 17;
*/
java.lang.String getStandardizedTitle();
/**
* string standardized_title = 17;
*/
com.google.protobuf.ByteString
getStandardizedTitleBytes();
/**
* string state_license = 18;
*/
java.lang.String getStateLicense();
/**
* string state_license = 18;
*/
com.google.protobuf.ByteString
getStateLicenseBytes();
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
boolean hasIsTakingPatients();
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
com.google.protobuf.BoolValue getIsTakingPatients();
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
com.google.protobuf.BoolValueOrBuilder getIsTakingPatientsOrBuilder();
}
/**
* Protobuf type {@code accountgroup.v1.HealthCareProfessionalInformation}
*/
public static final class HealthCareProfessionalInformation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.HealthCareProfessionalInformation)
HealthCareProfessionalInformationOrBuilder {
// Use HealthCareProfessionalInformation.newBuilder() to construct.
private HealthCareProfessionalInformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HealthCareProfessionalInformation() {
email_ = "";
fellowship_ = com.google.protobuf.LazyStringArrayList.EMPTY;
firstName_ = "";
gender_ = 0;
initials_ = "";
insurancesAccepted_ = com.google.protobuf.LazyStringArrayList.EMPTY;
lastName_ = "";
medicalLicenseNumber_ = "";
nationalProviderIdentifier_ = "";
office_ = "";
professionalCredential_ = com.google.protobuf.LazyStringArrayList.EMPTY;
residency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
school_ = com.google.protobuf.LazyStringArrayList.EMPTY;
specialty_ = com.google.protobuf.LazyStringArrayList.EMPTY;
standardizedTitle_ = "";
stateLicense_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private HealthCareProfessionalInformation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (dateOfBirth_ != null) {
subBuilder = dateOfBirth_.toBuilder();
}
dateOfBirth_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dateOfBirth_);
dateOfBirth_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
email_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fellowship_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
fellowship_.add(s);
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
firstName_ = s;
break;
}
case 40: {
int rawValue = input.readEnum();
gender_ = rawValue;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
initials_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
insurancesAccepted_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000040;
}
insurancesAccepted_.add(s);
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
lastName_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
medicalLicenseNumber_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
nationalProviderIdentifier_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
office_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
professionalCredential_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000800;
}
professionalCredential_.add(s);
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
residency_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00001000;
}
residency_.add(s);
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
school_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00002000;
}
school_.add(s);
break;
}
case 130: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
specialty_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00004000;
}
specialty_.add(s);
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
standardizedTitle_ = s;
break;
}
case 146: {
java.lang.String s = input.readStringRequireUtf8();
stateLicense_ = s;
break;
}
case 154: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (isTakingPatients_ != null) {
subBuilder = isTakingPatients_.toBuilder();
}
isTakingPatients_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(isTakingPatients_);
isTakingPatients_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fellowship_ = fellowship_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
insurancesAccepted_ = insurancesAccepted_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
professionalCredential_ = professionalCredential_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00001000) == 0x00001000)) {
residency_ = residency_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
school_ = school_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
specialty_ = specialty_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HealthCareProfessionalInformation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HealthCareProfessionalInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.class, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder.class);
}
/**
* Protobuf enum {@code accountgroup.v1.HealthCareProfessionalInformation.Gender}
*/
public enum Gender
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NotSpecified = 0;
*/
NotSpecified(0),
/**
* Female = 1;
*/
Female(1),
/**
* Male = 2;
*/
Male(2),
/**
* Other = 3;
*/
Other(3),
UNRECOGNIZED(-1),
;
/**
* NotSpecified = 0;
*/
public static final int NotSpecified_VALUE = 0;
/**
* Female = 1;
*/
public static final int Female_VALUE = 1;
/**
* Male = 2;
*/
public static final int Male_VALUE = 2;
/**
* Other = 3;
*/
public static final int Other_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Gender valueOf(int value) {
return forNumber(value);
}
public static Gender forNumber(int value) {
switch (value) {
case 0: return NotSpecified;
case 1: return Female;
case 2: return Male;
case 3: return Other;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Gender> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Gender findValueByNumber(int number) {
return Gender.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDescriptor().getEnumTypes().get(0);
}
private static final Gender[] VALUES = values();
public static Gender valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Gender(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.HealthCareProfessionalInformation.Gender)
}
private int bitField0_;
public static final int DATE_OF_BIRTH_FIELD_NUMBER = 1;
private com.google.protobuf.Timestamp dateOfBirth_;
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public boolean hasDateOfBirth() {
return dateOfBirth_ != null;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public com.google.protobuf.Timestamp getDateOfBirth() {
return dateOfBirth_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dateOfBirth_;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public com.google.protobuf.TimestampOrBuilder getDateOfBirthOrBuilder() {
return getDateOfBirth();
}
public static final int EMAIL_FIELD_NUMBER = 2;
private volatile java.lang.Object email_;
/**
* string email = 2;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
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();
email_ = s;
return s;
}
}
/**
* string email = 2;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FELLOWSHIP_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList fellowship_;
/**
* repeated string fellowship = 3;
*/
public com.google.protobuf.ProtocolStringList
getFellowshipList() {
return fellowship_;
}
/**
* repeated string fellowship = 3;
*/
public int getFellowshipCount() {
return fellowship_.size();
}
/**
* repeated string fellowship = 3;
*/
public java.lang.String getFellowship(int index) {
return fellowship_.get(index);
}
/**
* repeated string fellowship = 3;
*/
public com.google.protobuf.ByteString
getFellowshipBytes(int index) {
return fellowship_.getByteString(index);
}
public static final int FIRST_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object firstName_;
/**
* string first_name = 4;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
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();
firstName_ = s;
return s;
}
}
/**
* string first_name = 4;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GENDER_FIELD_NUMBER = 5;
private int gender_;
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public int getGenderValue() {
return gender_;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender getGender() {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender result = com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.valueOf(gender_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.UNRECOGNIZED : result;
}
public static final int INITIALS_FIELD_NUMBER = 6;
private volatile java.lang.Object initials_;
/**
* string initials = 6;
*/
public java.lang.String getInitials() {
java.lang.Object ref = initials_;
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();
initials_ = s;
return s;
}
}
/**
* string initials = 6;
*/
public com.google.protobuf.ByteString
getInitialsBytes() {
java.lang.Object ref = initials_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initials_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSURANCES_ACCEPTED_FIELD_NUMBER = 7;
private com.google.protobuf.LazyStringList insurancesAccepted_;
/**
* repeated string insurances_accepted = 7;
*/
public com.google.protobuf.ProtocolStringList
getInsurancesAcceptedList() {
return insurancesAccepted_;
}
/**
* repeated string insurances_accepted = 7;
*/
public int getInsurancesAcceptedCount() {
return insurancesAccepted_.size();
}
/**
* repeated string insurances_accepted = 7;
*/
public java.lang.String getInsurancesAccepted(int index) {
return insurancesAccepted_.get(index);
}
/**
* repeated string insurances_accepted = 7;
*/
public com.google.protobuf.ByteString
getInsurancesAcceptedBytes(int index) {
return insurancesAccepted_.getByteString(index);
}
public static final int LAST_NAME_FIELD_NUMBER = 9;
private volatile java.lang.Object lastName_;
/**
* string last_name = 9;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
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();
lastName_ = s;
return s;
}
}
/**
* string last_name = 9;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MEDICAL_LICENSE_NUMBER_FIELD_NUMBER = 10;
private volatile java.lang.Object medicalLicenseNumber_;
/**
* string medical_license_number = 10;
*/
public java.lang.String getMedicalLicenseNumber() {
java.lang.Object ref = medicalLicenseNumber_;
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();
medicalLicenseNumber_ = s;
return s;
}
}
/**
* string medical_license_number = 10;
*/
public com.google.protobuf.ByteString
getMedicalLicenseNumberBytes() {
java.lang.Object ref = medicalLicenseNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
medicalLicenseNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NATIONAL_PROVIDER_IDENTIFIER_FIELD_NUMBER = 11;
private volatile java.lang.Object nationalProviderIdentifier_;
/**
* string national_provider_identifier = 11;
*/
public java.lang.String getNationalProviderIdentifier() {
java.lang.Object ref = nationalProviderIdentifier_;
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();
nationalProviderIdentifier_ = s;
return s;
}
}
/**
* string national_provider_identifier = 11;
*/
public com.google.protobuf.ByteString
getNationalProviderIdentifierBytes() {
java.lang.Object ref = nationalProviderIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nationalProviderIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OFFICE_FIELD_NUMBER = 12;
private volatile java.lang.Object office_;
/**
* string office = 12;
*/
public java.lang.String getOffice() {
java.lang.Object ref = office_;
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();
office_ = s;
return s;
}
}
/**
* string office = 12;
*/
public com.google.protobuf.ByteString
getOfficeBytes() {
java.lang.Object ref = office_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
office_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROFESSIONAL_CREDENTIAL_FIELD_NUMBER = 13;
private com.google.protobuf.LazyStringList professionalCredential_;
/**
* repeated string professional_credential = 13;
*/
public com.google.protobuf.ProtocolStringList
getProfessionalCredentialList() {
return professionalCredential_;
}
/**
* repeated string professional_credential = 13;
*/
public int getProfessionalCredentialCount() {
return professionalCredential_.size();
}
/**
* repeated string professional_credential = 13;
*/
public java.lang.String getProfessionalCredential(int index) {
return professionalCredential_.get(index);
}
/**
* repeated string professional_credential = 13;
*/
public com.google.protobuf.ByteString
getProfessionalCredentialBytes(int index) {
return professionalCredential_.getByteString(index);
}
public static final int RESIDENCY_FIELD_NUMBER = 14;
private com.google.protobuf.LazyStringList residency_;
/**
* repeated string residency = 14;
*/
public com.google.protobuf.ProtocolStringList
getResidencyList() {
return residency_;
}
/**
* repeated string residency = 14;
*/
public int getResidencyCount() {
return residency_.size();
}
/**
* repeated string residency = 14;
*/
public java.lang.String getResidency(int index) {
return residency_.get(index);
}
/**
* repeated string residency = 14;
*/
public com.google.protobuf.ByteString
getResidencyBytes(int index) {
return residency_.getByteString(index);
}
public static final int SCHOOL_FIELD_NUMBER = 15;
private com.google.protobuf.LazyStringList school_;
/**
* repeated string school = 15;
*/
public com.google.protobuf.ProtocolStringList
getSchoolList() {
return school_;
}
/**
* repeated string school = 15;
*/
public int getSchoolCount() {
return school_.size();
}
/**
* repeated string school = 15;
*/
public java.lang.String getSchool(int index) {
return school_.get(index);
}
/**
* repeated string school = 15;
*/
public com.google.protobuf.ByteString
getSchoolBytes(int index) {
return school_.getByteString(index);
}
public static final int SPECIALTY_FIELD_NUMBER = 16;
private com.google.protobuf.LazyStringList specialty_;
/**
* repeated string specialty = 16;
*/
public com.google.protobuf.ProtocolStringList
getSpecialtyList() {
return specialty_;
}
/**
* repeated string specialty = 16;
*/
public int getSpecialtyCount() {
return specialty_.size();
}
/**
* repeated string specialty = 16;
*/
public java.lang.String getSpecialty(int index) {
return specialty_.get(index);
}
/**
* repeated string specialty = 16;
*/
public com.google.protobuf.ByteString
getSpecialtyBytes(int index) {
return specialty_.getByteString(index);
}
public static final int STANDARDIZED_TITLE_FIELD_NUMBER = 17;
private volatile java.lang.Object standardizedTitle_;
/**
* string standardized_title = 17;
*/
public java.lang.String getStandardizedTitle() {
java.lang.Object ref = standardizedTitle_;
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();
standardizedTitle_ = s;
return s;
}
}
/**
* string standardized_title = 17;
*/
public com.google.protobuf.ByteString
getStandardizedTitleBytes() {
java.lang.Object ref = standardizedTitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
standardizedTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_LICENSE_FIELD_NUMBER = 18;
private volatile java.lang.Object stateLicense_;
/**
* string state_license = 18;
*/
public java.lang.String getStateLicense() {
java.lang.Object ref = stateLicense_;
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();
stateLicense_ = s;
return s;
}
}
/**
* string state_license = 18;
*/
public com.google.protobuf.ByteString
getStateLicenseBytes() {
java.lang.Object ref = stateLicense_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stateLicense_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_TAKING_PATIENTS_FIELD_NUMBER = 19;
private com.google.protobuf.BoolValue isTakingPatients_;
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public boolean hasIsTakingPatients() {
return isTakingPatients_ != null;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public com.google.protobuf.BoolValue getIsTakingPatients() {
return isTakingPatients_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isTakingPatients_;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public com.google.protobuf.BoolValueOrBuilder getIsTakingPatientsOrBuilder() {
return getIsTakingPatients();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (dateOfBirth_ != null) {
output.writeMessage(1, getDateOfBirth());
}
if (!getEmailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, email_);
}
for (int i = 0; i < fellowship_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fellowship_.getRaw(i));
}
if (!getFirstNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, firstName_);
}
if (gender_ != com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.NotSpecified.getNumber()) {
output.writeEnum(5, gender_);
}
if (!getInitialsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, initials_);
}
for (int i = 0; i < insurancesAccepted_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, insurancesAccepted_.getRaw(i));
}
if (!getLastNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, lastName_);
}
if (!getMedicalLicenseNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, medicalLicenseNumber_);
}
if (!getNationalProviderIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, nationalProviderIdentifier_);
}
if (!getOfficeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, office_);
}
for (int i = 0; i < professionalCredential_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, professionalCredential_.getRaw(i));
}
for (int i = 0; i < residency_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, residency_.getRaw(i));
}
for (int i = 0; i < school_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, school_.getRaw(i));
}
for (int i = 0; i < specialty_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, specialty_.getRaw(i));
}
if (!getStandardizedTitleBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, standardizedTitle_);
}
if (!getStateLicenseBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, stateLicense_);
}
if (isTakingPatients_ != null) {
output.writeMessage(19, getIsTakingPatients());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dateOfBirth_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getDateOfBirth());
}
if (!getEmailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_);
}
{
int dataSize = 0;
for (int i = 0; i < fellowship_.size(); i++) {
dataSize += computeStringSizeNoTag(fellowship_.getRaw(i));
}
size += dataSize;
size += 1 * getFellowshipList().size();
}
if (!getFirstNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, firstName_);
}
if (gender_ != com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.NotSpecified.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, gender_);
}
if (!getInitialsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, initials_);
}
{
int dataSize = 0;
for (int i = 0; i < insurancesAccepted_.size(); i++) {
dataSize += computeStringSizeNoTag(insurancesAccepted_.getRaw(i));
}
size += dataSize;
size += 1 * getInsurancesAcceptedList().size();
}
if (!getLastNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, lastName_);
}
if (!getMedicalLicenseNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, medicalLicenseNumber_);
}
if (!getNationalProviderIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, nationalProviderIdentifier_);
}
if (!getOfficeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, office_);
}
{
int dataSize = 0;
for (int i = 0; i < professionalCredential_.size(); i++) {
dataSize += computeStringSizeNoTag(professionalCredential_.getRaw(i));
}
size += dataSize;
size += 1 * getProfessionalCredentialList().size();
}
{
int dataSize = 0;
for (int i = 0; i < residency_.size(); i++) {
dataSize += computeStringSizeNoTag(residency_.getRaw(i));
}
size += dataSize;
size += 1 * getResidencyList().size();
}
{
int dataSize = 0;
for (int i = 0; i < school_.size(); i++) {
dataSize += computeStringSizeNoTag(school_.getRaw(i));
}
size += dataSize;
size += 1 * getSchoolList().size();
}
{
int dataSize = 0;
for (int i = 0; i < specialty_.size(); i++) {
dataSize += computeStringSizeNoTag(specialty_.getRaw(i));
}
size += dataSize;
size += 2 * getSpecialtyList().size();
}
if (!getStandardizedTitleBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, standardizedTitle_);
}
if (!getStateLicenseBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, stateLicense_);
}
if (isTakingPatients_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getIsTakingPatients());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation other = (com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation) obj;
boolean result = true;
result = result && (hasDateOfBirth() == other.hasDateOfBirth());
if (hasDateOfBirth()) {
result = result && getDateOfBirth()
.equals(other.getDateOfBirth());
}
result = result && getEmail()
.equals(other.getEmail());
result = result && getFellowshipList()
.equals(other.getFellowshipList());
result = result && getFirstName()
.equals(other.getFirstName());
result = result && gender_ == other.gender_;
result = result && getInitials()
.equals(other.getInitials());
result = result && getInsurancesAcceptedList()
.equals(other.getInsurancesAcceptedList());
result = result && getLastName()
.equals(other.getLastName());
result = result && getMedicalLicenseNumber()
.equals(other.getMedicalLicenseNumber());
result = result && getNationalProviderIdentifier()
.equals(other.getNationalProviderIdentifier());
result = result && getOffice()
.equals(other.getOffice());
result = result && getProfessionalCredentialList()
.equals(other.getProfessionalCredentialList());
result = result && getResidencyList()
.equals(other.getResidencyList());
result = result && getSchoolList()
.equals(other.getSchoolList());
result = result && getSpecialtyList()
.equals(other.getSpecialtyList());
result = result && getStandardizedTitle()
.equals(other.getStandardizedTitle());
result = result && getStateLicense()
.equals(other.getStateLicense());
result = result && (hasIsTakingPatients() == other.hasIsTakingPatients());
if (hasIsTakingPatients()) {
result = result && getIsTakingPatients()
.equals(other.getIsTakingPatients());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDateOfBirth()) {
hash = (37 * hash) + DATE_OF_BIRTH_FIELD_NUMBER;
hash = (53 * hash) + getDateOfBirth().hashCode();
}
hash = (37 * hash) + EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getEmail().hashCode();
if (getFellowshipCount() > 0) {
hash = (37 * hash) + FELLOWSHIP_FIELD_NUMBER;
hash = (53 * hash) + getFellowshipList().hashCode();
}
hash = (37 * hash) + FIRST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFirstName().hashCode();
hash = (37 * hash) + GENDER_FIELD_NUMBER;
hash = (53 * hash) + gender_;
hash = (37 * hash) + INITIALS_FIELD_NUMBER;
hash = (53 * hash) + getInitials().hashCode();
if (getInsurancesAcceptedCount() > 0) {
hash = (37 * hash) + INSURANCES_ACCEPTED_FIELD_NUMBER;
hash = (53 * hash) + getInsurancesAcceptedList().hashCode();
}
hash = (37 * hash) + LAST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getLastName().hashCode();
hash = (37 * hash) + MEDICAL_LICENSE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getMedicalLicenseNumber().hashCode();
hash = (37 * hash) + NATIONAL_PROVIDER_IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getNationalProviderIdentifier().hashCode();
hash = (37 * hash) + OFFICE_FIELD_NUMBER;
hash = (53 * hash) + getOffice().hashCode();
if (getProfessionalCredentialCount() > 0) {
hash = (37 * hash) + PROFESSIONAL_CREDENTIAL_FIELD_NUMBER;
hash = (53 * hash) + getProfessionalCredentialList().hashCode();
}
if (getResidencyCount() > 0) {
hash = (37 * hash) + RESIDENCY_FIELD_NUMBER;
hash = (53 * hash) + getResidencyList().hashCode();
}
if (getSchoolCount() > 0) {
hash = (37 * hash) + SCHOOL_FIELD_NUMBER;
hash = (53 * hash) + getSchoolList().hashCode();
}
if (getSpecialtyCount() > 0) {
hash = (37 * hash) + SPECIALTY_FIELD_NUMBER;
hash = (53 * hash) + getSpecialtyList().hashCode();
}
hash = (37 * hash) + STANDARDIZED_TITLE_FIELD_NUMBER;
hash = (53 * hash) + getStandardizedTitle().hashCode();
hash = (37 * hash) + STATE_LICENSE_FIELD_NUMBER;
hash = (53 * hash) + getStateLicense().hashCode();
if (hasIsTakingPatients()) {
hash = (37 * hash) + IS_TAKING_PATIENTS_FIELD_NUMBER;
hash = (53 * hash) + getIsTakingPatients().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation 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 com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation 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 com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.HealthCareProfessionalInformation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.HealthCareProfessionalInformation)
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HealthCareProfessionalInformation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HealthCareProfessionalInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.class, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (dateOfBirthBuilder_ == null) {
dateOfBirth_ = null;
} else {
dateOfBirth_ = null;
dateOfBirthBuilder_ = null;
}
email_ = "";
fellowship_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
firstName_ = "";
gender_ = 0;
initials_ = "";
insurancesAccepted_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
lastName_ = "";
medicalLicenseNumber_ = "";
nationalProviderIdentifier_ = "";
office_ = "";
professionalCredential_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
residency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00001000);
school_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
specialty_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00004000);
standardizedTitle_ = "";
stateLicense_ = "";
if (isTakingPatientsBuilder_ == null) {
isTakingPatients_ = null;
} else {
isTakingPatients_ = null;
isTakingPatientsBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_HealthCareProfessionalInformation_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation build() {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation result = new com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (dateOfBirthBuilder_ == null) {
result.dateOfBirth_ = dateOfBirth_;
} else {
result.dateOfBirth_ = dateOfBirthBuilder_.build();
}
result.email_ = email_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
fellowship_ = fellowship_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.fellowship_ = fellowship_;
result.firstName_ = firstName_;
result.gender_ = gender_;
result.initials_ = initials_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
insurancesAccepted_ = insurancesAccepted_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000040);
}
result.insurancesAccepted_ = insurancesAccepted_;
result.lastName_ = lastName_;
result.medicalLicenseNumber_ = medicalLicenseNumber_;
result.nationalProviderIdentifier_ = nationalProviderIdentifier_;
result.office_ = office_;
if (((bitField0_ & 0x00000800) == 0x00000800)) {
professionalCredential_ = professionalCredential_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000800);
}
result.professionalCredential_ = professionalCredential_;
if (((bitField0_ & 0x00001000) == 0x00001000)) {
residency_ = residency_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00001000);
}
result.residency_ = residency_;
if (((bitField0_ & 0x00002000) == 0x00002000)) {
school_ = school_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00002000);
}
result.school_ = school_;
if (((bitField0_ & 0x00004000) == 0x00004000)) {
specialty_ = specialty_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00004000);
}
result.specialty_ = specialty_;
result.standardizedTitle_ = standardizedTitle_;
result.stateLicense_ = stateLicense_;
if (isTakingPatientsBuilder_ == null) {
result.isTakingPatients_ = isTakingPatients_;
} else {
result.isTakingPatients_ = isTakingPatientsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDefaultInstance()) return this;
if (other.hasDateOfBirth()) {
mergeDateOfBirth(other.getDateOfBirth());
}
if (!other.getEmail().isEmpty()) {
email_ = other.email_;
onChanged();
}
if (!other.fellowship_.isEmpty()) {
if (fellowship_.isEmpty()) {
fellowship_ = other.fellowship_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFellowshipIsMutable();
fellowship_.addAll(other.fellowship_);
}
onChanged();
}
if (!other.getFirstName().isEmpty()) {
firstName_ = other.firstName_;
onChanged();
}
if (other.gender_ != 0) {
setGenderValue(other.getGenderValue());
}
if (!other.getInitials().isEmpty()) {
initials_ = other.initials_;
onChanged();
}
if (!other.insurancesAccepted_.isEmpty()) {
if (insurancesAccepted_.isEmpty()) {
insurancesAccepted_ = other.insurancesAccepted_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureInsurancesAcceptedIsMutable();
insurancesAccepted_.addAll(other.insurancesAccepted_);
}
onChanged();
}
if (!other.getLastName().isEmpty()) {
lastName_ = other.lastName_;
onChanged();
}
if (!other.getMedicalLicenseNumber().isEmpty()) {
medicalLicenseNumber_ = other.medicalLicenseNumber_;
onChanged();
}
if (!other.getNationalProviderIdentifier().isEmpty()) {
nationalProviderIdentifier_ = other.nationalProviderIdentifier_;
onChanged();
}
if (!other.getOffice().isEmpty()) {
office_ = other.office_;
onChanged();
}
if (!other.professionalCredential_.isEmpty()) {
if (professionalCredential_.isEmpty()) {
professionalCredential_ = other.professionalCredential_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureProfessionalCredentialIsMutable();
professionalCredential_.addAll(other.professionalCredential_);
}
onChanged();
}
if (!other.residency_.isEmpty()) {
if (residency_.isEmpty()) {
residency_ = other.residency_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureResidencyIsMutable();
residency_.addAll(other.residency_);
}
onChanged();
}
if (!other.school_.isEmpty()) {
if (school_.isEmpty()) {
school_ = other.school_;
bitField0_ = (bitField0_ & ~0x00002000);
} else {
ensureSchoolIsMutable();
school_.addAll(other.school_);
}
onChanged();
}
if (!other.specialty_.isEmpty()) {
if (specialty_.isEmpty()) {
specialty_ = other.specialty_;
bitField0_ = (bitField0_ & ~0x00004000);
} else {
ensureSpecialtyIsMutable();
specialty_.addAll(other.specialty_);
}
onChanged();
}
if (!other.getStandardizedTitle().isEmpty()) {
standardizedTitle_ = other.standardizedTitle_;
onChanged();
}
if (!other.getStateLicense().isEmpty()) {
stateLicense_ = other.stateLicense_;
onChanged();
}
if (other.hasIsTakingPatients()) {
mergeIsTakingPatients(other.getIsTakingPatients());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Timestamp dateOfBirth_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dateOfBirthBuilder_;
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public boolean hasDateOfBirth() {
return dateOfBirthBuilder_ != null || dateOfBirth_ != null;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public com.google.protobuf.Timestamp getDateOfBirth() {
if (dateOfBirthBuilder_ == null) {
return dateOfBirth_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dateOfBirth_;
} else {
return dateOfBirthBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public Builder setDateOfBirth(com.google.protobuf.Timestamp value) {
if (dateOfBirthBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dateOfBirth_ = value;
onChanged();
} else {
dateOfBirthBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public Builder setDateOfBirth(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (dateOfBirthBuilder_ == null) {
dateOfBirth_ = builderForValue.build();
onChanged();
} else {
dateOfBirthBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public Builder mergeDateOfBirth(com.google.protobuf.Timestamp value) {
if (dateOfBirthBuilder_ == null) {
if (dateOfBirth_ != null) {
dateOfBirth_ =
com.google.protobuf.Timestamp.newBuilder(dateOfBirth_).mergeFrom(value).buildPartial();
} else {
dateOfBirth_ = value;
}
onChanged();
} else {
dateOfBirthBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public Builder clearDateOfBirth() {
if (dateOfBirthBuilder_ == null) {
dateOfBirth_ = null;
onChanged();
} else {
dateOfBirth_ = null;
dateOfBirthBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public com.google.protobuf.Timestamp.Builder getDateOfBirthBuilder() {
onChanged();
return getDateOfBirthFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
public com.google.protobuf.TimestampOrBuilder getDateOfBirthOrBuilder() {
if (dateOfBirthBuilder_ != null) {
return dateOfBirthBuilder_.getMessageOrBuilder();
} else {
return dateOfBirth_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : dateOfBirth_;
}
}
/**
* .google.protobuf.Timestamp date_of_birth = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getDateOfBirthFieldBuilder() {
if (dateOfBirthBuilder_ == null) {
dateOfBirthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getDateOfBirth(),
getParentForChildren(),
isClean());
dateOfBirth_ = null;
}
return dateOfBirthBuilder_;
}
private java.lang.Object email_ = "";
/**
* string email = 2;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
email_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string email = 2;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string email = 2;
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
email_ = value;
onChanged();
return this;
}
/**
* string email = 2;
*/
public Builder clearEmail() {
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
* string email = 2;
*/
public Builder setEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
email_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList fellowship_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFellowshipIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
fellowship_ = new com.google.protobuf.LazyStringArrayList(fellowship_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string fellowship = 3;
*/
public com.google.protobuf.ProtocolStringList
getFellowshipList() {
return fellowship_.getUnmodifiableView();
}
/**
* repeated string fellowship = 3;
*/
public int getFellowshipCount() {
return fellowship_.size();
}
/**
* repeated string fellowship = 3;
*/
public java.lang.String getFellowship(int index) {
return fellowship_.get(index);
}
/**
* repeated string fellowship = 3;
*/
public com.google.protobuf.ByteString
getFellowshipBytes(int index) {
return fellowship_.getByteString(index);
}
/**
* repeated string fellowship = 3;
*/
public Builder setFellowship(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFellowshipIsMutable();
fellowship_.set(index, value);
onChanged();
return this;
}
/**
* repeated string fellowship = 3;
*/
public Builder addFellowship(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFellowshipIsMutable();
fellowship_.add(value);
onChanged();
return this;
}
/**
* repeated string fellowship = 3;
*/
public Builder addAllFellowship(
java.lang.Iterable values) {
ensureFellowshipIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fellowship_);
onChanged();
return this;
}
/**
* repeated string fellowship = 3;
*/
public Builder clearFellowship() {
fellowship_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string fellowship = 3;
*/
public Builder addFellowshipBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFellowshipIsMutable();
fellowship_.add(value);
onChanged();
return this;
}
private java.lang.Object firstName_ = "";
/**
* string first_name = 4;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
firstName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string first_name = 4;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string first_name = 4;
*/
public Builder setFirstName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
firstName_ = value;
onChanged();
return this;
}
/**
* string first_name = 4;
*/
public Builder clearFirstName() {
firstName_ = getDefaultInstance().getFirstName();
onChanged();
return this;
}
/**
* string first_name = 4;
*/
public Builder setFirstNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
firstName_ = value;
onChanged();
return this;
}
private int gender_ = 0;
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public int getGenderValue() {
return gender_;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public Builder setGenderValue(int value) {
gender_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender getGender() {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender result = com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.valueOf(gender_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public Builder setGender(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Gender value) {
if (value == null) {
throw new NullPointerException();
}
gender_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation.Gender gender = 5;
*/
public Builder clearGender() {
gender_ = 0;
onChanged();
return this;
}
private java.lang.Object initials_ = "";
/**
* string initials = 6;
*/
public java.lang.String getInitials() {
java.lang.Object ref = initials_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
initials_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string initials = 6;
*/
public com.google.protobuf.ByteString
getInitialsBytes() {
java.lang.Object ref = initials_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initials_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string initials = 6;
*/
public Builder setInitials(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
initials_ = value;
onChanged();
return this;
}
/**
* string initials = 6;
*/
public Builder clearInitials() {
initials_ = getDefaultInstance().getInitials();
onChanged();
return this;
}
/**
* string initials = 6;
*/
public Builder setInitialsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
initials_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList insurancesAccepted_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureInsurancesAcceptedIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
insurancesAccepted_ = new com.google.protobuf.LazyStringArrayList(insurancesAccepted_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated string insurances_accepted = 7;
*/
public com.google.protobuf.ProtocolStringList
getInsurancesAcceptedList() {
return insurancesAccepted_.getUnmodifiableView();
}
/**
* repeated string insurances_accepted = 7;
*/
public int getInsurancesAcceptedCount() {
return insurancesAccepted_.size();
}
/**
* repeated string insurances_accepted = 7;
*/
public java.lang.String getInsurancesAccepted(int index) {
return insurancesAccepted_.get(index);
}
/**
* repeated string insurances_accepted = 7;
*/
public com.google.protobuf.ByteString
getInsurancesAcceptedBytes(int index) {
return insurancesAccepted_.getByteString(index);
}
/**
* repeated string insurances_accepted = 7;
*/
public Builder setInsurancesAccepted(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInsurancesAcceptedIsMutable();
insurancesAccepted_.set(index, value);
onChanged();
return this;
}
/**
* repeated string insurances_accepted = 7;
*/
public Builder addInsurancesAccepted(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInsurancesAcceptedIsMutable();
insurancesAccepted_.add(value);
onChanged();
return this;
}
/**
* repeated string insurances_accepted = 7;
*/
public Builder addAllInsurancesAccepted(
java.lang.Iterable values) {
ensureInsurancesAcceptedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, insurancesAccepted_);
onChanged();
return this;
}
/**
* repeated string insurances_accepted = 7;
*/
public Builder clearInsurancesAccepted() {
insurancesAccepted_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* repeated string insurances_accepted = 7;
*/
public Builder addInsurancesAcceptedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureInsurancesAcceptedIsMutable();
insurancesAccepted_.add(value);
onChanged();
return this;
}
private java.lang.Object lastName_ = "";
/**
* string last_name = 9;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lastName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string last_name = 9;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string last_name = 9;
*/
public Builder setLastName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lastName_ = value;
onChanged();
return this;
}
/**
* string last_name = 9;
*/
public Builder clearLastName() {
lastName_ = getDefaultInstance().getLastName();
onChanged();
return this;
}
/**
* string last_name = 9;
*/
public Builder setLastNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lastName_ = value;
onChanged();
return this;
}
private java.lang.Object medicalLicenseNumber_ = "";
/**
* string medical_license_number = 10;
*/
public java.lang.String getMedicalLicenseNumber() {
java.lang.Object ref = medicalLicenseNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
medicalLicenseNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string medical_license_number = 10;
*/
public com.google.protobuf.ByteString
getMedicalLicenseNumberBytes() {
java.lang.Object ref = medicalLicenseNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
medicalLicenseNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string medical_license_number = 10;
*/
public Builder setMedicalLicenseNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
medicalLicenseNumber_ = value;
onChanged();
return this;
}
/**
* string medical_license_number = 10;
*/
public Builder clearMedicalLicenseNumber() {
medicalLicenseNumber_ = getDefaultInstance().getMedicalLicenseNumber();
onChanged();
return this;
}
/**
* string medical_license_number = 10;
*/
public Builder setMedicalLicenseNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
medicalLicenseNumber_ = value;
onChanged();
return this;
}
private java.lang.Object nationalProviderIdentifier_ = "";
/**
* string national_provider_identifier = 11;
*/
public java.lang.String getNationalProviderIdentifier() {
java.lang.Object ref = nationalProviderIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nationalProviderIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string national_provider_identifier = 11;
*/
public com.google.protobuf.ByteString
getNationalProviderIdentifierBytes() {
java.lang.Object ref = nationalProviderIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nationalProviderIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string national_provider_identifier = 11;
*/
public Builder setNationalProviderIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nationalProviderIdentifier_ = value;
onChanged();
return this;
}
/**
* string national_provider_identifier = 11;
*/
public Builder clearNationalProviderIdentifier() {
nationalProviderIdentifier_ = getDefaultInstance().getNationalProviderIdentifier();
onChanged();
return this;
}
/**
* string national_provider_identifier = 11;
*/
public Builder setNationalProviderIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nationalProviderIdentifier_ = value;
onChanged();
return this;
}
private java.lang.Object office_ = "";
/**
* string office = 12;
*/
public java.lang.String getOffice() {
java.lang.Object ref = office_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
office_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string office = 12;
*/
public com.google.protobuf.ByteString
getOfficeBytes() {
java.lang.Object ref = office_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
office_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string office = 12;
*/
public Builder setOffice(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
office_ = value;
onChanged();
return this;
}
/**
* string office = 12;
*/
public Builder clearOffice() {
office_ = getDefaultInstance().getOffice();
onChanged();
return this;
}
/**
* string office = 12;
*/
public Builder setOfficeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
office_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList professionalCredential_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureProfessionalCredentialIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
professionalCredential_ = new com.google.protobuf.LazyStringArrayList(professionalCredential_);
bitField0_ |= 0x00000800;
}
}
/**
* repeated string professional_credential = 13;
*/
public com.google.protobuf.ProtocolStringList
getProfessionalCredentialList() {
return professionalCredential_.getUnmodifiableView();
}
/**
* repeated string professional_credential = 13;
*/
public int getProfessionalCredentialCount() {
return professionalCredential_.size();
}
/**
* repeated string professional_credential = 13;
*/
public java.lang.String getProfessionalCredential(int index) {
return professionalCredential_.get(index);
}
/**
* repeated string professional_credential = 13;
*/
public com.google.protobuf.ByteString
getProfessionalCredentialBytes(int index) {
return professionalCredential_.getByteString(index);
}
/**
* repeated string professional_credential = 13;
*/
public Builder setProfessionalCredential(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProfessionalCredentialIsMutable();
professionalCredential_.set(index, value);
onChanged();
return this;
}
/**
* repeated string professional_credential = 13;
*/
public Builder addProfessionalCredential(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureProfessionalCredentialIsMutable();
professionalCredential_.add(value);
onChanged();
return this;
}
/**
* repeated string professional_credential = 13;
*/
public Builder addAllProfessionalCredential(
java.lang.Iterable values) {
ensureProfessionalCredentialIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, professionalCredential_);
onChanged();
return this;
}
/**
* repeated string professional_credential = 13;
*/
public Builder clearProfessionalCredential() {
professionalCredential_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* repeated string professional_credential = 13;
*/
public Builder addProfessionalCredentialBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureProfessionalCredentialIsMutable();
professionalCredential_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList residency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureResidencyIsMutable() {
if (!((bitField0_ & 0x00001000) == 0x00001000)) {
residency_ = new com.google.protobuf.LazyStringArrayList(residency_);
bitField0_ |= 0x00001000;
}
}
/**
* repeated string residency = 14;
*/
public com.google.protobuf.ProtocolStringList
getResidencyList() {
return residency_.getUnmodifiableView();
}
/**
* repeated string residency = 14;
*/
public int getResidencyCount() {
return residency_.size();
}
/**
* repeated string residency = 14;
*/
public java.lang.String getResidency(int index) {
return residency_.get(index);
}
/**
* repeated string residency = 14;
*/
public com.google.protobuf.ByteString
getResidencyBytes(int index) {
return residency_.getByteString(index);
}
/**
* repeated string residency = 14;
*/
public Builder setResidency(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureResidencyIsMutable();
residency_.set(index, value);
onChanged();
return this;
}
/**
* repeated string residency = 14;
*/
public Builder addResidency(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureResidencyIsMutable();
residency_.add(value);
onChanged();
return this;
}
/**
* repeated string residency = 14;
*/
public Builder addAllResidency(
java.lang.Iterable values) {
ensureResidencyIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, residency_);
onChanged();
return this;
}
/**
* repeated string residency = 14;
*/
public Builder clearResidency() {
residency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* repeated string residency = 14;
*/
public Builder addResidencyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureResidencyIsMutable();
residency_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList school_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSchoolIsMutable() {
if (!((bitField0_ & 0x00002000) == 0x00002000)) {
school_ = new com.google.protobuf.LazyStringArrayList(school_);
bitField0_ |= 0x00002000;
}
}
/**
* repeated string school = 15;
*/
public com.google.protobuf.ProtocolStringList
getSchoolList() {
return school_.getUnmodifiableView();
}
/**
* repeated string school = 15;
*/
public int getSchoolCount() {
return school_.size();
}
/**
* repeated string school = 15;
*/
public java.lang.String getSchool(int index) {
return school_.get(index);
}
/**
* repeated string school = 15;
*/
public com.google.protobuf.ByteString
getSchoolBytes(int index) {
return school_.getByteString(index);
}
/**
* repeated string school = 15;
*/
public Builder setSchool(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSchoolIsMutable();
school_.set(index, value);
onChanged();
return this;
}
/**
* repeated string school = 15;
*/
public Builder addSchool(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSchoolIsMutable();
school_.add(value);
onChanged();
return this;
}
/**
* repeated string school = 15;
*/
public Builder addAllSchool(
java.lang.Iterable values) {
ensureSchoolIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, school_);
onChanged();
return this;
}
/**
* repeated string school = 15;
*/
public Builder clearSchool() {
school_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
* repeated string school = 15;
*/
public Builder addSchoolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSchoolIsMutable();
school_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList specialty_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSpecialtyIsMutable() {
if (!((bitField0_ & 0x00004000) == 0x00004000)) {
specialty_ = new com.google.protobuf.LazyStringArrayList(specialty_);
bitField0_ |= 0x00004000;
}
}
/**
* repeated string specialty = 16;
*/
public com.google.protobuf.ProtocolStringList
getSpecialtyList() {
return specialty_.getUnmodifiableView();
}
/**
* repeated string specialty = 16;
*/
public int getSpecialtyCount() {
return specialty_.size();
}
/**
* repeated string specialty = 16;
*/
public java.lang.String getSpecialty(int index) {
return specialty_.get(index);
}
/**
* repeated string specialty = 16;
*/
public com.google.protobuf.ByteString
getSpecialtyBytes(int index) {
return specialty_.getByteString(index);
}
/**
* repeated string specialty = 16;
*/
public Builder setSpecialty(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSpecialtyIsMutable();
specialty_.set(index, value);
onChanged();
return this;
}
/**
* repeated string specialty = 16;
*/
public Builder addSpecialty(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSpecialtyIsMutable();
specialty_.add(value);
onChanged();
return this;
}
/**
* repeated string specialty = 16;
*/
public Builder addAllSpecialty(
java.lang.Iterable values) {
ensureSpecialtyIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, specialty_);
onChanged();
return this;
}
/**
* repeated string specialty = 16;
*/
public Builder clearSpecialty() {
specialty_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
* repeated string specialty = 16;
*/
public Builder addSpecialtyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSpecialtyIsMutable();
specialty_.add(value);
onChanged();
return this;
}
private java.lang.Object standardizedTitle_ = "";
/**
* string standardized_title = 17;
*/
public java.lang.String getStandardizedTitle() {
java.lang.Object ref = standardizedTitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
standardizedTitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string standardized_title = 17;
*/
public com.google.protobuf.ByteString
getStandardizedTitleBytes() {
java.lang.Object ref = standardizedTitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
standardizedTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string standardized_title = 17;
*/
public Builder setStandardizedTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
standardizedTitle_ = value;
onChanged();
return this;
}
/**
* string standardized_title = 17;
*/
public Builder clearStandardizedTitle() {
standardizedTitle_ = getDefaultInstance().getStandardizedTitle();
onChanged();
return this;
}
/**
* string standardized_title = 17;
*/
public Builder setStandardizedTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
standardizedTitle_ = value;
onChanged();
return this;
}
private java.lang.Object stateLicense_ = "";
/**
* string state_license = 18;
*/
public java.lang.String getStateLicense() {
java.lang.Object ref = stateLicense_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stateLicense_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string state_license = 18;
*/
public com.google.protobuf.ByteString
getStateLicenseBytes() {
java.lang.Object ref = stateLicense_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stateLicense_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string state_license = 18;
*/
public Builder setStateLicense(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stateLicense_ = value;
onChanged();
return this;
}
/**
* string state_license = 18;
*/
public Builder clearStateLicense() {
stateLicense_ = getDefaultInstance().getStateLicense();
onChanged();
return this;
}
/**
* string state_license = 18;
*/
public Builder setStateLicenseBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stateLicense_ = value;
onChanged();
return this;
}
private com.google.protobuf.BoolValue isTakingPatients_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> isTakingPatientsBuilder_;
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public boolean hasIsTakingPatients() {
return isTakingPatientsBuilder_ != null || isTakingPatients_ != null;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public com.google.protobuf.BoolValue getIsTakingPatients() {
if (isTakingPatientsBuilder_ == null) {
return isTakingPatients_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : isTakingPatients_;
} else {
return isTakingPatientsBuilder_.getMessage();
}
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public Builder setIsTakingPatients(com.google.protobuf.BoolValue value) {
if (isTakingPatientsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
isTakingPatients_ = value;
onChanged();
} else {
isTakingPatientsBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public Builder setIsTakingPatients(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (isTakingPatientsBuilder_ == null) {
isTakingPatients_ = builderForValue.build();
onChanged();
} else {
isTakingPatientsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public Builder mergeIsTakingPatients(com.google.protobuf.BoolValue value) {
if (isTakingPatientsBuilder_ == null) {
if (isTakingPatients_ != null) {
isTakingPatients_ =
com.google.protobuf.BoolValue.newBuilder(isTakingPatients_).mergeFrom(value).buildPartial();
} else {
isTakingPatients_ = value;
}
onChanged();
} else {
isTakingPatientsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public Builder clearIsTakingPatients() {
if (isTakingPatientsBuilder_ == null) {
isTakingPatients_ = null;
onChanged();
} else {
isTakingPatients_ = null;
isTakingPatientsBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public com.google.protobuf.BoolValue.Builder getIsTakingPatientsBuilder() {
onChanged();
return getIsTakingPatientsFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
public com.google.protobuf.BoolValueOrBuilder getIsTakingPatientsOrBuilder() {
if (isTakingPatientsBuilder_ != null) {
return isTakingPatientsBuilder_.getMessageOrBuilder();
} else {
return isTakingPatients_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : isTakingPatients_;
}
}
/**
* .google.protobuf.BoolValue is_taking_patients = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getIsTakingPatientsFieldBuilder() {
if (isTakingPatientsBuilder_ == null) {
isTakingPatientsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getIsTakingPatients(),
getParentForChildren(),
isClean());
isTakingPatients_ = null;
}
return isTakingPatientsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.HealthCareProfessionalInformation)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.HealthCareProfessionalInformation)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public HealthCareProfessionalInformation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HealthCareProfessionalInformation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceAvailabilityOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ServiceAvailability)
com.google.protobuf.MessageOrBuilder {
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
int getDeliveryValue();
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getDelivery();
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
int getNoContactDeliveryValue();
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getNoContactDelivery();
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
int getInStorePickupValue();
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getInStorePickup();
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
int getCurbsidePickupValue();
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getCurbsidePickup();
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
int getAppointmentsOnlyValue();
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getAppointmentsOnly();
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
int getEcommerceOnlyValue();
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getEcommerceOnly();
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
int getClosedStatusValue();
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus getClosedStatus();
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
boolean hasClosedStatusDate();
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
com.google.protobuf.Timestamp getClosedStatusDate();
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
com.google.protobuf.TimestampOrBuilder getClosedStatusDateOrBuilder();
}
/**
* Protobuf type {@code accountgroup.v1.ServiceAvailability}
*/
public static final class ServiceAvailability extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ServiceAvailability)
ServiceAvailabilityOrBuilder {
// Use ServiceAvailability.newBuilder() to construct.
private ServiceAvailability(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ServiceAvailability() {
delivery_ = 0;
noContactDelivery_ = 0;
inStorePickup_ = 0;
curbsidePickup_ = 0;
appointmentsOnly_ = 0;
ecommerceOnly_ = 0;
closedStatus_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ServiceAvailability(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
delivery_ = rawValue;
break;
}
case 16: {
int rawValue = input.readEnum();
noContactDelivery_ = rawValue;
break;
}
case 24: {
int rawValue = input.readEnum();
inStorePickup_ = rawValue;
break;
}
case 32: {
int rawValue = input.readEnum();
curbsidePickup_ = rawValue;
break;
}
case 40: {
int rawValue = input.readEnum();
appointmentsOnly_ = rawValue;
break;
}
case 48: {
int rawValue = input.readEnum();
ecommerceOnly_ = rawValue;
break;
}
case 56: {
int rawValue = input.readEnum();
closedStatus_ = rawValue;
break;
}
case 66: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (closedStatusDate_ != null) {
subBuilder = closedStatusDate_.toBuilder();
}
closedStatusDate_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(closedStatusDate_);
closedStatusDate_ = subBuilder.buildPartial();
}
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ServiceAvailability_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ServiceAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.class, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder.class);
}
public static final int DELIVERY_FIELD_NUMBER = 1;
private int delivery_;
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public int getDeliveryValue() {
return delivery_;
}
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getDelivery() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(delivery_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int NO_CONTACT_DELIVERY_FIELD_NUMBER = 2;
private int noContactDelivery_;
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public int getNoContactDeliveryValue() {
return noContactDelivery_;
}
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getNoContactDelivery() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(noContactDelivery_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int IN_STORE_PICKUP_FIELD_NUMBER = 3;
private int inStorePickup_;
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public int getInStorePickupValue() {
return inStorePickup_;
}
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getInStorePickup() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(inStorePickup_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int CURBSIDE_PICKUP_FIELD_NUMBER = 4;
private int curbsidePickup_;
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public int getCurbsidePickupValue() {
return curbsidePickup_;
}
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getCurbsidePickup() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(curbsidePickup_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int APPOINTMENTS_ONLY_FIELD_NUMBER = 5;
private int appointmentsOnly_;
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public int getAppointmentsOnlyValue() {
return appointmentsOnly_;
}
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getAppointmentsOnly() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(appointmentsOnly_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int ECOMMERCE_ONLY_FIELD_NUMBER = 6;
private int ecommerceOnly_;
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public int getEcommerceOnlyValue() {
return ecommerceOnly_;
}
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getEcommerceOnly() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(ecommerceOnly_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
public static final int CLOSED_STATUS_FIELD_NUMBER = 7;
private int closedStatus_;
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public int getClosedStatusValue() {
return closedStatus_;
}
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus getClosedStatus() {
com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus result = com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.valueOf(closedStatus_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.UNRECOGNIZED : result;
}
public static final int CLOSED_STATUS_DATE_FIELD_NUMBER = 8;
private com.google.protobuf.Timestamp closedStatusDate_;
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public boolean hasClosedStatusDate() {
return closedStatusDate_ != null;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public com.google.protobuf.Timestamp getClosedStatusDate() {
return closedStatusDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : closedStatusDate_;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public com.google.protobuf.TimestampOrBuilder getClosedStatusDateOrBuilder() {
return getClosedStatusDate();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (delivery_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(1, delivery_);
}
if (noContactDelivery_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(2, noContactDelivery_);
}
if (inStorePickup_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(3, inStorePickup_);
}
if (curbsidePickup_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(4, curbsidePickup_);
}
if (appointmentsOnly_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(5, appointmentsOnly_);
}
if (ecommerceOnly_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
output.writeEnum(6, ecommerceOnly_);
}
if (closedStatus_ != com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.UNSPECIFIED.getNumber()) {
output.writeEnum(7, closedStatus_);
}
if (closedStatusDate_ != null) {
output.writeMessage(8, getClosedStatusDate());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (delivery_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, delivery_);
}
if (noContactDelivery_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, noContactDelivery_);
}
if (inStorePickup_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, inStorePickup_);
}
if (curbsidePickup_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, curbsidePickup_);
}
if (appointmentsOnly_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, appointmentsOnly_);
}
if (ecommerceOnly_ != com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, ecommerceOnly_);
}
if (closedStatus_ != com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, closedStatus_);
}
if (closedStatusDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getClosedStatusDate());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability other = (com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability) obj;
boolean result = true;
result = result && delivery_ == other.delivery_;
result = result && noContactDelivery_ == other.noContactDelivery_;
result = result && inStorePickup_ == other.inStorePickup_;
result = result && curbsidePickup_ == other.curbsidePickup_;
result = result && appointmentsOnly_ == other.appointmentsOnly_;
result = result && ecommerceOnly_ == other.ecommerceOnly_;
result = result && closedStatus_ == other.closedStatus_;
result = result && (hasClosedStatusDate() == other.hasClosedStatusDate());
if (hasClosedStatusDate()) {
result = result && getClosedStatusDate()
.equals(other.getClosedStatusDate());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DELIVERY_FIELD_NUMBER;
hash = (53 * hash) + delivery_;
hash = (37 * hash) + NO_CONTACT_DELIVERY_FIELD_NUMBER;
hash = (53 * hash) + noContactDelivery_;
hash = (37 * hash) + IN_STORE_PICKUP_FIELD_NUMBER;
hash = (53 * hash) + inStorePickup_;
hash = (37 * hash) + CURBSIDE_PICKUP_FIELD_NUMBER;
hash = (53 * hash) + curbsidePickup_;
hash = (37 * hash) + APPOINTMENTS_ONLY_FIELD_NUMBER;
hash = (53 * hash) + appointmentsOnly_;
hash = (37 * hash) + ECOMMERCE_ONLY_FIELD_NUMBER;
hash = (53 * hash) + ecommerceOnly_;
hash = (37 * hash) + CLOSED_STATUS_FIELD_NUMBER;
hash = (53 * hash) + closedStatus_;
if (hasClosedStatusDate()) {
hash = (37 * hash) + CLOSED_STATUS_DATE_FIELD_NUMBER;
hash = (53 * hash) + getClosedStatusDate().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability 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 com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability 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 com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.ServiceAvailability}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ServiceAvailability)
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ServiceAvailability_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ServiceAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.class, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
delivery_ = 0;
noContactDelivery_ = 0;
inStorePickup_ = 0;
curbsidePickup_ = 0;
appointmentsOnly_ = 0;
ecommerceOnly_ = 0;
closedStatus_ = 0;
if (closedStatusDateBuilder_ == null) {
closedStatusDate_ = null;
} else {
closedStatusDate_ = null;
closedStatusDateBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ServiceAvailability_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability result = new com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability(this);
result.delivery_ = delivery_;
result.noContactDelivery_ = noContactDelivery_;
result.inStorePickup_ = inStorePickup_;
result.curbsidePickup_ = curbsidePickup_;
result.appointmentsOnly_ = appointmentsOnly_;
result.ecommerceOnly_ = ecommerceOnly_;
result.closedStatus_ = closedStatus_;
if (closedStatusDateBuilder_ == null) {
result.closedStatusDate_ = closedStatusDate_;
} else {
result.closedStatusDate_ = closedStatusDateBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.getDefaultInstance()) return this;
if (other.delivery_ != 0) {
setDeliveryValue(other.getDeliveryValue());
}
if (other.noContactDelivery_ != 0) {
setNoContactDeliveryValue(other.getNoContactDeliveryValue());
}
if (other.inStorePickup_ != 0) {
setInStorePickupValue(other.getInStorePickupValue());
}
if (other.curbsidePickup_ != 0) {
setCurbsidePickupValue(other.getCurbsidePickupValue());
}
if (other.appointmentsOnly_ != 0) {
setAppointmentsOnlyValue(other.getAppointmentsOnlyValue());
}
if (other.ecommerceOnly_ != 0) {
setEcommerceOnlyValue(other.getEcommerceOnlyValue());
}
if (other.closedStatus_ != 0) {
setClosedStatusValue(other.getClosedStatusValue());
}
if (other.hasClosedStatusDate()) {
mergeClosedStatusDate(other.getClosedStatusDate());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int delivery_ = 0;
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public int getDeliveryValue() {
return delivery_;
}
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public Builder setDeliveryValue(int value) {
delivery_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getDelivery() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(delivery_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public Builder setDelivery(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
delivery_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable delivery = 1;
*/
public Builder clearDelivery() {
delivery_ = 0;
onChanged();
return this;
}
private int noContactDelivery_ = 0;
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public int getNoContactDeliveryValue() {
return noContactDelivery_;
}
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public Builder setNoContactDeliveryValue(int value) {
noContactDelivery_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getNoContactDelivery() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(noContactDelivery_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public Builder setNoContactDelivery(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
noContactDelivery_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable no_contact_delivery = 2;
*/
public Builder clearNoContactDelivery() {
noContactDelivery_ = 0;
onChanged();
return this;
}
private int inStorePickup_ = 0;
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public int getInStorePickupValue() {
return inStorePickup_;
}
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public Builder setInStorePickupValue(int value) {
inStorePickup_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getInStorePickup() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(inStorePickup_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public Builder setInStorePickup(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
inStorePickup_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable in_store_pickup = 3;
*/
public Builder clearInStorePickup() {
inStorePickup_ = 0;
onChanged();
return this;
}
private int curbsidePickup_ = 0;
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public int getCurbsidePickupValue() {
return curbsidePickup_;
}
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public Builder setCurbsidePickupValue(int value) {
curbsidePickup_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getCurbsidePickup() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(curbsidePickup_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public Builder setCurbsidePickup(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
curbsidePickup_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable curbside_pickup = 4;
*/
public Builder clearCurbsidePickup() {
curbsidePickup_ = 0;
onChanged();
return this;
}
private int appointmentsOnly_ = 0;
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public int getAppointmentsOnlyValue() {
return appointmentsOnly_;
}
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public Builder setAppointmentsOnlyValue(int value) {
appointmentsOnly_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getAppointmentsOnly() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(appointmentsOnly_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public Builder setAppointmentsOnly(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
appointmentsOnly_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable appointments_only = 5;
*/
public Builder clearAppointmentsOnly() {
appointmentsOnly_ = 0;
onChanged();
return this;
}
private int ecommerceOnly_ = 0;
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public int getEcommerceOnlyValue() {
return ecommerceOnly_;
}
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public Builder setEcommerceOnlyValue(int value) {
ecommerceOnly_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable getEcommerceOnly() {
com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable result = com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.valueOf(ecommerceOnly_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public Builder setEcommerceOnly(com.vendasta.accountgroup.v1.generated.ApiProto.IsAvailable value) {
if (value == null) {
throw new NullPointerException();
}
ecommerceOnly_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.IsAvailable ecommerce_only = 6;
*/
public Builder clearEcommerceOnly() {
ecommerceOnly_ = 0;
onChanged();
return this;
}
private int closedStatus_ = 0;
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public int getClosedStatusValue() {
return closedStatus_;
}
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public Builder setClosedStatusValue(int value) {
closedStatus_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus getClosedStatus() {
com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus result = com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.valueOf(closedStatus_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public Builder setClosedStatus(com.vendasta.accountgroup.v1.generated.ApiProto.ClosedStatus value) {
if (value == null) {
throw new NullPointerException();
}
closedStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.ClosedStatus closed_status = 7;
*/
public Builder clearClosedStatus() {
closedStatus_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp closedStatusDate_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> closedStatusDateBuilder_;
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public boolean hasClosedStatusDate() {
return closedStatusDateBuilder_ != null || closedStatusDate_ != null;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public com.google.protobuf.Timestamp getClosedStatusDate() {
if (closedStatusDateBuilder_ == null) {
return closedStatusDate_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : closedStatusDate_;
} else {
return closedStatusDateBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public Builder setClosedStatusDate(com.google.protobuf.Timestamp value) {
if (closedStatusDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
closedStatusDate_ = value;
onChanged();
} else {
closedStatusDateBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public Builder setClosedStatusDate(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (closedStatusDateBuilder_ == null) {
closedStatusDate_ = builderForValue.build();
onChanged();
} else {
closedStatusDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public Builder mergeClosedStatusDate(com.google.protobuf.Timestamp value) {
if (closedStatusDateBuilder_ == null) {
if (closedStatusDate_ != null) {
closedStatusDate_ =
com.google.protobuf.Timestamp.newBuilder(closedStatusDate_).mergeFrom(value).buildPartial();
} else {
closedStatusDate_ = value;
}
onChanged();
} else {
closedStatusDateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public Builder clearClosedStatusDate() {
if (closedStatusDateBuilder_ == null) {
closedStatusDate_ = null;
onChanged();
} else {
closedStatusDate_ = null;
closedStatusDateBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public com.google.protobuf.Timestamp.Builder getClosedStatusDateBuilder() {
onChanged();
return getClosedStatusDateFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
public com.google.protobuf.TimestampOrBuilder getClosedStatusDateOrBuilder() {
if (closedStatusDateBuilder_ != null) {
return closedStatusDateBuilder_.getMessageOrBuilder();
} else {
return closedStatusDate_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : closedStatusDate_;
}
}
/**
* .google.protobuf.Timestamp closed_status_date = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getClosedStatusDateFieldBuilder() {
if (closedStatusDateBuilder_ == null) {
closedStatusDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getClosedStatusDate(),
getParentForChildren(),
isClean());
closedStatusDate_ = null;
}
return closedStatusDateBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ServiceAvailability)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ServiceAvailability)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ServiceAvailability parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceAvailability(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RichDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.RichData)
com.google.protobuf.MessageOrBuilder {
/**
* string toll_free_number = 1;
*/
java.lang.String getTollFreeNumber();
/**
* string toll_free_number = 1;
*/
com.google.protobuf.ByteString
getTollFreeNumberBytes();
/**
* string description = 2;
*/
java.lang.String getDescription();
/**
* string description = 2;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* string short_description = 3;
*/
java.lang.String getShortDescription();
/**
* string short_description = 3;
*/
com.google.protobuf.ByteString
getShortDescriptionBytes();
/**
* repeated string services_offered = 4;
*/
java.util.List
getServicesOfferedList();
/**
* repeated string services_offered = 4;
*/
int getServicesOfferedCount();
/**
* repeated string services_offered = 4;
*/
java.lang.String getServicesOffered(int index);
/**
* repeated string services_offered = 4;
*/
com.google.protobuf.ByteString
getServicesOfferedBytes(int index);
/**
* repeated string brands_carried = 5;
*/
java.util.List
getBrandsCarriedList();
/**
* repeated string brands_carried = 5;
*/
int getBrandsCarriedCount();
/**
* repeated string brands_carried = 5;
*/
java.lang.String getBrandsCarried(int index);
/**
* repeated string brands_carried = 5;
*/
com.google.protobuf.ByteString
getBrandsCarriedBytes(int index);
/**
* string landmark = 6;
*/
java.lang.String getLandmark();
/**
* string landmark = 6;
*/
com.google.protobuf.ByteString
getLandmarkBytes();
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
java.util.List getPaymentMethodsList();
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
int getPaymentMethodsCount();
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods getPaymentMethods(int index);
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
java.util.List
getPaymentMethodsValueList();
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
int getPaymentMethodsValue(int index);
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
java.util.List
getCustomFieldsList();
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getCustomFields(int index);
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
int getCustomFieldsCount();
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder>
getCustomFieldsOrBuilderList();
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder getCustomFieldsOrBuilder(
int index);
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
boolean hasHealthCareProfessionalInformation();
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getHealthCareProfessionalInformation();
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder getHealthCareProfessionalInformationOrBuilder();
/**
* repeated string inferred_attributes = 10;
*/
java.util.List
getInferredAttributesList();
/**
* repeated string inferred_attributes = 10;
*/
int getInferredAttributesCount();
/**
* repeated string inferred_attributes = 10;
*/
java.lang.String getInferredAttributes(int index);
/**
* repeated string inferred_attributes = 10;
*/
com.google.protobuf.ByteString
getInferredAttributesBytes(int index);
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
boolean hasServiceAvailability();
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getServiceAvailability();
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder getServiceAvailabilityOrBuilder();
}
/**
* Protobuf type {@code accountgroup.v1.RichData}
*/
public static final class RichData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.RichData)
RichDataOrBuilder {
// Use RichData.newBuilder() to construct.
private RichData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RichData() {
tollFreeNumber_ = "";
description_ = "";
shortDescription_ = "";
servicesOffered_ = com.google.protobuf.LazyStringArrayList.EMPTY;
brandsCarried_ = com.google.protobuf.LazyStringArrayList.EMPTY;
landmark_ = "";
paymentMethods_ = java.util.Collections.emptyList();
customFields_ = java.util.Collections.emptyList();
inferredAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private RichData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
tollFreeNumber_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
shortDescription_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
servicesOffered_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
servicesOffered_.add(s);
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
brandsCarried_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
brandsCarried_.add(s);
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
landmark_ = s;
break;
}
case 56: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
paymentMethods_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
paymentMethods_.add(rawValue);
break;
}
case 58: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
paymentMethods_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
paymentMethods_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
customFields_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
customFields_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.parser(), extensionRegistry));
break;
}
case 74: {
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder subBuilder = null;
if (healthCareProfessionalInformation_ != null) {
subBuilder = healthCareProfessionalInformation_.toBuilder();
}
healthCareProfessionalInformation_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(healthCareProfessionalInformation_);
healthCareProfessionalInformation_ = subBuilder.buildPartial();
}
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
inferredAttributes_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000200;
}
inferredAttributes_.add(s);
break;
}
case 90: {
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder subBuilder = null;
if (serviceAvailability_ != null) {
subBuilder = serviceAvailability_.toBuilder();
}
serviceAvailability_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceAvailability_);
serviceAvailability_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
servicesOffered_ = servicesOffered_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
brandsCarried_ = brandsCarried_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
paymentMethods_ = java.util.Collections.unmodifiableList(paymentMethods_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
customFields_ = java.util.Collections.unmodifiableList(customFields_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
inferredAttributes_ = inferredAttributes_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_RichData_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_RichData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.class, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder.class);
}
/**
* Protobuf enum {@code accountgroup.v1.RichData.PaymentMethods}
*/
public enum PaymentMethods
implements com.google.protobuf.ProtocolMessageEnum {
/**
* AMERICAN_EXPRESS = 0;
*/
AMERICAN_EXPRESS(0),
/**
* ANDROID_PAY = 1;
*/
ANDROID_PAY(1),
/**
* APPLE_PAY = 2;
*/
APPLE_PAY(2),
/**
* CASH = 3;
*/
CASH(3),
/**
* CHECK = 4;
*/
CHECK(4),
/**
* DEBIT = 5;
*/
DEBIT(5),
/**
* DINERS_CLUB = 6;
*/
DINERS_CLUB(6),
/**
* DISCOVER = 7;
*/
DISCOVER(7),
/**
* MASTERCARD = 8;
*/
MASTERCARD(8),
/**
* PAYPAL = 9;
*/
PAYPAL(9),
/**
* SAMSUNG_PAY = 10;
*/
SAMSUNG_PAY(10),
/**
* STORE_CARD = 11;
*/
STORE_CARD(11),
/**
* TRAVELERS_CHECK = 12;
*/
TRAVELERS_CHECK(12),
/**
* VISA = 13;
*/
VISA(13),
/**
* CCS = 14;
*/
CCS(14),
/**
* SODEXO = 15;
*/
SODEXO(15),
/**
* GOPAY = 16;
*/
GOPAY(16),
/**
* V_PAY = 17;
*/
V_PAY(17),
/**
* FINANCING = 18;
*/
FINANCING(18),
/**
* INVOICE = 19;
*/
INVOICE(19),
/**
* PAYSEC = 20;
*/
PAYSEC(20),
/**
* BITCOIN = 21;
*/
BITCOIN(21),
UNRECOGNIZED(-1),
;
/**
* AMERICAN_EXPRESS = 0;
*/
public static final int AMERICAN_EXPRESS_VALUE = 0;
/**
* ANDROID_PAY = 1;
*/
public static final int ANDROID_PAY_VALUE = 1;
/**
* APPLE_PAY = 2;
*/
public static final int APPLE_PAY_VALUE = 2;
/**
* CASH = 3;
*/
public static final int CASH_VALUE = 3;
/**
* CHECK = 4;
*/
public static final int CHECK_VALUE = 4;
/**
* DEBIT = 5;
*/
public static final int DEBIT_VALUE = 5;
/**
* DINERS_CLUB = 6;
*/
public static final int DINERS_CLUB_VALUE = 6;
/**
* DISCOVER = 7;
*/
public static final int DISCOVER_VALUE = 7;
/**
* MASTERCARD = 8;
*/
public static final int MASTERCARD_VALUE = 8;
/**
* PAYPAL = 9;
*/
public static final int PAYPAL_VALUE = 9;
/**
* SAMSUNG_PAY = 10;
*/
public static final int SAMSUNG_PAY_VALUE = 10;
/**
* STORE_CARD = 11;
*/
public static final int STORE_CARD_VALUE = 11;
/**
* TRAVELERS_CHECK = 12;
*/
public static final int TRAVELERS_CHECK_VALUE = 12;
/**
* VISA = 13;
*/
public static final int VISA_VALUE = 13;
/**
* CCS = 14;
*/
public static final int CCS_VALUE = 14;
/**
* SODEXO = 15;
*/
public static final int SODEXO_VALUE = 15;
/**
* GOPAY = 16;
*/
public static final int GOPAY_VALUE = 16;
/**
* V_PAY = 17;
*/
public static final int V_PAY_VALUE = 17;
/**
* FINANCING = 18;
*/
public static final int FINANCING_VALUE = 18;
/**
* INVOICE = 19;
*/
public static final int INVOICE_VALUE = 19;
/**
* PAYSEC = 20;
*/
public static final int PAYSEC_VALUE = 20;
/**
* BITCOIN = 21;
*/
public static final int BITCOIN_VALUE = 21;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PaymentMethods valueOf(int value) {
return forNumber(value);
}
public static PaymentMethods forNumber(int value) {
switch (value) {
case 0: return AMERICAN_EXPRESS;
case 1: return ANDROID_PAY;
case 2: return APPLE_PAY;
case 3: return CASH;
case 4: return CHECK;
case 5: return DEBIT;
case 6: return DINERS_CLUB;
case 7: return DISCOVER;
case 8: return MASTERCARD;
case 9: return PAYPAL;
case 10: return SAMSUNG_PAY;
case 11: return STORE_CARD;
case 12: return TRAVELERS_CHECK;
case 13: return VISA;
case 14: return CCS;
case 15: return SODEXO;
case 16: return GOPAY;
case 17: return V_PAY;
case 18: return FINANCING;
case 19: return INVOICE;
case 20: return PAYSEC;
case 21: return BITCOIN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PaymentMethods> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public PaymentMethods findValueByNumber(int number) {
return PaymentMethods.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDescriptor().getEnumTypes().get(0);
}
private static final PaymentMethods[] VALUES = values();
public static PaymentMethods valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private PaymentMethods(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.RichData.PaymentMethods)
}
private int bitField0_;
public static final int TOLL_FREE_NUMBER_FIELD_NUMBER = 1;
private volatile java.lang.Object tollFreeNumber_;
/**
* string toll_free_number = 1;
*/
public java.lang.String getTollFreeNumber() {
java.lang.Object ref = tollFreeNumber_;
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();
tollFreeNumber_ = s;
return s;
}
}
/**
* string toll_free_number = 1;
*/
public com.google.protobuf.ByteString
getTollFreeNumberBytes() {
java.lang.Object ref = tollFreeNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tollFreeNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 2;
private volatile java.lang.Object description_;
/**
* string description = 2;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 2;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 3;
private volatile java.lang.Object shortDescription_;
/**
* string short_description = 3;
*/
public java.lang.String getShortDescription() {
java.lang.Object ref = shortDescription_;
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();
shortDescription_ = s;
return s;
}
}
/**
* string short_description = 3;
*/
public com.google.protobuf.ByteString
getShortDescriptionBytes() {
java.lang.Object ref = shortDescription_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICES_OFFERED_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList servicesOffered_;
/**
* repeated string services_offered = 4;
*/
public com.google.protobuf.ProtocolStringList
getServicesOfferedList() {
return servicesOffered_;
}
/**
* repeated string services_offered = 4;
*/
public int getServicesOfferedCount() {
return servicesOffered_.size();
}
/**
* repeated string services_offered = 4;
*/
public java.lang.String getServicesOffered(int index) {
return servicesOffered_.get(index);
}
/**
* repeated string services_offered = 4;
*/
public com.google.protobuf.ByteString
getServicesOfferedBytes(int index) {
return servicesOffered_.getByteString(index);
}
public static final int BRANDS_CARRIED_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList brandsCarried_;
/**
* repeated string brands_carried = 5;
*/
public com.google.protobuf.ProtocolStringList
getBrandsCarriedList() {
return brandsCarried_;
}
/**
* repeated string brands_carried = 5;
*/
public int getBrandsCarriedCount() {
return brandsCarried_.size();
}
/**
* repeated string brands_carried = 5;
*/
public java.lang.String getBrandsCarried(int index) {
return brandsCarried_.get(index);
}
/**
* repeated string brands_carried = 5;
*/
public com.google.protobuf.ByteString
getBrandsCarriedBytes(int index) {
return brandsCarried_.getByteString(index);
}
public static final int LANDMARK_FIELD_NUMBER = 6;
private volatile java.lang.Object landmark_;
/**
* string landmark = 6;
*/
public java.lang.String getLandmark() {
java.lang.Object ref = landmark_;
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();
landmark_ = s;
return s;
}
}
/**
* string landmark = 6;
*/
public com.google.protobuf.ByteString
getLandmarkBytes() {
java.lang.Object ref = landmark_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
landmark_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAYMENT_METHODS_FIELD_NUMBER = 7;
private java.util.List paymentMethods_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods> paymentMethods_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods>() {
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods convert(java.lang.Integer from) {
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods result = com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods.valueOf(from);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods.UNRECOGNIZED : result;
}
};
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public java.util.List getPaymentMethodsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods>(paymentMethods_, paymentMethods_converter_);
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public int getPaymentMethodsCount() {
return paymentMethods_.size();
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods getPaymentMethods(int index) {
return paymentMethods_converter_.convert(paymentMethods_.get(index));
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public java.util.List
getPaymentMethodsValueList() {
return paymentMethods_;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public int getPaymentMethodsValue(int index) {
return paymentMethods_.get(index);
}
private int paymentMethodsMemoizedSerializedSize;
public static final int CUSTOM_FIELDS_FIELD_NUMBER = 8;
private java.util.List customFields_;
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public java.util.List getCustomFieldsList() {
return customFields_;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder>
getCustomFieldsOrBuilderList() {
return customFields_;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public int getCustomFieldsCount() {
return customFields_.size();
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getCustomFields(int index) {
return customFields_.get(index);
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder getCustomFieldsOrBuilder(
int index) {
return customFields_.get(index);
}
public static final int HEALTH_CARE_PROFESSIONAL_INFORMATION_FIELD_NUMBER = 9;
private com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation healthCareProfessionalInformation_;
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public boolean hasHealthCareProfessionalInformation() {
return healthCareProfessionalInformation_ != null;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getHealthCareProfessionalInformation() {
return healthCareProfessionalInformation_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDefaultInstance() : healthCareProfessionalInformation_;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder getHealthCareProfessionalInformationOrBuilder() {
return getHealthCareProfessionalInformation();
}
public static final int INFERRED_ATTRIBUTES_FIELD_NUMBER = 10;
private com.google.protobuf.LazyStringList inferredAttributes_;
/**
* repeated string inferred_attributes = 10;
*/
public com.google.protobuf.ProtocolStringList
getInferredAttributesList() {
return inferredAttributes_;
}
/**
* repeated string inferred_attributes = 10;
*/
public int getInferredAttributesCount() {
return inferredAttributes_.size();
}
/**
* repeated string inferred_attributes = 10;
*/
public java.lang.String getInferredAttributes(int index) {
return inferredAttributes_.get(index);
}
/**
* repeated string inferred_attributes = 10;
*/
public com.google.protobuf.ByteString
getInferredAttributesBytes(int index) {
return inferredAttributes_.getByteString(index);
}
public static final int SERVICE_AVAILABILITY_FIELD_NUMBER = 11;
private com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability serviceAvailability_;
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public boolean hasServiceAvailability() {
return serviceAvailability_ != null;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getServiceAvailability() {
return serviceAvailability_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.getDefaultInstance() : serviceAvailability_;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder getServiceAvailabilityOrBuilder() {
return getServiceAvailability();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getTollFreeNumberBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tollFreeNumber_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
}
if (!getShortDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_);
}
for (int i = 0; i < servicesOffered_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, servicesOffered_.getRaw(i));
}
for (int i = 0; i < brandsCarried_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, brandsCarried_.getRaw(i));
}
if (!getLandmarkBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, landmark_);
}
if (getPaymentMethodsList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(paymentMethodsMemoizedSerializedSize);
}
for (int i = 0; i < paymentMethods_.size(); i++) {
output.writeEnumNoTag(paymentMethods_.get(i));
}
for (int i = 0; i < customFields_.size(); i++) {
output.writeMessage(8, customFields_.get(i));
}
if (healthCareProfessionalInformation_ != null) {
output.writeMessage(9, getHealthCareProfessionalInformation());
}
for (int i = 0; i < inferredAttributes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, inferredAttributes_.getRaw(i));
}
if (serviceAvailability_ != null) {
output.writeMessage(11, getServiceAvailability());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTollFreeNumberBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tollFreeNumber_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
}
if (!getShortDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_);
}
{
int dataSize = 0;
for (int i = 0; i < servicesOffered_.size(); i++) {
dataSize += computeStringSizeNoTag(servicesOffered_.getRaw(i));
}
size += dataSize;
size += 1 * getServicesOfferedList().size();
}
{
int dataSize = 0;
for (int i = 0; i < brandsCarried_.size(); i++) {
dataSize += computeStringSizeNoTag(brandsCarried_.getRaw(i));
}
size += dataSize;
size += 1 * getBrandsCarriedList().size();
}
if (!getLandmarkBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, landmark_);
}
{
int dataSize = 0;
for (int i = 0; i < paymentMethods_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(paymentMethods_.get(i));
}
size += dataSize;
if (!getPaymentMethodsList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}paymentMethodsMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < customFields_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, customFields_.get(i));
}
if (healthCareProfessionalInformation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getHealthCareProfessionalInformation());
}
{
int dataSize = 0;
for (int i = 0; i < inferredAttributes_.size(); i++) {
dataSize += computeStringSizeNoTag(inferredAttributes_.getRaw(i));
}
size += dataSize;
size += 1 * getInferredAttributesList().size();
}
if (serviceAvailability_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getServiceAvailability());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.RichData)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.RichData other = (com.vendasta.accountgroup.v1.generated.ApiProto.RichData) obj;
boolean result = true;
result = result && getTollFreeNumber()
.equals(other.getTollFreeNumber());
result = result && getDescription()
.equals(other.getDescription());
result = result && getShortDescription()
.equals(other.getShortDescription());
result = result && getServicesOfferedList()
.equals(other.getServicesOfferedList());
result = result && getBrandsCarriedList()
.equals(other.getBrandsCarriedList());
result = result && getLandmark()
.equals(other.getLandmark());
result = result && paymentMethods_.equals(other.paymentMethods_);
result = result && getCustomFieldsList()
.equals(other.getCustomFieldsList());
result = result && (hasHealthCareProfessionalInformation() == other.hasHealthCareProfessionalInformation());
if (hasHealthCareProfessionalInformation()) {
result = result && getHealthCareProfessionalInformation()
.equals(other.getHealthCareProfessionalInformation());
}
result = result && getInferredAttributesList()
.equals(other.getInferredAttributesList());
result = result && (hasServiceAvailability() == other.hasServiceAvailability());
if (hasServiceAvailability()) {
result = result && getServiceAvailability()
.equals(other.getServiceAvailability());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TOLL_FREE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getTollFreeNumber().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getShortDescription().hashCode();
if (getServicesOfferedCount() > 0) {
hash = (37 * hash) + SERVICES_OFFERED_FIELD_NUMBER;
hash = (53 * hash) + getServicesOfferedList().hashCode();
}
if (getBrandsCarriedCount() > 0) {
hash = (37 * hash) + BRANDS_CARRIED_FIELD_NUMBER;
hash = (53 * hash) + getBrandsCarriedList().hashCode();
}
hash = (37 * hash) + LANDMARK_FIELD_NUMBER;
hash = (53 * hash) + getLandmark().hashCode();
if (getPaymentMethodsCount() > 0) {
hash = (37 * hash) + PAYMENT_METHODS_FIELD_NUMBER;
hash = (53 * hash) + paymentMethods_.hashCode();
}
if (getCustomFieldsCount() > 0) {
hash = (37 * hash) + CUSTOM_FIELDS_FIELD_NUMBER;
hash = (53 * hash) + getCustomFieldsList().hashCode();
}
if (hasHealthCareProfessionalInformation()) {
hash = (37 * hash) + HEALTH_CARE_PROFESSIONAL_INFORMATION_FIELD_NUMBER;
hash = (53 * hash) + getHealthCareProfessionalInformation().hashCode();
}
if (getInferredAttributesCount() > 0) {
hash = (37 * hash) + INFERRED_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getInferredAttributesList().hashCode();
}
if (hasServiceAvailability()) {
hash = (37 * hash) + SERVICE_AVAILABILITY_FIELD_NUMBER;
hash = (53 * hash) + getServiceAvailability().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData 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 com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData 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 com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.RichData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.RichData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.RichData)
com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_RichData_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_RichData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.class, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.RichData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCustomFieldsFieldBuilder();
}
}
public Builder clear() {
super.clear();
tollFreeNumber_ = "";
description_ = "";
shortDescription_ = "";
servicesOffered_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
brandsCarried_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
landmark_ = "";
paymentMethods_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
if (customFieldsBuilder_ == null) {
customFields_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
customFieldsBuilder_.clear();
}
if (healthCareProfessionalInformationBuilder_ == null) {
healthCareProfessionalInformation_ = null;
} else {
healthCareProfessionalInformation_ = null;
healthCareProfessionalInformationBuilder_ = null;
}
inferredAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
if (serviceAvailabilityBuilder_ == null) {
serviceAvailability_ = null;
} else {
serviceAvailability_ = null;
serviceAvailabilityBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_RichData_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData build() {
com.vendasta.accountgroup.v1.generated.ApiProto.RichData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.RichData result = new com.vendasta.accountgroup.v1.generated.ApiProto.RichData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.tollFreeNumber_ = tollFreeNumber_;
result.description_ = description_;
result.shortDescription_ = shortDescription_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
servicesOffered_ = servicesOffered_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.servicesOffered_ = servicesOffered_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
brandsCarried_ = brandsCarried_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.brandsCarried_ = brandsCarried_;
result.landmark_ = landmark_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
paymentMethods_ = java.util.Collections.unmodifiableList(paymentMethods_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.paymentMethods_ = paymentMethods_;
if (customFieldsBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
customFields_ = java.util.Collections.unmodifiableList(customFields_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.customFields_ = customFields_;
} else {
result.customFields_ = customFieldsBuilder_.build();
}
if (healthCareProfessionalInformationBuilder_ == null) {
result.healthCareProfessionalInformation_ = healthCareProfessionalInformation_;
} else {
result.healthCareProfessionalInformation_ = healthCareProfessionalInformationBuilder_.build();
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
inferredAttributes_ = inferredAttributes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000200);
}
result.inferredAttributes_ = inferredAttributes_;
if (serviceAvailabilityBuilder_ == null) {
result.serviceAvailability_ = serviceAvailability_;
} else {
result.serviceAvailability_ = serviceAvailabilityBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.RichData) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.RichData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.RichData other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDefaultInstance()) return this;
if (!other.getTollFreeNumber().isEmpty()) {
tollFreeNumber_ = other.tollFreeNumber_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getShortDescription().isEmpty()) {
shortDescription_ = other.shortDescription_;
onChanged();
}
if (!other.servicesOffered_.isEmpty()) {
if (servicesOffered_.isEmpty()) {
servicesOffered_ = other.servicesOffered_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureServicesOfferedIsMutable();
servicesOffered_.addAll(other.servicesOffered_);
}
onChanged();
}
if (!other.brandsCarried_.isEmpty()) {
if (brandsCarried_.isEmpty()) {
brandsCarried_ = other.brandsCarried_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureBrandsCarriedIsMutable();
brandsCarried_.addAll(other.brandsCarried_);
}
onChanged();
}
if (!other.getLandmark().isEmpty()) {
landmark_ = other.landmark_;
onChanged();
}
if (!other.paymentMethods_.isEmpty()) {
if (paymentMethods_.isEmpty()) {
paymentMethods_ = other.paymentMethods_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensurePaymentMethodsIsMutable();
paymentMethods_.addAll(other.paymentMethods_);
}
onChanged();
}
if (customFieldsBuilder_ == null) {
if (!other.customFields_.isEmpty()) {
if (customFields_.isEmpty()) {
customFields_ = other.customFields_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureCustomFieldsIsMutable();
customFields_.addAll(other.customFields_);
}
onChanged();
}
} else {
if (!other.customFields_.isEmpty()) {
if (customFieldsBuilder_.isEmpty()) {
customFieldsBuilder_.dispose();
customFieldsBuilder_ = null;
customFields_ = other.customFields_;
bitField0_ = (bitField0_ & ~0x00000080);
customFieldsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCustomFieldsFieldBuilder() : null;
} else {
customFieldsBuilder_.addAllMessages(other.customFields_);
}
}
}
if (other.hasHealthCareProfessionalInformation()) {
mergeHealthCareProfessionalInformation(other.getHealthCareProfessionalInformation());
}
if (!other.inferredAttributes_.isEmpty()) {
if (inferredAttributes_.isEmpty()) {
inferredAttributes_ = other.inferredAttributes_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureInferredAttributesIsMutable();
inferredAttributes_.addAll(other.inferredAttributes_);
}
onChanged();
}
if (other.hasServiceAvailability()) {
mergeServiceAvailability(other.getServiceAvailability());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.RichData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.RichData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object tollFreeNumber_ = "";
/**
* string toll_free_number = 1;
*/
public java.lang.String getTollFreeNumber() {
java.lang.Object ref = tollFreeNumber_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tollFreeNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string toll_free_number = 1;
*/
public com.google.protobuf.ByteString
getTollFreeNumberBytes() {
java.lang.Object ref = tollFreeNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tollFreeNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string toll_free_number = 1;
*/
public Builder setTollFreeNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tollFreeNumber_ = value;
onChanged();
return this;
}
/**
* string toll_free_number = 1;
*/
public Builder clearTollFreeNumber() {
tollFreeNumber_ = getDefaultInstance().getTollFreeNumber();
onChanged();
return this;
}
/**
* string toll_free_number = 1;
*/
public Builder setTollFreeNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tollFreeNumber_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 2;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 2;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 2;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 2;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 2;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private java.lang.Object shortDescription_ = "";
/**
* string short_description = 3;
*/
public java.lang.String getShortDescription() {
java.lang.Object ref = shortDescription_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
shortDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string short_description = 3;
*/
public com.google.protobuf.ByteString
getShortDescriptionBytes() {
java.lang.Object ref = shortDescription_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortDescription_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string short_description = 3;
*/
public Builder setShortDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
shortDescription_ = value;
onChanged();
return this;
}
/**
* string short_description = 3;
*/
public Builder clearShortDescription() {
shortDescription_ = getDefaultInstance().getShortDescription();
onChanged();
return this;
}
/**
* string short_description = 3;
*/
public Builder setShortDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
shortDescription_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList servicesOffered_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureServicesOfferedIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
servicesOffered_ = new com.google.protobuf.LazyStringArrayList(servicesOffered_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string services_offered = 4;
*/
public com.google.protobuf.ProtocolStringList
getServicesOfferedList() {
return servicesOffered_.getUnmodifiableView();
}
/**
* repeated string services_offered = 4;
*/
public int getServicesOfferedCount() {
return servicesOffered_.size();
}
/**
* repeated string services_offered = 4;
*/
public java.lang.String getServicesOffered(int index) {
return servicesOffered_.get(index);
}
/**
* repeated string services_offered = 4;
*/
public com.google.protobuf.ByteString
getServicesOfferedBytes(int index) {
return servicesOffered_.getByteString(index);
}
/**
* repeated string services_offered = 4;
*/
public Builder setServicesOffered(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesOfferedIsMutable();
servicesOffered_.set(index, value);
onChanged();
return this;
}
/**
* repeated string services_offered = 4;
*/
public Builder addServicesOffered(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesOfferedIsMutable();
servicesOffered_.add(value);
onChanged();
return this;
}
/**
* repeated string services_offered = 4;
*/
public Builder addAllServicesOffered(
java.lang.Iterable values) {
ensureServicesOfferedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, servicesOffered_);
onChanged();
return this;
}
/**
* repeated string services_offered = 4;
*/
public Builder clearServicesOffered() {
servicesOffered_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string services_offered = 4;
*/
public Builder addServicesOfferedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureServicesOfferedIsMutable();
servicesOffered_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList brandsCarried_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBrandsCarriedIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
brandsCarried_ = new com.google.protobuf.LazyStringArrayList(brandsCarried_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string brands_carried = 5;
*/
public com.google.protobuf.ProtocolStringList
getBrandsCarriedList() {
return brandsCarried_.getUnmodifiableView();
}
/**
* repeated string brands_carried = 5;
*/
public int getBrandsCarriedCount() {
return brandsCarried_.size();
}
/**
* repeated string brands_carried = 5;
*/
public java.lang.String getBrandsCarried(int index) {
return brandsCarried_.get(index);
}
/**
* repeated string brands_carried = 5;
*/
public com.google.protobuf.ByteString
getBrandsCarriedBytes(int index) {
return brandsCarried_.getByteString(index);
}
/**
* repeated string brands_carried = 5;
*/
public Builder setBrandsCarried(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBrandsCarriedIsMutable();
brandsCarried_.set(index, value);
onChanged();
return this;
}
/**
* repeated string brands_carried = 5;
*/
public Builder addBrandsCarried(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBrandsCarriedIsMutable();
brandsCarried_.add(value);
onChanged();
return this;
}
/**
* repeated string brands_carried = 5;
*/
public Builder addAllBrandsCarried(
java.lang.Iterable values) {
ensureBrandsCarriedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, brandsCarried_);
onChanged();
return this;
}
/**
* repeated string brands_carried = 5;
*/
public Builder clearBrandsCarried() {
brandsCarried_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string brands_carried = 5;
*/
public Builder addBrandsCarriedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBrandsCarriedIsMutable();
brandsCarried_.add(value);
onChanged();
return this;
}
private java.lang.Object landmark_ = "";
/**
* string landmark = 6;
*/
public java.lang.String getLandmark() {
java.lang.Object ref = landmark_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
landmark_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string landmark = 6;
*/
public com.google.protobuf.ByteString
getLandmarkBytes() {
java.lang.Object ref = landmark_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
landmark_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string landmark = 6;
*/
public Builder setLandmark(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
landmark_ = value;
onChanged();
return this;
}
/**
* string landmark = 6;
*/
public Builder clearLandmark() {
landmark_ = getDefaultInstance().getLandmark();
onChanged();
return this;
}
/**
* string landmark = 6;
*/
public Builder setLandmarkBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
landmark_ = value;
onChanged();
return this;
}
private java.util.List paymentMethods_ =
java.util.Collections.emptyList();
private void ensurePaymentMethodsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
paymentMethods_ = new java.util.ArrayList(paymentMethods_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public java.util.List getPaymentMethodsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods>(paymentMethods_, paymentMethods_converter_);
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public int getPaymentMethodsCount() {
return paymentMethods_.size();
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods getPaymentMethods(int index) {
return paymentMethods_converter_.convert(paymentMethods_.get(index));
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder setPaymentMethods(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods value) {
if (value == null) {
throw new NullPointerException();
}
ensurePaymentMethodsIsMutable();
paymentMethods_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder addPaymentMethods(com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods value) {
if (value == null) {
throw new NullPointerException();
}
ensurePaymentMethodsIsMutable();
paymentMethods_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder addAllPaymentMethods(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods> values) {
ensurePaymentMethodsIsMutable();
for (com.vendasta.accountgroup.v1.generated.ApiProto.RichData.PaymentMethods value : values) {
paymentMethods_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder clearPaymentMethods() {
paymentMethods_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public java.util.List
getPaymentMethodsValueList() {
return java.util.Collections.unmodifiableList(paymentMethods_);
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public int getPaymentMethodsValue(int index) {
return paymentMethods_.get(index);
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder setPaymentMethodsValue(
int index, int value) {
ensurePaymentMethodsIsMutable();
paymentMethods_.set(index, value);
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder addPaymentMethodsValue(int value) {
ensurePaymentMethodsIsMutable();
paymentMethods_.add(value);
onChanged();
return this;
}
/**
* repeated .accountgroup.v1.RichData.PaymentMethods payment_methods = 7;
*/
public Builder addAllPaymentMethodsValue(
java.lang.Iterable values) {
ensurePaymentMethodsIsMutable();
for (int value : values) {
paymentMethods_.add(value);
}
onChanged();
return this;
}
private java.util.List customFields_ =
java.util.Collections.emptyList();
private void ensureCustomFieldsIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
customFields_ = new java.util.ArrayList(customFields_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder> customFieldsBuilder_;
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public java.util.List getCustomFieldsList() {
if (customFieldsBuilder_ == null) {
return java.util.Collections.unmodifiableList(customFields_);
} else {
return customFieldsBuilder_.getMessageList();
}
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public int getCustomFieldsCount() {
if (customFieldsBuilder_ == null) {
return customFields_.size();
} else {
return customFieldsBuilder_.getCount();
}
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField getCustomFields(int index) {
if (customFieldsBuilder_ == null) {
return customFields_.get(index);
} else {
return customFieldsBuilder_.getMessage(index);
}
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder setCustomFields(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField value) {
if (customFieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFieldsIsMutable();
customFields_.set(index, value);
onChanged();
} else {
customFieldsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder setCustomFields(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder builderForValue) {
if (customFieldsBuilder_ == null) {
ensureCustomFieldsIsMutable();
customFields_.set(index, builderForValue.build());
onChanged();
} else {
customFieldsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder addCustomFields(com.vendasta.accountgroup.v1.generated.ApiProto.CustomField value) {
if (customFieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFieldsIsMutable();
customFields_.add(value);
onChanged();
} else {
customFieldsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder addCustomFields(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField value) {
if (customFieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCustomFieldsIsMutable();
customFields_.add(index, value);
onChanged();
} else {
customFieldsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder addCustomFields(
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder builderForValue) {
if (customFieldsBuilder_ == null) {
ensureCustomFieldsIsMutable();
customFields_.add(builderForValue.build());
onChanged();
} else {
customFieldsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder addCustomFields(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder builderForValue) {
if (customFieldsBuilder_ == null) {
ensureCustomFieldsIsMutable();
customFields_.add(index, builderForValue.build());
onChanged();
} else {
customFieldsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder addAllCustomFields(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.CustomField> values) {
if (customFieldsBuilder_ == null) {
ensureCustomFieldsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, customFields_);
onChanged();
} else {
customFieldsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder clearCustomFields() {
if (customFieldsBuilder_ == null) {
customFields_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
customFieldsBuilder_.clear();
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public Builder removeCustomFields(int index) {
if (customFieldsBuilder_ == null) {
ensureCustomFieldsIsMutable();
customFields_.remove(index);
onChanged();
} else {
customFieldsBuilder_.remove(index);
}
return this;
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder getCustomFieldsBuilder(
int index) {
return getCustomFieldsFieldBuilder().getBuilder(index);
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder getCustomFieldsOrBuilder(
int index) {
if (customFieldsBuilder_ == null) {
return customFields_.get(index); } else {
return customFieldsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder>
getCustomFieldsOrBuilderList() {
if (customFieldsBuilder_ != null) {
return customFieldsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(customFields_);
}
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder addCustomFieldsBuilder() {
return getCustomFieldsFieldBuilder().addBuilder(
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder addCustomFieldsBuilder(
int index) {
return getCustomFieldsFieldBuilder().addBuilder(
index, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.CustomField custom_fields = 8;
*/
public java.util.List
getCustomFieldsBuilderList() {
return getCustomFieldsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder>
getCustomFieldsFieldBuilder() {
if (customFieldsBuilder_ == null) {
customFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.CustomField, com.vendasta.accountgroup.v1.generated.ApiProto.CustomField.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.CustomFieldOrBuilder>(
customFields_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
customFields_ = null;
}
return customFieldsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation healthCareProfessionalInformation_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder> healthCareProfessionalInformationBuilder_;
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public boolean hasHealthCareProfessionalInformation() {
return healthCareProfessionalInformationBuilder_ != null || healthCareProfessionalInformation_ != null;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation getHealthCareProfessionalInformation() {
if (healthCareProfessionalInformationBuilder_ == null) {
return healthCareProfessionalInformation_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDefaultInstance() : healthCareProfessionalInformation_;
} else {
return healthCareProfessionalInformationBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public Builder setHealthCareProfessionalInformation(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation value) {
if (healthCareProfessionalInformationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
healthCareProfessionalInformation_ = value;
onChanged();
} else {
healthCareProfessionalInformationBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public Builder setHealthCareProfessionalInformation(
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder builderForValue) {
if (healthCareProfessionalInformationBuilder_ == null) {
healthCareProfessionalInformation_ = builderForValue.build();
onChanged();
} else {
healthCareProfessionalInformationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public Builder mergeHealthCareProfessionalInformation(com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation value) {
if (healthCareProfessionalInformationBuilder_ == null) {
if (healthCareProfessionalInformation_ != null) {
healthCareProfessionalInformation_ =
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.newBuilder(healthCareProfessionalInformation_).mergeFrom(value).buildPartial();
} else {
healthCareProfessionalInformation_ = value;
}
onChanged();
} else {
healthCareProfessionalInformationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public Builder clearHealthCareProfessionalInformation() {
if (healthCareProfessionalInformationBuilder_ == null) {
healthCareProfessionalInformation_ = null;
onChanged();
} else {
healthCareProfessionalInformation_ = null;
healthCareProfessionalInformationBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder getHealthCareProfessionalInformationBuilder() {
onChanged();
return getHealthCareProfessionalInformationFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder getHealthCareProfessionalInformationOrBuilder() {
if (healthCareProfessionalInformationBuilder_ != null) {
return healthCareProfessionalInformationBuilder_.getMessageOrBuilder();
} else {
return healthCareProfessionalInformation_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.getDefaultInstance() : healthCareProfessionalInformation_;
}
}
/**
* .accountgroup.v1.HealthCareProfessionalInformation health_care_professional_information = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder>
getHealthCareProfessionalInformationFieldBuilder() {
if (healthCareProfessionalInformationBuilder_ == null) {
healthCareProfessionalInformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HealthCareProfessionalInformationOrBuilder>(
getHealthCareProfessionalInformation(),
getParentForChildren(),
isClean());
healthCareProfessionalInformation_ = null;
}
return healthCareProfessionalInformationBuilder_;
}
private com.google.protobuf.LazyStringList inferredAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureInferredAttributesIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
inferredAttributes_ = new com.google.protobuf.LazyStringArrayList(inferredAttributes_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated string inferred_attributes = 10;
*/
public com.google.protobuf.ProtocolStringList
getInferredAttributesList() {
return inferredAttributes_.getUnmodifiableView();
}
/**
* repeated string inferred_attributes = 10;
*/
public int getInferredAttributesCount() {
return inferredAttributes_.size();
}
/**
* repeated string inferred_attributes = 10;
*/
public java.lang.String getInferredAttributes(int index) {
return inferredAttributes_.get(index);
}
/**
* repeated string inferred_attributes = 10;
*/
public com.google.protobuf.ByteString
getInferredAttributesBytes(int index) {
return inferredAttributes_.getByteString(index);
}
/**
* repeated string inferred_attributes = 10;
*/
public Builder setInferredAttributes(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInferredAttributesIsMutable();
inferredAttributes_.set(index, value);
onChanged();
return this;
}
/**
* repeated string inferred_attributes = 10;
*/
public Builder addInferredAttributes(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureInferredAttributesIsMutable();
inferredAttributes_.add(value);
onChanged();
return this;
}
/**
* repeated string inferred_attributes = 10;
*/
public Builder addAllInferredAttributes(
java.lang.Iterable values) {
ensureInferredAttributesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inferredAttributes_);
onChanged();
return this;
}
/**
* repeated string inferred_attributes = 10;
*/
public Builder clearInferredAttributes() {
inferredAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* repeated string inferred_attributes = 10;
*/
public Builder addInferredAttributesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureInferredAttributesIsMutable();
inferredAttributes_.add(value);
onChanged();
return this;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability serviceAvailability_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder> serviceAvailabilityBuilder_;
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public boolean hasServiceAvailability() {
return serviceAvailabilityBuilder_ != null || serviceAvailability_ != null;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability getServiceAvailability() {
if (serviceAvailabilityBuilder_ == null) {
return serviceAvailability_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.getDefaultInstance() : serviceAvailability_;
} else {
return serviceAvailabilityBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public Builder setServiceAvailability(com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability value) {
if (serviceAvailabilityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceAvailability_ = value;
onChanged();
} else {
serviceAvailabilityBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public Builder setServiceAvailability(
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder builderForValue) {
if (serviceAvailabilityBuilder_ == null) {
serviceAvailability_ = builderForValue.build();
onChanged();
} else {
serviceAvailabilityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public Builder mergeServiceAvailability(com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability value) {
if (serviceAvailabilityBuilder_ == null) {
if (serviceAvailability_ != null) {
serviceAvailability_ =
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.newBuilder(serviceAvailability_).mergeFrom(value).buildPartial();
} else {
serviceAvailability_ = value;
}
onChanged();
} else {
serviceAvailabilityBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public Builder clearServiceAvailability() {
if (serviceAvailabilityBuilder_ == null) {
serviceAvailability_ = null;
onChanged();
} else {
serviceAvailability_ = null;
serviceAvailabilityBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder getServiceAvailabilityBuilder() {
onChanged();
return getServiceAvailabilityFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder getServiceAvailabilityOrBuilder() {
if (serviceAvailabilityBuilder_ != null) {
return serviceAvailabilityBuilder_.getMessageOrBuilder();
} else {
return serviceAvailability_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.getDefaultInstance() : serviceAvailability_;
}
}
/**
* .accountgroup.v1.ServiceAvailability service_availability = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder>
getServiceAvailabilityFieldBuilder() {
if (serviceAvailabilityBuilder_ == null) {
serviceAvailabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailability.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ServiceAvailabilityOrBuilder>(
getServiceAvailability(),
getParentForChildren(),
isClean());
serviceAvailability_ = null;
}
return serviceAvailabilityBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.RichData)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.RichData)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.RichData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.RichData();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.RichData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public RichData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RichData(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Status)
com.google.protobuf.MessageOrBuilder {
/**
* bool suspended = 1;
*/
boolean getSuspended();
/**
* bool has_alert = 2;
*/
boolean getHasAlert();
}
/**
* Protobuf type {@code accountgroup.v1.Status}
*/
public static final class Status extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Status)
StatusOrBuilder {
// Use Status.newBuilder() to construct.
private Status(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Status() {
suspended_ = false;
hasAlert_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Status(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
suspended_ = input.readBool();
break;
}
case 16: {
hasAlert_ = input.readBool();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Status_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Status.class, com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder.class);
}
public static final int SUSPENDED_FIELD_NUMBER = 1;
private boolean suspended_;
/**
* bool suspended = 1;
*/
public boolean getSuspended() {
return suspended_;
}
public static final int HAS_ALERT_FIELD_NUMBER = 2;
private boolean hasAlert_;
/**
* bool has_alert = 2;
*/
public boolean getHasAlert() {
return hasAlert_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (suspended_ != false) {
output.writeBool(1, suspended_);
}
if (hasAlert_ != false) {
output.writeBool(2, hasAlert_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (suspended_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, suspended_);
}
if (hasAlert_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, hasAlert_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Status)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Status other = (com.vendasta.accountgroup.v1.generated.ApiProto.Status) obj;
boolean result = true;
result = result && (getSuspended()
== other.getSuspended());
result = result && (getHasAlert()
== other.getHasAlert());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SUSPENDED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSuspended());
hash = (37 * hash) + HAS_ALERT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getHasAlert());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status 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 com.vendasta.accountgroup.v1.generated.ApiProto.Status parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status 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 com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Status prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.Status}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Status)
com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Status_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Status.class, com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Status.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
suspended_ = false;
hasAlert_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Status_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Status getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Status.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Status build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Status result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Status buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Status result = new com.vendasta.accountgroup.v1.generated.ApiProto.Status(this);
result.suspended_ = suspended_;
result.hasAlert_ = hasAlert_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Status) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Status)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Status other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Status.getDefaultInstance()) return this;
if (other.getSuspended() != false) {
setSuspended(other.getSuspended());
}
if (other.getHasAlert() != false) {
setHasAlert(other.getHasAlert());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Status parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Status) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean suspended_ ;
/**
* bool suspended = 1;
*/
public boolean getSuspended() {
return suspended_;
}
/**
* bool suspended = 1;
*/
public Builder setSuspended(boolean value) {
suspended_ = value;
onChanged();
return this;
}
/**
* bool suspended = 1;
*/
public Builder clearSuspended() {
suspended_ = false;
onChanged();
return this;
}
private boolean hasAlert_ ;
/**
* bool has_alert = 2;
*/
public boolean getHasAlert() {
return hasAlert_;
}
/**
* bool has_alert = 2;
*/
public Builder setHasAlert(boolean value) {
hasAlert_ = value;
onChanged();
return this;
}
/**
* bool has_alert = 2;
*/
public Builder clearHasAlert() {
hasAlert_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Status)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Status)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Status DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Status();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Status getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Status parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Status(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Status getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AssociationOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.Association)
com.google.protobuf.MessageOrBuilder {
/**
* string label = 1;
*/
java.lang.String getLabel();
/**
* string label = 1;
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* string product_id = 2;
*/
java.lang.String getProductId();
/**
* string product_id = 2;
*/
com.google.protobuf.ByteString
getProductIdBytes();
/**
* string product_user_id = 3;
*/
java.lang.String getProductUserId();
/**
* string product_user_id = 3;
*/
com.google.protobuf.ByteString
getProductUserIdBytes();
/**
* string vbc_user_id = 4;
*/
java.lang.String getVbcUserId();
/**
* string vbc_user_id = 4;
*/
com.google.protobuf.ByteString
getVbcUserIdBytes();
/**
* bool default_location = 5;
*/
boolean getDefaultLocation();
}
/**
* Protobuf type {@code accountgroup.v1.Association}
*/
public static final class Association extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.Association)
AssociationOrBuilder {
// Use Association.newBuilder() to construct.
private Association(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Association() {
label_ = "";
productId_ = "";
productUserId_ = "";
vbcUserId_ = "";
defaultLocation_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Association(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
label_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
productId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
productUserId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
vbcUserId_ = s;
break;
}
case 40: {
defaultLocation_ = input.readBool();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Association_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Association_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Association.class, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder.class);
}
public static final int LABEL_FIELD_NUMBER = 1;
private volatile java.lang.Object label_;
/**
* string label = 1;
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
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();
label_ = s;
return s;
}
}
/**
* string label = 1;
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object productId_;
/**
* string product_id = 2;
*/
public java.lang.String getProductId() {
java.lang.Object ref = productId_;
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();
productId_ = s;
return s;
}
}
/**
* string product_id = 2;
*/
public com.google.protobuf.ByteString
getProductIdBytes() {
java.lang.Object ref = productId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCT_USER_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object productUserId_;
/**
* string product_user_id = 3;
*/
public java.lang.String getProductUserId() {
java.lang.Object ref = productUserId_;
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();
productUserId_ = s;
return s;
}
}
/**
* string product_user_id = 3;
*/
public com.google.protobuf.ByteString
getProductUserIdBytes() {
java.lang.Object ref = productUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VBC_USER_ID_FIELD_NUMBER = 4;
private volatile java.lang.Object vbcUserId_;
/**
* string vbc_user_id = 4;
*/
public java.lang.String getVbcUserId() {
java.lang.Object ref = vbcUserId_;
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();
vbcUserId_ = s;
return s;
}
}
/**
* string vbc_user_id = 4;
*/
public com.google.protobuf.ByteString
getVbcUserIdBytes() {
java.lang.Object ref = vbcUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vbcUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_LOCATION_FIELD_NUMBER = 5;
private boolean defaultLocation_;
/**
* bool default_location = 5;
*/
public boolean getDefaultLocation() {
return defaultLocation_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getLabelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, label_);
}
if (!getProductIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, productId_);
}
if (!getProductUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, productUserId_);
}
if (!getVbcUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vbcUserId_);
}
if (defaultLocation_ != false) {
output.writeBool(5, defaultLocation_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getLabelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, label_);
}
if (!getProductIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, productId_);
}
if (!getProductUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, productUserId_);
}
if (!getVbcUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vbcUserId_);
}
if (defaultLocation_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, defaultLocation_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Association)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.Association other = (com.vendasta.accountgroup.v1.generated.ApiProto.Association) obj;
boolean result = true;
result = result && getLabel()
.equals(other.getLabel());
result = result && getProductId()
.equals(other.getProductId());
result = result && getProductUserId()
.equals(other.getProductUserId());
result = result && getVbcUserId()
.equals(other.getVbcUserId());
result = result && (getDefaultLocation()
== other.getDefaultLocation());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
hash = (37 * hash) + PRODUCT_ID_FIELD_NUMBER;
hash = (53 * hash) + getProductId().hashCode();
hash = (37 * hash) + PRODUCT_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getProductUserId().hashCode();
hash = (37 * hash) + VBC_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getVbcUserId().hashCode();
hash = (37 * hash) + DEFAULT_LOCATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDefaultLocation());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association 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 com.vendasta.accountgroup.v1.generated.ApiProto.Association parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association 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 com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.Association prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.Association}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.Association)
com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Association_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Association_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.Association.class, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.Association.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
label_ = "";
productId_ = "";
productUserId_ = "";
vbcUserId_ = "";
defaultLocation_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_Association_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Association getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.Association.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Association build() {
com.vendasta.accountgroup.v1.generated.ApiProto.Association result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Association buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.Association result = new com.vendasta.accountgroup.v1.generated.ApiProto.Association(this);
result.label_ = label_;
result.productId_ = productId_;
result.productUserId_ = productUserId_;
result.vbcUserId_ = vbcUserId_;
result.defaultLocation_ = defaultLocation_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.Association) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.Association)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.Association other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.Association.getDefaultInstance()) return this;
if (!other.getLabel().isEmpty()) {
label_ = other.label_;
onChanged();
}
if (!other.getProductId().isEmpty()) {
productId_ = other.productId_;
onChanged();
}
if (!other.getProductUserId().isEmpty()) {
productUserId_ = other.productUserId_;
onChanged();
}
if (!other.getVbcUserId().isEmpty()) {
vbcUserId_ = other.vbcUserId_;
onChanged();
}
if (other.getDefaultLocation() != false) {
setDefaultLocation(other.getDefaultLocation());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.Association parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.Association) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object label_ = "";
/**
* string label = 1;
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string label = 1;
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string label = 1;
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
label_ = value;
onChanged();
return this;
}
/**
* string label = 1;
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
onChanged();
return this;
}
/**
* string label = 1;
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
label_ = value;
onChanged();
return this;
}
private java.lang.Object productId_ = "";
/**
* string product_id = 2;
*/
public java.lang.String getProductId() {
java.lang.Object ref = productId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string product_id = 2;
*/
public com.google.protobuf.ByteString
getProductIdBytes() {
java.lang.Object ref = productId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string product_id = 2;
*/
public Builder setProductId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productId_ = value;
onChanged();
return this;
}
/**
* string product_id = 2;
*/
public Builder clearProductId() {
productId_ = getDefaultInstance().getProductId();
onChanged();
return this;
}
/**
* string product_id = 2;
*/
public Builder setProductIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productId_ = value;
onChanged();
return this;
}
private java.lang.Object productUserId_ = "";
/**
* string product_user_id = 3;
*/
public java.lang.String getProductUserId() {
java.lang.Object ref = productUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
productUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string product_user_id = 3;
*/
public com.google.protobuf.ByteString
getProductUserIdBytes() {
java.lang.Object ref = productUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
productUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string product_user_id = 3;
*/
public Builder setProductUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
productUserId_ = value;
onChanged();
return this;
}
/**
* string product_user_id = 3;
*/
public Builder clearProductUserId() {
productUserId_ = getDefaultInstance().getProductUserId();
onChanged();
return this;
}
/**
* string product_user_id = 3;
*/
public Builder setProductUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
productUserId_ = value;
onChanged();
return this;
}
private java.lang.Object vbcUserId_ = "";
/**
* string vbc_user_id = 4;
*/
public java.lang.String getVbcUserId() {
java.lang.Object ref = vbcUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vbcUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string vbc_user_id = 4;
*/
public com.google.protobuf.ByteString
getVbcUserIdBytes() {
java.lang.Object ref = vbcUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vbcUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string vbc_user_id = 4;
*/
public Builder setVbcUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vbcUserId_ = value;
onChanged();
return this;
}
/**
* string vbc_user_id = 4;
*/
public Builder clearVbcUserId() {
vbcUserId_ = getDefaultInstance().getVbcUserId();
onChanged();
return this;
}
/**
* string vbc_user_id = 4;
*/
public Builder setVbcUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vbcUserId_ = value;
onChanged();
return this;
}
private boolean defaultLocation_ ;
/**
* bool default_location = 5;
*/
public boolean getDefaultLocation() {
return defaultLocation_;
}
/**
* bool default_location = 5;
*/
public Builder setDefaultLocation(boolean value) {
defaultLocation_ = value;
onChanged();
return this;
}
/**
* bool default_location = 5;
*/
public Builder clearDefaultLocation() {
defaultLocation_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.Association)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.Association)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.Association DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.Association();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.Association getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Association parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Association(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.Association getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
@java.lang.Deprecated public interface ActionListAppendOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ActionListAppend)
com.google.protobuf.MessageOrBuilder {
/**
* string action_list_name = 1;
*/
java.lang.String getActionListName();
/**
* string action_list_name = 1;
*/
com.google.protobuf.ByteString
getActionListNameBytes();
}
/**
*
* ActionListAppend is deprecated, use ActionListModify instead
*
*
* Protobuf type {@code accountgroup.v1.ActionListAppend}
*/
@java.lang.Deprecated public static final class ActionListAppend extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ActionListAppend)
ActionListAppendOrBuilder {
// Use ActionListAppend.newBuilder() to construct.
private ActionListAppend(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ActionListAppend() {
actionListName_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ActionListAppend(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
actionListName_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListAppend_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListAppend_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.class, com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.Builder.class);
}
public static final int ACTION_LIST_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object actionListName_;
/**
* string action_list_name = 1;
*/
public java.lang.String getActionListName() {
java.lang.Object ref = actionListName_;
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();
actionListName_ = s;
return s;
}
}
/**
* string action_list_name = 1;
*/
public com.google.protobuf.ByteString
getActionListNameBytes() {
java.lang.Object ref = actionListName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionListName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getActionListNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actionListName_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getActionListNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actionListName_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend other = (com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend) obj;
boolean result = true;
result = result && getActionListName()
.equals(other.getActionListName());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACTION_LIST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getActionListName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend 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 com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend 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 com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* ActionListAppend is deprecated, use ActionListModify instead
*
*
* Protobuf type {@code accountgroup.v1.ActionListAppend}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ActionListAppend)
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppendOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListAppend_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListAppend_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.class, com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
actionListName_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListAppend_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend result = new com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend(this);
result.actionListName_ = actionListName_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend.getDefaultInstance()) return this;
if (!other.getActionListName().isEmpty()) {
actionListName_ = other.actionListName_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object actionListName_ = "";
/**
* string action_list_name = 1;
*/
public java.lang.String getActionListName() {
java.lang.Object ref = actionListName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
actionListName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string action_list_name = 1;
*/
public com.google.protobuf.ByteString
getActionListNameBytes() {
java.lang.Object ref = actionListName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionListName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string action_list_name = 1;
*/
public Builder setActionListName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
actionListName_ = value;
onChanged();
return this;
}
/**
* string action_list_name = 1;
*/
public Builder clearActionListName() {
actionListName_ = getDefaultInstance().getActionListName();
onChanged();
return this;
}
/**
* string action_list_name = 1;
*/
public Builder setActionListNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
actionListName_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ActionListAppend)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ActionListAppend)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ActionListAppend parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ActionListAppend(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListAppend getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ActionListModifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ActionListModify)
com.google.protobuf.MessageOrBuilder {
/**
* string action_list_name = 1;
*/
java.lang.String getActionListName();
/**
* string action_list_name = 1;
*/
com.google.protobuf.ByteString
getActionListNameBytes();
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
int getActionValue();
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions getAction();
}
/**
* Protobuf type {@code accountgroup.v1.ActionListModify}
*/
public static final class ActionListModify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ActionListModify)
ActionListModifyOrBuilder {
// Use ActionListModify.newBuilder() to construct.
private ActionListModify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ActionListModify() {
actionListName_ = "";
action_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ActionListModify(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
actionListName_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
action_ = rawValue;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListModify_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListModify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.class, com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Builder.class);
}
/**
* Protobuf enum {@code accountgroup.v1.ActionListModify.Actions}
*/
public enum Actions
implements com.google.protobuf.ProtocolMessageEnum {
/**
* APPEND = 0;
*/
APPEND(0),
/**
* REMOVE = 1;
*/
REMOVE(1),
UNRECOGNIZED(-1),
;
/**
* APPEND = 0;
*/
public static final int APPEND_VALUE = 0;
/**
* REMOVE = 1;
*/
public static final int REMOVE_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Actions valueOf(int value) {
return forNumber(value);
}
public static Actions forNumber(int value) {
switch (value) {
case 0: return APPEND;
case 1: return REMOVE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Actions> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Actions findValueByNumber(int number) {
return Actions.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.getDescriptor().getEnumTypes().get(0);
}
private static final Actions[] VALUES = values();
public static Actions valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Actions(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:accountgroup.v1.ActionListModify.Actions)
}
public static final int ACTION_LIST_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object actionListName_;
/**
* string action_list_name = 1;
*/
public java.lang.String getActionListName() {
java.lang.Object ref = actionListName_;
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();
actionListName_ = s;
return s;
}
}
/**
* string action_list_name = 1;
*/
public com.google.protobuf.ByteString
getActionListNameBytes() {
java.lang.Object ref = actionListName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionListName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTION_FIELD_NUMBER = 2;
private int action_;
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public int getActionValue() {
return action_;
}
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions getAction() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions result = com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.valueOf(action_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getActionListNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actionListName_);
}
if (action_ != com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.APPEND.getNumber()) {
output.writeEnum(2, action_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getActionListNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actionListName_);
}
if (action_ != com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.APPEND.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, action_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify other = (com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify) obj;
boolean result = true;
result = result && getActionListName()
.equals(other.getActionListName());
result = result && action_ == other.action_;
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACTION_LIST_NAME_FIELD_NUMBER;
hash = (53 * hash) + getActionListName().hashCode();
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + action_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify 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 com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify 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 com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.ActionListModify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ActionListModify)
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListModify_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListModify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.class, com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
actionListName_ = "";
action_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ActionListModify_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify result = new com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify(this);
result.actionListName_ = actionListName_;
result.action_ = action_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.getDefaultInstance()) return this;
if (!other.getActionListName().isEmpty()) {
actionListName_ = other.actionListName_;
onChanged();
}
if (other.action_ != 0) {
setActionValue(other.getActionValue());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object actionListName_ = "";
/**
* string action_list_name = 1;
*/
public java.lang.String getActionListName() {
java.lang.Object ref = actionListName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
actionListName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string action_list_name = 1;
*/
public com.google.protobuf.ByteString
getActionListNameBytes() {
java.lang.Object ref = actionListName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionListName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string action_list_name = 1;
*/
public Builder setActionListName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
actionListName_ = value;
onChanged();
return this;
}
/**
* string action_list_name = 1;
*/
public Builder clearActionListName() {
actionListName_ = getDefaultInstance().getActionListName();
onChanged();
return this;
}
/**
* string action_list_name = 1;
*/
public Builder setActionListNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
actionListName_ = value;
onChanged();
return this;
}
private int action_ = 0;
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public int getActionValue() {
return action_;
}
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public Builder setActionValue(int value) {
action_ = value;
onChanged();
return this;
}
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions getAction() {
com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions result = com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.valueOf(action_);
return result == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions.UNRECOGNIZED : result;
}
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public Builder setAction(com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify.Actions value) {
if (value == null) {
throw new NullPointerException();
}
action_ = value.getNumber();
onChanged();
return this;
}
/**
* .accountgroup.v1.ActionListModify.Actions action = 2;
*/
public Builder clearAction() {
action_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ActionListModify)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ActionListModify)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ActionListModify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ActionListModify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ActionListModify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountGroupLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.AccountGroupLocation)
com.google.protobuf.MessageOrBuilder {
/**
* string company_name = 4;
*/
java.lang.String getCompanyName();
/**
* string company_name = 4;
*/
com.google.protobuf.ByteString
getCompanyNameBytes();
/**
* string address = 5;
*/
java.lang.String getAddress();
/**
* string address = 5;
*/
com.google.protobuf.ByteString
getAddressBytes();
/**
* string address2 = 16;
*/
java.lang.String getAddress2();
/**
* string address2 = 16;
*/
com.google.protobuf.ByteString
getAddress2Bytes();
/**
* string city = 6;
*/
java.lang.String getCity();
/**
* string city = 6;
*/
com.google.protobuf.ByteString
getCityBytes();
/**
* string state = 7;
*/
java.lang.String getState();
/**
* string state = 7;
*/
com.google.protobuf.ByteString
getStateBytes();
/**
* string zip = 8;
*/
java.lang.String getZip();
/**
* string zip = 8;
*/
com.google.protobuf.ByteString
getZipBytes();
/**
* string country = 9;
*/
java.lang.String getCountry();
/**
* string country = 9;
*/
com.google.protobuf.ByteString
getCountryBytes();
/**
* string website = 10;
*/
java.lang.String getWebsite();
/**
* string website = 10;
*/
com.google.protobuf.ByteString
getWebsiteBytes();
/**
* repeated string work_number = 11;
*/
java.util.List
getWorkNumberList();
/**
* repeated string work_number = 11;
*/
int getWorkNumberCount();
/**
* repeated string work_number = 11;
*/
java.lang.String getWorkNumber(int index);
/**
* repeated string work_number = 11;
*/
com.google.protobuf.ByteString
getWorkNumberBytes(int index);
/**
* repeated string call_tracking_number = 12;
*/
java.util.List
getCallTrackingNumberList();
/**
* repeated string call_tracking_number = 12;
*/
int getCallTrackingNumberCount();
/**
* repeated string call_tracking_number = 12;
*/
java.lang.String getCallTrackingNumber(int index);
/**
* repeated string call_tracking_number = 12;
*/
com.google.protobuf.ByteString
getCallTrackingNumberBytes(int index);
/**
* .accountgroup.v1.Geo location = 13;
*/
boolean hasLocation();
/**
* .accountgroup.v1.Geo location = 13;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Geo getLocation();
/**
* .accountgroup.v1.Geo location = 13;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder getLocationOrBuilder();
/**
* string timezone = 14;
*/
java.lang.String getTimezone();
/**
* string timezone = 14;
*/
com.google.protobuf.ByteString
getTimezoneBytes();
/**
* bool service_area_business = 15;
*/
boolean getServiceAreaBusiness();
}
/**
* Protobuf type {@code accountgroup.v1.AccountGroupLocation}
*/
public static final class AccountGroupLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.AccountGroupLocation)
AccountGroupLocationOrBuilder {
// Use AccountGroupLocation.newBuilder() to construct.
private AccountGroupLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccountGroupLocation() {
companyName_ = "";
address_ = "";
address2_ = "";
city_ = "";
state_ = "";
zip_ = "";
country_ = "";
website_ = "";
workNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
callTrackingNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
timezone_ = "";
serviceAreaBusiness_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private AccountGroupLocation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
companyName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
address_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
city_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
state_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
zip_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
country_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
website_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
workNumber_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000100;
}
workNumber_.add(s);
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
callTrackingNumber_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000200;
}
callTrackingNumber_.add(s);
break;
}
case 106: {
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder subBuilder = null;
if (location_ != null) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Geo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
timezone_ = s;
break;
}
case 120: {
serviceAreaBusiness_ = input.readBool();
break;
}
case 130: {
java.lang.String s = input.readStringRequireUtf8();
address2_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
workNumber_ = workNumber_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
callTrackingNumber_ = callTrackingNumber_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupLocation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder.class);
}
private int bitField0_;
public static final int COMPANY_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object companyName_;
/**
* string company_name = 4;
*/
public java.lang.String getCompanyName() {
java.lang.Object ref = companyName_;
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();
companyName_ = s;
return s;
}
}
/**
* string company_name = 4;
*/
public com.google.protobuf.ByteString
getCompanyNameBytes() {
java.lang.Object ref = companyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
companyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADDRESS_FIELD_NUMBER = 5;
private volatile java.lang.Object address_;
/**
* string address = 5;
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
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();
address_ = s;
return s;
}
}
/**
* string address = 5;
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADDRESS2_FIELD_NUMBER = 16;
private volatile java.lang.Object address2_;
/**
* string address2 = 16;
*/
public java.lang.String getAddress2() {
java.lang.Object ref = address2_;
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();
address2_ = s;
return s;
}
}
/**
* string address2 = 16;
*/
public com.google.protobuf.ByteString
getAddress2Bytes() {
java.lang.Object ref = address2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CITY_FIELD_NUMBER = 6;
private volatile java.lang.Object city_;
/**
* string city = 6;
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
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();
city_ = s;
return s;
}
}
/**
* string city = 6;
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 7;
private volatile java.lang.Object state_;
/**
* string state = 7;
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
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();
state_ = s;
return s;
}
}
/**
* string state = 7;
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ZIP_FIELD_NUMBER = 8;
private volatile java.lang.Object zip_;
/**
* string zip = 8;
*/
public java.lang.String getZip() {
java.lang.Object ref = zip_;
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();
zip_ = s;
return s;
}
}
/**
* string zip = 8;
*/
public com.google.protobuf.ByteString
getZipBytes() {
java.lang.Object ref = zip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
zip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COUNTRY_FIELD_NUMBER = 9;
private volatile java.lang.Object country_;
/**
* string country = 9;
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
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();
country_ = s;
return s;
}
}
/**
* string country = 9;
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBSITE_FIELD_NUMBER = 10;
private volatile java.lang.Object website_;
/**
* string website = 10;
*/
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;
}
}
/**
* string website = 10;
*/
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;
}
}
public static final int WORK_NUMBER_FIELD_NUMBER = 11;
private com.google.protobuf.LazyStringList workNumber_;
/**
* repeated string work_number = 11;
*/
public com.google.protobuf.ProtocolStringList
getWorkNumberList() {
return workNumber_;
}
/**
* repeated string work_number = 11;
*/
public int getWorkNumberCount() {
return workNumber_.size();
}
/**
* repeated string work_number = 11;
*/
public java.lang.String getWorkNumber(int index) {
return workNumber_.get(index);
}
/**
* repeated string work_number = 11;
*/
public com.google.protobuf.ByteString
getWorkNumberBytes(int index) {
return workNumber_.getByteString(index);
}
public static final int CALL_TRACKING_NUMBER_FIELD_NUMBER = 12;
private com.google.protobuf.LazyStringList callTrackingNumber_;
/**
* repeated string call_tracking_number = 12;
*/
public com.google.protobuf.ProtocolStringList
getCallTrackingNumberList() {
return callTrackingNumber_;
}
/**
* repeated string call_tracking_number = 12;
*/
public int getCallTrackingNumberCount() {
return callTrackingNumber_.size();
}
/**
* repeated string call_tracking_number = 12;
*/
public java.lang.String getCallTrackingNumber(int index) {
return callTrackingNumber_.get(index);
}
/**
* repeated string call_tracking_number = 12;
*/
public com.google.protobuf.ByteString
getCallTrackingNumberBytes(int index) {
return callTrackingNumber_.getByteString(index);
}
public static final int LOCATION_FIELD_NUMBER = 13;
private com.vendasta.accountgroup.v1.generated.ApiProto.Geo location_;
/**
* .accountgroup.v1.Geo location = 13;
*/
public boolean hasLocation() {
return location_ != null;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo getLocation() {
return location_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Geo.getDefaultInstance() : location_;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder getLocationOrBuilder() {
return getLocation();
}
public static final int TIMEZONE_FIELD_NUMBER = 14;
private volatile java.lang.Object timezone_;
/**
* string timezone = 14;
*/
public java.lang.String getTimezone() {
java.lang.Object ref = timezone_;
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();
timezone_ = s;
return s;
}
}
/**
* string timezone = 14;
*/
public com.google.protobuf.ByteString
getTimezoneBytes() {
java.lang.Object ref = timezone_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timezone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVICE_AREA_BUSINESS_FIELD_NUMBER = 15;
private boolean serviceAreaBusiness_;
/**
* bool service_area_business = 15;
*/
public boolean getServiceAreaBusiness() {
return serviceAreaBusiness_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getCompanyNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, companyName_);
}
if (!getAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, address_);
}
if (!getCityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, city_);
}
if (!getStateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, state_);
}
if (!getZipBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, zip_);
}
if (!getCountryBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, country_);
}
if (!getWebsiteBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, website_);
}
for (int i = 0; i < workNumber_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, workNumber_.getRaw(i));
}
for (int i = 0; i < callTrackingNumber_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, callTrackingNumber_.getRaw(i));
}
if (location_ != null) {
output.writeMessage(13, getLocation());
}
if (!getTimezoneBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, timezone_);
}
if (serviceAreaBusiness_ != false) {
output.writeBool(15, serviceAreaBusiness_);
}
if (!getAddress2Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, address2_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCompanyNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, companyName_);
}
if (!getAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, address_);
}
if (!getCityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, city_);
}
if (!getStateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, state_);
}
if (!getZipBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, zip_);
}
if (!getCountryBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, country_);
}
if (!getWebsiteBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, website_);
}
{
int dataSize = 0;
for (int i = 0; i < workNumber_.size(); i++) {
dataSize += computeStringSizeNoTag(workNumber_.getRaw(i));
}
size += dataSize;
size += 1 * getWorkNumberList().size();
}
{
int dataSize = 0;
for (int i = 0; i < callTrackingNumber_.size(); i++) {
dataSize += computeStringSizeNoTag(callTrackingNumber_.getRaw(i));
}
size += dataSize;
size += 1 * getCallTrackingNumberList().size();
}
if (location_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getLocation());
}
if (!getTimezoneBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, timezone_);
}
if (serviceAreaBusiness_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, serviceAreaBusiness_);
}
if (!getAddress2Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, address2_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation other = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation) obj;
boolean result = true;
result = result && getCompanyName()
.equals(other.getCompanyName());
result = result && getAddress()
.equals(other.getAddress());
result = result && getAddress2()
.equals(other.getAddress2());
result = result && getCity()
.equals(other.getCity());
result = result && getState()
.equals(other.getState());
result = result && getZip()
.equals(other.getZip());
result = result && getCountry()
.equals(other.getCountry());
result = result && getWebsite()
.equals(other.getWebsite());
result = result && getWorkNumberList()
.equals(other.getWorkNumberList());
result = result && getCallTrackingNumberList()
.equals(other.getCallTrackingNumberList());
result = result && (hasLocation() == other.hasLocation());
if (hasLocation()) {
result = result && getLocation()
.equals(other.getLocation());
}
result = result && getTimezone()
.equals(other.getTimezone());
result = result && (getServiceAreaBusiness()
== other.getServiceAreaBusiness());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + COMPANY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCompanyName().hashCode();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (37 * hash) + ADDRESS2_FIELD_NUMBER;
hash = (53 * hash) + getAddress2().hashCode();
hash = (37 * hash) + CITY_FIELD_NUMBER;
hash = (53 * hash) + getCity().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
hash = (37 * hash) + ZIP_FIELD_NUMBER;
hash = (53 * hash) + getZip().hashCode();
hash = (37 * hash) + COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCountry().hashCode();
hash = (37 * hash) + WEBSITE_FIELD_NUMBER;
hash = (53 * hash) + getWebsite().hashCode();
if (getWorkNumberCount() > 0) {
hash = (37 * hash) + WORK_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getWorkNumberList().hashCode();
}
if (getCallTrackingNumberCount() > 0) {
hash = (37 * hash) + CALL_TRACKING_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getCallTrackingNumberList().hashCode();
}
if (hasLocation()) {
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
}
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimezone().hashCode();
hash = (37 * hash) + SERVICE_AREA_BUSINESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getServiceAreaBusiness());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code accountgroup.v1.AccountGroupLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.AccountGroupLocation)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupLocation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
companyName_ = "";
address_ = "";
address2_ = "";
city_ = "";
state_ = "";
zip_ = "";
country_ = "";
website_ = "";
workNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
callTrackingNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
if (locationBuilder_ == null) {
location_ = null;
} else {
location_ = null;
locationBuilder_ = null;
}
timezone_ = "";
serviceAreaBusiness_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupLocation_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation build() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation result = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.companyName_ = companyName_;
result.address_ = address_;
result.address2_ = address2_;
result.city_ = city_;
result.state_ = state_;
result.zip_ = zip_;
result.country_ = country_;
result.website_ = website_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
workNumber_ = workNumber_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000100);
}
result.workNumber_ = workNumber_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
callTrackingNumber_ = callTrackingNumber_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000200);
}
result.callTrackingNumber_ = callTrackingNumber_;
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
result.timezone_ = timezone_;
result.serviceAreaBusiness_ = serviceAreaBusiness_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.getDefaultInstance()) return this;
if (!other.getCompanyName().isEmpty()) {
companyName_ = other.companyName_;
onChanged();
}
if (!other.getAddress().isEmpty()) {
address_ = other.address_;
onChanged();
}
if (!other.getAddress2().isEmpty()) {
address2_ = other.address2_;
onChanged();
}
if (!other.getCity().isEmpty()) {
city_ = other.city_;
onChanged();
}
if (!other.getState().isEmpty()) {
state_ = other.state_;
onChanged();
}
if (!other.getZip().isEmpty()) {
zip_ = other.zip_;
onChanged();
}
if (!other.getCountry().isEmpty()) {
country_ = other.country_;
onChanged();
}
if (!other.getWebsite().isEmpty()) {
website_ = other.website_;
onChanged();
}
if (!other.workNumber_.isEmpty()) {
if (workNumber_.isEmpty()) {
workNumber_ = other.workNumber_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureWorkNumberIsMutable();
workNumber_.addAll(other.workNumber_);
}
onChanged();
}
if (!other.callTrackingNumber_.isEmpty()) {
if (callTrackingNumber_.isEmpty()) {
callTrackingNumber_ = other.callTrackingNumber_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureCallTrackingNumberIsMutable();
callTrackingNumber_.addAll(other.callTrackingNumber_);
}
onChanged();
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
if (!other.getTimezone().isEmpty()) {
timezone_ = other.timezone_;
onChanged();
}
if (other.getServiceAreaBusiness() != false) {
setServiceAreaBusiness(other.getServiceAreaBusiness());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object companyName_ = "";
/**
* string company_name = 4;
*/
public java.lang.String getCompanyName() {
java.lang.Object ref = companyName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
companyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string company_name = 4;
*/
public com.google.protobuf.ByteString
getCompanyNameBytes() {
java.lang.Object ref = companyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
companyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string company_name = 4;
*/
public Builder setCompanyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
companyName_ = value;
onChanged();
return this;
}
/**
* string company_name = 4;
*/
public Builder clearCompanyName() {
companyName_ = getDefaultInstance().getCompanyName();
onChanged();
return this;
}
/**
* string company_name = 4;
*/
public Builder setCompanyNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
companyName_ = value;
onChanged();
return this;
}
private java.lang.Object address_ = "";
/**
* string address = 5;
*/
public java.lang.String getAddress() {
java.lang.Object ref = address_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string address = 5;
*/
public com.google.protobuf.ByteString
getAddressBytes() {
java.lang.Object ref = address_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string address = 5;
*/
public Builder setAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
address_ = value;
onChanged();
return this;
}
/**
* string address = 5;
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
onChanged();
return this;
}
/**
* string address = 5;
*/
public Builder setAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
address_ = value;
onChanged();
return this;
}
private java.lang.Object address2_ = "";
/**
* string address2 = 16;
*/
public java.lang.String getAddress2() {
java.lang.Object ref = address2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
address2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string address2 = 16;
*/
public com.google.protobuf.ByteString
getAddress2Bytes() {
java.lang.Object ref = address2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
address2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string address2 = 16;
*/
public Builder setAddress2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
address2_ = value;
onChanged();
return this;
}
/**
* string address2 = 16;
*/
public Builder clearAddress2() {
address2_ = getDefaultInstance().getAddress2();
onChanged();
return this;
}
/**
* string address2 = 16;
*/
public Builder setAddress2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
address2_ = value;
onChanged();
return this;
}
private java.lang.Object city_ = "";
/**
* string city = 6;
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
city_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string city = 6;
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string city = 6;
*/
public Builder setCity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
city_ = value;
onChanged();
return this;
}
/**
* string city = 6;
*/
public Builder clearCity() {
city_ = getDefaultInstance().getCity();
onChanged();
return this;
}
/**
* string city = 6;
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
city_ = value;
onChanged();
return this;
}
private java.lang.Object state_ = "";
/**
* string state = 7;
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
state_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string state = 7;
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string state = 7;
*/
public Builder setState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value;
onChanged();
return this;
}
/**
* string state = 7;
*/
public Builder clearState() {
state_ = getDefaultInstance().getState();
onChanged();
return this;
}
/**
* string state = 7;
*/
public Builder setStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
state_ = value;
onChanged();
return this;
}
private java.lang.Object zip_ = "";
/**
* string zip = 8;
*/
public java.lang.String getZip() {
java.lang.Object ref = zip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
zip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string zip = 8;
*/
public com.google.protobuf.ByteString
getZipBytes() {
java.lang.Object ref = zip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
zip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string zip = 8;
*/
public Builder setZip(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
zip_ = value;
onChanged();
return this;
}
/**
* string zip = 8;
*/
public Builder clearZip() {
zip_ = getDefaultInstance().getZip();
onChanged();
return this;
}
/**
* string zip = 8;
*/
public Builder setZipBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
zip_ = value;
onChanged();
return this;
}
private java.lang.Object country_ = "";
/**
* string country = 9;
*/
public java.lang.String getCountry() {
java.lang.Object ref = country_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
country_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string country = 9;
*/
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string country = 9;
*/
public Builder setCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
country_ = value;
onChanged();
return this;
}
/**
* string country = 9;
*/
public Builder clearCountry() {
country_ = getDefaultInstance().getCountry();
onChanged();
return this;
}
/**
* string country = 9;
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
country_ = value;
onChanged();
return this;
}
private java.lang.Object website_ = "";
/**
* string website = 10;
*/
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;
}
}
/**
* string website = 10;
*/
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;
}
}
/**
* string website = 10;
*/
public Builder setWebsite(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
website_ = value;
onChanged();
return this;
}
/**
* string website = 10;
*/
public Builder clearWebsite() {
website_ = getDefaultInstance().getWebsite();
onChanged();
return this;
}
/**
* string website = 10;
*/
public Builder setWebsiteBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
website_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList workNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureWorkNumberIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
workNumber_ = new com.google.protobuf.LazyStringArrayList(workNumber_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated string work_number = 11;
*/
public com.google.protobuf.ProtocolStringList
getWorkNumberList() {
return workNumber_.getUnmodifiableView();
}
/**
* repeated string work_number = 11;
*/
public int getWorkNumberCount() {
return workNumber_.size();
}
/**
* repeated string work_number = 11;
*/
public java.lang.String getWorkNumber(int index) {
return workNumber_.get(index);
}
/**
* repeated string work_number = 11;
*/
public com.google.protobuf.ByteString
getWorkNumberBytes(int index) {
return workNumber_.getByteString(index);
}
/**
* repeated string work_number = 11;
*/
public Builder setWorkNumber(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureWorkNumberIsMutable();
workNumber_.set(index, value);
onChanged();
return this;
}
/**
* repeated string work_number = 11;
*/
public Builder addWorkNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureWorkNumberIsMutable();
workNumber_.add(value);
onChanged();
return this;
}
/**
* repeated string work_number = 11;
*/
public Builder addAllWorkNumber(
java.lang.Iterable values) {
ensureWorkNumberIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, workNumber_);
onChanged();
return this;
}
/**
* repeated string work_number = 11;
*/
public Builder clearWorkNumber() {
workNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* repeated string work_number = 11;
*/
public Builder addWorkNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureWorkNumberIsMutable();
workNumber_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList callTrackingNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCallTrackingNumberIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
callTrackingNumber_ = new com.google.protobuf.LazyStringArrayList(callTrackingNumber_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated string call_tracking_number = 12;
*/
public com.google.protobuf.ProtocolStringList
getCallTrackingNumberList() {
return callTrackingNumber_.getUnmodifiableView();
}
/**
* repeated string call_tracking_number = 12;
*/
public int getCallTrackingNumberCount() {
return callTrackingNumber_.size();
}
/**
* repeated string call_tracking_number = 12;
*/
public java.lang.String getCallTrackingNumber(int index) {
return callTrackingNumber_.get(index);
}
/**
* repeated string call_tracking_number = 12;
*/
public com.google.protobuf.ByteString
getCallTrackingNumberBytes(int index) {
return callTrackingNumber_.getByteString(index);
}
/**
* repeated string call_tracking_number = 12;
*/
public Builder setCallTrackingNumber(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCallTrackingNumberIsMutable();
callTrackingNumber_.set(index, value);
onChanged();
return this;
}
/**
* repeated string call_tracking_number = 12;
*/
public Builder addCallTrackingNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCallTrackingNumberIsMutable();
callTrackingNumber_.add(value);
onChanged();
return this;
}
/**
* repeated string call_tracking_number = 12;
*/
public Builder addAllCallTrackingNumber(
java.lang.Iterable values) {
ensureCallTrackingNumberIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, callTrackingNumber_);
onChanged();
return this;
}
/**
* repeated string call_tracking_number = 12;
*/
public Builder clearCallTrackingNumber() {
callTrackingNumber_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* repeated string call_tracking_number = 12;
*/
public Builder addCallTrackingNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureCallTrackingNumberIsMutable();
callTrackingNumber_.add(value);
onChanged();
return this;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.Geo location_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Geo, com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder> locationBuilder_;
/**
* .accountgroup.v1.Geo location = 13;
*/
public boolean hasLocation() {
return locationBuilder_ != null || location_ != null;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo getLocation() {
if (locationBuilder_ == null) {
return location_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Geo.getDefaultInstance() : location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public Builder setLocation(com.vendasta.accountgroup.v1.generated.ApiProto.Geo value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public Builder setLocation(
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public Builder mergeLocation(com.vendasta.accountgroup.v1.generated.ApiProto.Geo value) {
if (locationBuilder_ == null) {
if (location_ != null) {
location_ =
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = null;
onChanged();
} else {
location_ = null;
locationBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder getLocationBuilder() {
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.Geo location = 13;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.Geo.getDefaultInstance() : location_;
}
}
/**
* .accountgroup.v1.Geo location = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Geo, com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Geo, com.vendasta.accountgroup.v1.generated.ApiProto.Geo.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.GeoOrBuilder>(
getLocation(),
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
private java.lang.Object timezone_ = "";
/**
* string timezone = 14;
*/
public java.lang.String getTimezone() {
java.lang.Object ref = timezone_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timezone_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string timezone = 14;
*/
public com.google.protobuf.ByteString
getTimezoneBytes() {
java.lang.Object ref = timezone_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timezone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string timezone = 14;
*/
public Builder setTimezone(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
timezone_ = value;
onChanged();
return this;
}
/**
* string timezone = 14;
*/
public Builder clearTimezone() {
timezone_ = getDefaultInstance().getTimezone();
onChanged();
return this;
}
/**
* string timezone = 14;
*/
public Builder setTimezoneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
timezone_ = value;
onChanged();
return this;
}
private boolean serviceAreaBusiness_ ;
/**
* bool service_area_business = 15;
*/
public boolean getServiceAreaBusiness() {
return serviceAreaBusiness_;
}
/**
* bool service_area_business = 15;
*/
public Builder setServiceAreaBusiness(boolean value) {
serviceAreaBusiness_ = value;
onChanged();
return this;
}
/**
* bool service_area_business = 15;
*/
public Builder clearServiceAreaBusiness() {
serviceAreaBusiness_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.AccountGroupLocation)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.AccountGroupLocation)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccountGroupLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccountGroupLocation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountGroupHealthOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.AccountGroupHealth)
com.google.protobuf.MessageOrBuilder {
/**
* double rating = 1;
*/
double getRating();
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
java.lang.String getReason();
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
java.lang.String getUpdatedBy();
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
com.google.protobuf.ByteString
getUpdatedByBytes();
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
boolean hasUpdatedOn();
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
com.google.protobuf.Timestamp getUpdatedOn();
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOnOrBuilder();
}
/**
*
* AccountGroupHealth is the health of the account group
*
*
* Protobuf type {@code accountgroup.v1.AccountGroupHealth}
*/
public static final class AccountGroupHealth extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.AccountGroupHealth)
AccountGroupHealthOrBuilder {
// Use AccountGroupHealth.newBuilder() to construct.
private AccountGroupHealth(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccountGroupHealth() {
rating_ = 0D;
reason_ = "";
updatedBy_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private AccountGroupHealth(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 9: {
rating_ = input.readDouble();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
reason_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
updatedBy_ = s;
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updatedOn_ != null) {
subBuilder = updatedOn_.toBuilder();
}
updatedOn_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedOn_);
updatedOn_ = subBuilder.buildPartial();
}
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupHealth_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupHealth_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder.class);
}
public static final int RATING_FIELD_NUMBER = 1;
private double rating_;
/**
* double rating = 1;
*/
public double getRating() {
return rating_;
}
public static final int REASON_FIELD_NUMBER = 2;
private volatile java.lang.Object reason_;
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
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();
reason_ = s;
return s;
}
}
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATED_BY_FIELD_NUMBER = 3;
private volatile java.lang.Object updatedBy_;
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public java.lang.String getUpdatedBy() {
java.lang.Object ref = updatedBy_;
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();
updatedBy_ = s;
return s;
}
}
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public com.google.protobuf.ByteString
getUpdatedByBytes() {
java.lang.Object ref = updatedBy_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updatedBy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATED_ON_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp updatedOn_;
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public boolean hasUpdatedOn() {
return updatedOn_ != null;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public com.google.protobuf.Timestamp getUpdatedOn() {
return updatedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedOn_;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedOnOrBuilder() {
return getUpdatedOn();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (rating_ != 0D) {
output.writeDouble(1, rating_);
}
if (!getReasonBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_);
}
if (!getUpdatedByBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, updatedBy_);
}
if (updatedOn_ != null) {
output.writeMessage(4, getUpdatedOn());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (rating_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, rating_);
}
if (!getReasonBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_);
}
if (!getUpdatedByBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, updatedBy_);
}
if (updatedOn_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getUpdatedOn());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth other = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth) obj;
boolean result = true;
result = result && (
java.lang.Double.doubleToLongBits(getRating())
== java.lang.Double.doubleToLongBits(
other.getRating()));
result = result && getReason()
.equals(other.getReason());
result = result && getUpdatedBy()
.equals(other.getUpdatedBy());
result = result && (hasUpdatedOn() == other.hasUpdatedOn());
if (hasUpdatedOn()) {
result = result && getUpdatedOn()
.equals(other.getUpdatedOn());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RATING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getRating()));
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
hash = (37 * hash) + UPDATED_BY_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedBy().hashCode();
if (hasUpdatedOn()) {
hash = (37 * hash) + UPDATED_ON_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedOn().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* AccountGroupHealth is the health of the account group
*
*
* Protobuf type {@code accountgroup.v1.AccountGroupHealth}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.AccountGroupHealth)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupHealth_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupHealth_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
rating_ = 0D;
reason_ = "";
updatedBy_ = "";
if (updatedOnBuilder_ == null) {
updatedOn_ = null;
} else {
updatedOn_ = null;
updatedOnBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroupHealth_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth build() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth result = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth(this);
result.rating_ = rating_;
result.reason_ = reason_;
result.updatedBy_ = updatedBy_;
if (updatedOnBuilder_ == null) {
result.updatedOn_ = updatedOn_;
} else {
result.updatedOn_ = updatedOnBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.getDefaultInstance()) return this;
if (other.getRating() != 0D) {
setRating(other.getRating());
}
if (!other.getReason().isEmpty()) {
reason_ = other.reason_;
onChanged();
}
if (!other.getUpdatedBy().isEmpty()) {
updatedBy_ = other.updatedBy_;
onChanged();
}
if (other.hasUpdatedOn()) {
mergeUpdatedOn(other.getUpdatedOn());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double rating_ ;
/**
* double rating = 1;
*/
public double getRating() {
return rating_;
}
/**
* double rating = 1;
*/
public Builder setRating(double value) {
rating_ = value;
onChanged();
return this;
}
/**
* double rating = 1;
*/
public Builder clearRating() {
rating_ = 0D;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reason_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public Builder setReason(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
reason_ = value;
onChanged();
return this;
}
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
onChanged();
return this;
}
/**
*
* reason is the reason for updating the health
*
*
* string reason = 2;
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
reason_ = value;
onChanged();
return this;
}
private java.lang.Object updatedBy_ = "";
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public java.lang.String getUpdatedBy() {
java.lang.Object ref = updatedBy_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
updatedBy_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public com.google.protobuf.ByteString
getUpdatedByBytes() {
java.lang.Object ref = updatedBy_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updatedBy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public Builder setUpdatedBy(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
updatedBy_ = value;
onChanged();
return this;
}
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public Builder clearUpdatedBy() {
updatedBy_ = getDefaultInstance().getUpdatedBy();
onChanged();
return this;
}
/**
*
* updated_by is the user id who updated the health rating
*
*
* string updated_by = 3;
*/
public Builder setUpdatedByBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
updatedBy_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp updatedOn_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedOnBuilder_;
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public boolean hasUpdatedOn() {
return updatedOnBuilder_ != null || updatedOn_ != null;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public com.google.protobuf.Timestamp getUpdatedOn() {
if (updatedOnBuilder_ == null) {
return updatedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedOn_;
} else {
return updatedOnBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public Builder setUpdatedOn(com.google.protobuf.Timestamp value) {
if (updatedOnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedOn_ = value;
onChanged();
} else {
updatedOnBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public Builder setUpdatedOn(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (updatedOnBuilder_ == null) {
updatedOn_ = builderForValue.build();
onChanged();
} else {
updatedOnBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public Builder mergeUpdatedOn(com.google.protobuf.Timestamp value) {
if (updatedOnBuilder_ == null) {
if (updatedOn_ != null) {
updatedOn_ =
com.google.protobuf.Timestamp.newBuilder(updatedOn_).mergeFrom(value).buildPartial();
} else {
updatedOn_ = value;
}
onChanged();
} else {
updatedOnBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public Builder clearUpdatedOn() {
if (updatedOnBuilder_ == null) {
updatedOn_ = null;
onChanged();
} else {
updatedOn_ = null;
updatedOnBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedOnBuilder() {
onChanged();
return getUpdatedOnFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedOnOrBuilder() {
if (updatedOnBuilder_ != null) {
return updatedOnBuilder_.getMessageOrBuilder();
} else {
return updatedOn_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : updatedOn_;
}
}
/**
* .google.protobuf.Timestamp updated_on = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getUpdatedOnFieldBuilder() {
if (updatedOnBuilder_ == null) {
updatedOnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getUpdatedOn(),
getParentForChildren(),
isClean());
updatedOn_ = null;
}
return updatedOnBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.AccountGroupHealth)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.AccountGroupHealth)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccountGroupHealth parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccountGroupHealth(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccountGroupOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.AccountGroup)
com.google.protobuf.MessageOrBuilder {
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
java.lang.String getAccountGroupId();
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
com.google.protobuf.ByteString
getAccountGroupIdBytes();
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
java.lang.String getAccountGroupResourceId();
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
com.google.protobuf.ByteString
getAccountGroupResourceIdBytes();
/**
* .google.protobuf.Timestamp deleted = 17;
*/
boolean hasDeleted();
/**
* .google.protobuf.Timestamp deleted = 17;
*/
com.google.protobuf.Timestamp getDeleted();
/**
* .google.protobuf.Timestamp deleted = 17;
*/
com.google.protobuf.TimestampOrBuilder getDeletedOrBuilder();
/**
* .google.protobuf.Timestamp created = 18;
*/
boolean hasCreated();
/**
* .google.protobuf.Timestamp created = 18;
*/
com.google.protobuf.Timestamp getCreated();
/**
* .google.protobuf.Timestamp created = 18;
*/
com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();
/**
* .google.protobuf.Timestamp updated = 19;
*/
boolean hasUpdated();
/**
* .google.protobuf.Timestamp updated = 19;
*/
com.google.protobuf.Timestamp getUpdated();
/**
* .google.protobuf.Timestamp updated = 19;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder();
/**
* int64 version = 24;
*/
long getVersion();
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
boolean hasAccounts();
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getAccounts();
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder getAccountsOrBuilder();
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
boolean hasListingDistribution();
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getListingDistribution();
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder getListingDistributionOrBuilder();
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
boolean hasListingSyncPro();
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getListingSyncPro();
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder getListingSyncProOrBuilder();
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
java.util.List
getAssociationsList();
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Association getAssociations(int index);
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
int getAssociationsCount();
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder>
getAssociationsOrBuilderList();
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder getAssociationsOrBuilder(
int index);
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
boolean hasAccountGroupExternalIdentifiers();
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getAccountGroupExternalIdentifiers();
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder getAccountGroupExternalIdentifiersOrBuilder();
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
boolean hasSocialUrls();
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getSocialUrls();
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder getSocialUrlsOrBuilder();
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
boolean hasHoursOfOperation();
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getHoursOfOperation();
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder getHoursOfOperationOrBuilder();
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
boolean hasContactDetails();
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getContactDetails();
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder getContactDetailsOrBuilder();
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
boolean hasSnapshotReports();
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getSnapshotReports();
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder getSnapshotReportsOrBuilder();
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
boolean hasLegacyProductDetails();
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getLegacyProductDetails();
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder getLegacyProductDetailsOrBuilder();
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
boolean hasRichData();
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.RichData getRichData();
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder getRichDataOrBuilder();
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
boolean hasNapData();
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getNapData();
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder getNapDataOrBuilder();
/**
* .accountgroup.v1.Status status = 43;
*/
boolean hasStatus();
/**
* .accountgroup.v1.Status status = 43;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Status getStatus();
/**
* .accountgroup.v1.Status status = 43;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder getStatusOrBuilder();
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated boolean hasOnBoardingStrategy();
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getOnBoardingStrategy();
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder getOnBoardingStrategyOrBuilder();
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
boolean hasHealth();
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getHealth();
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder getHealthOrBuilder();
}
/**
*
* Represents an Account Group
*
*
* Protobuf type {@code accountgroup.v1.AccountGroup}
*/
public static final class AccountGroup extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.AccountGroup)
AccountGroupOrBuilder {
// Use AccountGroup.newBuilder() to construct.
private AccountGroup(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccountGroup() {
accountGroupId_ = "";
accountGroupResourceId_ = "";
version_ = 0L;
associations_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private AccountGroup(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
accountGroupId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
accountGroupResourceId_ = s;
break;
}
case 138: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (deleted_ != null) {
subBuilder = deleted_.toBuilder();
}
deleted_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deleted_);
deleted_ = subBuilder.buildPartial();
}
break;
}
case 146: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (created_ != null) {
subBuilder = created_.toBuilder();
}
created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(created_);
created_ = subBuilder.buildPartial();
}
break;
}
case 154: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updated_ != null) {
subBuilder = updated_.toBuilder();
}
updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updated_);
updated_ = subBuilder.buildPartial();
}
break;
}
case 192: {
version_ = input.readInt64();
break;
}
case 242: {
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder subBuilder = null;
if (accounts_ != null) {
subBuilder = accounts_.toBuilder();
}
accounts_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(accounts_);
accounts_ = subBuilder.buildPartial();
}
break;
}
case 250: {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder subBuilder = null;
if (listingDistribution_ != null) {
subBuilder = listingDistribution_.toBuilder();
}
listingDistribution_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(listingDistribution_);
listingDistribution_ = subBuilder.buildPartial();
}
break;
}
case 258: {
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder subBuilder = null;
if (listingSyncPro_ != null) {
subBuilder = listingSyncPro_.toBuilder();
}
listingSyncPro_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(listingSyncPro_);
listingSyncPro_ = subBuilder.buildPartial();
}
break;
}
case 266: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
associations_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
associations_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Association.parser(), extensionRegistry));
break;
}
case 282: {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder subBuilder = null;
if (accountGroupExternalIdentifiers_ != null) {
subBuilder = accountGroupExternalIdentifiers_.toBuilder();
}
accountGroupExternalIdentifiers_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(accountGroupExternalIdentifiers_);
accountGroupExternalIdentifiers_ = subBuilder.buildPartial();
}
break;
}
case 290: {
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder subBuilder = null;
if (socialUrls_ != null) {
subBuilder = socialUrls_.toBuilder();
}
socialUrls_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(socialUrls_);
socialUrls_ = subBuilder.buildPartial();
}
break;
}
case 298: {
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder subBuilder = null;
if (hoursOfOperation_ != null) {
subBuilder = hoursOfOperation_.toBuilder();
}
hoursOfOperation_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hoursOfOperation_);
hoursOfOperation_ = subBuilder.buildPartial();
}
break;
}
case 306: {
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder subBuilder = null;
if (contactDetails_ != null) {
subBuilder = contactDetails_.toBuilder();
}
contactDetails_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contactDetails_);
contactDetails_ = subBuilder.buildPartial();
}
break;
}
case 314: {
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder subBuilder = null;
if (snapshotReports_ != null) {
subBuilder = snapshotReports_.toBuilder();
}
snapshotReports_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snapshotReports_);
snapshotReports_ = subBuilder.buildPartial();
}
break;
}
case 322: {
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder subBuilder = null;
if (legacyProductDetails_ != null) {
subBuilder = legacyProductDetails_.toBuilder();
}
legacyProductDetails_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(legacyProductDetails_);
legacyProductDetails_ = subBuilder.buildPartial();
}
break;
}
case 330: {
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder subBuilder = null;
if (richData_ != null) {
subBuilder = richData_.toBuilder();
}
richData_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.RichData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(richData_);
richData_ = subBuilder.buildPartial();
}
break;
}
case 338: {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder subBuilder = null;
if (napData_ != null) {
subBuilder = napData_.toBuilder();
}
napData_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(napData_);
napData_ = subBuilder.buildPartial();
}
break;
}
case 346: {
com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 354: {
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder subBuilder = null;
if (onBoardingStrategy_ != null) {
subBuilder = onBoardingStrategy_.toBuilder();
}
onBoardingStrategy_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(onBoardingStrategy_);
onBoardingStrategy_ = subBuilder.buildPartial();
}
break;
}
case 362: {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder subBuilder = null;
if (health_ != null) {
subBuilder = health_.toBuilder();
}
health_ = input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(health_);
health_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
associations_ = java.util.Collections.unmodifiableList(associations_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroup_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_GROUP_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object accountGroupId_;
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public java.lang.String getAccountGroupId() {
java.lang.Object ref = accountGroupId_;
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();
accountGroupId_ = s;
return s;
}
}
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public com.google.protobuf.ByteString
getAccountGroupIdBytes() {
java.lang.Object ref = accountGroupId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCOUNT_GROUP_RESOURCE_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object accountGroupResourceId_;
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public java.lang.String getAccountGroupResourceId() {
java.lang.Object ref = accountGroupResourceId_;
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();
accountGroupResourceId_ = s;
return s;
}
}
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public com.google.protobuf.ByteString
getAccountGroupResourceIdBytes() {
java.lang.Object ref = accountGroupResourceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupResourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DELETED_FIELD_NUMBER = 17;
private com.google.protobuf.Timestamp deleted_;
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public boolean hasDeleted() {
return deleted_ != null;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public com.google.protobuf.Timestamp getDeleted() {
return deleted_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleted_;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public com.google.protobuf.TimestampOrBuilder getDeletedOrBuilder() {
return getDeleted();
}
public static final int CREATED_FIELD_NUMBER = 18;
private com.google.protobuf.Timestamp created_;
/**
* .google.protobuf.Timestamp created = 18;
*/
public boolean hasCreated() {
return created_ != null;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.Timestamp getCreated() {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
return getCreated();
}
public static final int UPDATED_FIELD_NUMBER = 19;
private com.google.protobuf.Timestamp updated_;
/**
* .google.protobuf.Timestamp updated = 19;
*/
public boolean hasUpdated() {
return updated_ != null;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public com.google.protobuf.Timestamp getUpdated() {
return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() {
return getUpdated();
}
public static final int VERSION_FIELD_NUMBER = 24;
private long version_;
/**
* int64 version = 24;
*/
public long getVersion() {
return version_;
}
public static final int ACCOUNTS_FIELD_NUMBER = 30;
private com.vendasta.accountgroup.v1.generated.ApiProto.Accounts accounts_;
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public boolean hasAccounts() {
return accounts_ != null;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getAccounts() {
return accounts_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.getDefaultInstance() : accounts_;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder getAccountsOrBuilder() {
return getAccounts();
}
public static final int LISTING_DISTRIBUTION_FIELD_NUMBER = 31;
private com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails listingDistribution_;
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public boolean hasListingDistribution() {
return listingDistribution_ != null;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getListingDistribution() {
return listingDistribution_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.getDefaultInstance() : listingDistribution_;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder getListingDistributionOrBuilder() {
return getListingDistribution();
}
public static final int LISTING_SYNC_PRO_FIELD_NUMBER = 32;
private com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro listingSyncPro_;
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public boolean hasListingSyncPro() {
return listingSyncPro_ != null;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getListingSyncPro() {
return listingSyncPro_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDefaultInstance() : listingSyncPro_;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder getListingSyncProOrBuilder() {
return getListingSyncPro();
}
public static final int ASSOCIATIONS_FIELD_NUMBER = 33;
private java.util.List associations_;
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public java.util.List getAssociationsList() {
return associations_;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder>
getAssociationsOrBuilderList() {
return associations_;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public int getAssociationsCount() {
return associations_.size();
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Association getAssociations(int index) {
return associations_.get(index);
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder getAssociationsOrBuilder(
int index) {
return associations_.get(index);
}
public static final int ACCOUNT_GROUP_EXTERNAL_IDENTIFIERS_FIELD_NUMBER = 35;
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers accountGroupExternalIdentifiers_;
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public boolean hasAccountGroupExternalIdentifiers() {
return accountGroupExternalIdentifiers_ != null;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getAccountGroupExternalIdentifiers() {
return accountGroupExternalIdentifiers_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.getDefaultInstance() : accountGroupExternalIdentifiers_;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder getAccountGroupExternalIdentifiersOrBuilder() {
return getAccountGroupExternalIdentifiers();
}
public static final int SOCIAL_URLS_FIELD_NUMBER = 36;
private com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs socialUrls_;
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public boolean hasSocialUrls() {
return socialUrls_ != null;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getSocialUrls() {
return socialUrls_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.getDefaultInstance() : socialUrls_;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder getSocialUrlsOrBuilder() {
return getSocialUrls();
}
public static final int HOURS_OF_OPERATION_FIELD_NUMBER = 37;
private com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation hoursOfOperation_;
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public boolean hasHoursOfOperation() {
return hoursOfOperation_ != null;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getHoursOfOperation() {
return hoursOfOperation_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.getDefaultInstance() : hoursOfOperation_;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder getHoursOfOperationOrBuilder() {
return getHoursOfOperation();
}
public static final int CONTACT_DETAILS_FIELD_NUMBER = 38;
private com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails contactDetails_;
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public boolean hasContactDetails() {
return contactDetails_ != null;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getContactDetails() {
return contactDetails_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.getDefaultInstance() : contactDetails_;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder getContactDetailsOrBuilder() {
return getContactDetails();
}
public static final int SNAPSHOT_REPORTS_FIELD_NUMBER = 39;
private com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots snapshotReports_;
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public boolean hasSnapshotReports() {
return snapshotReports_ != null;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getSnapshotReports() {
return snapshotReports_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.getDefaultInstance() : snapshotReports_;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder getSnapshotReportsOrBuilder() {
return getSnapshotReports();
}
public static final int LEGACY_PRODUCT_DETAILS_FIELD_NUMBER = 40;
private com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails legacyProductDetails_;
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public boolean hasLegacyProductDetails() {
return legacyProductDetails_ != null;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getLegacyProductDetails() {
return legacyProductDetails_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.getDefaultInstance() : legacyProductDetails_;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder getLegacyProductDetailsOrBuilder() {
return getLegacyProductDetails();
}
public static final int RICH_DATA_FIELD_NUMBER = 41;
private com.vendasta.accountgroup.v1.generated.ApiProto.RichData richData_;
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public boolean hasRichData() {
return richData_ != null;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData getRichData() {
return richData_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDefaultInstance() : richData_;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder getRichDataOrBuilder() {
return getRichData();
}
public static final int NAP_DATA_FIELD_NUMBER = 42;
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation napData_;
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public boolean hasNapData() {
return napData_ != null;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getNapData() {
return napData_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.getDefaultInstance() : napData_;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder getNapDataOrBuilder() {
return getNapData();
}
public static final int STATUS_FIELD_NUMBER = 43;
private com.vendasta.accountgroup.v1.generated.ApiProto.Status status_;
/**
* .accountgroup.v1.Status status = 43;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Status getStatus() {
return status_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Status.getDefaultInstance() : status_;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int ON_BOARDING_STRATEGY_FIELD_NUMBER = 44;
private com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy onBoardingStrategy_;
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public boolean hasOnBoardingStrategy() {
return onBoardingStrategy_ != null;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getOnBoardingStrategy() {
return onBoardingStrategy_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.getDefaultInstance() : onBoardingStrategy_;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder getOnBoardingStrategyOrBuilder() {
return getOnBoardingStrategy();
}
public static final int HEALTH_FIELD_NUMBER = 45;
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth health_;
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public boolean hasHealth() {
return health_ != null;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getHealth() {
return health_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.getDefaultInstance() : health_;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder getHealthOrBuilder() {
return getHealth();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getAccountGroupIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountGroupId_);
}
if (!getAccountGroupResourceIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accountGroupResourceId_);
}
if (deleted_ != null) {
output.writeMessage(17, getDeleted());
}
if (created_ != null) {
output.writeMessage(18, getCreated());
}
if (updated_ != null) {
output.writeMessage(19, getUpdated());
}
if (version_ != 0L) {
output.writeInt64(24, version_);
}
if (accounts_ != null) {
output.writeMessage(30, getAccounts());
}
if (listingDistribution_ != null) {
output.writeMessage(31, getListingDistribution());
}
if (listingSyncPro_ != null) {
output.writeMessage(32, getListingSyncPro());
}
for (int i = 0; i < associations_.size(); i++) {
output.writeMessage(33, associations_.get(i));
}
if (accountGroupExternalIdentifiers_ != null) {
output.writeMessage(35, getAccountGroupExternalIdentifiers());
}
if (socialUrls_ != null) {
output.writeMessage(36, getSocialUrls());
}
if (hoursOfOperation_ != null) {
output.writeMessage(37, getHoursOfOperation());
}
if (contactDetails_ != null) {
output.writeMessage(38, getContactDetails());
}
if (snapshotReports_ != null) {
output.writeMessage(39, getSnapshotReports());
}
if (legacyProductDetails_ != null) {
output.writeMessage(40, getLegacyProductDetails());
}
if (richData_ != null) {
output.writeMessage(41, getRichData());
}
if (napData_ != null) {
output.writeMessage(42, getNapData());
}
if (status_ != null) {
output.writeMessage(43, getStatus());
}
if (onBoardingStrategy_ != null) {
output.writeMessage(44, getOnBoardingStrategy());
}
if (health_ != null) {
output.writeMessage(45, getHealth());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAccountGroupIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accountGroupId_);
}
if (!getAccountGroupResourceIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accountGroupResourceId_);
}
if (deleted_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getDeleted());
}
if (created_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getCreated());
}
if (updated_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getUpdated());
}
if (version_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(24, version_);
}
if (accounts_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, getAccounts());
}
if (listingDistribution_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, getListingDistribution());
}
if (listingSyncPro_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, getListingSyncPro());
}
for (int i = 0; i < associations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, associations_.get(i));
}
if (accountGroupExternalIdentifiers_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, getAccountGroupExternalIdentifiers());
}
if (socialUrls_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, getSocialUrls());
}
if (hoursOfOperation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, getHoursOfOperation());
}
if (contactDetails_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, getContactDetails());
}
if (snapshotReports_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, getSnapshotReports());
}
if (legacyProductDetails_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, getLegacyProductDetails());
}
if (richData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, getRichData());
}
if (napData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, getNapData());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, getStatus());
}
if (onBoardingStrategy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, getOnBoardingStrategy());
}
if (health_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, getHealth());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup other = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup) obj;
boolean result = true;
result = result && getAccountGroupId()
.equals(other.getAccountGroupId());
result = result && getAccountGroupResourceId()
.equals(other.getAccountGroupResourceId());
result = result && (hasDeleted() == other.hasDeleted());
if (hasDeleted()) {
result = result && getDeleted()
.equals(other.getDeleted());
}
result = result && (hasCreated() == other.hasCreated());
if (hasCreated()) {
result = result && getCreated()
.equals(other.getCreated());
}
result = result && (hasUpdated() == other.hasUpdated());
if (hasUpdated()) {
result = result && getUpdated()
.equals(other.getUpdated());
}
result = result && (getVersion()
== other.getVersion());
result = result && (hasAccounts() == other.hasAccounts());
if (hasAccounts()) {
result = result && getAccounts()
.equals(other.getAccounts());
}
result = result && (hasListingDistribution() == other.hasListingDistribution());
if (hasListingDistribution()) {
result = result && getListingDistribution()
.equals(other.getListingDistribution());
}
result = result && (hasListingSyncPro() == other.hasListingSyncPro());
if (hasListingSyncPro()) {
result = result && getListingSyncPro()
.equals(other.getListingSyncPro());
}
result = result && getAssociationsList()
.equals(other.getAssociationsList());
result = result && (hasAccountGroupExternalIdentifiers() == other.hasAccountGroupExternalIdentifiers());
if (hasAccountGroupExternalIdentifiers()) {
result = result && getAccountGroupExternalIdentifiers()
.equals(other.getAccountGroupExternalIdentifiers());
}
result = result && (hasSocialUrls() == other.hasSocialUrls());
if (hasSocialUrls()) {
result = result && getSocialUrls()
.equals(other.getSocialUrls());
}
result = result && (hasHoursOfOperation() == other.hasHoursOfOperation());
if (hasHoursOfOperation()) {
result = result && getHoursOfOperation()
.equals(other.getHoursOfOperation());
}
result = result && (hasContactDetails() == other.hasContactDetails());
if (hasContactDetails()) {
result = result && getContactDetails()
.equals(other.getContactDetails());
}
result = result && (hasSnapshotReports() == other.hasSnapshotReports());
if (hasSnapshotReports()) {
result = result && getSnapshotReports()
.equals(other.getSnapshotReports());
}
result = result && (hasLegacyProductDetails() == other.hasLegacyProductDetails());
if (hasLegacyProductDetails()) {
result = result && getLegacyProductDetails()
.equals(other.getLegacyProductDetails());
}
result = result && (hasRichData() == other.hasRichData());
if (hasRichData()) {
result = result && getRichData()
.equals(other.getRichData());
}
result = result && (hasNapData() == other.hasNapData());
if (hasNapData()) {
result = result && getNapData()
.equals(other.getNapData());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && (hasOnBoardingStrategy() == other.hasOnBoardingStrategy());
if (hasOnBoardingStrategy()) {
result = result && getOnBoardingStrategy()
.equals(other.getOnBoardingStrategy());
}
result = result && (hasHealth() == other.hasHealth());
if (hasHealth()) {
result = result && getHealth()
.equals(other.getHealth());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACCOUNT_GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountGroupId().hashCode();
hash = (37 * hash) + ACCOUNT_GROUP_RESOURCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountGroupResourceId().hashCode();
if (hasDeleted()) {
hash = (37 * hash) + DELETED_FIELD_NUMBER;
hash = (53 * hash) + getDeleted().hashCode();
}
if (hasCreated()) {
hash = (37 * hash) + CREATED_FIELD_NUMBER;
hash = (53 * hash) + getCreated().hashCode();
}
if (hasUpdated()) {
hash = (37 * hash) + UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getUpdated().hashCode();
}
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVersion());
if (hasAccounts()) {
hash = (37 * hash) + ACCOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getAccounts().hashCode();
}
if (hasListingDistribution()) {
hash = (37 * hash) + LISTING_DISTRIBUTION_FIELD_NUMBER;
hash = (53 * hash) + getListingDistribution().hashCode();
}
if (hasListingSyncPro()) {
hash = (37 * hash) + LISTING_SYNC_PRO_FIELD_NUMBER;
hash = (53 * hash) + getListingSyncPro().hashCode();
}
if (getAssociationsCount() > 0) {
hash = (37 * hash) + ASSOCIATIONS_FIELD_NUMBER;
hash = (53 * hash) + getAssociationsList().hashCode();
}
if (hasAccountGroupExternalIdentifiers()) {
hash = (37 * hash) + ACCOUNT_GROUP_EXTERNAL_IDENTIFIERS_FIELD_NUMBER;
hash = (53 * hash) + getAccountGroupExternalIdentifiers().hashCode();
}
if (hasSocialUrls()) {
hash = (37 * hash) + SOCIAL_URLS_FIELD_NUMBER;
hash = (53 * hash) + getSocialUrls().hashCode();
}
if (hasHoursOfOperation()) {
hash = (37 * hash) + HOURS_OF_OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getHoursOfOperation().hashCode();
}
if (hasContactDetails()) {
hash = (37 * hash) + CONTACT_DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getContactDetails().hashCode();
}
if (hasSnapshotReports()) {
hash = (37 * hash) + SNAPSHOT_REPORTS_FIELD_NUMBER;
hash = (53 * hash) + getSnapshotReports().hashCode();
}
if (hasLegacyProductDetails()) {
hash = (37 * hash) + LEGACY_PRODUCT_DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getLegacyProductDetails().hashCode();
}
if (hasRichData()) {
hash = (37 * hash) + RICH_DATA_FIELD_NUMBER;
hash = (53 * hash) + getRichData().hashCode();
}
if (hasNapData()) {
hash = (37 * hash) + NAP_DATA_FIELD_NUMBER;
hash = (53 * hash) + getNapData().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasOnBoardingStrategy()) {
hash = (37 * hash) + ON_BOARDING_STRATEGY_FIELD_NUMBER;
hash = (53 * hash) + getOnBoardingStrategy().hashCode();
}
if (hasHealth()) {
hash = (37 * hash) + HEALTH_FIELD_NUMBER;
hash = (53 * hash) + getHealth().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup 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 com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Represents an Account Group
*
*
* Protobuf type {@code accountgroup.v1.AccountGroup}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.AccountGroup)
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroup_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.class, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAssociationsFieldBuilder();
}
}
public Builder clear() {
super.clear();
accountGroupId_ = "";
accountGroupResourceId_ = "";
if (deletedBuilder_ == null) {
deleted_ = null;
} else {
deleted_ = null;
deletedBuilder_ = null;
}
if (createdBuilder_ == null) {
created_ = null;
} else {
created_ = null;
createdBuilder_ = null;
}
if (updatedBuilder_ == null) {
updated_ = null;
} else {
updated_ = null;
updatedBuilder_ = null;
}
version_ = 0L;
if (accountsBuilder_ == null) {
accounts_ = null;
} else {
accounts_ = null;
accountsBuilder_ = null;
}
if (listingDistributionBuilder_ == null) {
listingDistribution_ = null;
} else {
listingDistribution_ = null;
listingDistributionBuilder_ = null;
}
if (listingSyncProBuilder_ == null) {
listingSyncPro_ = null;
} else {
listingSyncPro_ = null;
listingSyncProBuilder_ = null;
}
if (associationsBuilder_ == null) {
associations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
associationsBuilder_.clear();
}
if (accountGroupExternalIdentifiersBuilder_ == null) {
accountGroupExternalIdentifiers_ = null;
} else {
accountGroupExternalIdentifiers_ = null;
accountGroupExternalIdentifiersBuilder_ = null;
}
if (socialUrlsBuilder_ == null) {
socialUrls_ = null;
} else {
socialUrls_ = null;
socialUrlsBuilder_ = null;
}
if (hoursOfOperationBuilder_ == null) {
hoursOfOperation_ = null;
} else {
hoursOfOperation_ = null;
hoursOfOperationBuilder_ = null;
}
if (contactDetailsBuilder_ == null) {
contactDetails_ = null;
} else {
contactDetails_ = null;
contactDetailsBuilder_ = null;
}
if (snapshotReportsBuilder_ == null) {
snapshotReports_ = null;
} else {
snapshotReports_ = null;
snapshotReportsBuilder_ = null;
}
if (legacyProductDetailsBuilder_ == null) {
legacyProductDetails_ = null;
} else {
legacyProductDetails_ = null;
legacyProductDetailsBuilder_ = null;
}
if (richDataBuilder_ == null) {
richData_ = null;
} else {
richData_ = null;
richDataBuilder_ = null;
}
if (napDataBuilder_ == null) {
napData_ = null;
} else {
napData_ = null;
napDataBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (onBoardingStrategyBuilder_ == null) {
onBoardingStrategy_ = null;
} else {
onBoardingStrategy_ = null;
onBoardingStrategyBuilder_ = null;
}
if (healthBuilder_ == null) {
health_ = null;
} else {
health_ = null;
healthBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_AccountGroup_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup build() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup result = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.accountGroupId_ = accountGroupId_;
result.accountGroupResourceId_ = accountGroupResourceId_;
if (deletedBuilder_ == null) {
result.deleted_ = deleted_;
} else {
result.deleted_ = deletedBuilder_.build();
}
if (createdBuilder_ == null) {
result.created_ = created_;
} else {
result.created_ = createdBuilder_.build();
}
if (updatedBuilder_ == null) {
result.updated_ = updated_;
} else {
result.updated_ = updatedBuilder_.build();
}
result.version_ = version_;
if (accountsBuilder_ == null) {
result.accounts_ = accounts_;
} else {
result.accounts_ = accountsBuilder_.build();
}
if (listingDistributionBuilder_ == null) {
result.listingDistribution_ = listingDistribution_;
} else {
result.listingDistribution_ = listingDistributionBuilder_.build();
}
if (listingSyncProBuilder_ == null) {
result.listingSyncPro_ = listingSyncPro_;
} else {
result.listingSyncPro_ = listingSyncProBuilder_.build();
}
if (associationsBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
associations_ = java.util.Collections.unmodifiableList(associations_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.associations_ = associations_;
} else {
result.associations_ = associationsBuilder_.build();
}
if (accountGroupExternalIdentifiersBuilder_ == null) {
result.accountGroupExternalIdentifiers_ = accountGroupExternalIdentifiers_;
} else {
result.accountGroupExternalIdentifiers_ = accountGroupExternalIdentifiersBuilder_.build();
}
if (socialUrlsBuilder_ == null) {
result.socialUrls_ = socialUrls_;
} else {
result.socialUrls_ = socialUrlsBuilder_.build();
}
if (hoursOfOperationBuilder_ == null) {
result.hoursOfOperation_ = hoursOfOperation_;
} else {
result.hoursOfOperation_ = hoursOfOperationBuilder_.build();
}
if (contactDetailsBuilder_ == null) {
result.contactDetails_ = contactDetails_;
} else {
result.contactDetails_ = contactDetailsBuilder_.build();
}
if (snapshotReportsBuilder_ == null) {
result.snapshotReports_ = snapshotReports_;
} else {
result.snapshotReports_ = snapshotReportsBuilder_.build();
}
if (legacyProductDetailsBuilder_ == null) {
result.legacyProductDetails_ = legacyProductDetails_;
} else {
result.legacyProductDetails_ = legacyProductDetailsBuilder_.build();
}
if (richDataBuilder_ == null) {
result.richData_ = richData_;
} else {
result.richData_ = richDataBuilder_.build();
}
if (napDataBuilder_ == null) {
result.napData_ = napData_;
} else {
result.napData_ = napDataBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (onBoardingStrategyBuilder_ == null) {
result.onBoardingStrategy_ = onBoardingStrategy_;
} else {
result.onBoardingStrategy_ = onBoardingStrategyBuilder_.build();
}
if (healthBuilder_ == null) {
result.health_ = health_;
} else {
result.health_ = healthBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup.getDefaultInstance()) return this;
if (!other.getAccountGroupId().isEmpty()) {
accountGroupId_ = other.accountGroupId_;
onChanged();
}
if (!other.getAccountGroupResourceId().isEmpty()) {
accountGroupResourceId_ = other.accountGroupResourceId_;
onChanged();
}
if (other.hasDeleted()) {
mergeDeleted(other.getDeleted());
}
if (other.hasCreated()) {
mergeCreated(other.getCreated());
}
if (other.hasUpdated()) {
mergeUpdated(other.getUpdated());
}
if (other.getVersion() != 0L) {
setVersion(other.getVersion());
}
if (other.hasAccounts()) {
mergeAccounts(other.getAccounts());
}
if (other.hasListingDistribution()) {
mergeListingDistribution(other.getListingDistribution());
}
if (other.hasListingSyncPro()) {
mergeListingSyncPro(other.getListingSyncPro());
}
if (associationsBuilder_ == null) {
if (!other.associations_.isEmpty()) {
if (associations_.isEmpty()) {
associations_ = other.associations_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureAssociationsIsMutable();
associations_.addAll(other.associations_);
}
onChanged();
}
} else {
if (!other.associations_.isEmpty()) {
if (associationsBuilder_.isEmpty()) {
associationsBuilder_.dispose();
associationsBuilder_ = null;
associations_ = other.associations_;
bitField0_ = (bitField0_ & ~0x00000200);
associationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAssociationsFieldBuilder() : null;
} else {
associationsBuilder_.addAllMessages(other.associations_);
}
}
}
if (other.hasAccountGroupExternalIdentifiers()) {
mergeAccountGroupExternalIdentifiers(other.getAccountGroupExternalIdentifiers());
}
if (other.hasSocialUrls()) {
mergeSocialUrls(other.getSocialUrls());
}
if (other.hasHoursOfOperation()) {
mergeHoursOfOperation(other.getHoursOfOperation());
}
if (other.hasContactDetails()) {
mergeContactDetails(other.getContactDetails());
}
if (other.hasSnapshotReports()) {
mergeSnapshotReports(other.getSnapshotReports());
}
if (other.hasLegacyProductDetails()) {
mergeLegacyProductDetails(other.getLegacyProductDetails());
}
if (other.hasRichData()) {
mergeRichData(other.getRichData());
}
if (other.hasNapData()) {
mergeNapData(other.getNapData());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasOnBoardingStrategy()) {
mergeOnBoardingStrategy(other.getOnBoardingStrategy());
}
if (other.hasHealth()) {
mergeHealth(other.getHealth());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object accountGroupId_ = "";
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public java.lang.String getAccountGroupId() {
java.lang.Object ref = accountGroupId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountGroupId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public com.google.protobuf.ByteString
getAccountGroupIdBytes() {
java.lang.Object ref = accountGroupId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public Builder setAccountGroupId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountGroupId_ = value;
onChanged();
return this;
}
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public Builder clearAccountGroupId() {
accountGroupId_ = getDefaultInstance().getAccountGroupId();
onChanged();
return this;
}
/**
*
* An account group id in the format AG-123
*
*
* string account_group_id = 1;
*/
public Builder setAccountGroupIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountGroupId_ = value;
onChanged();
return this;
}
private java.lang.Object accountGroupResourceId_ = "";
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public java.lang.String getAccountGroupResourceId() {
java.lang.Object ref = accountGroupResourceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountGroupResourceId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public com.google.protobuf.ByteString
getAccountGroupResourceIdBytes() {
java.lang.Object ref = accountGroupResourceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupResourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public Builder setAccountGroupResourceId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountGroupResourceId_ = value;
onChanged();
return this;
}
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public Builder clearAccountGroupResourceId() {
accountGroupResourceId_ = getDefaultInstance().getAccountGroupResourceId();
onChanged();
return this;
}
/**
*
* A full qualified identifier in the format partner/ABC/accountGroup/AG-123
*
*
* string account_group_resource_id = 2;
*/
public Builder setAccountGroupResourceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountGroupResourceId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp deleted_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deletedBuilder_;
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public boolean hasDeleted() {
return deletedBuilder_ != null || deleted_ != null;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public com.google.protobuf.Timestamp getDeleted() {
if (deletedBuilder_ == null) {
return deleted_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleted_;
} else {
return deletedBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public Builder setDeleted(com.google.protobuf.Timestamp value) {
if (deletedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deleted_ = value;
onChanged();
} else {
deletedBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public Builder setDeleted(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (deletedBuilder_ == null) {
deleted_ = builderForValue.build();
onChanged();
} else {
deletedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public Builder mergeDeleted(com.google.protobuf.Timestamp value) {
if (deletedBuilder_ == null) {
if (deleted_ != null) {
deleted_ =
com.google.protobuf.Timestamp.newBuilder(deleted_).mergeFrom(value).buildPartial();
} else {
deleted_ = value;
}
onChanged();
} else {
deletedBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public Builder clearDeleted() {
if (deletedBuilder_ == null) {
deleted_ = null;
onChanged();
} else {
deleted_ = null;
deletedBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public com.google.protobuf.Timestamp.Builder getDeletedBuilder() {
onChanged();
return getDeletedFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
public com.google.protobuf.TimestampOrBuilder getDeletedOrBuilder() {
if (deletedBuilder_ != null) {
return deletedBuilder_.getMessageOrBuilder();
} else {
return deleted_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : deleted_;
}
}
/**
* .google.protobuf.Timestamp deleted = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getDeletedFieldBuilder() {
if (deletedBuilder_ == null) {
deletedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getDeleted(),
getParentForChildren(),
isClean());
deleted_ = null;
}
return deletedBuilder_;
}
private com.google.protobuf.Timestamp created_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_;
/**
* .google.protobuf.Timestamp created = 18;
*/
public boolean hasCreated() {
return createdBuilder_ != null || created_ != null;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.Timestamp getCreated() {
if (createdBuilder_ == null) {
return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;
} else {
return createdBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public Builder setCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
created_ = value;
onChanged();
} else {
createdBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public Builder setCreated(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdBuilder_ == null) {
created_ = builderForValue.build();
onChanged();
} else {
createdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public Builder mergeCreated(com.google.protobuf.Timestamp value) {
if (createdBuilder_ == null) {
if (created_ != null) {
created_ =
com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial();
} else {
created_ = value;
}
onChanged();
} else {
createdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public Builder clearCreated() {
if (createdBuilder_ == null) {
created_ = null;
onChanged();
} else {
created_ = null;
createdBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.Timestamp.Builder getCreatedBuilder() {
onChanged();
return getCreatedFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp created = 18;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {
if (createdBuilder_ != null) {
return createdBuilder_.getMessageOrBuilder();
} else {
return created_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : created_;
}
}
/**
* .google.protobuf.Timestamp created = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedFieldBuilder() {
if (createdBuilder_ == null) {
createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreated(),
getParentForChildren(),
isClean());
created_ = null;
}
return createdBuilder_;
}
private com.google.protobuf.Timestamp updated_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_;
/**
* .google.protobuf.Timestamp updated = 19;
*/
public boolean hasUpdated() {
return updatedBuilder_ != null || updated_ != null;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public com.google.protobuf.Timestamp getUpdated() {
if (updatedBuilder_ == null) {
return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_;
} else {
return updatedBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public Builder setUpdated(com.google.protobuf.Timestamp value) {
if (updatedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updated_ = value;
onChanged();
} else {
updatedBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public Builder setUpdated(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (updatedBuilder_ == null) {
updated_ = builderForValue.build();
onChanged();
} else {
updatedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public Builder mergeUpdated(com.google.protobuf.Timestamp value) {
if (updatedBuilder_ == null) {
if (updated_ != null) {
updated_ =
com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial();
} else {
updated_ = value;
}
onChanged();
} else {
updatedBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public Builder clearUpdated() {
if (updatedBuilder_ == null) {
updated_ = null;
onChanged();
} else {
updated_ = null;
updatedBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() {
onChanged();
return getUpdatedFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() {
if (updatedBuilder_ != null) {
return updatedBuilder_.getMessageOrBuilder();
} else {
return updated_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : updated_;
}
}
/**
* .google.protobuf.Timestamp updated = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getUpdatedFieldBuilder() {
if (updatedBuilder_ == null) {
updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getUpdated(),
getParentForChildren(),
isClean());
updated_ = null;
}
return updatedBuilder_;
}
private long version_ ;
/**
* int64 version = 24;
*/
public long getVersion() {
return version_;
}
/**
* int64 version = 24;
*/
public Builder setVersion(long value) {
version_ = value;
onChanged();
return this;
}
/**
* int64 version = 24;
*/
public Builder clearVersion() {
version_ = 0L;
onChanged();
return this;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.Accounts accounts_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts, com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder> accountsBuilder_;
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public boolean hasAccounts() {
return accountsBuilder_ != null || accounts_ != null;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts getAccounts() {
if (accountsBuilder_ == null) {
return accounts_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.getDefaultInstance() : accounts_;
} else {
return accountsBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public Builder setAccounts(com.vendasta.accountgroup.v1.generated.ApiProto.Accounts value) {
if (accountsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
accounts_ = value;
onChanged();
} else {
accountsBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public Builder setAccounts(
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder builderForValue) {
if (accountsBuilder_ == null) {
accounts_ = builderForValue.build();
onChanged();
} else {
accountsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public Builder mergeAccounts(com.vendasta.accountgroup.v1.generated.ApiProto.Accounts value) {
if (accountsBuilder_ == null) {
if (accounts_ != null) {
accounts_ =
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.newBuilder(accounts_).mergeFrom(value).buildPartial();
} else {
accounts_ = value;
}
onChanged();
} else {
accountsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public Builder clearAccounts() {
if (accountsBuilder_ == null) {
accounts_ = null;
onChanged();
} else {
accounts_ = null;
accountsBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder getAccountsBuilder() {
onChanged();
return getAccountsFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder getAccountsOrBuilder() {
if (accountsBuilder_ != null) {
return accountsBuilder_.getMessageOrBuilder();
} else {
return accounts_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.getDefaultInstance() : accounts_;
}
}
/**
* .accountgroup.v1.Accounts accounts = 30;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts, com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder>
getAccountsFieldBuilder() {
if (accountsBuilder_ == null) {
accountsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Accounts, com.vendasta.accountgroup.v1.generated.ApiProto.Accounts.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountsOrBuilder>(
getAccounts(),
getParentForChildren(),
isClean());
accounts_ = null;
}
return accountsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails listingDistribution_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder> listingDistributionBuilder_;
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public boolean hasListingDistribution() {
return listingDistributionBuilder_ != null || listingDistribution_ != null;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails getListingDistribution() {
if (listingDistributionBuilder_ == null) {
return listingDistribution_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.getDefaultInstance() : listingDistribution_;
} else {
return listingDistributionBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public Builder setListingDistribution(com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails value) {
if (listingDistributionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
listingDistribution_ = value;
onChanged();
} else {
listingDistributionBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public Builder setListingDistribution(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder builderForValue) {
if (listingDistributionBuilder_ == null) {
listingDistribution_ = builderForValue.build();
onChanged();
} else {
listingDistributionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public Builder mergeListingDistribution(com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails value) {
if (listingDistributionBuilder_ == null) {
if (listingDistribution_ != null) {
listingDistribution_ =
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.newBuilder(listingDistribution_).mergeFrom(value).buildPartial();
} else {
listingDistribution_ = value;
}
onChanged();
} else {
listingDistributionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public Builder clearListingDistribution() {
if (listingDistributionBuilder_ == null) {
listingDistribution_ = null;
onChanged();
} else {
listingDistribution_ = null;
listingDistributionBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder getListingDistributionBuilder() {
onChanged();
return getListingDistributionFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder getListingDistributionOrBuilder() {
if (listingDistributionBuilder_ != null) {
return listingDistributionBuilder_.getMessageOrBuilder();
} else {
return listingDistribution_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.getDefaultInstance() : listingDistribution_;
}
}
/**
* .accountgroup.v1.ListingDistributionDetails listing_distribution = 31;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder>
getListingDistributionFieldBuilder() {
if (listingDistributionBuilder_ == null) {
listingDistributionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingDistributionDetailsOrBuilder>(
getListingDistribution(),
getParentForChildren(),
isClean());
listingDistribution_ = null;
}
return listingDistributionBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro listingSyncPro_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder> listingSyncProBuilder_;
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public boolean hasListingSyncPro() {
return listingSyncProBuilder_ != null || listingSyncPro_ != null;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro getListingSyncPro() {
if (listingSyncProBuilder_ == null) {
return listingSyncPro_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDefaultInstance() : listingSyncPro_;
} else {
return listingSyncProBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public Builder setListingSyncPro(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro value) {
if (listingSyncProBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
listingSyncPro_ = value;
onChanged();
} else {
listingSyncProBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public Builder setListingSyncPro(
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder builderForValue) {
if (listingSyncProBuilder_ == null) {
listingSyncPro_ = builderForValue.build();
onChanged();
} else {
listingSyncProBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public Builder mergeListingSyncPro(com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro value) {
if (listingSyncProBuilder_ == null) {
if (listingSyncPro_ != null) {
listingSyncPro_ =
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.newBuilder(listingSyncPro_).mergeFrom(value).buildPartial();
} else {
listingSyncPro_ = value;
}
onChanged();
} else {
listingSyncProBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public Builder clearListingSyncPro() {
if (listingSyncProBuilder_ == null) {
listingSyncPro_ = null;
onChanged();
} else {
listingSyncPro_ = null;
listingSyncProBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder getListingSyncProBuilder() {
onChanged();
return getListingSyncProFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder getListingSyncProOrBuilder() {
if (listingSyncProBuilder_ != null) {
return listingSyncProBuilder_.getMessageOrBuilder();
} else {
return listingSyncPro_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.getDefaultInstance() : listingSyncPro_;
}
}
/**
* .accountgroup.v1.ListingSyncPro listing_sync_pro = 32;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder>
getListingSyncProFieldBuilder() {
if (listingSyncProBuilder_ == null) {
listingSyncProBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncPro.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ListingSyncProOrBuilder>(
getListingSyncPro(),
getParentForChildren(),
isClean());
listingSyncPro_ = null;
}
return listingSyncProBuilder_;
}
private java.util.List associations_ =
java.util.Collections.emptyList();
private void ensureAssociationsIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
associations_ = new java.util.ArrayList(associations_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Association, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder> associationsBuilder_;
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public java.util.List getAssociationsList() {
if (associationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(associations_);
} else {
return associationsBuilder_.getMessageList();
}
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public int getAssociationsCount() {
if (associationsBuilder_ == null) {
return associations_.size();
} else {
return associationsBuilder_.getCount();
}
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Association getAssociations(int index) {
if (associationsBuilder_ == null) {
return associations_.get(index);
} else {
return associationsBuilder_.getMessage(index);
}
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder setAssociations(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Association value) {
if (associationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAssociationsIsMutable();
associations_.set(index, value);
onChanged();
} else {
associationsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder setAssociations(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder builderForValue) {
if (associationsBuilder_ == null) {
ensureAssociationsIsMutable();
associations_.set(index, builderForValue.build());
onChanged();
} else {
associationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder addAssociations(com.vendasta.accountgroup.v1.generated.ApiProto.Association value) {
if (associationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAssociationsIsMutable();
associations_.add(value);
onChanged();
} else {
associationsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder addAssociations(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Association value) {
if (associationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAssociationsIsMutable();
associations_.add(index, value);
onChanged();
} else {
associationsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder addAssociations(
com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder builderForValue) {
if (associationsBuilder_ == null) {
ensureAssociationsIsMutable();
associations_.add(builderForValue.build());
onChanged();
} else {
associationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder addAssociations(
int index, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder builderForValue) {
if (associationsBuilder_ == null) {
ensureAssociationsIsMutable();
associations_.add(index, builderForValue.build());
onChanged();
} else {
associationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder addAllAssociations(
java.lang.Iterable extends com.vendasta.accountgroup.v1.generated.ApiProto.Association> values) {
if (associationsBuilder_ == null) {
ensureAssociationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, associations_);
onChanged();
} else {
associationsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder clearAssociations() {
if (associationsBuilder_ == null) {
associations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
associationsBuilder_.clear();
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public Builder removeAssociations(int index) {
if (associationsBuilder_ == null) {
ensureAssociationsIsMutable();
associations_.remove(index);
onChanged();
} else {
associationsBuilder_.remove(index);
}
return this;
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder getAssociationsBuilder(
int index) {
return getAssociationsFieldBuilder().getBuilder(index);
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder getAssociationsOrBuilder(
int index) {
if (associationsBuilder_ == null) {
return associations_.get(index); } else {
return associationsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder>
getAssociationsOrBuilderList() {
if (associationsBuilder_ != null) {
return associationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(associations_);
}
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder addAssociationsBuilder() {
return getAssociationsFieldBuilder().addBuilder(
com.vendasta.accountgroup.v1.generated.ApiProto.Association.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder addAssociationsBuilder(
int index) {
return getAssociationsFieldBuilder().addBuilder(
index, com.vendasta.accountgroup.v1.generated.ApiProto.Association.getDefaultInstance());
}
/**
* repeated .accountgroup.v1.Association associations = 33;
*/
public java.util.List
getAssociationsBuilderList() {
return getAssociationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Association, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder>
getAssociationsFieldBuilder() {
if (associationsBuilder_ == null) {
associationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Association, com.vendasta.accountgroup.v1.generated.ApiProto.Association.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AssociationOrBuilder>(
associations_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
associations_ = null;
}
return associationsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers accountGroupExternalIdentifiers_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder> accountGroupExternalIdentifiersBuilder_;
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public boolean hasAccountGroupExternalIdentifiers() {
return accountGroupExternalIdentifiersBuilder_ != null || accountGroupExternalIdentifiers_ != null;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers getAccountGroupExternalIdentifiers() {
if (accountGroupExternalIdentifiersBuilder_ == null) {
return accountGroupExternalIdentifiers_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.getDefaultInstance() : accountGroupExternalIdentifiers_;
} else {
return accountGroupExternalIdentifiersBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public Builder setAccountGroupExternalIdentifiers(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers value) {
if (accountGroupExternalIdentifiersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
accountGroupExternalIdentifiers_ = value;
onChanged();
} else {
accountGroupExternalIdentifiersBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public Builder setAccountGroupExternalIdentifiers(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder builderForValue) {
if (accountGroupExternalIdentifiersBuilder_ == null) {
accountGroupExternalIdentifiers_ = builderForValue.build();
onChanged();
} else {
accountGroupExternalIdentifiersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public Builder mergeAccountGroupExternalIdentifiers(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers value) {
if (accountGroupExternalIdentifiersBuilder_ == null) {
if (accountGroupExternalIdentifiers_ != null) {
accountGroupExternalIdentifiers_ =
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.newBuilder(accountGroupExternalIdentifiers_).mergeFrom(value).buildPartial();
} else {
accountGroupExternalIdentifiers_ = value;
}
onChanged();
} else {
accountGroupExternalIdentifiersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public Builder clearAccountGroupExternalIdentifiers() {
if (accountGroupExternalIdentifiersBuilder_ == null) {
accountGroupExternalIdentifiers_ = null;
onChanged();
} else {
accountGroupExternalIdentifiers_ = null;
accountGroupExternalIdentifiersBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder getAccountGroupExternalIdentifiersBuilder() {
onChanged();
return getAccountGroupExternalIdentifiersFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder getAccountGroupExternalIdentifiersOrBuilder() {
if (accountGroupExternalIdentifiersBuilder_ != null) {
return accountGroupExternalIdentifiersBuilder_.getMessageOrBuilder();
} else {
return accountGroupExternalIdentifiers_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.getDefaultInstance() : accountGroupExternalIdentifiers_;
}
}
/**
* .accountgroup.v1.AccountGroupExternalIdentifiers account_group_external_identifiers = 35;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder>
getAccountGroupExternalIdentifiersFieldBuilder() {
if (accountGroupExternalIdentifiersBuilder_ == null) {
accountGroupExternalIdentifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiers.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupExternalIdentifiersOrBuilder>(
getAccountGroupExternalIdentifiers(),
getParentForChildren(),
isClean());
accountGroupExternalIdentifiers_ = null;
}
return accountGroupExternalIdentifiersBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs socialUrls_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder> socialUrlsBuilder_;
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public boolean hasSocialUrls() {
return socialUrlsBuilder_ != null || socialUrls_ != null;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs getSocialUrls() {
if (socialUrlsBuilder_ == null) {
return socialUrls_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.getDefaultInstance() : socialUrls_;
} else {
return socialUrlsBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public Builder setSocialUrls(com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs value) {
if (socialUrlsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
socialUrls_ = value;
onChanged();
} else {
socialUrlsBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public Builder setSocialUrls(
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder builderForValue) {
if (socialUrlsBuilder_ == null) {
socialUrls_ = builderForValue.build();
onChanged();
} else {
socialUrlsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public Builder mergeSocialUrls(com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs value) {
if (socialUrlsBuilder_ == null) {
if (socialUrls_ != null) {
socialUrls_ =
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.newBuilder(socialUrls_).mergeFrom(value).buildPartial();
} else {
socialUrls_ = value;
}
onChanged();
} else {
socialUrlsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public Builder clearSocialUrls() {
if (socialUrlsBuilder_ == null) {
socialUrls_ = null;
onChanged();
} else {
socialUrls_ = null;
socialUrlsBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder getSocialUrlsBuilder() {
onChanged();
return getSocialUrlsFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder getSocialUrlsOrBuilder() {
if (socialUrlsBuilder_ != null) {
return socialUrlsBuilder_.getMessageOrBuilder();
} else {
return socialUrls_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.getDefaultInstance() : socialUrls_;
}
}
/**
* .accountgroup.v1.SocialURLs social_urls = 36;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder>
getSocialUrlsFieldBuilder() {
if (socialUrlsBuilder_ == null) {
socialUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLs.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SocialURLsOrBuilder>(
getSocialUrls(),
getParentForChildren(),
isClean());
socialUrls_ = null;
}
return socialUrlsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation hoursOfOperation_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder> hoursOfOperationBuilder_;
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public boolean hasHoursOfOperation() {
return hoursOfOperationBuilder_ != null || hoursOfOperation_ != null;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation getHoursOfOperation() {
if (hoursOfOperationBuilder_ == null) {
return hoursOfOperation_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.getDefaultInstance() : hoursOfOperation_;
} else {
return hoursOfOperationBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public Builder setHoursOfOperation(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation value) {
if (hoursOfOperationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hoursOfOperation_ = value;
onChanged();
} else {
hoursOfOperationBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public Builder setHoursOfOperation(
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder builderForValue) {
if (hoursOfOperationBuilder_ == null) {
hoursOfOperation_ = builderForValue.build();
onChanged();
} else {
hoursOfOperationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public Builder mergeHoursOfOperation(com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation value) {
if (hoursOfOperationBuilder_ == null) {
if (hoursOfOperation_ != null) {
hoursOfOperation_ =
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.newBuilder(hoursOfOperation_).mergeFrom(value).buildPartial();
} else {
hoursOfOperation_ = value;
}
onChanged();
} else {
hoursOfOperationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public Builder clearHoursOfOperation() {
if (hoursOfOperationBuilder_ == null) {
hoursOfOperation_ = null;
onChanged();
} else {
hoursOfOperation_ = null;
hoursOfOperationBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder getHoursOfOperationBuilder() {
onChanged();
return getHoursOfOperationFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder getHoursOfOperationOrBuilder() {
if (hoursOfOperationBuilder_ != null) {
return hoursOfOperationBuilder_.getMessageOrBuilder();
} else {
return hoursOfOperation_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.getDefaultInstance() : hoursOfOperation_;
}
}
/**
* .accountgroup.v1.HoursOfOperation hours_of_operation = 37;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder>
getHoursOfOperationFieldBuilder() {
if (hoursOfOperationBuilder_ == null) {
hoursOfOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.HoursOfOperationOrBuilder>(
getHoursOfOperation(),
getParentForChildren(),
isClean());
hoursOfOperation_ = null;
}
return hoursOfOperationBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails contactDetails_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder> contactDetailsBuilder_;
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public boolean hasContactDetails() {
return contactDetailsBuilder_ != null || contactDetails_ != null;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails getContactDetails() {
if (contactDetailsBuilder_ == null) {
return contactDetails_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.getDefaultInstance() : contactDetails_;
} else {
return contactDetailsBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public Builder setContactDetails(com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails value) {
if (contactDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contactDetails_ = value;
onChanged();
} else {
contactDetailsBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public Builder setContactDetails(
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder builderForValue) {
if (contactDetailsBuilder_ == null) {
contactDetails_ = builderForValue.build();
onChanged();
} else {
contactDetailsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public Builder mergeContactDetails(com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails value) {
if (contactDetailsBuilder_ == null) {
if (contactDetails_ != null) {
contactDetails_ =
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.newBuilder(contactDetails_).mergeFrom(value).buildPartial();
} else {
contactDetails_ = value;
}
onChanged();
} else {
contactDetailsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public Builder clearContactDetails() {
if (contactDetailsBuilder_ == null) {
contactDetails_ = null;
onChanged();
} else {
contactDetails_ = null;
contactDetailsBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder getContactDetailsBuilder() {
onChanged();
return getContactDetailsFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder getContactDetailsOrBuilder() {
if (contactDetailsBuilder_ != null) {
return contactDetailsBuilder_.getMessageOrBuilder();
} else {
return contactDetails_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.getDefaultInstance() : contactDetails_;
}
}
/**
* .accountgroup.v1.ContactDetails contact_details = 38;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder>
getContactDetailsFieldBuilder() {
if (contactDetailsBuilder_ == null) {
contactDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.ContactDetailsOrBuilder>(
getContactDetails(),
getParentForChildren(),
isClean());
contactDetails_ = null;
}
return contactDetailsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots snapshotReports_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder> snapshotReportsBuilder_;
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public boolean hasSnapshotReports() {
return snapshotReportsBuilder_ != null || snapshotReports_ != null;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots getSnapshotReports() {
if (snapshotReportsBuilder_ == null) {
return snapshotReports_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.getDefaultInstance() : snapshotReports_;
} else {
return snapshotReportsBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public Builder setSnapshotReports(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots value) {
if (snapshotReportsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snapshotReports_ = value;
onChanged();
} else {
snapshotReportsBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public Builder setSnapshotReports(
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder builderForValue) {
if (snapshotReportsBuilder_ == null) {
snapshotReports_ = builderForValue.build();
onChanged();
} else {
snapshotReportsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public Builder mergeSnapshotReports(com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots value) {
if (snapshotReportsBuilder_ == null) {
if (snapshotReports_ != null) {
snapshotReports_ =
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.newBuilder(snapshotReports_).mergeFrom(value).buildPartial();
} else {
snapshotReports_ = value;
}
onChanged();
} else {
snapshotReportsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public Builder clearSnapshotReports() {
if (snapshotReportsBuilder_ == null) {
snapshotReports_ = null;
onChanged();
} else {
snapshotReports_ = null;
snapshotReportsBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder getSnapshotReportsBuilder() {
onChanged();
return getSnapshotReportsFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder getSnapshotReportsOrBuilder() {
if (snapshotReportsBuilder_ != null) {
return snapshotReportsBuilder_.getMessageOrBuilder();
} else {
return snapshotReports_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.getDefaultInstance() : snapshotReports_;
}
}
/**
* .accountgroup.v1.Snapshots snapshot_reports = 39;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder>
getSnapshotReportsFieldBuilder() {
if (snapshotReportsBuilder_ == null) {
snapshotReportsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots, com.vendasta.accountgroup.v1.generated.ApiProto.Snapshots.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.SnapshotsOrBuilder>(
getSnapshotReports(),
getParentForChildren(),
isClean());
snapshotReports_ = null;
}
return snapshotReportsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails legacyProductDetails_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder> legacyProductDetailsBuilder_;
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public boolean hasLegacyProductDetails() {
return legacyProductDetailsBuilder_ != null || legacyProductDetails_ != null;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails getLegacyProductDetails() {
if (legacyProductDetailsBuilder_ == null) {
return legacyProductDetails_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.getDefaultInstance() : legacyProductDetails_;
} else {
return legacyProductDetailsBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public Builder setLegacyProductDetails(com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails value) {
if (legacyProductDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
legacyProductDetails_ = value;
onChanged();
} else {
legacyProductDetailsBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public Builder setLegacyProductDetails(
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder builderForValue) {
if (legacyProductDetailsBuilder_ == null) {
legacyProductDetails_ = builderForValue.build();
onChanged();
} else {
legacyProductDetailsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public Builder mergeLegacyProductDetails(com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails value) {
if (legacyProductDetailsBuilder_ == null) {
if (legacyProductDetails_ != null) {
legacyProductDetails_ =
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.newBuilder(legacyProductDetails_).mergeFrom(value).buildPartial();
} else {
legacyProductDetails_ = value;
}
onChanged();
} else {
legacyProductDetailsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public Builder clearLegacyProductDetails() {
if (legacyProductDetailsBuilder_ == null) {
legacyProductDetails_ = null;
onChanged();
} else {
legacyProductDetails_ = null;
legacyProductDetailsBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder getLegacyProductDetailsBuilder() {
onChanged();
return getLegacyProductDetailsFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder getLegacyProductDetailsOrBuilder() {
if (legacyProductDetailsBuilder_ != null) {
return legacyProductDetailsBuilder_.getMessageOrBuilder();
} else {
return legacyProductDetails_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.getDefaultInstance() : legacyProductDetails_;
}
}
/**
* .accountgroup.v1.LegacyProductDetails legacy_product_details = 40;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder>
getLegacyProductDetailsFieldBuilder() {
if (legacyProductDetailsBuilder_ == null) {
legacyProductDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetails.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.LegacyProductDetailsOrBuilder>(
getLegacyProductDetails(),
getParentForChildren(),
isClean());
legacyProductDetails_ = null;
}
return legacyProductDetailsBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.RichData richData_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.RichData, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder> richDataBuilder_;
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public boolean hasRichData() {
return richDataBuilder_ != null || richData_ != null;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData getRichData() {
if (richDataBuilder_ == null) {
return richData_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDefaultInstance() : richData_;
} else {
return richDataBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public Builder setRichData(com.vendasta.accountgroup.v1.generated.ApiProto.RichData value) {
if (richDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
richData_ = value;
onChanged();
} else {
richDataBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public Builder setRichData(
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder builderForValue) {
if (richDataBuilder_ == null) {
richData_ = builderForValue.build();
onChanged();
} else {
richDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public Builder mergeRichData(com.vendasta.accountgroup.v1.generated.ApiProto.RichData value) {
if (richDataBuilder_ == null) {
if (richData_ != null) {
richData_ =
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.newBuilder(richData_).mergeFrom(value).buildPartial();
} else {
richData_ = value;
}
onChanged();
} else {
richDataBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public Builder clearRichData() {
if (richDataBuilder_ == null) {
richData_ = null;
onChanged();
} else {
richData_ = null;
richDataBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder getRichDataBuilder() {
onChanged();
return getRichDataFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder getRichDataOrBuilder() {
if (richDataBuilder_ != null) {
return richDataBuilder_.getMessageOrBuilder();
} else {
return richData_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.RichData.getDefaultInstance() : richData_;
}
}
/**
* .accountgroup.v1.RichData rich_data = 41;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.RichData, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder>
getRichDataFieldBuilder() {
if (richDataBuilder_ == null) {
richDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.RichData, com.vendasta.accountgroup.v1.generated.ApiProto.RichData.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.RichDataOrBuilder>(
getRichData(),
getParentForChildren(),
isClean());
richData_ = null;
}
return richDataBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation napData_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder> napDataBuilder_;
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public boolean hasNapData() {
return napDataBuilder_ != null || napData_ != null;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation getNapData() {
if (napDataBuilder_ == null) {
return napData_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.getDefaultInstance() : napData_;
} else {
return napDataBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public Builder setNapData(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation value) {
if (napDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
napData_ = value;
onChanged();
} else {
napDataBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public Builder setNapData(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder builderForValue) {
if (napDataBuilder_ == null) {
napData_ = builderForValue.build();
onChanged();
} else {
napDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public Builder mergeNapData(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation value) {
if (napDataBuilder_ == null) {
if (napData_ != null) {
napData_ =
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.newBuilder(napData_).mergeFrom(value).buildPartial();
} else {
napData_ = value;
}
onChanged();
} else {
napDataBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public Builder clearNapData() {
if (napDataBuilder_ == null) {
napData_ = null;
onChanged();
} else {
napData_ = null;
napDataBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder getNapDataBuilder() {
onChanged();
return getNapDataFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder getNapDataOrBuilder() {
if (napDataBuilder_ != null) {
return napDataBuilder_.getMessageOrBuilder();
} else {
return napData_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.getDefaultInstance() : napData_;
}
}
/**
* .accountgroup.v1.AccountGroupLocation nap_data = 42;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder>
getNapDataFieldBuilder() {
if (napDataBuilder_ == null) {
napDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocation.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupLocationOrBuilder>(
getNapData(),
getParentForChildren(),
isClean());
napData_ = null;
}
return napDataBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Status, com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder> statusBuilder_;
/**
* .accountgroup.v1.Status status = 43;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.Status status = 43;
*/
public Builder setStatus(com.vendasta.accountgroup.v1.generated.ApiProto.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public Builder setStatus(
com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public Builder mergeStatus(com.vendasta.accountgroup.v1.generated.ApiProto.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
com.vendasta.accountgroup.v1.generated.ApiProto.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.Status status = 43;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.Status status = 43;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.Status.getDefaultInstance() : status_;
}
}
/**
* .accountgroup.v1.Status status = 43;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Status, com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.Status, com.vendasta.accountgroup.v1.generated.ApiProto.Status.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy onBoardingStrategy_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder> onBoardingStrategyBuilder_;
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public boolean hasOnBoardingStrategy() {
return onBoardingStrategyBuilder_ != null || onBoardingStrategy_ != null;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy getOnBoardingStrategy() {
if (onBoardingStrategyBuilder_ == null) {
return onBoardingStrategy_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.getDefaultInstance() : onBoardingStrategy_;
} else {
return onBoardingStrategyBuilder_.getMessage();
}
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder setOnBoardingStrategy(com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy value) {
if (onBoardingStrategyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
onBoardingStrategy_ = value;
onChanged();
} else {
onBoardingStrategyBuilder_.setMessage(value);
}
return this;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder setOnBoardingStrategy(
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder builderForValue) {
if (onBoardingStrategyBuilder_ == null) {
onBoardingStrategy_ = builderForValue.build();
onChanged();
} else {
onBoardingStrategyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder mergeOnBoardingStrategy(com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy value) {
if (onBoardingStrategyBuilder_ == null) {
if (onBoardingStrategy_ != null) {
onBoardingStrategy_ =
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.newBuilder(onBoardingStrategy_).mergeFrom(value).buildPartial();
} else {
onBoardingStrategy_ = value;
}
onChanged();
} else {
onBoardingStrategyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearOnBoardingStrategy() {
if (onBoardingStrategyBuilder_ == null) {
onBoardingStrategy_ = null;
onChanged();
} else {
onBoardingStrategy_ = null;
onBoardingStrategyBuilder_ = null;
}
return this;
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder getOnBoardingStrategyBuilder() {
onChanged();
return getOnBoardingStrategyFieldBuilder().getBuilder();
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder getOnBoardingStrategyOrBuilder() {
if (onBoardingStrategyBuilder_ != null) {
return onBoardingStrategyBuilder_.getMessageOrBuilder();
} else {
return onBoardingStrategy_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.getDefaultInstance() : onBoardingStrategy_;
}
}
/**
*
* Deprecated: use prospect/v1/onboarding_strategies.proto instead
*
*
* .accountgroup.v1.OnBoardingStrategy on_boarding_strategy = 44 [deprecated = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder>
getOnBoardingStrategyFieldBuilder() {
if (onBoardingStrategyBuilder_ == null) {
onBoardingStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategy.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.OnBoardingStrategyOrBuilder>(
getOnBoardingStrategy(),
getParentForChildren(),
isClean());
onBoardingStrategy_ = null;
}
return onBoardingStrategyBuilder_;
}
private com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth health_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder> healthBuilder_;
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public boolean hasHealth() {
return healthBuilder_ != null || health_ != null;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth getHealth() {
if (healthBuilder_ == null) {
return health_ == null ? com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.getDefaultInstance() : health_;
} else {
return healthBuilder_.getMessage();
}
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public Builder setHealth(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth value) {
if (healthBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
health_ = value;
onChanged();
} else {
healthBuilder_.setMessage(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public Builder setHealth(
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder builderForValue) {
if (healthBuilder_ == null) {
health_ = builderForValue.build();
onChanged();
} else {
healthBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public Builder mergeHealth(com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth value) {
if (healthBuilder_ == null) {
if (health_ != null) {
health_ =
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.newBuilder(health_).mergeFrom(value).buildPartial();
} else {
health_ = value;
}
onChanged();
} else {
healthBuilder_.mergeFrom(value);
}
return this;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public Builder clearHealth() {
if (healthBuilder_ == null) {
health_ = null;
onChanged();
} else {
health_ = null;
healthBuilder_ = null;
}
return this;
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder getHealthBuilder() {
onChanged();
return getHealthFieldBuilder().getBuilder();
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder getHealthOrBuilder() {
if (healthBuilder_ != null) {
return healthBuilder_.getMessageOrBuilder();
} else {
return health_ == null ?
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.getDefaultInstance() : health_;
}
}
/**
* .accountgroup.v1.AccountGroupHealth health = 45;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder>
getHealthFieldBuilder() {
if (healthBuilder_ == null) {
healthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealth.Builder, com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroupHealthOrBuilder>(
getHealth(),
getParentForChildren(),
isClean());
health_ = null;
}
return healthBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.AccountGroup)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.AccountGroup)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccountGroup parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccountGroup(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.AccountGroup getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListAccountsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ListAccountsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
java.lang.String getAccountGroupId();
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
com.google.protobuf.ByteString
getAccountGroupIdBytes();
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
java.lang.String getCursor();
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
com.google.protobuf.ByteString
getCursorBytes();
/**
*
* the number of results to retrieve, max size is 10.
*
*
* int64 page_size = 3;
*/
long getPageSize();
}
/**
*
* Request to retrieve an account group object
*
*
* Protobuf type {@code accountgroup.v1.ListAccountsRequest}
*/
public static final class ListAccountsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ListAccountsRequest)
ListAccountsRequestOrBuilder {
// Use ListAccountsRequest.newBuilder() to construct.
private ListAccountsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListAccountsRequest() {
accountGroupId_ = "";
cursor_ = "";
pageSize_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ListAccountsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
accountGroupId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cursor_ = s;
break;
}
case 24: {
pageSize_ = input.readInt64();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.Builder.class);
}
public static final int ACCOUNT_GROUP_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object accountGroupId_;
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public java.lang.String getAccountGroupId() {
java.lang.Object ref = accountGroupId_;
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();
accountGroupId_ = s;
return s;
}
}
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public com.google.protobuf.ByteString
getAccountGroupIdBytes() {
java.lang.Object ref = accountGroupId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CURSOR_FIELD_NUMBER = 2;
private volatile java.lang.Object cursor_;
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public java.lang.String getCursor() {
java.lang.Object ref = cursor_;
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();
cursor_ = s;
return s;
}
}
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public com.google.protobuf.ByteString
getCursorBytes() {
java.lang.Object ref = cursor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cursor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAGE_SIZE_FIELD_NUMBER = 3;
private long pageSize_;
/**
*
* the number of results to retrieve, max size is 10.
*
*
* int64 page_size = 3;
*/
public long getPageSize() {
return pageSize_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getAccountGroupIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountGroupId_);
}
if (!getCursorBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cursor_);
}
if (pageSize_ != 0L) {
output.writeInt64(3, pageSize_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAccountGroupIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accountGroupId_);
}
if (!getCursorBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cursor_);
}
if (pageSize_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, pageSize_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest)) {
return super.equals(obj);
}
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest other = (com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest) obj;
boolean result = true;
result = result && getAccountGroupId()
.equals(other.getAccountGroupId());
result = result && getCursor()
.equals(other.getCursor());
result = result && (getPageSize()
== other.getPageSize());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACCOUNT_GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountGroupId().hashCode();
hash = (37 * hash) + CURSOR_FIELD_NUMBER;
hash = (53 * hash) + getCursor().hashCode();
hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPageSize());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest 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 com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 account group object
*
*
* Protobuf type {@code accountgroup.v1.ListAccountsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:accountgroup.v1.ListAccountsRequest)
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.Builder.class);
}
// Construct using com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
accountGroupId_ = "";
cursor_ = "";
pageSize_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsRequest_descriptor;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest getDefaultInstanceForType() {
return com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.getDefaultInstance();
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest build() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest buildPartial() {
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest result = new com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest(this);
result.accountGroupId_ = accountGroupId_;
result.cursor_ = cursor_;
result.pageSize_ = pageSize_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest) {
return mergeFrom((com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest other) {
if (other == com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest.getDefaultInstance()) return this;
if (!other.getAccountGroupId().isEmpty()) {
accountGroupId_ = other.accountGroupId_;
onChanged();
}
if (!other.getCursor().isEmpty()) {
cursor_ = other.cursor_;
onChanged();
}
if (other.getPageSize() != 0L) {
setPageSize(other.getPageSize());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object accountGroupId_ = "";
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public java.lang.String getAccountGroupId() {
java.lang.Object ref = accountGroupId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountGroupId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public com.google.protobuf.ByteString
getAccountGroupIdBytes() {
java.lang.Object ref = accountGroupId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountGroupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public Builder setAccountGroupId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountGroupId_ = value;
onChanged();
return this;
}
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public Builder clearAccountGroupId() {
accountGroupId_ = getDefaultInstance().getAccountGroupId();
onChanged();
return this;
}
/**
*
* Account Group ID of the account group to retrieve
*
*
* string account_group_id = 1;
*/
public Builder setAccountGroupIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountGroupId_ = value;
onChanged();
return this;
}
private java.lang.Object cursor_ = "";
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public java.lang.String getCursor() {
java.lang.Object ref = cursor_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cursor_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public com.google.protobuf.ByteString
getCursorBytes() {
java.lang.Object ref = cursor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cursor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public Builder setCursor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cursor_ = value;
onChanged();
return this;
}
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public Builder clearCursor() {
cursor_ = getDefaultInstance().getCursor();
onChanged();
return this;
}
/**
*
* cursor should be supplied from the last response or ""
*
*
* string cursor = 2;
*/
public Builder setCursorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cursor_ = value;
onChanged();
return this;
}
private long pageSize_ ;
/**
*
* the number of results to retrieve, max size is 10.
*
*
* int64 page_size = 3;
*/
public long getPageSize() {
return pageSize_;
}
/**
*
* the number of results to retrieve, max size is 10.
*
*
* int64 page_size = 3;
*/
public Builder setPageSize(long value) {
pageSize_ = value;
onChanged();
return this;
}
/**
*
* the number of results to retrieve, max size is 10.
*
*
* int64 page_size = 3;
*/
public Builder clearPageSize() {
pageSize_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:accountgroup.v1.ListAccountsRequest)
}
// @@protoc_insertion_point(class_scope:accountgroup.v1.ListAccountsRequest)
private static final com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest();
}
public static com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListAccountsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListAccountsRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListAccountsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:accountgroup.v1.ListAccountsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* List of the accounts the account group has
*
*
* repeated .accountgroup.v1.Account accounts = 1;
*/
java.util.List
getAccountsList();
/**
*
* List of the accounts the account group has
*
*
* repeated .accountgroup.v1.Account accounts = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.Account getAccounts(int index);
/**
*
* List of the accounts the account group has
*
*
* repeated .accountgroup.v1.Account accounts = 1;
*/
int getAccountsCount();
/**
*
* List of the accounts the account group has
*
*
* repeated .accountgroup.v1.Account accounts = 1;
*/
java.util.List extends com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder>
getAccountsOrBuilderList();
/**
*
* List of the accounts the account group has
*
*
* repeated .accountgroup.v1.Account accounts = 1;
*/
com.vendasta.accountgroup.v1.generated.ApiProto.AccountOrBuilder getAccountsOrBuilder(
int index);
}
/**
*
* Response to a request to get the accounts for an account group
*
*
* Protobuf type {@code accountgroup.v1.ListAccountsResponse}
*/
public static final class ListAccountsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:accountgroup.v1.ListAccountsResponse)
ListAccountsResponseOrBuilder {
// Use ListAccountsResponse.newBuilder() to construct.
private ListAccountsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListAccountsResponse() {
accounts_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ListAccountsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
accounts_.add(
input.readMessage(com.vendasta.accountgroup.v1.generated.ApiProto.Account.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
accounts_ = java.util.Collections.unmodifiableList(accounts_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vendasta.accountgroup.v1.generated.ApiProto.internal_static_accountgroup_v1_ListAccountsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsResponse.class, com.vendasta.accountgroup.v1.generated.ApiProto.ListAccountsResponse.Builder.class);
}
public static final int ACCOUNTS_FIELD_NUMBER = 1;
private java.util.List