
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v10/model/occupancy.proto
package com.redhat.mercury.locationdatamanagement.v10;
public final class OccupancyOuterClass {
private OccupancyOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface OccupancyOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.locationdatamanagement.v10.Occupancy)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return Whether the customerReference field is set.
*/
boolean hasCustomerReference();
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return The customerReference.
*/
com.google.protobuf.Any getCustomerReference();
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
com.google.protobuf.AnyOrBuilder getCustomerReferenceOrBuilder();
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The locationOwnerSlashTitle.
*/
java.lang.String getLocationOwnerSlashTitle();
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The bytes for locationOwnerSlashTitle.
*/
com.google.protobuf.ByteString
getLocationOwnerSlashTitleBytes();
/**
* string LocationValue = 469648741;
* @return The locationValue.
*/
java.lang.String getLocationValue();
/**
* string LocationValue = 469648741;
* @return The bytes for locationValue.
*/
com.google.protobuf.ByteString
getLocationValueBytes();
/**
* string LocationOccupierType = 166490235;
* @return The locationOccupierType.
*/
java.lang.String getLocationOccupierType();
/**
* string LocationOccupierType = 166490235;
* @return The bytes for locationOccupierType.
*/
com.google.protobuf.ByteString
getLocationOccupierTypeBytes();
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return Whether the locationOccupierReference field is set.
*/
boolean hasLocationOccupierReference();
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return The locationOccupierReference.
*/
com.google.protobuf.Any getLocationOccupierReference();
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
com.google.protobuf.AnyOrBuilder getLocationOccupierReferenceOrBuilder();
/**
* string LocationOccupierTerms = 328765543;
* @return The locationOccupierTerms.
*/
java.lang.String getLocationOccupierTerms();
/**
* string LocationOccupierTerms = 328765543;
* @return The bytes for locationOccupierTerms.
*/
com.google.protobuf.ByteString
getLocationOccupierTermsBytes();
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return Whether the alliancePartnerReference field is set.
*/
boolean hasAlliancePartnerReference();
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return The alliancePartnerReference.
*/
com.google.protobuf.Any getAlliancePartnerReference();
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
com.google.protobuf.AnyOrBuilder getAlliancePartnerReferenceOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.locationdatamanagement.v10.Occupancy}
*/
public static final class Occupancy extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.locationdatamanagement.v10.Occupancy)
OccupancyOrBuilder {
private static final long serialVersionUID = 0L;
// Use Occupancy.newBuilder() to construct.
private Occupancy(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Occupancy() {
locationOwnerSlashTitle_ = "";
locationValue_ = "";
locationOccupierType_ = "";
locationOccupierTerms_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Occupancy();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Occupancy(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 385402754: {
com.google.protobuf.Any.Builder subBuilder = null;
if (customerReference_ != null) {
subBuilder = customerReference_.toBuilder();
}
customerReference_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(customerReference_);
customerReference_ = subBuilder.buildPartial();
}
break;
}
case 1033532738: {
java.lang.String s = input.readStringRequireUtf8();
locationOwnerSlashTitle_ = s;
break;
}
case 1331921882: {
java.lang.String s = input.readStringRequireUtf8();
locationOccupierType_ = s;
break;
}
case -1664842950: {
java.lang.String s = input.readStringRequireUtf8();
locationOccupierTerms_ = s;
break;
}
case -1286075726: {
com.google.protobuf.Any.Builder subBuilder = null;
if (locationOccupierReference_ != null) {
subBuilder = locationOccupierReference_.toBuilder();
}
locationOccupierReference_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(locationOccupierReference_);
locationOccupierReference_ = subBuilder.buildPartial();
}
break;
}
case -1226166550: {
com.google.protobuf.Any.Builder subBuilder = null;
if (alliancePartnerReference_ != null) {
subBuilder = alliancePartnerReference_.toBuilder();
}
alliancePartnerReference_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(alliancePartnerReference_);
alliancePartnerReference_ = subBuilder.buildPartial();
}
break;
}
case -537777366: {
java.lang.String s = input.readStringRequireUtf8();
locationValue_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.class, com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.Builder.class);
}
public static final int CUSTOMERREFERENCE_FIELD_NUMBER = 48175344;
private com.google.protobuf.Any customerReference_;
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return Whether the customerReference field is set.
*/
@java.lang.Override
public boolean hasCustomerReference() {
return customerReference_ != null;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return The customerReference.
*/
@java.lang.Override
public com.google.protobuf.Any getCustomerReference() {
return customerReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : customerReference_;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
@java.lang.Override
public com.google.protobuf.AnyOrBuilder getCustomerReferenceOrBuilder() {
return getCustomerReference();
}
public static final int LOCATIONOWNERSLASHTITLE_FIELD_NUMBER = 129191592;
private volatile java.lang.Object locationOwnerSlashTitle_;
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The locationOwnerSlashTitle.
*/
@java.lang.Override
public java.lang.String getLocationOwnerSlashTitle() {
java.lang.Object ref = locationOwnerSlashTitle_;
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();
locationOwnerSlashTitle_ = s;
return s;
}
}
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The bytes for locationOwnerSlashTitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationOwnerSlashTitleBytes() {
java.lang.Object ref = locationOwnerSlashTitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOwnerSlashTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATIONVALUE_FIELD_NUMBER = 469648741;
private volatile java.lang.Object locationValue_;
/**
* string LocationValue = 469648741;
* @return The locationValue.
*/
@java.lang.Override
public java.lang.String getLocationValue() {
java.lang.Object ref = locationValue_;
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();
locationValue_ = s;
return s;
}
}
/**
* string LocationValue = 469648741;
* @return The bytes for locationValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationValueBytes() {
java.lang.Object ref = locationValue_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATIONOCCUPIERTYPE_FIELD_NUMBER = 166490235;
private volatile java.lang.Object locationOccupierType_;
/**
* string LocationOccupierType = 166490235;
* @return The locationOccupierType.
*/
@java.lang.Override
public java.lang.String getLocationOccupierType() {
java.lang.Object ref = locationOccupierType_;
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();
locationOccupierType_ = s;
return s;
}
}
/**
* string LocationOccupierType = 166490235;
* @return The bytes for locationOccupierType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationOccupierTypeBytes() {
java.lang.Object ref = locationOccupierType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOccupierType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCATIONOCCUPIERREFERENCE_FIELD_NUMBER = 376111446;
private com.google.protobuf.Any locationOccupierReference_;
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return Whether the locationOccupierReference field is set.
*/
@java.lang.Override
public boolean hasLocationOccupierReference() {
return locationOccupierReference_ != null;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return The locationOccupierReference.
*/
@java.lang.Override
public com.google.protobuf.Any getLocationOccupierReference() {
return locationOccupierReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : locationOccupierReference_;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
@java.lang.Override
public com.google.protobuf.AnyOrBuilder getLocationOccupierReferenceOrBuilder() {
return getLocationOccupierReference();
}
public static final int LOCATIONOCCUPIERTERMS_FIELD_NUMBER = 328765543;
private volatile java.lang.Object locationOccupierTerms_;
/**
* string LocationOccupierTerms = 328765543;
* @return The locationOccupierTerms.
*/
@java.lang.Override
public java.lang.String getLocationOccupierTerms() {
java.lang.Object ref = locationOccupierTerms_;
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();
locationOccupierTerms_ = s;
return s;
}
}
/**
* string LocationOccupierTerms = 328765543;
* @return The bytes for locationOccupierTerms.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocationOccupierTermsBytes() {
java.lang.Object ref = locationOccupierTerms_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOccupierTerms_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ALLIANCEPARTNERREFERENCE_FIELD_NUMBER = 383600093;
private com.google.protobuf.Any alliancePartnerReference_;
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return Whether the alliancePartnerReference field is set.
*/
@java.lang.Override
public boolean hasAlliancePartnerReference() {
return alliancePartnerReference_ != null;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return The alliancePartnerReference.
*/
@java.lang.Override
public com.google.protobuf.Any getAlliancePartnerReference() {
return alliancePartnerReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : alliancePartnerReference_;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
@java.lang.Override
public com.google.protobuf.AnyOrBuilder getAlliancePartnerReferenceOrBuilder() {
return getAlliancePartnerReference();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (customerReference_ != null) {
output.writeMessage(48175344, getCustomerReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOwnerSlashTitle_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 129191592, locationOwnerSlashTitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOccupierType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 166490235, locationOccupierType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOccupierTerms_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 328765543, locationOccupierTerms_);
}
if (locationOccupierReference_ != null) {
output.writeMessage(376111446, getLocationOccupierReference());
}
if (alliancePartnerReference_ != null) {
output.writeMessage(383600093, getAlliancePartnerReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationValue_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 469648741, locationValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (customerReference_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48175344, getCustomerReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOwnerSlashTitle_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129191592, locationOwnerSlashTitle_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOccupierType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(166490235, locationOccupierType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationOccupierTerms_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(328765543, locationOccupierTerms_);
}
if (locationOccupierReference_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(376111446, getLocationOccupierReference());
}
if (alliancePartnerReference_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(383600093, getAlliancePartnerReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationValue_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(469648741, locationValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy)) {
return super.equals(obj);
}
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy other = (com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy) obj;
if (hasCustomerReference() != other.hasCustomerReference()) return false;
if (hasCustomerReference()) {
if (!getCustomerReference()
.equals(other.getCustomerReference())) return false;
}
if (!getLocationOwnerSlashTitle()
.equals(other.getLocationOwnerSlashTitle())) return false;
if (!getLocationValue()
.equals(other.getLocationValue())) return false;
if (!getLocationOccupierType()
.equals(other.getLocationOccupierType())) return false;
if (hasLocationOccupierReference() != other.hasLocationOccupierReference()) return false;
if (hasLocationOccupierReference()) {
if (!getLocationOccupierReference()
.equals(other.getLocationOccupierReference())) return false;
}
if (!getLocationOccupierTerms()
.equals(other.getLocationOccupierTerms())) return false;
if (hasAlliancePartnerReference() != other.hasAlliancePartnerReference()) return false;
if (hasAlliancePartnerReference()) {
if (!getAlliancePartnerReference()
.equals(other.getAlliancePartnerReference())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCustomerReference()) {
hash = (37 * hash) + CUSTOMERREFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getCustomerReference().hashCode();
}
hash = (37 * hash) + LOCATIONOWNERSLASHTITLE_FIELD_NUMBER;
hash = (53 * hash) + getLocationOwnerSlashTitle().hashCode();
hash = (37 * hash) + LOCATIONVALUE_FIELD_NUMBER;
hash = (53 * hash) + getLocationValue().hashCode();
hash = (37 * hash) + LOCATIONOCCUPIERTYPE_FIELD_NUMBER;
hash = (53 * hash) + getLocationOccupierType().hashCode();
if (hasLocationOccupierReference()) {
hash = (37 * hash) + LOCATIONOCCUPIERREFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getLocationOccupierReference().hashCode();
}
hash = (37 * hash) + LOCATIONOCCUPIERTERMS_FIELD_NUMBER;
hash = (53 * hash) + getLocationOccupierTerms().hashCode();
if (hasAlliancePartnerReference()) {
hash = (37 * hash) + ALLIANCEPARTNERREFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getAlliancePartnerReference().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy 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.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy 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.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.redhat.mercury.locationdatamanagement.v10.Occupancy}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.locationdatamanagement.v10.Occupancy)
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.OccupancyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.class, com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.Builder.class);
}
// Construct using com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (customerReferenceBuilder_ == null) {
customerReference_ = null;
} else {
customerReference_ = null;
customerReferenceBuilder_ = null;
}
locationOwnerSlashTitle_ = "";
locationValue_ = "";
locationOccupierType_ = "";
if (locationOccupierReferenceBuilder_ == null) {
locationOccupierReference_ = null;
} else {
locationOccupierReference_ = null;
locationOccupierReferenceBuilder_ = null;
}
locationOccupierTerms_ = "";
if (alliancePartnerReferenceBuilder_ == null) {
alliancePartnerReference_ = null;
} else {
alliancePartnerReference_ = null;
alliancePartnerReferenceBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor;
}
@java.lang.Override
public com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy getDefaultInstanceForType() {
return com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy build() {
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy buildPartial() {
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy result = new com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy(this);
if (customerReferenceBuilder_ == null) {
result.customerReference_ = customerReference_;
} else {
result.customerReference_ = customerReferenceBuilder_.build();
}
result.locationOwnerSlashTitle_ = locationOwnerSlashTitle_;
result.locationValue_ = locationValue_;
result.locationOccupierType_ = locationOccupierType_;
if (locationOccupierReferenceBuilder_ == null) {
result.locationOccupierReference_ = locationOccupierReference_;
} else {
result.locationOccupierReference_ = locationOccupierReferenceBuilder_.build();
}
result.locationOccupierTerms_ = locationOccupierTerms_;
if (alliancePartnerReferenceBuilder_ == null) {
result.alliancePartnerReference_ = alliancePartnerReference_;
} else {
result.alliancePartnerReference_ = alliancePartnerReferenceBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy) {
return mergeFrom((com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy other) {
if (other == com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy.getDefaultInstance()) return this;
if (other.hasCustomerReference()) {
mergeCustomerReference(other.getCustomerReference());
}
if (!other.getLocationOwnerSlashTitle().isEmpty()) {
locationOwnerSlashTitle_ = other.locationOwnerSlashTitle_;
onChanged();
}
if (!other.getLocationValue().isEmpty()) {
locationValue_ = other.locationValue_;
onChanged();
}
if (!other.getLocationOccupierType().isEmpty()) {
locationOccupierType_ = other.locationOccupierType_;
onChanged();
}
if (other.hasLocationOccupierReference()) {
mergeLocationOccupierReference(other.getLocationOccupierReference());
}
if (!other.getLocationOccupierTerms().isEmpty()) {
locationOccupierTerms_ = other.locationOccupierTerms_;
onChanged();
}
if (other.hasAlliancePartnerReference()) {
mergeAlliancePartnerReference(other.getAlliancePartnerReference());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Any customerReference_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> customerReferenceBuilder_;
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return Whether the customerReference field is set.
*/
public boolean hasCustomerReference() {
return customerReferenceBuilder_ != null || customerReference_ != null;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
* @return The customerReference.
*/
public com.google.protobuf.Any getCustomerReference() {
if (customerReferenceBuilder_ == null) {
return customerReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : customerReference_;
} else {
return customerReferenceBuilder_.getMessage();
}
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public Builder setCustomerReference(com.google.protobuf.Any value) {
if (customerReferenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
customerReference_ = value;
onChanged();
} else {
customerReferenceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public Builder setCustomerReference(
com.google.protobuf.Any.Builder builderForValue) {
if (customerReferenceBuilder_ == null) {
customerReference_ = builderForValue.build();
onChanged();
} else {
customerReferenceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public Builder mergeCustomerReference(com.google.protobuf.Any value) {
if (customerReferenceBuilder_ == null) {
if (customerReference_ != null) {
customerReference_ =
com.google.protobuf.Any.newBuilder(customerReference_).mergeFrom(value).buildPartial();
} else {
customerReference_ = value;
}
onChanged();
} else {
customerReferenceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public Builder clearCustomerReference() {
if (customerReferenceBuilder_ == null) {
customerReference_ = null;
onChanged();
} else {
customerReference_ = null;
customerReferenceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public com.google.protobuf.Any.Builder getCustomerReferenceBuilder() {
onChanged();
return getCustomerReferenceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
public com.google.protobuf.AnyOrBuilder getCustomerReferenceOrBuilder() {
if (customerReferenceBuilder_ != null) {
return customerReferenceBuilder_.getMessageOrBuilder();
} else {
return customerReference_ == null ?
com.google.protobuf.Any.getDefaultInstance() : customerReference_;
}
}
/**
* .google.protobuf.Any CustomerReference = 48175344;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getCustomerReferenceFieldBuilder() {
if (customerReferenceBuilder_ == null) {
customerReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getCustomerReference(),
getParentForChildren(),
isClean());
customerReference_ = null;
}
return customerReferenceBuilder_;
}
private java.lang.Object locationOwnerSlashTitle_ = "";
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The locationOwnerSlashTitle.
*/
public java.lang.String getLocationOwnerSlashTitle() {
java.lang.Object ref = locationOwnerSlashTitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationOwnerSlashTitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LocationOwnerSlashTitle = 129191592;
* @return The bytes for locationOwnerSlashTitle.
*/
public com.google.protobuf.ByteString
getLocationOwnerSlashTitleBytes() {
java.lang.Object ref = locationOwnerSlashTitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOwnerSlashTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LocationOwnerSlashTitle = 129191592;
* @param value The locationOwnerSlashTitle to set.
* @return This builder for chaining.
*/
public Builder setLocationOwnerSlashTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locationOwnerSlashTitle_ = value;
onChanged();
return this;
}
/**
* string LocationOwnerSlashTitle = 129191592;
* @return This builder for chaining.
*/
public Builder clearLocationOwnerSlashTitle() {
locationOwnerSlashTitle_ = getDefaultInstance().getLocationOwnerSlashTitle();
onChanged();
return this;
}
/**
* string LocationOwnerSlashTitle = 129191592;
* @param value The bytes for locationOwnerSlashTitle to set.
* @return This builder for chaining.
*/
public Builder setLocationOwnerSlashTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locationOwnerSlashTitle_ = value;
onChanged();
return this;
}
private java.lang.Object locationValue_ = "";
/**
* string LocationValue = 469648741;
* @return The locationValue.
*/
public java.lang.String getLocationValue() {
java.lang.Object ref = locationValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationValue_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LocationValue = 469648741;
* @return The bytes for locationValue.
*/
public com.google.protobuf.ByteString
getLocationValueBytes() {
java.lang.Object ref = locationValue_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LocationValue = 469648741;
* @param value The locationValue to set.
* @return This builder for chaining.
*/
public Builder setLocationValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locationValue_ = value;
onChanged();
return this;
}
/**
* string LocationValue = 469648741;
* @return This builder for chaining.
*/
public Builder clearLocationValue() {
locationValue_ = getDefaultInstance().getLocationValue();
onChanged();
return this;
}
/**
* string LocationValue = 469648741;
* @param value The bytes for locationValue to set.
* @return This builder for chaining.
*/
public Builder setLocationValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locationValue_ = value;
onChanged();
return this;
}
private java.lang.Object locationOccupierType_ = "";
/**
* string LocationOccupierType = 166490235;
* @return The locationOccupierType.
*/
public java.lang.String getLocationOccupierType() {
java.lang.Object ref = locationOccupierType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationOccupierType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LocationOccupierType = 166490235;
* @return The bytes for locationOccupierType.
*/
public com.google.protobuf.ByteString
getLocationOccupierTypeBytes() {
java.lang.Object ref = locationOccupierType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOccupierType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LocationOccupierType = 166490235;
* @param value The locationOccupierType to set.
* @return This builder for chaining.
*/
public Builder setLocationOccupierType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locationOccupierType_ = value;
onChanged();
return this;
}
/**
* string LocationOccupierType = 166490235;
* @return This builder for chaining.
*/
public Builder clearLocationOccupierType() {
locationOccupierType_ = getDefaultInstance().getLocationOccupierType();
onChanged();
return this;
}
/**
* string LocationOccupierType = 166490235;
* @param value The bytes for locationOccupierType to set.
* @return This builder for chaining.
*/
public Builder setLocationOccupierTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locationOccupierType_ = value;
onChanged();
return this;
}
private com.google.protobuf.Any locationOccupierReference_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> locationOccupierReferenceBuilder_;
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return Whether the locationOccupierReference field is set.
*/
public boolean hasLocationOccupierReference() {
return locationOccupierReferenceBuilder_ != null || locationOccupierReference_ != null;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
* @return The locationOccupierReference.
*/
public com.google.protobuf.Any getLocationOccupierReference() {
if (locationOccupierReferenceBuilder_ == null) {
return locationOccupierReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : locationOccupierReference_;
} else {
return locationOccupierReferenceBuilder_.getMessage();
}
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public Builder setLocationOccupierReference(com.google.protobuf.Any value) {
if (locationOccupierReferenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
locationOccupierReference_ = value;
onChanged();
} else {
locationOccupierReferenceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public Builder setLocationOccupierReference(
com.google.protobuf.Any.Builder builderForValue) {
if (locationOccupierReferenceBuilder_ == null) {
locationOccupierReference_ = builderForValue.build();
onChanged();
} else {
locationOccupierReferenceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public Builder mergeLocationOccupierReference(com.google.protobuf.Any value) {
if (locationOccupierReferenceBuilder_ == null) {
if (locationOccupierReference_ != null) {
locationOccupierReference_ =
com.google.protobuf.Any.newBuilder(locationOccupierReference_).mergeFrom(value).buildPartial();
} else {
locationOccupierReference_ = value;
}
onChanged();
} else {
locationOccupierReferenceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public Builder clearLocationOccupierReference() {
if (locationOccupierReferenceBuilder_ == null) {
locationOccupierReference_ = null;
onChanged();
} else {
locationOccupierReference_ = null;
locationOccupierReferenceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public com.google.protobuf.Any.Builder getLocationOccupierReferenceBuilder() {
onChanged();
return getLocationOccupierReferenceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
public com.google.protobuf.AnyOrBuilder getLocationOccupierReferenceOrBuilder() {
if (locationOccupierReferenceBuilder_ != null) {
return locationOccupierReferenceBuilder_.getMessageOrBuilder();
} else {
return locationOccupierReference_ == null ?
com.google.protobuf.Any.getDefaultInstance() : locationOccupierReference_;
}
}
/**
* .google.protobuf.Any LocationOccupierReference = 376111446;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getLocationOccupierReferenceFieldBuilder() {
if (locationOccupierReferenceBuilder_ == null) {
locationOccupierReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getLocationOccupierReference(),
getParentForChildren(),
isClean());
locationOccupierReference_ = null;
}
return locationOccupierReferenceBuilder_;
}
private java.lang.Object locationOccupierTerms_ = "";
/**
* string LocationOccupierTerms = 328765543;
* @return The locationOccupierTerms.
*/
public java.lang.String getLocationOccupierTerms() {
java.lang.Object ref = locationOccupierTerms_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locationOccupierTerms_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LocationOccupierTerms = 328765543;
* @return The bytes for locationOccupierTerms.
*/
public com.google.protobuf.ByteString
getLocationOccupierTermsBytes() {
java.lang.Object ref = locationOccupierTerms_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locationOccupierTerms_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LocationOccupierTerms = 328765543;
* @param value The locationOccupierTerms to set.
* @return This builder for chaining.
*/
public Builder setLocationOccupierTerms(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locationOccupierTerms_ = value;
onChanged();
return this;
}
/**
* string LocationOccupierTerms = 328765543;
* @return This builder for chaining.
*/
public Builder clearLocationOccupierTerms() {
locationOccupierTerms_ = getDefaultInstance().getLocationOccupierTerms();
onChanged();
return this;
}
/**
* string LocationOccupierTerms = 328765543;
* @param value The bytes for locationOccupierTerms to set.
* @return This builder for chaining.
*/
public Builder setLocationOccupierTermsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locationOccupierTerms_ = value;
onChanged();
return this;
}
private com.google.protobuf.Any alliancePartnerReference_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> alliancePartnerReferenceBuilder_;
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return Whether the alliancePartnerReference field is set.
*/
public boolean hasAlliancePartnerReference() {
return alliancePartnerReferenceBuilder_ != null || alliancePartnerReference_ != null;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
* @return The alliancePartnerReference.
*/
public com.google.protobuf.Any getAlliancePartnerReference() {
if (alliancePartnerReferenceBuilder_ == null) {
return alliancePartnerReference_ == null ? com.google.protobuf.Any.getDefaultInstance() : alliancePartnerReference_;
} else {
return alliancePartnerReferenceBuilder_.getMessage();
}
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public Builder setAlliancePartnerReference(com.google.protobuf.Any value) {
if (alliancePartnerReferenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
alliancePartnerReference_ = value;
onChanged();
} else {
alliancePartnerReferenceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public Builder setAlliancePartnerReference(
com.google.protobuf.Any.Builder builderForValue) {
if (alliancePartnerReferenceBuilder_ == null) {
alliancePartnerReference_ = builderForValue.build();
onChanged();
} else {
alliancePartnerReferenceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public Builder mergeAlliancePartnerReference(com.google.protobuf.Any value) {
if (alliancePartnerReferenceBuilder_ == null) {
if (alliancePartnerReference_ != null) {
alliancePartnerReference_ =
com.google.protobuf.Any.newBuilder(alliancePartnerReference_).mergeFrom(value).buildPartial();
} else {
alliancePartnerReference_ = value;
}
onChanged();
} else {
alliancePartnerReferenceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public Builder clearAlliancePartnerReference() {
if (alliancePartnerReferenceBuilder_ == null) {
alliancePartnerReference_ = null;
onChanged();
} else {
alliancePartnerReference_ = null;
alliancePartnerReferenceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public com.google.protobuf.Any.Builder getAlliancePartnerReferenceBuilder() {
onChanged();
return getAlliancePartnerReferenceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
public com.google.protobuf.AnyOrBuilder getAlliancePartnerReferenceOrBuilder() {
if (alliancePartnerReferenceBuilder_ != null) {
return alliancePartnerReferenceBuilder_.getMessageOrBuilder();
} else {
return alliancePartnerReference_ == null ?
com.google.protobuf.Any.getDefaultInstance() : alliancePartnerReference_;
}
}
/**
* .google.protobuf.Any AlliancePartnerReference = 383600093;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>
getAlliancePartnerReferenceFieldBuilder() {
if (alliancePartnerReferenceBuilder_ == null) {
alliancePartnerReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(
getAlliancePartnerReference(),
getParentForChildren(),
isClean());
alliancePartnerReference_ = null;
}
return alliancePartnerReferenceBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.redhat.mercury.locationdatamanagement.v10.Occupancy)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.locationdatamanagement.v10.Occupancy)
private static final com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy();
}
public static com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Occupancy parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Occupancy(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.redhat.mercury.locationdatamanagement.v10.OccupancyOuterClass.Occupancy getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\031v10/model/occupancy.proto\022-com.redhat." +
"mercury.locationdatamanagement.v10\032\031goog" +
"le/protobuf/any.proto\"\273\002\n\tOccupancy\0222\n\021C" +
"ustomerReference\030\360\261\374\026 \001(\0132\024.google.proto" +
"buf.Any\022\"\n\027LocationOwnerSlashTitle\030\250\235\315= " +
"\001(\t\022\031\n\rLocationValue\030\345\212\371\337\001 \001(\t\022\037\n\024Locati" +
"onOccupierType\030\373\340\261O \001(\t\022;\n\031LocationOccup" +
"ierReference\030\326\202\254\263\001 \001(\0132\024.google.protobuf" +
".Any\022!\n\025LocationOccupierTerms\030\347\240\342\234\001 \001(\t\022" +
":\n\030AlliancePartnerReference\030\335\213\365\266\001 \001(\0132\024." +
"google.protobuf.AnyP\000b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.AnyProto.getDescriptor(),
});
internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_locationdatamanagement_v10_Occupancy_descriptor,
new java.lang.String[] { "CustomerReference", "LocationOwnerSlashTitle", "LocationValue", "LocationOccupierType", "LocationOccupierReference", "LocationOccupierTerms", "AlliancePartnerReference", });
com.google.protobuf.AnyProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy