ai.promoted.proto.delivery.DeliveryExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deliveryclient Show documentation
Show all versions of deliveryclient Show documentation
A Java Client to contact the Promoted.ai Delivery API.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/delivery/execution.proto
package ai.promoted.proto.delivery;
/**
* Protobuf type {@code delivery.DeliveryExecution}
*/
public final class DeliveryExecution extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:delivery.DeliveryExecution)
DeliveryExecutionOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeliveryExecution.newBuilder() to construct.
private DeliveryExecution(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeliveryExecution() {
executionServer_ = 0;
serverVersion_ = "";
blenderConfig_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeliveryExecution();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeliveryExecution(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 16: {
int rawValue = input.readEnum();
executionServer_ = rawValue;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
serverVersion_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
blenderConfig_ = s;
break;
}
case 106: {
ai.promoted.proto.delivery.HyperloopLog.Builder subBuilder = null;
if (hyperloopLog_ != null) {
subBuilder = hyperloopLog_.toBuilder();
}
hyperloopLog_ = input.readMessage(ai.promoted.proto.delivery.HyperloopLog.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hyperloopLog_);
hyperloopLog_ = subBuilder.buildPartial();
}
break;
}
case 122: {
ai.promoted.proto.common.UserInfo.Builder subBuilder = null;
if (effectiveUserInfo_ != null) {
subBuilder = effectiveUserInfo_.toBuilder();
}
effectiveUserInfo_ = input.readMessage(ai.promoted.proto.common.UserInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(effectiveUserInfo_);
effectiveUserInfo_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.promoted.proto.delivery.DeliveryExecutionLog.internal_static_delivery_DeliveryExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.delivery.DeliveryExecutionLog.internal_static_delivery_DeliveryExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.delivery.DeliveryExecution.class, ai.promoted.proto.delivery.DeliveryExecution.Builder.class);
}
public static final int EXECUTION_SERVER_FIELD_NUMBER = 2;
private int executionServer_;
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @return The enum numeric value on the wire for executionServer.
*/
@java.lang.Override public int getExecutionServerValue() {
return executionServer_;
}
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @return The executionServer.
*/
@java.lang.Override public ai.promoted.proto.delivery.ExecutionServer getExecutionServer() {
@SuppressWarnings("deprecation")
ai.promoted.proto.delivery.ExecutionServer result = ai.promoted.proto.delivery.ExecutionServer.valueOf(executionServer_);
return result == null ? ai.promoted.proto.delivery.ExecutionServer.UNRECOGNIZED : result;
}
public static final int SERVER_VERSION_FIELD_NUMBER = 7;
private volatile java.lang.Object serverVersion_;
/**
* string server_version = 7 [json_name = "serverVersion"];
* @return The serverVersion.
*/
@java.lang.Override
public java.lang.String getServerVersion() {
java.lang.Object ref = serverVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverVersion_ = s;
return s;
}
}
/**
* string server_version = 7 [json_name = "serverVersion"];
* @return The bytes for serverVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getServerVersionBytes() {
java.lang.Object ref = serverVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BLENDER_CONFIG_FIELD_NUMBER = 12;
private volatile java.lang.Object blenderConfig_;
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @return The blenderConfig.
*/
@java.lang.Override
public java.lang.String getBlenderConfig() {
java.lang.Object ref = blenderConfig_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blenderConfig_ = s;
return s;
}
}
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @return The bytes for blenderConfig.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBlenderConfigBytes() {
java.lang.Object ref = blenderConfig_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blenderConfig_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HYPERLOOP_LOG_FIELD_NUMBER = 13;
private ai.promoted.proto.delivery.HyperloopLog hyperloopLog_;
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
* @return Whether the hyperloopLog field is set.
*/
@java.lang.Override
public boolean hasHyperloopLog() {
return hyperloopLog_ != null;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
* @return The hyperloopLog.
*/
@java.lang.Override
public ai.promoted.proto.delivery.HyperloopLog getHyperloopLog() {
return hyperloopLog_ == null ? ai.promoted.proto.delivery.HyperloopLog.getDefaultInstance() : hyperloopLog_;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
@java.lang.Override
public ai.promoted.proto.delivery.HyperloopLogOrBuilder getHyperloopLogOrBuilder() {
return getHyperloopLog();
}
public static final int EFFECTIVE_USER_INFO_FIELD_NUMBER = 15;
private ai.promoted.proto.common.UserInfo effectiveUserInfo_;
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
* @return Whether the effectiveUserInfo field is set.
*/
@java.lang.Override
public boolean hasEffectiveUserInfo() {
return effectiveUserInfo_ != null;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
* @return The effectiveUserInfo.
*/
@java.lang.Override
public ai.promoted.proto.common.UserInfo getEffectiveUserInfo() {
return effectiveUserInfo_ == null ? ai.promoted.proto.common.UserInfo.getDefaultInstance() : effectiveUserInfo_;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
@java.lang.Override
public ai.promoted.proto.common.UserInfoOrBuilder getEffectiveUserInfoOrBuilder() {
return getEffectiveUserInfo();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (executionServer_ != ai.promoted.proto.delivery.ExecutionServer.UNKNOWN_EXECUTION_SERVER.getNumber()) {
output.writeEnum(2, executionServer_);
}
if (!getServerVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serverVersion_);
}
if (!getBlenderConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, blenderConfig_);
}
if (hyperloopLog_ != null) {
output.writeMessage(13, getHyperloopLog());
}
if (effectiveUserInfo_ != null) {
output.writeMessage(15, getEffectiveUserInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (executionServer_ != ai.promoted.proto.delivery.ExecutionServer.UNKNOWN_EXECUTION_SERVER.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, executionServer_);
}
if (!getServerVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serverVersion_);
}
if (!getBlenderConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, blenderConfig_);
}
if (hyperloopLog_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getHyperloopLog());
}
if (effectiveUserInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getEffectiveUserInfo());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.promoted.proto.delivery.DeliveryExecution)) {
return super.equals(obj);
}
ai.promoted.proto.delivery.DeliveryExecution other = (ai.promoted.proto.delivery.DeliveryExecution) obj;
if (executionServer_ != other.executionServer_) return false;
if (!getServerVersion()
.equals(other.getServerVersion())) return false;
if (!getBlenderConfig()
.equals(other.getBlenderConfig())) return false;
if (hasHyperloopLog() != other.hasHyperloopLog()) return false;
if (hasHyperloopLog()) {
if (!getHyperloopLog()
.equals(other.getHyperloopLog())) return false;
}
if (hasEffectiveUserInfo() != other.hasEffectiveUserInfo()) return false;
if (hasEffectiveUserInfo()) {
if (!getEffectiveUserInfo()
.equals(other.getEffectiveUserInfo())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + EXECUTION_SERVER_FIELD_NUMBER;
hash = (53 * hash) + executionServer_;
hash = (37 * hash) + SERVER_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getServerVersion().hashCode();
hash = (37 * hash) + BLENDER_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getBlenderConfig().hashCode();
if (hasHyperloopLog()) {
hash = (37 * hash) + HYPERLOOP_LOG_FIELD_NUMBER;
hash = (53 * hash) + getHyperloopLog().hashCode();
}
if (hasEffectiveUserInfo()) {
hash = (37 * hash) + EFFECTIVE_USER_INFO_FIELD_NUMBER;
hash = (53 * hash) + getEffectiveUserInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.delivery.DeliveryExecution parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.promoted.proto.delivery.DeliveryExecution prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code delivery.DeliveryExecution}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:delivery.DeliveryExecution)
ai.promoted.proto.delivery.DeliveryExecutionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.promoted.proto.delivery.DeliveryExecutionLog.internal_static_delivery_DeliveryExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.delivery.DeliveryExecutionLog.internal_static_delivery_DeliveryExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.delivery.DeliveryExecution.class, ai.promoted.proto.delivery.DeliveryExecution.Builder.class);
}
// Construct using ai.promoted.proto.delivery.DeliveryExecution.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
executionServer_ = 0;
serverVersion_ = "";
blenderConfig_ = "";
if (hyperloopLogBuilder_ == null) {
hyperloopLog_ = null;
} else {
hyperloopLog_ = null;
hyperloopLogBuilder_ = null;
}
if (effectiveUserInfoBuilder_ == null) {
effectiveUserInfo_ = null;
} else {
effectiveUserInfo_ = null;
effectiveUserInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.promoted.proto.delivery.DeliveryExecutionLog.internal_static_delivery_DeliveryExecution_descriptor;
}
@java.lang.Override
public ai.promoted.proto.delivery.DeliveryExecution getDefaultInstanceForType() {
return ai.promoted.proto.delivery.DeliveryExecution.getDefaultInstance();
}
@java.lang.Override
public ai.promoted.proto.delivery.DeliveryExecution build() {
ai.promoted.proto.delivery.DeliveryExecution result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.promoted.proto.delivery.DeliveryExecution buildPartial() {
ai.promoted.proto.delivery.DeliveryExecution result = new ai.promoted.proto.delivery.DeliveryExecution(this);
result.executionServer_ = executionServer_;
result.serverVersion_ = serverVersion_;
result.blenderConfig_ = blenderConfig_;
if (hyperloopLogBuilder_ == null) {
result.hyperloopLog_ = hyperloopLog_;
} else {
result.hyperloopLog_ = hyperloopLogBuilder_.build();
}
if (effectiveUserInfoBuilder_ == null) {
result.effectiveUserInfo_ = effectiveUserInfo_;
} else {
result.effectiveUserInfo_ = effectiveUserInfoBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.promoted.proto.delivery.DeliveryExecution) {
return mergeFrom((ai.promoted.proto.delivery.DeliveryExecution)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.promoted.proto.delivery.DeliveryExecution other) {
if (other == ai.promoted.proto.delivery.DeliveryExecution.getDefaultInstance()) return this;
if (other.executionServer_ != 0) {
setExecutionServerValue(other.getExecutionServerValue());
}
if (!other.getServerVersion().isEmpty()) {
serverVersion_ = other.serverVersion_;
onChanged();
}
if (!other.getBlenderConfig().isEmpty()) {
blenderConfig_ = other.blenderConfig_;
onChanged();
}
if (other.hasHyperloopLog()) {
mergeHyperloopLog(other.getHyperloopLog());
}
if (other.hasEffectiveUserInfo()) {
mergeEffectiveUserInfo(other.getEffectiveUserInfo());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
ai.promoted.proto.delivery.DeliveryExecution parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (ai.promoted.proto.delivery.DeliveryExecution) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int executionServer_ = 0;
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @return The enum numeric value on the wire for executionServer.
*/
@java.lang.Override public int getExecutionServerValue() {
return executionServer_;
}
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @param value The enum numeric value on the wire for executionServer to set.
* @return This builder for chaining.
*/
public Builder setExecutionServerValue(int value) {
executionServer_ = value;
onChanged();
return this;
}
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @return The executionServer.
*/
@java.lang.Override
public ai.promoted.proto.delivery.ExecutionServer getExecutionServer() {
@SuppressWarnings("deprecation")
ai.promoted.proto.delivery.ExecutionServer result = ai.promoted.proto.delivery.ExecutionServer.valueOf(executionServer_);
return result == null ? ai.promoted.proto.delivery.ExecutionServer.UNRECOGNIZED : result;
}
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @param value The executionServer to set.
* @return This builder for chaining.
*/
public Builder setExecutionServer(ai.promoted.proto.delivery.ExecutionServer value) {
if (value == null) {
throw new NullPointerException();
}
executionServer_ = value.getNumber();
onChanged();
return this;
}
/**
* .delivery.ExecutionServer execution_server = 2 [json_name = "executionServer"];
* @return This builder for chaining.
*/
public Builder clearExecutionServer() {
executionServer_ = 0;
onChanged();
return this;
}
private java.lang.Object serverVersion_ = "";
/**
* string server_version = 7 [json_name = "serverVersion"];
* @return The serverVersion.
*/
public java.lang.String getServerVersion() {
java.lang.Object ref = serverVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string server_version = 7 [json_name = "serverVersion"];
* @return The bytes for serverVersion.
*/
public com.google.protobuf.ByteString
getServerVersionBytes() {
java.lang.Object ref = serverVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string server_version = 7 [json_name = "serverVersion"];
* @param value The serverVersion to set.
* @return This builder for chaining.
*/
public Builder setServerVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverVersion_ = value;
onChanged();
return this;
}
/**
* string server_version = 7 [json_name = "serverVersion"];
* @return This builder for chaining.
*/
public Builder clearServerVersion() {
serverVersion_ = getDefaultInstance().getServerVersion();
onChanged();
return this;
}
/**
* string server_version = 7 [json_name = "serverVersion"];
* @param value The bytes for serverVersion to set.
* @return This builder for chaining.
*/
public Builder setServerVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverVersion_ = value;
onChanged();
return this;
}
private java.lang.Object blenderConfig_ = "";
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @return The blenderConfig.
*/
public java.lang.String getBlenderConfig() {
java.lang.Object ref = blenderConfig_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blenderConfig_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @return The bytes for blenderConfig.
*/
public com.google.protobuf.ByteString
getBlenderConfigBytes() {
java.lang.Object ref = blenderConfig_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blenderConfig_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @param value The blenderConfig to set.
* @return This builder for chaining.
*/
public Builder setBlenderConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
blenderConfig_ = value;
onChanged();
return this;
}
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @return This builder for chaining.
*/
public Builder clearBlenderConfig() {
blenderConfig_ = getDefaultInstance().getBlenderConfig();
onChanged();
return this;
}
/**
* string blender_config = 12 [json_name = "blenderConfig"];
* @param value The bytes for blenderConfig to set.
* @return This builder for chaining.
*/
public Builder setBlenderConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
blenderConfig_ = value;
onChanged();
return this;
}
private ai.promoted.proto.delivery.HyperloopLog hyperloopLog_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.delivery.HyperloopLog, ai.promoted.proto.delivery.HyperloopLog.Builder, ai.promoted.proto.delivery.HyperloopLogOrBuilder> hyperloopLogBuilder_;
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
* @return Whether the hyperloopLog field is set.
*/
public boolean hasHyperloopLog() {
return hyperloopLogBuilder_ != null || hyperloopLog_ != null;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
* @return The hyperloopLog.
*/
public ai.promoted.proto.delivery.HyperloopLog getHyperloopLog() {
if (hyperloopLogBuilder_ == null) {
return hyperloopLog_ == null ? ai.promoted.proto.delivery.HyperloopLog.getDefaultInstance() : hyperloopLog_;
} else {
return hyperloopLogBuilder_.getMessage();
}
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public Builder setHyperloopLog(ai.promoted.proto.delivery.HyperloopLog value) {
if (hyperloopLogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hyperloopLog_ = value;
onChanged();
} else {
hyperloopLogBuilder_.setMessage(value);
}
return this;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public Builder setHyperloopLog(
ai.promoted.proto.delivery.HyperloopLog.Builder builderForValue) {
if (hyperloopLogBuilder_ == null) {
hyperloopLog_ = builderForValue.build();
onChanged();
} else {
hyperloopLogBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public Builder mergeHyperloopLog(ai.promoted.proto.delivery.HyperloopLog value) {
if (hyperloopLogBuilder_ == null) {
if (hyperloopLog_ != null) {
hyperloopLog_ =
ai.promoted.proto.delivery.HyperloopLog.newBuilder(hyperloopLog_).mergeFrom(value).buildPartial();
} else {
hyperloopLog_ = value;
}
onChanged();
} else {
hyperloopLogBuilder_.mergeFrom(value);
}
return this;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public Builder clearHyperloopLog() {
if (hyperloopLogBuilder_ == null) {
hyperloopLog_ = null;
onChanged();
} else {
hyperloopLog_ = null;
hyperloopLogBuilder_ = null;
}
return this;
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public ai.promoted.proto.delivery.HyperloopLog.Builder getHyperloopLogBuilder() {
onChanged();
return getHyperloopLogFieldBuilder().getBuilder();
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
public ai.promoted.proto.delivery.HyperloopLogOrBuilder getHyperloopLogOrBuilder() {
if (hyperloopLogBuilder_ != null) {
return hyperloopLogBuilder_.getMessageOrBuilder();
} else {
return hyperloopLog_ == null ?
ai.promoted.proto.delivery.HyperloopLog.getDefaultInstance() : hyperloopLog_;
}
}
/**
* .delivery.HyperloopLog hyperloop_log = 13 [json_name = "hyperloopLog"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.delivery.HyperloopLog, ai.promoted.proto.delivery.HyperloopLog.Builder, ai.promoted.proto.delivery.HyperloopLogOrBuilder>
getHyperloopLogFieldBuilder() {
if (hyperloopLogBuilder_ == null) {
hyperloopLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.delivery.HyperloopLog, ai.promoted.proto.delivery.HyperloopLog.Builder, ai.promoted.proto.delivery.HyperloopLogOrBuilder>(
getHyperloopLog(),
getParentForChildren(),
isClean());
hyperloopLog_ = null;
}
return hyperloopLogBuilder_;
}
private ai.promoted.proto.common.UserInfo effectiveUserInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.common.UserInfo, ai.promoted.proto.common.UserInfo.Builder, ai.promoted.proto.common.UserInfoOrBuilder> effectiveUserInfoBuilder_;
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
* @return Whether the effectiveUserInfo field is set.
*/
public boolean hasEffectiveUserInfo() {
return effectiveUserInfoBuilder_ != null || effectiveUserInfo_ != null;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
* @return The effectiveUserInfo.
*/
public ai.promoted.proto.common.UserInfo getEffectiveUserInfo() {
if (effectiveUserInfoBuilder_ == null) {
return effectiveUserInfo_ == null ? ai.promoted.proto.common.UserInfo.getDefaultInstance() : effectiveUserInfo_;
} else {
return effectiveUserInfoBuilder_.getMessage();
}
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public Builder setEffectiveUserInfo(ai.promoted.proto.common.UserInfo value) {
if (effectiveUserInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
effectiveUserInfo_ = value;
onChanged();
} else {
effectiveUserInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public Builder setEffectiveUserInfo(
ai.promoted.proto.common.UserInfo.Builder builderForValue) {
if (effectiveUserInfoBuilder_ == null) {
effectiveUserInfo_ = builderForValue.build();
onChanged();
} else {
effectiveUserInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public Builder mergeEffectiveUserInfo(ai.promoted.proto.common.UserInfo value) {
if (effectiveUserInfoBuilder_ == null) {
if (effectiveUserInfo_ != null) {
effectiveUserInfo_ =
ai.promoted.proto.common.UserInfo.newBuilder(effectiveUserInfo_).mergeFrom(value).buildPartial();
} else {
effectiveUserInfo_ = value;
}
onChanged();
} else {
effectiveUserInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public Builder clearEffectiveUserInfo() {
if (effectiveUserInfoBuilder_ == null) {
effectiveUserInfo_ = null;
onChanged();
} else {
effectiveUserInfo_ = null;
effectiveUserInfoBuilder_ = null;
}
return this;
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public ai.promoted.proto.common.UserInfo.Builder getEffectiveUserInfoBuilder() {
onChanged();
return getEffectiveUserInfoFieldBuilder().getBuilder();
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
public ai.promoted.proto.common.UserInfoOrBuilder getEffectiveUserInfoOrBuilder() {
if (effectiveUserInfoBuilder_ != null) {
return effectiveUserInfoBuilder_.getMessageOrBuilder();
} else {
return effectiveUserInfo_ == null ?
ai.promoted.proto.common.UserInfo.getDefaultInstance() : effectiveUserInfo_;
}
}
/**
* .common.UserInfo effective_user_info = 15 [json_name = "effectiveUserInfo"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.common.UserInfo, ai.promoted.proto.common.UserInfo.Builder, ai.promoted.proto.common.UserInfoOrBuilder>
getEffectiveUserInfoFieldBuilder() {
if (effectiveUserInfoBuilder_ == null) {
effectiveUserInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
ai.promoted.proto.common.UserInfo, ai.promoted.proto.common.UserInfo.Builder, ai.promoted.proto.common.UserInfoOrBuilder>(
getEffectiveUserInfo(),
getParentForChildren(),
isClean());
effectiveUserInfo_ = null;
}
return effectiveUserInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:delivery.DeliveryExecution)
}
// @@protoc_insertion_point(class_scope:delivery.DeliveryExecution)
private static final ai.promoted.proto.delivery.DeliveryExecution DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.promoted.proto.delivery.DeliveryExecution();
}
public static ai.promoted.proto.delivery.DeliveryExecution getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DeliveryExecution parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeliveryExecution(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.promoted.proto.delivery.DeliveryExecution getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy