com.redhat.mercury.issueddevicetracking.v10.HttpError Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v10/model/http_error.proto
package com.redhat.mercury.issueddevicetracking.v10;
public final class HttpError {
private HttpError() {}
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 HTTPErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.issueddevicetracking.v10.HTTPError)
com.google.protobuf.MessageOrBuilder {
/**
* string statusUnderscorecode = 512921658;
* @return The statusUnderscorecode.
*/
java.lang.String getStatusUnderscorecode();
/**
* string statusUnderscorecode = 512921658;
* @return The bytes for statusUnderscorecode.
*/
com.google.protobuf.ByteString
getStatusUnderscorecodeBytes();
/**
* string status = 355610639;
* @return The status.
*/
java.lang.String getStatus();
/**
* string status = 355610639;
* @return The bytes for status.
*/
com.google.protobuf.ByteString
getStatusBytes();
/**
* string message = 418054152;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 418054152;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code com.redhat.mercury.issueddevicetracking.v10.HTTPError}
*/
public static final class HTTPError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.issueddevicetracking.v10.HTTPError)
HTTPErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use HTTPError.newBuilder() to construct.
private HTTPError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HTTPError() {
statusUnderscorecode_ = "";
status_ = "";
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HTTPError();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HTTPError(
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 -1450082182: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case -950534078: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case -191594030: {
java.lang.String s = input.readStringRequireUtf8();
statusUnderscorecode_ = 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.issueddevicetracking.v10.HttpError.internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.HttpError.internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.class, com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.Builder.class);
}
public static final int STATUSUNDERSCORECODE_FIELD_NUMBER = 512921658;
private volatile java.lang.Object statusUnderscorecode_;
/**
* string statusUnderscorecode = 512921658;
* @return The statusUnderscorecode.
*/
@java.lang.Override
public java.lang.String getStatusUnderscorecode() {
java.lang.Object ref = statusUnderscorecode_;
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();
statusUnderscorecode_ = s;
return s;
}
}
/**
* string statusUnderscorecode = 512921658;
* @return The bytes for statusUnderscorecode.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusUnderscorecodeBytes() {
java.lang.Object ref = statusUnderscorecode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusUnderscorecode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 355610639;
private volatile java.lang.Object status_;
/**
* string status = 355610639;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
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();
status_ = s;
return s;
}
}
/**
* string status = 355610639;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 418054152;
private volatile java.lang.Object message_;
/**
* string message = 418054152;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 418054152;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 355610639, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 418054152, message_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusUnderscorecode_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 512921658, statusUnderscorecode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(355610639, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(418054152, message_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusUnderscorecode_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(512921658, statusUnderscorecode_);
}
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.issueddevicetracking.v10.HttpError.HTTPError)) {
return super.equals(obj);
}
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError other = (com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError) obj;
if (!getStatusUnderscorecode()
.equals(other.getStatusUnderscorecode())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STATUSUNDERSCORECODE_FIELD_NUMBER;
hash = (53 * hash) + getStatusUnderscorecode().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HttpError.HTTPError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HttpError.HTTPError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HttpError.HTTPError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HttpError.HTTPError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HttpError.HTTPError 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.issueddevicetracking.v10.HTTPError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.issueddevicetracking.v10.HTTPError)
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.HttpError.internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.HttpError.internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.class, com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.Builder.class);
}
// Construct using com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.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();
statusUnderscorecode_ = "";
status_ = "";
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.issueddevicetracking.v10.HttpError.internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError getDefaultInstanceForType() {
return com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError build() {
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError buildPartial() {
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError result = new com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError(this);
result.statusUnderscorecode_ = statusUnderscorecode_;
result.status_ = status_;
result.message_ = message_;
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.issueddevicetracking.v10.HttpError.HTTPError) {
return mergeFrom((com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError other) {
if (other == com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError.getDefaultInstance()) return this;
if (!other.getStatusUnderscorecode().isEmpty()) {
statusUnderscorecode_ = other.statusUnderscorecode_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object statusUnderscorecode_ = "";
/**
* string statusUnderscorecode = 512921658;
* @return The statusUnderscorecode.
*/
public java.lang.String getStatusUnderscorecode() {
java.lang.Object ref = statusUnderscorecode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusUnderscorecode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string statusUnderscorecode = 512921658;
* @return The bytes for statusUnderscorecode.
*/
public com.google.protobuf.ByteString
getStatusUnderscorecodeBytes() {
java.lang.Object ref = statusUnderscorecode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusUnderscorecode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string statusUnderscorecode = 512921658;
* @param value The statusUnderscorecode to set.
* @return This builder for chaining.
*/
public Builder setStatusUnderscorecode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
statusUnderscorecode_ = value;
onChanged();
return this;
}
/**
* string statusUnderscorecode = 512921658;
* @return This builder for chaining.
*/
public Builder clearStatusUnderscorecode() {
statusUnderscorecode_ = getDefaultInstance().getStatusUnderscorecode();
onChanged();
return this;
}
/**
* string statusUnderscorecode = 512921658;
* @param value The bytes for statusUnderscorecode to set.
* @return This builder for chaining.
*/
public Builder setStatusUnderscorecodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
statusUnderscorecode_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
* string status = 355610639;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string status = 355610639;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string status = 355610639;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
return this;
}
/**
* string status = 355610639;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
* string status = 355610639;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
status_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 418054152;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 418054152;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 418054152;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* string message = 418054152;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* string message = 418054152;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.redhat.mercury.issueddevicetracking.v10.HTTPError)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.issueddevicetracking.v10.HTTPError)
private static final com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError();
}
public static com.redhat.mercury.issueddevicetracking.v10.HttpError.HTTPError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HTTPError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HTTPError(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.issueddevicetracking.v10.HttpError.HTTPError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_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\032v10/model/http_error.proto\022+com.redhat" +
".mercury.issueddevicetracking.v10\"V\n\tHTT" +
"PError\022 \n\024statusUnderscorecode\030\272\240\312\364\001 \001(\t" +
"\022\022\n\006status\030\217\340\310\251\001 \001(\t\022\023\n\007message\030\210\200\254\307\001 \001(" +
"\tb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_issueddevicetracking_v10_HTTPError_descriptor,
new java.lang.String[] { "StatusUnderscorecode", "Status", "Message", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy