com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v10/api/cr_issued_device_state_service.proto
package com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice;
public final class CrIssuedDeviceStateService {
private CrIssuedDeviceStateService() {}
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 InitiateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.InitiateRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return Whether the initiateIssuedDeviceStateRequest field is set.
*/
boolean hasInitiateIssuedDeviceStateRequest();
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return The initiateIssuedDeviceStateRequest.
*/
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest getInitiateIssuedDeviceStateRequest();
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder getInitiateIssuedDeviceStateRequestOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.InitiateRequest}
*/
public static final class InitiateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.InitiateRequest)
InitiateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use InitiateRequest.newBuilder() to construct.
private InitiateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InitiateRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InitiateRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InitiateRequest(
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 10: {
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder subBuilder = null;
if (initiateIssuedDeviceStateRequest_ != null) {
subBuilder = initiateIssuedDeviceStateRequest_.toBuilder();
}
initiateIssuedDeviceStateRequest_ = input.readMessage(com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(initiateIssuedDeviceStateRequest_);
initiateIssuedDeviceStateRequest_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.Builder.class);
}
public static final int INITIATEISSUEDDEVICESTATEREQUEST_FIELD_NUMBER = 1;
private com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest_;
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return Whether the initiateIssuedDeviceStateRequest field is set.
*/
@java.lang.Override
public boolean hasInitiateIssuedDeviceStateRequest() {
return initiateIssuedDeviceStateRequest_ != null;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return The initiateIssuedDeviceStateRequest.
*/
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest getInitiateIssuedDeviceStateRequest() {
return initiateIssuedDeviceStateRequest_ == null ? com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.getDefaultInstance() : initiateIssuedDeviceStateRequest_;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder getInitiateIssuedDeviceStateRequestOrBuilder() {
return getInitiateIssuedDeviceStateRequest();
}
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 (initiateIssuedDeviceStateRequest_ != null) {
output.writeMessage(1, getInitiateIssuedDeviceStateRequest());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (initiateIssuedDeviceStateRequest_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getInitiateIssuedDeviceStateRequest());
}
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest)) {
return super.equals(obj);
}
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest other = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest) obj;
if (hasInitiateIssuedDeviceStateRequest() != other.hasInitiateIssuedDeviceStateRequest()) return false;
if (hasInitiateIssuedDeviceStateRequest()) {
if (!getInitiateIssuedDeviceStateRequest()
.equals(other.getInitiateIssuedDeviceStateRequest())) 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 (hasInitiateIssuedDeviceStateRequest()) {
hash = (37 * hash) + INITIATEISSUEDDEVICESTATEREQUEST_FIELD_NUMBER;
hash = (53 * hash) + getInitiateIssuedDeviceStateRequest().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest 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.api.crissueddevicestateservice.InitiateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.InitiateRequest)
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.Builder.class);
}
// Construct using com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.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 (initiateIssuedDeviceStateRequestBuilder_ == null) {
initiateIssuedDeviceStateRequest_ = null;
} else {
initiateIssuedDeviceStateRequest_ = null;
initiateIssuedDeviceStateRequestBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest getDefaultInstanceForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest build() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest buildPartial() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest result = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest(this);
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
result.initiateIssuedDeviceStateRequest_ = initiateIssuedDeviceStateRequest_;
} else {
result.initiateIssuedDeviceStateRequest_ = initiateIssuedDeviceStateRequestBuilder_.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.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest) {
return mergeFrom((com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest other) {
if (other == com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest.getDefaultInstance()) return this;
if (other.hasInitiateIssuedDeviceStateRequest()) {
mergeInitiateIssuedDeviceStateRequest(other.getInitiateIssuedDeviceStateRequest());
}
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest_;
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder> initiateIssuedDeviceStateRequestBuilder_;
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return Whether the initiateIssuedDeviceStateRequest field is set.
*/
public boolean hasInitiateIssuedDeviceStateRequest() {
return initiateIssuedDeviceStateRequestBuilder_ != null || initiateIssuedDeviceStateRequest_ != null;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
* @return The initiateIssuedDeviceStateRequest.
*/
public com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest getInitiateIssuedDeviceStateRequest() {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
return initiateIssuedDeviceStateRequest_ == null ? com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.getDefaultInstance() : initiateIssuedDeviceStateRequest_;
} else {
return initiateIssuedDeviceStateRequestBuilder_.getMessage();
}
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public Builder setInitiateIssuedDeviceStateRequest(com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest value) {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
initiateIssuedDeviceStateRequest_ = value;
onChanged();
} else {
initiateIssuedDeviceStateRequestBuilder_.setMessage(value);
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public Builder setInitiateIssuedDeviceStateRequest(
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder builderForValue) {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
initiateIssuedDeviceStateRequest_ = builderForValue.build();
onChanged();
} else {
initiateIssuedDeviceStateRequestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public Builder mergeInitiateIssuedDeviceStateRequest(com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest value) {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
if (initiateIssuedDeviceStateRequest_ != null) {
initiateIssuedDeviceStateRequest_ =
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.newBuilder(initiateIssuedDeviceStateRequest_).mergeFrom(value).buildPartial();
} else {
initiateIssuedDeviceStateRequest_ = value;
}
onChanged();
} else {
initiateIssuedDeviceStateRequestBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public Builder clearInitiateIssuedDeviceStateRequest() {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
initiateIssuedDeviceStateRequest_ = null;
onChanged();
} else {
initiateIssuedDeviceStateRequest_ = null;
initiateIssuedDeviceStateRequestBuilder_ = null;
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder getInitiateIssuedDeviceStateRequestBuilder() {
onChanged();
return getInitiateIssuedDeviceStateRequestFieldBuilder().getBuilder();
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
public com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder getInitiateIssuedDeviceStateRequestOrBuilder() {
if (initiateIssuedDeviceStateRequestBuilder_ != null) {
return initiateIssuedDeviceStateRequestBuilder_.getMessageOrBuilder();
} else {
return initiateIssuedDeviceStateRequest_ == null ?
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.getDefaultInstance() : initiateIssuedDeviceStateRequest_;
}
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequest initiateIssuedDeviceStateRequest = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder>
getInitiateIssuedDeviceStateRequestFieldBuilder() {
if (initiateIssuedDeviceStateRequestBuilder_ == null) {
initiateIssuedDeviceStateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequest.Builder, com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.InitiateIssuedDeviceStateRequestOrBuilder>(
getInitiateIssuedDeviceStateRequest(),
getParentForChildren(),
isClean());
initiateIssuedDeviceStateRequest_ = null;
}
return initiateIssuedDeviceStateRequestBuilder_;
}
@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.api.crissueddevicestateservice.InitiateRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.InitiateRequest)
private static final com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest();
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InitiateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InitiateRequest(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.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RetrieveRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.RetrieveRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
java.lang.String getIssueddevicetrackingId();
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes();
}
/**
* Protobuf type {@code com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.RetrieveRequest}
*/
public static final class RetrieveRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.RetrieveRequest)
RetrieveRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RetrieveRequest.newBuilder() to construct.
private RetrieveRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RetrieveRequest() {
issueddevicetrackingId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RetrieveRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RetrieveRequest(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
issueddevicetrackingId_ = 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.Builder.class);
}
public static final int ISSUEDDEVICETRACKINGID_FIELD_NUMBER = 1;
private volatile java.lang.Object issueddevicetrackingId_;
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
@java.lang.Override
public java.lang.String getIssueddevicetrackingId() {
java.lang.Object ref = issueddevicetrackingId_;
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();
issueddevicetrackingId_ = s;
return s;
}
}
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes() {
java.lang.Object ref = issueddevicetrackingId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueddevicetrackingId_ = 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(issueddevicetrackingId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueddevicetrackingId_);
}
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(issueddevicetrackingId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issueddevicetrackingId_);
}
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest)) {
return super.equals(obj);
}
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest other = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest) obj;
if (!getIssueddevicetrackingId()
.equals(other.getIssueddevicetrackingId())) 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) + ISSUEDDEVICETRACKINGID_FIELD_NUMBER;
hash = (53 * hash) + getIssueddevicetrackingId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest 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.api.crissueddevicestateservice.RetrieveRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.RetrieveRequest)
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.Builder.class);
}
// Construct using com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.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();
issueddevicetrackingId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest getDefaultInstanceForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest build() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest buildPartial() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest result = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest(this);
result.issueddevicetrackingId_ = issueddevicetrackingId_;
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest) {
return mergeFrom((com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest other) {
if (other == com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest.getDefaultInstance()) return this;
if (!other.getIssueddevicetrackingId().isEmpty()) {
issueddevicetrackingId_ = other.issueddevicetrackingId_;
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object issueddevicetrackingId_ = "";
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
public java.lang.String getIssueddevicetrackingId() {
java.lang.Object ref = issueddevicetrackingId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
issueddevicetrackingId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
public com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes() {
java.lang.Object ref = issueddevicetrackingId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueddevicetrackingId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string issueddevicetrackingId = 1;
* @param value The issueddevicetrackingId to set.
* @return This builder for chaining.
*/
public Builder setIssueddevicetrackingId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
issueddevicetrackingId_ = value;
onChanged();
return this;
}
/**
* string issueddevicetrackingId = 1;
* @return This builder for chaining.
*/
public Builder clearIssueddevicetrackingId() {
issueddevicetrackingId_ = getDefaultInstance().getIssueddevicetrackingId();
onChanged();
return this;
}
/**
* string issueddevicetrackingId = 1;
* @param value The bytes for issueddevicetrackingId to set.
* @return This builder for chaining.
*/
public Builder setIssueddevicetrackingIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
issueddevicetrackingId_ = 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.api.crissueddevicestateservice.RetrieveRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.RetrieveRequest)
private static final com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest();
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RetrieveRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RetrieveRequest(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.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.UpdateRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
java.lang.String getIssueddevicetrackingId();
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes();
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return Whether the issuedDeviceState field is set.
*/
boolean hasIssuedDeviceState();
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return The issuedDeviceState.
*/
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState getIssuedDeviceState();
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder getIssuedDeviceStateOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.UpdateRequest}
*/
public static final class UpdateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.UpdateRequest)
UpdateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateRequest.newBuilder() to construct.
private UpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateRequest() {
issueddevicetrackingId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateRequest(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
issueddevicetrackingId_ = s;
break;
}
case 18: {
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder subBuilder = null;
if (issuedDeviceState_ != null) {
subBuilder = issuedDeviceState_.toBuilder();
}
issuedDeviceState_ = input.readMessage(com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(issuedDeviceState_);
issuedDeviceState_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.Builder.class);
}
public static final int ISSUEDDEVICETRACKINGID_FIELD_NUMBER = 1;
private volatile java.lang.Object issueddevicetrackingId_;
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
@java.lang.Override
public java.lang.String getIssueddevicetrackingId() {
java.lang.Object ref = issueddevicetrackingId_;
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();
issueddevicetrackingId_ = s;
return s;
}
}
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes() {
java.lang.Object ref = issueddevicetrackingId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueddevicetrackingId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISSUEDDEVICESTATE_FIELD_NUMBER = 2;
private com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState issuedDeviceState_;
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return Whether the issuedDeviceState field is set.
*/
@java.lang.Override
public boolean hasIssuedDeviceState() {
return issuedDeviceState_ != null;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return The issuedDeviceState.
*/
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState getIssuedDeviceState() {
return issuedDeviceState_ == null ? com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.getDefaultInstance() : issuedDeviceState_;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder getIssuedDeviceStateOrBuilder() {
return getIssuedDeviceState();
}
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(issueddevicetrackingId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueddevicetrackingId_);
}
if (issuedDeviceState_ != null) {
output.writeMessage(2, getIssuedDeviceState());
}
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(issueddevicetrackingId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issueddevicetrackingId_);
}
if (issuedDeviceState_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getIssuedDeviceState());
}
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest)) {
return super.equals(obj);
}
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest other = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest) obj;
if (!getIssueddevicetrackingId()
.equals(other.getIssueddevicetrackingId())) return false;
if (hasIssuedDeviceState() != other.hasIssuedDeviceState()) return false;
if (hasIssuedDeviceState()) {
if (!getIssuedDeviceState()
.equals(other.getIssuedDeviceState())) 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) + ISSUEDDEVICETRACKINGID_FIELD_NUMBER;
hash = (53 * hash) + getIssueddevicetrackingId().hashCode();
if (hasIssuedDeviceState()) {
hash = (37 * hash) + ISSUEDDEVICESTATE_FIELD_NUMBER;
hash = (53 * hash) + getIssuedDeviceState().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest 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.api.crissueddevicestateservice.UpdateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.UpdateRequest)
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.class, com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.Builder.class);
}
// Construct using com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.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();
issueddevicetrackingId_ = "";
if (issuedDeviceStateBuilder_ == null) {
issuedDeviceState_ = null;
} else {
issuedDeviceState_ = null;
issuedDeviceStateBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest getDefaultInstanceForType() {
return com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest build() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest buildPartial() {
com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest result = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest(this);
result.issueddevicetrackingId_ = issueddevicetrackingId_;
if (issuedDeviceStateBuilder_ == null) {
result.issuedDeviceState_ = issuedDeviceState_;
} else {
result.issuedDeviceState_ = issuedDeviceStateBuilder_.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.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest) {
return mergeFrom((com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest other) {
if (other == com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest.getDefaultInstance()) return this;
if (!other.getIssueddevicetrackingId().isEmpty()) {
issueddevicetrackingId_ = other.issueddevicetrackingId_;
onChanged();
}
if (other.hasIssuedDeviceState()) {
mergeIssuedDeviceState(other.getIssuedDeviceState());
}
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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object issueddevicetrackingId_ = "";
/**
* string issueddevicetrackingId = 1;
* @return The issueddevicetrackingId.
*/
public java.lang.String getIssueddevicetrackingId() {
java.lang.Object ref = issueddevicetrackingId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
issueddevicetrackingId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string issueddevicetrackingId = 1;
* @return The bytes for issueddevicetrackingId.
*/
public com.google.protobuf.ByteString
getIssueddevicetrackingIdBytes() {
java.lang.Object ref = issueddevicetrackingId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
issueddevicetrackingId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string issueddevicetrackingId = 1;
* @param value The issueddevicetrackingId to set.
* @return This builder for chaining.
*/
public Builder setIssueddevicetrackingId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
issueddevicetrackingId_ = value;
onChanged();
return this;
}
/**
* string issueddevicetrackingId = 1;
* @return This builder for chaining.
*/
public Builder clearIssueddevicetrackingId() {
issueddevicetrackingId_ = getDefaultInstance().getIssueddevicetrackingId();
onChanged();
return this;
}
/**
* string issueddevicetrackingId = 1;
* @param value The bytes for issueddevicetrackingId to set.
* @return This builder for chaining.
*/
public Builder setIssueddevicetrackingIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
issueddevicetrackingId_ = value;
onChanged();
return this;
}
private com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState issuedDeviceState_;
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder> issuedDeviceStateBuilder_;
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return Whether the issuedDeviceState field is set.
*/
public boolean hasIssuedDeviceState() {
return issuedDeviceStateBuilder_ != null || issuedDeviceState_ != null;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
* @return The issuedDeviceState.
*/
public com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState getIssuedDeviceState() {
if (issuedDeviceStateBuilder_ == null) {
return issuedDeviceState_ == null ? com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.getDefaultInstance() : issuedDeviceState_;
} else {
return issuedDeviceStateBuilder_.getMessage();
}
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public Builder setIssuedDeviceState(com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState value) {
if (issuedDeviceStateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
issuedDeviceState_ = value;
onChanged();
} else {
issuedDeviceStateBuilder_.setMessage(value);
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public Builder setIssuedDeviceState(
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder builderForValue) {
if (issuedDeviceStateBuilder_ == null) {
issuedDeviceState_ = builderForValue.build();
onChanged();
} else {
issuedDeviceStateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public Builder mergeIssuedDeviceState(com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState value) {
if (issuedDeviceStateBuilder_ == null) {
if (issuedDeviceState_ != null) {
issuedDeviceState_ =
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.newBuilder(issuedDeviceState_).mergeFrom(value).buildPartial();
} else {
issuedDeviceState_ = value;
}
onChanged();
} else {
issuedDeviceStateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public Builder clearIssuedDeviceState() {
if (issuedDeviceStateBuilder_ == null) {
issuedDeviceState_ = null;
onChanged();
} else {
issuedDeviceState_ = null;
issuedDeviceStateBuilder_ = null;
}
return this;
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder getIssuedDeviceStateBuilder() {
onChanged();
return getIssuedDeviceStateFieldBuilder().getBuilder();
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
public com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder getIssuedDeviceStateOrBuilder() {
if (issuedDeviceStateBuilder_ != null) {
return issuedDeviceStateBuilder_.getMessageOrBuilder();
} else {
return issuedDeviceState_ == null ?
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.getDefaultInstance() : issuedDeviceState_;
}
}
/**
* .com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceState issuedDeviceState = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder>
getIssuedDeviceStateFieldBuilder() {
if (issuedDeviceStateBuilder_ == null) {
issuedDeviceStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceState.Builder, com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.IssuedDeviceStateOrBuilder>(
getIssuedDeviceState(),
getParentForChildren(),
isClean());
issuedDeviceState_ = null;
}
return issuedDeviceStateBuilder_;
}
@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.api.crissueddevicestateservice.UpdateRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.UpdateRequest)
private static final com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest();
}
public static com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdateRequest(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.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_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,v10/api/cr_issued_device_state_service" +
".proto\022Jcom.redhat.mercury.issueddevicet" +
"racking.v10.api.crissueddevicestateservi" +
"ce\032\033google/protobuf/empty.proto\032\032v10/mod" +
"el/http_error.proto\0324v10/model/initiate_" +
"issued_device_state_request.proto\032#v10/m" +
"odel/issued_device_state.proto\"\212\001\n\017Initi" +
"ateRequest\022w\n initiateIssuedDeviceStateR" +
"equest\030\001 \001(\0132M.com.redhat.mercury.issued" +
"devicetracking.v10.InitiateIssuedDeviceS" +
"tateRequest\"1\n\017RetrieveRequest\022\036\n\026issued" +
"devicetrackingId\030\001 \001(\t\"\212\001\n\rUpdateRequest" +
"\022\036\n\026issueddevicetrackingId\030\001 \001(\t\022Y\n\021issu" +
"edDeviceState\030\002 \001(\0132>.com.redhat.mercury" +
".issueddevicetracking.v10.IssuedDeviceSt" +
"ate2\226\004\n\032CRIssuedDeviceStateService\022\247\001\n\010I" +
"nitiate\022[.com.redhat.mercury.issueddevic" +
"etracking.v10.api.crissueddevicestateser" +
"vice.InitiateRequest\032>.com.redhat.mercur" +
"y.issueddevicetracking.v10.IssuedDeviceS" +
"tate\022\247\001\n\010Retrieve\022[.com.redhat.mercury.i" +
"ssueddevicetracking.v10.api.crissueddevi" +
"cestateservice.RetrieveRequest\032>.com.red" +
"hat.mercury.issueddevicetracking.v10.Iss" +
"uedDeviceState\022\243\001\n\006Update\022Y.com.redhat.m" +
"ercury.issueddevicetracking.v10.api.cris" +
"sueddevicestateservice.UpdateRequest\032>.c" +
"om.redhat.mercury.issueddevicetracking.v" +
"10.IssuedDeviceStateP\001P\002P\003b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.EmptyProto.getDescriptor(),
com.redhat.mercury.issueddevicetracking.v10.HttpError.getDescriptor(),
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.getDescriptor(),
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.getDescriptor(),
});
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_InitiateRequest_descriptor,
new java.lang.String[] { "InitiateIssuedDeviceStateRequest", });
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_RetrieveRequest_descriptor,
new java.lang.String[] { "IssueddevicetrackingId", });
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_issueddevicetracking_v10_api_crissueddevicestateservice_UpdateRequest_descriptor,
new java.lang.String[] { "IssueddevicetrackingId", "IssuedDeviceState", });
com.google.protobuf.EmptyProto.getDescriptor();
com.redhat.mercury.issueddevicetracking.v10.HttpError.getDescriptor();
com.redhat.mercury.issueddevicetracking.v10.InitiateIssuedDeviceStateRequestOuterClass.getDescriptor();
com.redhat.mercury.issueddevicetracking.v10.IssuedDeviceStateOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy