io.bloombox.schema.services.devices.v1beta1.Ping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: devices/v1beta1/DevicesService_Beta1.proto
package io.bloombox.schema.services.devices.v1beta1;
/**
*
* Specifies an RPC operation to retrieve status information for the Devices API.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping}
*/
public final class Ping extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.devices.v1beta1.Ping)
PingOrBuilder {
private static final long serialVersionUID = 0L;
// Use Ping.newBuilder() to construct.
private Ping(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Ping() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Ping(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.class, io.bloombox.schema.services.devices.v1beta1.Ping.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.devices.v1beta1.Ping.Request)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Specifies a device ping request.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.devices.v1beta1.Ping.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Request.class, io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.devices.v1beta1.Ping.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.devices.v1beta1.Ping.Request other = (io.bloombox.schema.services.devices.v1beta1.Ping.Request) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.devices.v1beta1.Ping.Request prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies a device ping request.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.devices.v1beta1.Ping.Request)
io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Request.class, io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.devices.v1beta1.Ping.Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.devices.v1beta1.Ping.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Request build() {
io.bloombox.schema.services.devices.v1beta1.Ping.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Request buildPartial() {
io.bloombox.schema.services.devices.v1beta1.Ping.Request result = new io.bloombox.schema.services.devices.v1beta1.Ping.Request(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.services.devices.v1beta1.Ping.Request) {
return mergeFrom((io.bloombox.schema.services.devices.v1beta1.Ping.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.devices.v1beta1.Ping.Request other) {
if (other == io.bloombox.schema.services.devices.v1beta1.Ping.Request.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.devices.v1beta1.Ping.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.devices.v1beta1.Ping.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.devices.v1beta1.Ping.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.devices.v1beta1.Ping.Request)
private static final io.bloombox.schema.services.devices.v1beta1.Ping.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.devices.v1beta1.Ping.Request();
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.devices.v1beta1.Ping.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
int getStatusValue();
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
io.bloombox.schema.services.ServiceStatus getStatus();
}
/**
*
* Specifies a device ping response.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.devices.v1beta1.Ping.Response)
ResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use Response.newBuilder() to construct.
private Response(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Response() {
status_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Response(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Response.class, io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public io.bloombox.schema.services.ServiceStatus getStatus() {
@SuppressWarnings("deprecation")
io.bloombox.schema.services.ServiceStatus result = io.bloombox.schema.services.ServiceStatus.valueOf(status_);
return result == null ? io.bloombox.schema.services.ServiceStatus.UNRECOGNIZED : result;
}
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 (status_ != io.bloombox.schema.services.ServiceStatus.UNKNOWN.getNumber()) {
output.writeEnum(1, status_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != io.bloombox.schema.services.ServiceStatus.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.devices.v1beta1.Ping.Response)) {
return super.equals(obj);
}
io.bloombox.schema.services.devices.v1beta1.Ping.Response other = (io.bloombox.schema.services.devices.v1beta1.Ping.Response) obj;
if (status_ != other.status_) 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) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.devices.v1beta1.Ping.Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies a device ping response.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.devices.v1beta1.Ping.Response)
io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Response.class, io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder.class);
}
// Construct using io.bloombox.schema.services.devices.v1beta1.Ping.Response.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
status_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Response_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Response getDefaultInstanceForType() {
return io.bloombox.schema.services.devices.v1beta1.Ping.Response.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Response build() {
io.bloombox.schema.services.devices.v1beta1.Ping.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Response buildPartial() {
io.bloombox.schema.services.devices.v1beta1.Ping.Response result = new io.bloombox.schema.services.devices.v1beta1.Ping.Response(this);
result.status_ = status_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.services.devices.v1beta1.Ping.Response) {
return mergeFrom((io.bloombox.schema.services.devices.v1beta1.Ping.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.devices.v1beta1.Ping.Response other) {
if (other == io.bloombox.schema.services.devices.v1beta1.Ping.Response.getDefaultInstance()) return this;
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.devices.v1beta1.Ping.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.devices.v1beta1.Ping.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int status_ = 0;
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public io.bloombox.schema.services.ServiceStatus getStatus() {
@SuppressWarnings("deprecation")
io.bloombox.schema.services.ServiceStatus result = io.bloombox.schema.services.ServiceStatus.valueOf(status_);
return result == null ? io.bloombox.schema.services.ServiceStatus.UNRECOGNIZED : result;
}
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public Builder setStatus(io.bloombox.schema.services.ServiceStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Current service status.
*
*
* .bloombox.services.ServiceStatus status = 1;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.devices.v1beta1.Ping.Response)
}
// @@protoc_insertion_point(class_scope:bloombox.services.devices.v1beta1.Ping.Response)
private static final io.bloombox.schema.services.devices.v1beta1.Ping.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.devices.v1beta1.Ping.Response();
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Response getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Response parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Response(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.devices.v1beta1.Ping.Operation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
boolean hasRequest();
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
io.bloombox.schema.services.devices.v1beta1.Ping.Request getRequest();
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder getRequestOrBuilder();
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
boolean hasResponse();
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
io.bloombox.schema.services.devices.v1beta1.Ping.Response getResponse();
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder getResponseOrBuilder();
}
/**
*
* Specifies a device ping operation, consisting of one request and one response.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Operation}
*/
public static final class Operation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.devices.v1beta1.Ping.Operation)
OperationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Operation.newBuilder() to construct.
private Operation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operation() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Operation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder subBuilder = null;
if (request_ != null) {
subBuilder = request_.toBuilder();
}
request_ = input.readMessage(io.bloombox.schema.services.devices.v1beta1.Ping.Request.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder subBuilder = null;
if (response_ != null) {
subBuilder = response_.toBuilder();
}
response_ = input.readMessage(io.bloombox.schema.services.devices.v1beta1.Ping.Response.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(response_);
response_ = 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 io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Operation.class, io.bloombox.schema.services.devices.v1beta1.Ping.Operation.Builder.class);
}
public static final int REQUEST_FIELD_NUMBER = 1;
private io.bloombox.schema.services.devices.v1beta1.Ping.Request request_;
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public boolean hasRequest() {
return request_ != null;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Request getRequest() {
return request_ == null ? io.bloombox.schema.services.devices.v1beta1.Ping.Request.getDefaultInstance() : request_;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder getRequestOrBuilder() {
return getRequest();
}
public static final int RESPONSE_FIELD_NUMBER = 2;
private io.bloombox.schema.services.devices.v1beta1.Ping.Response response_;
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public boolean hasResponse() {
return response_ != null;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Response getResponse() {
return response_ == null ? io.bloombox.schema.services.devices.v1beta1.Ping.Response.getDefaultInstance() : response_;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder getResponseOrBuilder() {
return getResponse();
}
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 (request_ != null) {
output.writeMessage(1, getRequest());
}
if (response_ != null) {
output.writeMessage(2, getResponse());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (request_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRequest());
}
if (response_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getResponse());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.devices.v1beta1.Ping.Operation)) {
return super.equals(obj);
}
io.bloombox.schema.services.devices.v1beta1.Ping.Operation other = (io.bloombox.schema.services.devices.v1beta1.Ping.Operation) obj;
if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
if (!getRequest()
.equals(other.getRequest())) return false;
}
if (hasResponse() != other.hasResponse()) return false;
if (hasResponse()) {
if (!getResponse()
.equals(other.getResponse())) 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 (hasRequest()) {
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
}
if (hasResponse()) {
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.devices.v1beta1.Ping.Operation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies a device ping operation, consisting of one request and one response.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping.Operation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.devices.v1beta1.Ping.Operation)
io.bloombox.schema.services.devices.v1beta1.Ping.OperationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.Operation.class, io.bloombox.schema.services.devices.v1beta1.Ping.Operation.Builder.class);
}
// Construct using io.bloombox.schema.services.devices.v1beta1.Ping.Operation.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 (requestBuilder_ == null) {
request_ = null;
} else {
request_ = null;
requestBuilder_ = null;
}
if (responseBuilder_ == null) {
response_ = null;
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_Operation_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Operation getDefaultInstanceForType() {
return io.bloombox.schema.services.devices.v1beta1.Ping.Operation.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Operation build() {
io.bloombox.schema.services.devices.v1beta1.Ping.Operation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Operation buildPartial() {
io.bloombox.schema.services.devices.v1beta1.Ping.Operation result = new io.bloombox.schema.services.devices.v1beta1.Ping.Operation(this);
if (requestBuilder_ == null) {
result.request_ = request_;
} else {
result.request_ = requestBuilder_.build();
}
if (responseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = responseBuilder_.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 io.bloombox.schema.services.devices.v1beta1.Ping.Operation) {
return mergeFrom((io.bloombox.schema.services.devices.v1beta1.Ping.Operation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.devices.v1beta1.Ping.Operation other) {
if (other == io.bloombox.schema.services.devices.v1beta1.Ping.Operation.getDefaultInstance()) return this;
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
if (other.hasResponse()) {
mergeResponse(other.getResponse());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.devices.v1beta1.Ping.Operation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.devices.v1beta1.Ping.Operation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.bloombox.schema.services.devices.v1beta1.Ping.Request request_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Request, io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder> requestBuilder_;
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public boolean hasRequest() {
return requestBuilder_ != null || request_ != null;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Request getRequest() {
if (requestBuilder_ == null) {
return request_ == null ? io.bloombox.schema.services.devices.v1beta1.Ping.Request.getDefaultInstance() : request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public Builder setRequest(io.bloombox.schema.services.devices.v1beta1.Ping.Request value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
requestBuilder_.setMessage(value);
}
return this;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public Builder setRequest(
io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public Builder mergeRequest(io.bloombox.schema.services.devices.v1beta1.Ping.Request value) {
if (requestBuilder_ == null) {
if (request_ != null) {
request_ =
io.bloombox.schema.services.devices.v1beta1.Ping.Request.newBuilder(request_).mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
requestBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public Builder clearRequest() {
if (requestBuilder_ == null) {
request_ = null;
onChanged();
} else {
request_ = null;
requestBuilder_ = null;
}
return this;
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder getRequestBuilder() {
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_ == null ?
io.bloombox.schema.services.devices.v1beta1.Ping.Request.getDefaultInstance() : request_;
}
}
/**
*
* Request for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Request request = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Request, io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Request, io.bloombox.schema.services.devices.v1beta1.Ping.Request.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.RequestOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
private io.bloombox.schema.services.devices.v1beta1.Ping.Response response_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Response, io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder> responseBuilder_;
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public boolean hasResponse() {
return responseBuilder_ != null || response_ != null;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Response getResponse() {
if (responseBuilder_ == null) {
return response_ == null ? io.bloombox.schema.services.devices.v1beta1.Ping.Response.getDefaultInstance() : response_;
} else {
return responseBuilder_.getMessage();
}
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public Builder setResponse(io.bloombox.schema.services.devices.v1beta1.Ping.Response value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
return this;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public Builder setResponse(
io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder builderForValue) {
if (responseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public Builder mergeResponse(io.bloombox.schema.services.devices.v1beta1.Ping.Response value) {
if (responseBuilder_ == null) {
if (response_ != null) {
response_ =
io.bloombox.schema.services.devices.v1beta1.Ping.Response.newBuilder(response_).mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
responseBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
response_ = null;
onChanged();
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder getResponseBuilder() {
onChanged();
return getResponseFieldBuilder().getBuilder();
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
public io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder();
} else {
return response_ == null ?
io.bloombox.schema.services.devices.v1beta1.Ping.Response.getDefaultInstance() : response_;
}
}
/**
*
* Response for member verification.
*
*
* .bloombox.services.devices.v1beta1.Ping.Response response = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Response, io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.devices.v1beta1.Ping.Response, io.bloombox.schema.services.devices.v1beta1.Ping.Response.Builder, io.bloombox.schema.services.devices.v1beta1.Ping.ResponseOrBuilder>(
getResponse(),
getParentForChildren(),
isClean());
response_ = null;
}
return responseBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.devices.v1beta1.Ping.Operation)
}
// @@protoc_insertion_point(class_scope:bloombox.services.devices.v1beta1.Ping.Operation)
private static final io.bloombox.schema.services.devices.v1beta1.Ping.Operation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.devices.v1beta1.Ping.Operation();
}
public static io.bloombox.schema.services.devices.v1beta1.Ping.Operation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Operation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Operation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping.Operation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.services.devices.v1beta1.Ping)) {
return super.equals(obj);
}
io.bloombox.schema.services.devices.v1beta1.Ping other = (io.bloombox.schema.services.devices.v1beta1.Ping) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.devices.v1beta1.Ping parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.services.devices.v1beta1.Ping prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies an RPC operation to retrieve status information for the Devices API.
*
*
* Protobuf type {@code bloombox.services.devices.v1beta1.Ping}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.devices.v1beta1.Ping)
io.bloombox.schema.services.devices.v1beta1.PingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.devices.v1beta1.Ping.class, io.bloombox.schema.services.devices.v1beta1.Ping.Builder.class);
}
// Construct using io.bloombox.schema.services.devices.v1beta1.Ping.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.devices.v1beta1.DevicesServiceBeta1.internal_static_bloombox_services_devices_v1beta1_Ping_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping getDefaultInstanceForType() {
return io.bloombox.schema.services.devices.v1beta1.Ping.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping build() {
io.bloombox.schema.services.devices.v1beta1.Ping result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping buildPartial() {
io.bloombox.schema.services.devices.v1beta1.Ping result = new io.bloombox.schema.services.devices.v1beta1.Ping(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.services.devices.v1beta1.Ping) {
return mergeFrom((io.bloombox.schema.services.devices.v1beta1.Ping)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.devices.v1beta1.Ping other) {
if (other == io.bloombox.schema.services.devices.v1beta1.Ping.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.services.devices.v1beta1.Ping parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.devices.v1beta1.Ping) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.services.devices.v1beta1.Ping)
}
// @@protoc_insertion_point(class_scope:bloombox.services.devices.v1beta1.Ping)
private static final io.bloombox.schema.services.devices.v1beta1.Ping DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.devices.v1beta1.Ping();
}
public static io.bloombox.schema.services.devices.v1beta1.Ping getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Ping parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Ping(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.services.devices.v1beta1.Ping getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy