// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: launcher.proto
package com.opera.core.systems.runner.launcher;
public final class OperaLauncherProtos {
private OperaLauncherProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface LauncherHandshakeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
public static final class LauncherHandshakeRequest extends
com.google.protobuf.GeneratedMessage
implements LauncherHandshakeRequestOrBuilder {
// Use LauncherHandshakeRequest.newBuilder() to construct.
private LauncherHandshakeRequest(Builder builder) {
super(builder);
}
private LauncherHandshakeRequest(boolean noInit) {}
private static final LauncherHandshakeRequest defaultInstance;
public static LauncherHandshakeRequest getDefaultInstance() {
return defaultInstance;
}
public LauncherHandshakeRequest getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeRequest_fieldAccessorTable;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeRequest_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
}
}
}
// @@protoc_insertion_point(builder_scope:scope.LauncherHandshakeRequest)
}
static {
defaultInstance = new LauncherHandshakeRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherHandshakeRequest)
}
public interface LauncherStartRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
public static final class LauncherStartRequest extends
com.google.protobuf.GeneratedMessage
implements LauncherStartRequestOrBuilder {
// Use LauncherStartRequest.newBuilder() to construct.
private LauncherStartRequest(Builder builder) {
super(builder);
}
private LauncherStartRequest(boolean noInit) {}
private static final LauncherStartRequest defaultInstance;
public static LauncherStartRequest getDefaultInstance() {
return defaultInstance;
}
public LauncherStartRequest getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStartRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStartRequest_fieldAccessorTable;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStartRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStartRequest_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
}
}
}
// @@protoc_insertion_point(builder_scope:scope.LauncherStartRequest)
}
static {
defaultInstance = new LauncherStartRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherStartRequest)
}
public interface LauncherStatusRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 processid = 1;
boolean hasProcessid();
int getProcessid();
}
public static final class LauncherStatusRequest extends
com.google.protobuf.GeneratedMessage
implements LauncherStatusRequestOrBuilder {
// Use LauncherStatusRequest.newBuilder() to construct.
private LauncherStatusRequest(Builder builder) {
super(builder);
}
private LauncherStatusRequest(boolean noInit) {}
private static final LauncherStatusRequest defaultInstance;
public static LauncherStatusRequest getDefaultInstance() {
return defaultInstance;
}
public LauncherStatusRequest getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusRequest_fieldAccessorTable;
}
private int bitField0_;
// optional int32 processid = 1;
public static final int PROCESSID_FIELD_NUMBER = 1;
private int processid_;
public boolean hasProcessid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getProcessid() {
return processid_;
}
private void initFields() {
processid_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, processid_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, processid_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusRequest_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
processid_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.processid_ = processid_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.getDefaultInstance()) return this;
if (other.hasProcessid()) {
setProcessid(other.getProcessid());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
processid_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// optional int32 processid = 1;
private int processid_ ;
public boolean hasProcessid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getProcessid() {
return processid_;
}
public Builder setProcessid(int value) {
bitField0_ |= 0x00000001;
processid_ = value;
onChanged();
return this;
}
public Builder clearProcessid() {
bitField0_ = (bitField0_ & ~0x00000001);
processid_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.LauncherStatusRequest)
}
static {
defaultInstance = new LauncherStatusRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherStatusRequest)
}
public interface LauncherStopRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
public static final class LauncherStopRequest extends
com.google.protobuf.GeneratedMessage
implements LauncherStopRequestOrBuilder {
// Use LauncherStopRequest.newBuilder() to construct.
private LauncherStopRequest(Builder builder) {
super(builder);
}
private LauncherStopRequest(boolean noInit) {}
private static final LauncherStopRequest defaultInstance;
public static LauncherStopRequest getDefaultInstance() {
return defaultInstance;
}
public LauncherStopRequest getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStopRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStopRequest_fieldAccessorTable;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStopRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStopRequest_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
}
}
}
// @@protoc_insertion_point(builder_scope:scope.LauncherStopRequest)
}
static {
defaultInstance = new LauncherStopRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherStopRequest)
}
public interface LauncherHandshakeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string identifier = 1;
boolean hasIdentifier();
String getIdentifier();
// optional string device = 2;
boolean hasDevice();
String getDevice();
// optional string platform = 3;
boolean hasPlatform();
String getPlatform();
// optional string configuration = 4;
boolean hasConfiguration();
String getConfiguration();
// repeated string logmessages = 5;
java.util.List<String> getLogmessagesList();
int getLogmessagesCount();
String getLogmessages(int index);
}
public static final class LauncherHandshakeResponse extends
com.google.protobuf.GeneratedMessage
implements LauncherHandshakeResponseOrBuilder {
// Use LauncherHandshakeResponse.newBuilder() to construct.
private LauncherHandshakeResponse(Builder builder) {
super(builder);
}
private LauncherHandshakeResponse(boolean noInit) {}
private static final LauncherHandshakeResponse defaultInstance;
public static LauncherHandshakeResponse getDefaultInstance() {
return defaultInstance;
}
public LauncherHandshakeResponse getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeResponse_fieldAccessorTable;
}
private int bitField0_;
// required string identifier = 1;
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private java.lang.Object identifier_;
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getIdentifier() {
java.lang.Object ref = identifier_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
identifier_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string device = 2;
public static final int DEVICE_FIELD_NUMBER = 2;
private java.lang.Object device_;
public boolean hasDevice() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getDevice() {
java.lang.Object ref = device_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
device_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDeviceBytes() {
java.lang.Object ref = device_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
device_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string platform = 3;
public static final int PLATFORM_FIELD_NUMBER = 3;
private java.lang.Object platform_;
public boolean hasPlatform() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getPlatform() {
java.lang.Object ref = platform_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
platform_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPlatformBytes() {
java.lang.Object ref = platform_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
platform_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string configuration = 4;
public static final int CONFIGURATION_FIELD_NUMBER = 4;
private java.lang.Object configuration_;
public boolean hasConfiguration() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getConfiguration() {
java.lang.Object ref = configuration_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
configuration_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getConfigurationBytes() {
java.lang.Object ref = configuration_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
configuration_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string logmessages = 5;
public static final int LOGMESSAGES_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList logmessages_;
public java.util.List<String>
getLogmessagesList() {
return logmessages_;
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
private void initFields() {
identifier_ = "";
device_ = "";
platform_ = "";
configuration_ = "";
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasIdentifier()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getIdentifierBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getDeviceBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getPlatformBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getConfigurationBytes());
}
for (int i = 0; i < logmessages_.size(); i++) {
output.writeBytes(5, logmessages_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getIdentifierBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getDeviceBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getPlatformBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getConfigurationBytes());
}
{
int dataSize = 0;
for (int i = 0; i < logmessages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(logmessages_.getByteString(i));
}
size += dataSize;
size += 1 * getLogmessagesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherHandshakeResponse_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
identifier_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
device_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
platform_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
configuration_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.identifier_ = identifier_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.device_ = device_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.platform_ = platform_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.configuration_ = configuration_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
logmessages_ = new com.google.protobuf.UnmodifiableLazyStringList(
logmessages_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.logmessages_ = logmessages_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
setIdentifier(other.getIdentifier());
}
if (other.hasDevice()) {
setDevice(other.getDevice());
}
if (other.hasPlatform()) {
setPlatform(other.getPlatform());
}
if (other.hasConfiguration()) {
setConfiguration(other.getConfiguration());
}
if (!other.logmessages_.isEmpty()) {
if (logmessages_.isEmpty()) {
logmessages_ = other.logmessages_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureLogmessagesIsMutable();
logmessages_.addAll(other.logmessages_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasIdentifier()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
identifier_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
device_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
platform_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
configuration_ = input.readBytes();
break;
}
case 42: {
ensureLogmessagesIsMutable();
logmessages_.add(input.readBytes());
break;
}
}
}
}
private int bitField0_;
// required string identifier = 1;
private java.lang.Object identifier_ = "";
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getIdentifier() {
java.lang.Object ref = identifier_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
identifier_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setIdentifier(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
identifier_ = value;
onChanged();
return this;
}
public Builder clearIdentifier() {
bitField0_ = (bitField0_ & ~0x00000001);
identifier_ = getDefaultInstance().getIdentifier();
onChanged();
return this;
}
void setIdentifier(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
identifier_ = value;
onChanged();
}
// optional string device = 2;
private java.lang.Object device_ = "";
public boolean hasDevice() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getDevice() {
java.lang.Object ref = device_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
device_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDevice(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
device_ = value;
onChanged();
return this;
}
public Builder clearDevice() {
bitField0_ = (bitField0_ & ~0x00000002);
device_ = getDefaultInstance().getDevice();
onChanged();
return this;
}
void setDevice(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
device_ = value;
onChanged();
}
// optional string platform = 3;
private java.lang.Object platform_ = "";
public boolean hasPlatform() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getPlatform() {
java.lang.Object ref = platform_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
platform_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPlatform(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
platform_ = value;
onChanged();
return this;
}
public Builder clearPlatform() {
bitField0_ = (bitField0_ & ~0x00000004);
platform_ = getDefaultInstance().getPlatform();
onChanged();
return this;
}
void setPlatform(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
platform_ = value;
onChanged();
}
// optional string configuration = 4;
private java.lang.Object configuration_ = "";
public boolean hasConfiguration() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public String getConfiguration() {
java.lang.Object ref = configuration_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
configuration_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setConfiguration(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
configuration_ = value;
onChanged();
return this;
}
public Builder clearConfiguration() {
bitField0_ = (bitField0_ & ~0x00000008);
configuration_ = getDefaultInstance().getConfiguration();
onChanged();
return this;
}
void setConfiguration(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000008;
configuration_ = value;
onChanged();
}
// repeated string logmessages = 5;
private com.google.protobuf.LazyStringList logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLogmessagesIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
logmessages_ = new com.google.protobuf.LazyStringArrayList(logmessages_);
bitField0_ |= 0x00000010;
}
}
public java.util.List<String>
getLogmessagesList() {
return java.util.Collections.unmodifiableList(logmessages_);
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
public Builder setLogmessages(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.set(index, value);
onChanged();
return this;
}
public Builder addLogmessages(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
return this;
}
public Builder addAllLogmessages(
java.lang.Iterable<String> values) {
ensureLogmessagesIsMutable();
super.addAll(values, logmessages_);
onChanged();
return this;
}
public Builder clearLogmessages() {
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
void addLogmessages(com.google.protobuf.ByteString value) {
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.LauncherHandshakeResponse)
}
static {
defaultInstance = new LauncherHandshakeResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherHandshakeResponse)
}
public interface LauncherStatusResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .scope.LauncherStatusResponse.StatusType status = 1;
boolean hasStatus();
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType getStatus();
// optional int32 exitcode = 2;
boolean hasExitcode();
int getExitcode();
// optional bytes crashlog = 3;
boolean hasCrashlog();
com.google.protobuf.ByteString getCrashlog();
// repeated string logmessages = 4;
java.util.List<String> getLogmessagesList();
int getLogmessagesCount();
String getLogmessages(int index);
}
public static final class LauncherStatusResponse extends
com.google.protobuf.GeneratedMessage
implements LauncherStatusResponseOrBuilder {
// Use LauncherStatusResponse.newBuilder() to construct.
private LauncherStatusResponse(Builder builder) {
super(builder);
}
private LauncherStatusResponse(boolean noInit) {}
private static final LauncherStatusResponse defaultInstance;
public static LauncherStatusResponse getDefaultInstance() {
return defaultInstance;
}
public LauncherStatusResponse getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusResponse_fieldAccessorTable;
}
public enum StatusType
implements com.google.protobuf.ProtocolMessageEnum {
RUNNING(0, 0),
STOPPED(1, 1),
CRASHED(2, 2),
FROZEN(3, 3),
;
public static final int RUNNING_VALUE = 0;
public static final int STOPPED_VALUE = 1;
public static final int CRASHED_VALUE = 2;
public static final int FROZEN_VALUE = 3;
public final int getNumber() { return value; }
public static StatusType valueOf(int value) {
switch (value) {
case 0: return RUNNING;
case 1: return STOPPED;
case 2: return CRASHED;
case 3: return FROZEN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<StatusType>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<StatusType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<StatusType>() {
public StatusType findValueByNumber(int number) {
return StatusType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.getDescriptor().getEnumTypes().get(0);
}
private static final StatusType[] VALUES = {
RUNNING, STOPPED, CRASHED, FROZEN,
};
public static StatusType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private StatusType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:scope.LauncherStatusResponse.StatusType)
}
private int bitField0_;
// required .scope.LauncherStatusResponse.StatusType status = 1;
public static final int STATUS_FIELD_NUMBER = 1;
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType status_;
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType getStatus() {
return status_;
}
// optional int32 exitcode = 2;
public static final int EXITCODE_FIELD_NUMBER = 2;
private int exitcode_;
public boolean hasExitcode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getExitcode() {
return exitcode_;
}
// optional bytes crashlog = 3;
public static final int CRASHLOG_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString crashlog_;
public boolean hasCrashlog() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getCrashlog() {
return crashlog_;
}
// repeated string logmessages = 4;
public static final int LOGMESSAGES_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList logmessages_;
public java.util.List<String>
getLogmessagesList() {
return logmessages_;
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
private void initFields() {
status_ = com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType.RUNNING;
exitcode_ = 0;
crashlog_ = com.google.protobuf.ByteString.EMPTY;
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasStatus()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, status_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, exitcode_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, crashlog_);
}
for (int i = 0; i < logmessages_.size(); i++) {
output.writeBytes(4, logmessages_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, exitcode_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, crashlog_);
}
{
int dataSize = 0;
for (int i = 0; i < logmessages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(logmessages_.getByteString(i));
}
size += dataSize;
size += 1 * getLogmessagesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherStatusResponse_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
status_ = com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType.RUNNING;
bitField0_ = (bitField0_ & ~0x00000001);
exitcode_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
crashlog_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.exitcode_ = exitcode_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.crashlog_ = crashlog_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
logmessages_ = new com.google.protobuf.UnmodifiableLazyStringList(
logmessages_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.logmessages_ = logmessages_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasExitcode()) {
setExitcode(other.getExitcode());
}
if (other.hasCrashlog()) {
setCrashlog(other.getCrashlog());
}
if (!other.logmessages_.isEmpty()) {
if (logmessages_.isEmpty()) {
logmessages_ = other.logmessages_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureLogmessagesIsMutable();
logmessages_.addAll(other.logmessages_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasStatus()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
int rawValue = input.readEnum();
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType value = com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
status_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
exitcode_ = input.readInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
crashlog_ = input.readBytes();
break;
}
case 34: {
ensureLogmessagesIsMutable();
logmessages_.add(input.readBytes());
break;
}
}
}
}
private int bitField0_;
// required .scope.LauncherStatusResponse.StatusType status = 1;
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType status_ = com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType.RUNNING;
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType getStatus() {
return status_;
}
public Builder setStatus(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
status_ = value;
onChanged();
return this;
}
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.StatusType.RUNNING;
onChanged();
return this;
}
// optional int32 exitcode = 2;
private int exitcode_ ;
public boolean hasExitcode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getExitcode() {
return exitcode_;
}
public Builder setExitcode(int value) {
bitField0_ |= 0x00000002;
exitcode_ = value;
onChanged();
return this;
}
public Builder clearExitcode() {
bitField0_ = (bitField0_ & ~0x00000002);
exitcode_ = 0;
onChanged();
return this;
}
// optional bytes crashlog = 3;
private com.google.protobuf.ByteString crashlog_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasCrashlog() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getCrashlog() {
return crashlog_;
}
public Builder setCrashlog(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
crashlog_ = value;
onChanged();
return this;
}
public Builder clearCrashlog() {
bitField0_ = (bitField0_ & ~0x00000004);
crashlog_ = getDefaultInstance().getCrashlog();
onChanged();
return this;
}
// repeated string logmessages = 4;
private com.google.protobuf.LazyStringList logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLogmessagesIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
logmessages_ = new com.google.protobuf.LazyStringArrayList(logmessages_);
bitField0_ |= 0x00000008;
}
}
public java.util.List<String>
getLogmessagesList() {
return java.util.Collections.unmodifiableList(logmessages_);
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
public Builder setLogmessages(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.set(index, value);
onChanged();
return this;
}
public Builder addLogmessages(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
return this;
}
public Builder addAllLogmessages(
java.lang.Iterable<String> values) {
ensureLogmessagesIsMutable();
super.addAll(values, logmessages_);
onChanged();
return this;
}
public Builder clearLogmessages() {
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
void addLogmessages(com.google.protobuf.ByteString value) {
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.LauncherStatusResponse)
}
static {
defaultInstance = new LauncherStatusResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherStatusResponse)
}
public interface LauncherScreenshotRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated string knownMD5s = 1;
java.util.List<String> getKnownMD5SList();
int getKnownMD5SCount();
String getKnownMD5S(int index);
// optional int32 knownMD5sTimeoutMs = 2;
boolean hasKnownMD5STimeoutMs();
int getKnownMD5STimeoutMs();
}
public static final class LauncherScreenshotRequest extends
com.google.protobuf.GeneratedMessage
implements LauncherScreenshotRequestOrBuilder {
// Use LauncherScreenshotRequest.newBuilder() to construct.
private LauncherScreenshotRequest(Builder builder) {
super(builder);
}
private LauncherScreenshotRequest(boolean noInit) {}
private static final LauncherScreenshotRequest defaultInstance;
public static LauncherScreenshotRequest getDefaultInstance() {
return defaultInstance;
}
public LauncherScreenshotRequest getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotRequest_fieldAccessorTable;
}
private int bitField0_;
// repeated string knownMD5s = 1;
public static final int KNOWNMD5S_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList knownMD5S_;
public java.util.List<String>
getKnownMD5SList() {
return knownMD5S_;
}
public int getKnownMD5SCount() {
return knownMD5S_.size();
}
public String getKnownMD5S(int index) {
return knownMD5S_.get(index);
}
// optional int32 knownMD5sTimeoutMs = 2;
public static final int KNOWNMD5STIMEOUTMS_FIELD_NUMBER = 2;
private int knownMD5STimeoutMs_;
public boolean hasKnownMD5STimeoutMs() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getKnownMD5STimeoutMs() {
return knownMD5STimeoutMs_;
}
private void initFields() {
knownMD5S_ = com.google.protobuf.LazyStringArrayList.EMPTY;
knownMD5STimeoutMs_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < knownMD5S_.size(); i++) {
output.writeBytes(1, knownMD5S_.getByteString(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(2, knownMD5STimeoutMs_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < knownMD5S_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(knownMD5S_.getByteString(i));
}
size += dataSize;
size += 1 * getKnownMD5SList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, knownMD5STimeoutMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotRequest_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
knownMD5S_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
knownMD5STimeoutMs_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
knownMD5S_ = new com.google.protobuf.UnmodifiableLazyStringList(
knownMD5S_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.knownMD5S_ = knownMD5S_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.knownMD5STimeoutMs_ = knownMD5STimeoutMs_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.getDefaultInstance()) return this;
if (!other.knownMD5S_.isEmpty()) {
if (knownMD5S_.isEmpty()) {
knownMD5S_ = other.knownMD5S_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKnownMD5SIsMutable();
knownMD5S_.addAll(other.knownMD5S_);
}
onChanged();
}
if (other.hasKnownMD5STimeoutMs()) {
setKnownMD5STimeoutMs(other.getKnownMD5STimeoutMs());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
ensureKnownMD5SIsMutable();
knownMD5S_.add(input.readBytes());
break;
}
case 16: {
bitField0_ |= 0x00000002;
knownMD5STimeoutMs_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// repeated string knownMD5s = 1;
private com.google.protobuf.LazyStringList knownMD5S_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureKnownMD5SIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
knownMD5S_ = new com.google.protobuf.LazyStringArrayList(knownMD5S_);
bitField0_ |= 0x00000001;
}
}
public java.util.List<String>
getKnownMD5SList() {
return java.util.Collections.unmodifiableList(knownMD5S_);
}
public int getKnownMD5SCount() {
return knownMD5S_.size();
}
public String getKnownMD5S(int index) {
return knownMD5S_.get(index);
}
public Builder setKnownMD5S(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKnownMD5SIsMutable();
knownMD5S_.set(index, value);
onChanged();
return this;
}
public Builder addKnownMD5S(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKnownMD5SIsMutable();
knownMD5S_.add(value);
onChanged();
return this;
}
public Builder addAllKnownMD5S(
java.lang.Iterable<String> values) {
ensureKnownMD5SIsMutable();
super.addAll(values, knownMD5S_);
onChanged();
return this;
}
public Builder clearKnownMD5S() {
knownMD5S_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
void addKnownMD5S(com.google.protobuf.ByteString value) {
ensureKnownMD5SIsMutable();
knownMD5S_.add(value);
onChanged();
}
// optional int32 knownMD5sTimeoutMs = 2;
private int knownMD5STimeoutMs_ ;
public boolean hasKnownMD5STimeoutMs() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getKnownMD5STimeoutMs() {
return knownMD5STimeoutMs_;
}
public Builder setKnownMD5STimeoutMs(int value) {
bitField0_ |= 0x00000002;
knownMD5STimeoutMs_ = value;
onChanged();
return this;
}
public Builder clearKnownMD5STimeoutMs() {
bitField0_ = (bitField0_ & ~0x00000002);
knownMD5STimeoutMs_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:scope.LauncherScreenshotRequest)
}
static {
defaultInstance = new LauncherScreenshotRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherScreenshotRequest)
}
public interface LauncherScreenshotResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string md5 = 1;
boolean hasMd5();
String getMd5();
// optional string format = 2;
boolean hasFormat();
String getFormat();
// optional int32 width = 3;
boolean hasWidth();
int getWidth();
// optional int32 height = 4;
boolean hasHeight();
int getHeight();
// optional bytes imagedata = 5;
boolean hasImagedata();
com.google.protobuf.ByteString getImagedata();
// optional bool blank = 6;
boolean hasBlank();
boolean getBlank();
// repeated string logmessages = 7;
java.util.List<String> getLogmessagesList();
int getLogmessagesCount();
String getLogmessages(int index);
}
public static final class LauncherScreenshotResponse extends
com.google.protobuf.GeneratedMessage
implements LauncherScreenshotResponseOrBuilder {
// Use LauncherScreenshotResponse.newBuilder() to construct.
private LauncherScreenshotResponse(Builder builder) {
super(builder);
}
private LauncherScreenshotResponse(boolean noInit) {}
private static final LauncherScreenshotResponse defaultInstance;
public static LauncherScreenshotResponse getDefaultInstance() {
return defaultInstance;
}
public LauncherScreenshotResponse getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotResponse_fieldAccessorTable;
}
private int bitField0_;
// optional string md5 = 1;
public static final int MD5_FIELD_NUMBER = 1;
private java.lang.Object md5_;
public boolean hasMd5() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getMd5() {
java.lang.Object ref = md5_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
md5_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMd5Bytes() {
java.lang.Object ref = md5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
md5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string format = 2;
public static final int FORMAT_FIELD_NUMBER = 2;
private java.lang.Object format_;
public boolean hasFormat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getFormat() {
java.lang.Object ref = format_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
format_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 width = 3;
public static final int WIDTH_FIELD_NUMBER = 3;
private int width_;
public boolean hasWidth() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getWidth() {
return width_;
}
// optional int32 height = 4;
public static final int HEIGHT_FIELD_NUMBER = 4;
private int height_;
public boolean hasHeight() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getHeight() {
return height_;
}
// optional bytes imagedata = 5;
public static final int IMAGEDATA_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString imagedata_;
public boolean hasImagedata() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public com.google.protobuf.ByteString getImagedata() {
return imagedata_;
}
// optional bool blank = 6;
public static final int BLANK_FIELD_NUMBER = 6;
private boolean blank_;
public boolean hasBlank() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getBlank() {
return blank_;
}
// repeated string logmessages = 7;
public static final int LOGMESSAGES_FIELD_NUMBER = 7;
private com.google.protobuf.LazyStringList logmessages_;
public java.util.List<String>
getLogmessagesList() {
return logmessages_;
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
private void initFields() {
md5_ = "";
format_ = "";
width_ = 0;
height_ = 0;
imagedata_ = com.google.protobuf.ByteString.EMPTY;
blank_ = false;
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMd5Bytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getFormatBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, width_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, height_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, imagedata_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(6, blank_);
}
for (int i = 0; i < logmessages_.size(); i++) {
output.writeBytes(7, logmessages_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getMd5Bytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getFormatBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, width_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, height_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, imagedata_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, blank_);
}
{
int dataSize = 0;
for (int i = 0; i < logmessages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(logmessages_.getByteString(i));
}
size += dataSize;
size += 1 * getLogmessagesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.internal_static_scope_LauncherScreenshotResponse_fieldAccessorTable;
}
// Construct using com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
md5_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
format_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
width_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
height_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
imagedata_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
blank_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.getDescriptor();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse getDefaultInstanceForType() {
return com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.getDefaultInstance();
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse build() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse buildPartial() {
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse result = new com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.md5_ = md5_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.format_ = format_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.width_ = width_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.height_ = height_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.imagedata_ = imagedata_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.blank_ = blank_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
logmessages_ = new com.google.protobuf.UnmodifiableLazyStringList(
logmessages_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.logmessages_ = logmessages_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse) {
return mergeFrom((com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse other) {
if (other == com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.getDefaultInstance()) return this;
if (other.hasMd5()) {
setMd5(other.getMd5());
}
if (other.hasFormat()) {
setFormat(other.getFormat());
}
if (other.hasWidth()) {
setWidth(other.getWidth());
}
if (other.hasHeight()) {
setHeight(other.getHeight());
}
if (other.hasImagedata()) {
setImagedata(other.getImagedata());
}
if (other.hasBlank()) {
setBlank(other.getBlank());
}
if (!other.logmessages_.isEmpty()) {
if (logmessages_.isEmpty()) {
logmessages_ = other.logmessages_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureLogmessagesIsMutable();
logmessages_.addAll(other.logmessages_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
md5_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
format_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
width_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
height_ = input.readInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
imagedata_ = input.readBytes();
break;
}
case 48: {
bitField0_ |= 0x00000020;
blank_ = input.readBool();
break;
}
case 58: {
ensureLogmessagesIsMutable();
logmessages_.add(input.readBytes());
break;
}
}
}
}
private int bitField0_;
// optional string md5 = 1;
private java.lang.Object md5_ = "";
public boolean hasMd5() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getMd5() {
java.lang.Object ref = md5_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
md5_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMd5(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
md5_ = value;
onChanged();
return this;
}
public Builder clearMd5() {
bitField0_ = (bitField0_ & ~0x00000001);
md5_ = getDefaultInstance().getMd5();
onChanged();
return this;
}
void setMd5(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
md5_ = value;
onChanged();
}
// optional string format = 2;
private java.lang.Object format_ = "";
public boolean hasFormat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
format_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setFormat(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
format_ = value;
onChanged();
return this;
}
public Builder clearFormat() {
bitField0_ = (bitField0_ & ~0x00000002);
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
void setFormat(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
format_ = value;
onChanged();
}
// optional int32 width = 3;
private int width_ ;
public boolean hasWidth() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getWidth() {
return width_;
}
public Builder setWidth(int value) {
bitField0_ |= 0x00000004;
width_ = value;
onChanged();
return this;
}
public Builder clearWidth() {
bitField0_ = (bitField0_ & ~0x00000004);
width_ = 0;
onChanged();
return this;
}
// optional int32 height = 4;
private int height_ ;
public boolean hasHeight() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getHeight() {
return height_;
}
public Builder setHeight(int value) {
bitField0_ |= 0x00000008;
height_ = value;
onChanged();
return this;
}
public Builder clearHeight() {
bitField0_ = (bitField0_ & ~0x00000008);
height_ = 0;
onChanged();
return this;
}
// optional bytes imagedata = 5;
private com.google.protobuf.ByteString imagedata_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasImagedata() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public com.google.protobuf.ByteString getImagedata() {
return imagedata_;
}
public Builder setImagedata(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
imagedata_ = value;
onChanged();
return this;
}
public Builder clearImagedata() {
bitField0_ = (bitField0_ & ~0x00000010);
imagedata_ = getDefaultInstance().getImagedata();
onChanged();
return this;
}
// optional bool blank = 6;
private boolean blank_ ;
public boolean hasBlank() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getBlank() {
return blank_;
}
public Builder setBlank(boolean value) {
bitField0_ |= 0x00000020;
blank_ = value;
onChanged();
return this;
}
public Builder clearBlank() {
bitField0_ = (bitField0_ & ~0x00000020);
blank_ = false;
onChanged();
return this;
}
// repeated string logmessages = 7;
private com.google.protobuf.LazyStringList logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureLogmessagesIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
logmessages_ = new com.google.protobuf.LazyStringArrayList(logmessages_);
bitField0_ |= 0x00000040;
}
}
public java.util.List<String>
getLogmessagesList() {
return java.util.Collections.unmodifiableList(logmessages_);
}
public int getLogmessagesCount() {
return logmessages_.size();
}
public String getLogmessages(int index) {
return logmessages_.get(index);
}
public Builder setLogmessages(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.set(index, value);
onChanged();
return this;
}
public Builder addLogmessages(String value) {
if (value == null) {
throw new NullPointerException();
}
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
return this;
}
public Builder addAllLogmessages(
java.lang.Iterable<String> values) {
ensureLogmessagesIsMutable();
super.addAll(values, logmessages_);
onChanged();
return this;
}
public Builder clearLogmessages() {
logmessages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
void addLogmessages(com.google.protobuf.ByteString value) {
ensureLogmessagesIsMutable();
logmessages_.add(value);
onChanged();
}
// @@protoc_insertion_point(builder_scope:scope.LauncherScreenshotResponse)
}
static {
defaultInstance = new LauncherScreenshotResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:scope.LauncherScreenshotResponse)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherHandshakeRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherHandshakeRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherStartRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherStartRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherStatusRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherStatusRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherStopRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherStopRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherHandshakeResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherHandshakeResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherStatusResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherStatusResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherScreenshotRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherScreenshotRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_scope_LauncherScreenshotResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_scope_LauncherScreenshotResponse_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\016launcher.proto\022\005scope\032\"opera/scope/sco" +
"pe_descriptor.proto\"\032\n\030LauncherHandshake" +
"Request\"\026\n\024LauncherStartRequest\"*\n\025Launc" +
"herStatusRequest\022\021\n\tprocessid\030\001 \001(\005\"\025\n\023L" +
"auncherStopRequest\"}\n\031LauncherHandshakeR" +
"esponse\022\022\n\nidentifier\030\001 \002(\t\022\016\n\006device\030\002 " +
"\001(\t\022\020\n\010platform\030\003 \001(\t\022\025\n\rconfiguration\030\004" +
" \001(\t\022\023\n\013logmessages\030\005 \003(\t\"\314\001\n\026LauncherSt" +
"atusResponse\0228\n\006status\030\001 \002(\0162(.scope.Lau" +
"ncherStatusResponse.StatusType\022\020\n\010exitco",
"de\030\002 \001(\005\022\020\n\010crashlog\030\003 \001(\014\022\023\n\013logmessage" +
"s\030\004 \003(\t\"?\n\nStatusType\022\013\n\007RUNNING\020\000\022\013\n\007ST" +
"OPPED\020\001\022\013\n\007CRASHED\020\002\022\n\n\006FROZEN\020\003\"J\n\031Laun" +
"cherScreenshotRequest\022\021\n\tknownMD5s\030\001 \003(\t" +
"\022\032\n\022knownMD5sTimeoutMs\030\002 \001(\005\"\217\001\n\032Launche" +
"rScreenshotResponse\022\013\n\003md5\030\001 \001(\t\022\016\n\006form" +
"at\030\002 \001(\t\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\022" +
"\021\n\timagedata\030\005 \001(\014\022\r\n\005blank\030\006 \001(\010\022\023\n\013log" +
"messages\030\007 \003(\tB?\n&com.opera.core.systems" +
".runner.launcherB\023OperaLauncherProtosH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_scope_LauncherHandshakeRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_scope_LauncherHandshakeRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherHandshakeRequest_descriptor,
new java.lang.String[] { },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeRequest.Builder.class);
internal_static_scope_LauncherStartRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_scope_LauncherStartRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherStartRequest_descriptor,
new java.lang.String[] { },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStartRequest.Builder.class);
internal_static_scope_LauncherStatusRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_scope_LauncherStatusRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherStatusRequest_descriptor,
new java.lang.String[] { "Processid", },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusRequest.Builder.class);
internal_static_scope_LauncherStopRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_scope_LauncherStopRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherStopRequest_descriptor,
new java.lang.String[] { },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStopRequest.Builder.class);
internal_static_scope_LauncherHandshakeResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_scope_LauncherHandshakeResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherHandshakeResponse_descriptor,
new java.lang.String[] { "Identifier", "Device", "Platform", "Configuration", "Logmessages", },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherHandshakeResponse.Builder.class);
internal_static_scope_LauncherStatusResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_scope_LauncherStatusResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherStatusResponse_descriptor,
new java.lang.String[] { "Status", "Exitcode", "Crashlog", "Logmessages", },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherStatusResponse.Builder.class);
internal_static_scope_LauncherScreenshotRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_scope_LauncherScreenshotRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherScreenshotRequest_descriptor,
new java.lang.String[] { "KnownMD5S", "KnownMD5STimeoutMs", },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotRequest.Builder.class);
internal_static_scope_LauncherScreenshotResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_scope_LauncherScreenshotResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_scope_LauncherScreenshotResponse_descriptor,
new java.lang.String[] { "Md5", "Format", "Width", "Height", "Imagedata", "Blank", "Logmessages", },
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.class,
com.opera.core.systems.runner.launcher.OperaLauncherProtos.LauncherScreenshotResponse.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
ScopeDescriptor.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}