com.volcengine.service.imp.model.request.ImpSubmitJobRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: imp/request/request_imp.proto
package com.volcengine.service.imp.model.request;
/**
* Protobuf type {@code Volcengine.Imp.Models.Request.ImpSubmitJobRequest}
*/
public final class ImpSubmitJobRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Imp.Models.Request.ImpSubmitJobRequest)
ImpSubmitJobRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImpSubmitJobRequest.newBuilder() to construct.
private ImpSubmitJobRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImpSubmitJobRequest() {
templateId_ = "";
callbackArgs_ = "";
enableLowPriority_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImpSubmitJobRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImpSubmitJobRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.volcengine.service.imp.model.business.InputPath.Builder subBuilder = null;
if (inputPath_ != null) {
subBuilder = inputPath_.toBuilder();
}
inputPath_ = input.readMessage(com.volcengine.service.imp.model.business.InputPath.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputPath_);
inputPath_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
templateId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
callbackArgs_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
enableLowPriority_ = s;
break;
}
case 42: {
com.volcengine.service.imp.model.business.Params.Builder subBuilder = null;
if (params_ != null) {
subBuilder = params_.toBuilder();
}
params_ = input.readMessage(com.volcengine.service.imp.model.business.Params.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(params_);
params_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.imp.model.request.ImpRequest.internal_static_Volcengine_Imp_Models_Request_ImpSubmitJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.imp.model.request.ImpRequest.internal_static_Volcengine_Imp_Models_Request_ImpSubmitJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.imp.model.request.ImpSubmitJobRequest.class, com.volcengine.service.imp.model.request.ImpSubmitJobRequest.Builder.class);
}
public static final int INPUTPATH_FIELD_NUMBER = 1;
private com.volcengine.service.imp.model.business.InputPath inputPath_;
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
* @return Whether the inputPath field is set.
*/
@java.lang.Override
public boolean hasInputPath() {
return inputPath_ != null;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
* @return The inputPath.
*/
@java.lang.Override
public com.volcengine.service.imp.model.business.InputPath getInputPath() {
return inputPath_ == null ? com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
@java.lang.Override
public com.volcengine.service.imp.model.business.InputPathOrBuilder getInputPathOrBuilder() {
return getInputPath();
}
public static final int TEMPLATEID_FIELD_NUMBER = 2;
private volatile java.lang.Object templateId_;
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @return The templateId.
*/
@java.lang.Override
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
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();
templateId_ = s;
return s;
}
}
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @return The bytes for templateId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CALLBACKARGS_FIELD_NUMBER = 3;
private volatile java.lang.Object callbackArgs_;
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @return The callbackArgs.
*/
@java.lang.Override
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
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();
callbackArgs_ = s;
return s;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @return The bytes for callbackArgs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLELOWPRIORITY_FIELD_NUMBER = 4;
private volatile java.lang.Object enableLowPriority_;
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @return The enableLowPriority.
*/
@java.lang.Override
public java.lang.String getEnableLowPriority() {
java.lang.Object ref = enableLowPriority_;
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();
enableLowPriority_ = s;
return s;
}
}
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @return The bytes for enableLowPriority.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnableLowPriorityBytes() {
java.lang.Object ref = enableLowPriority_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enableLowPriority_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARAMS_FIELD_NUMBER = 5;
private com.volcengine.service.imp.model.business.Params params_;
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
* @return Whether the params field is set.
*/
@java.lang.Override
public boolean hasParams() {
return params_ != null;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
* @return The params.
*/
@java.lang.Override
public com.volcengine.service.imp.model.business.Params getParams() {
return params_ == null ? com.volcengine.service.imp.model.business.Params.getDefaultInstance() : params_;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
@java.lang.Override
public com.volcengine.service.imp.model.business.ParamsOrBuilder getParamsOrBuilder() {
return getParams();
}
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 (inputPath_ != null) {
output.writeMessage(1, getInputPath());
}
if (!getTemplateIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, templateId_);
}
if (!getCallbackArgsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, callbackArgs_);
}
if (!getEnableLowPriorityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, enableLowPriority_);
}
if (params_ != null) {
output.writeMessage(5, getParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (inputPath_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getInputPath());
}
if (!getTemplateIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, templateId_);
}
if (!getCallbackArgsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, callbackArgs_);
}
if (!getEnableLowPriorityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, enableLowPriority_);
}
if (params_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getParams());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.volcengine.service.imp.model.request.ImpSubmitJobRequest)) {
return super.equals(obj);
}
com.volcengine.service.imp.model.request.ImpSubmitJobRequest other = (com.volcengine.service.imp.model.request.ImpSubmitJobRequest) obj;
if (hasInputPath() != other.hasInputPath()) return false;
if (hasInputPath()) {
if (!getInputPath()
.equals(other.getInputPath())) return false;
}
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getCallbackArgs()
.equals(other.getCallbackArgs())) return false;
if (!getEnableLowPriority()
.equals(other.getEnableLowPriority())) return false;
if (hasParams() != other.hasParams()) return false;
if (hasParams()) {
if (!getParams()
.equals(other.getParams())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInputPath()) {
hash = (37 * hash) + INPUTPATH_FIELD_NUMBER;
hash = (53 * hash) + getInputPath().hashCode();
}
hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
hash = (53 * hash) + getCallbackArgs().hashCode();
hash = (37 * hash) + ENABLELOWPRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getEnableLowPriority().hashCode();
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.volcengine.service.imp.model.request.ImpSubmitJobRequest 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 Volcengine.Imp.Models.Request.ImpSubmitJobRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Imp.Models.Request.ImpSubmitJobRequest)
com.volcengine.service.imp.model.request.ImpSubmitJobRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.imp.model.request.ImpRequest.internal_static_Volcengine_Imp_Models_Request_ImpSubmitJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.imp.model.request.ImpRequest.internal_static_Volcengine_Imp_Models_Request_ImpSubmitJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.imp.model.request.ImpSubmitJobRequest.class, com.volcengine.service.imp.model.request.ImpSubmitJobRequest.Builder.class);
}
// Construct using com.volcengine.service.imp.model.request.ImpSubmitJobRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (inputPathBuilder_ == null) {
inputPath_ = null;
} else {
inputPath_ = null;
inputPathBuilder_ = null;
}
templateId_ = "";
callbackArgs_ = "";
enableLowPriority_ = "";
if (paramsBuilder_ == null) {
params_ = null;
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.imp.model.request.ImpRequest.internal_static_Volcengine_Imp_Models_Request_ImpSubmitJobRequest_descriptor;
}
@java.lang.Override
public com.volcengine.service.imp.model.request.ImpSubmitJobRequest getDefaultInstanceForType() {
return com.volcengine.service.imp.model.request.ImpSubmitJobRequest.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.imp.model.request.ImpSubmitJobRequest build() {
com.volcengine.service.imp.model.request.ImpSubmitJobRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.imp.model.request.ImpSubmitJobRequest buildPartial() {
com.volcengine.service.imp.model.request.ImpSubmitJobRequest result = new com.volcengine.service.imp.model.request.ImpSubmitJobRequest(this);
if (inputPathBuilder_ == null) {
result.inputPath_ = inputPath_;
} else {
result.inputPath_ = inputPathBuilder_.build();
}
result.templateId_ = templateId_;
result.callbackArgs_ = callbackArgs_;
result.enableLowPriority_ = enableLowPriority_;
if (paramsBuilder_ == null) {
result.params_ = params_;
} else {
result.params_ = paramsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.volcengine.service.imp.model.request.ImpSubmitJobRequest) {
return mergeFrom((com.volcengine.service.imp.model.request.ImpSubmitJobRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.imp.model.request.ImpSubmitJobRequest other) {
if (other == com.volcengine.service.imp.model.request.ImpSubmitJobRequest.getDefaultInstance()) return this;
if (other.hasInputPath()) {
mergeInputPath(other.getInputPath());
}
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
onChanged();
}
if (!other.getEnableLowPriority().isEmpty()) {
enableLowPriority_ = other.enableLowPriority_;
onChanged();
}
if (other.hasParams()) {
mergeParams(other.getParams());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.volcengine.service.imp.model.request.ImpSubmitJobRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.imp.model.request.ImpSubmitJobRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.volcengine.service.imp.model.business.InputPath inputPath_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder> inputPathBuilder_;
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
* @return Whether the inputPath field is set.
*/
public boolean hasInputPath() {
return inputPathBuilder_ != null || inputPath_ != null;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
* @return The inputPath.
*/
public com.volcengine.service.imp.model.business.InputPath getInputPath() {
if (inputPathBuilder_ == null) {
return inputPath_ == null ? com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_;
} else {
return inputPathBuilder_.getMessage();
}
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public Builder setInputPath(com.volcengine.service.imp.model.business.InputPath value) {
if (inputPathBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputPath_ = value;
onChanged();
} else {
inputPathBuilder_.setMessage(value);
}
return this;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public Builder setInputPath(
com.volcengine.service.imp.model.business.InputPath.Builder builderForValue) {
if (inputPathBuilder_ == null) {
inputPath_ = builderForValue.build();
onChanged();
} else {
inputPathBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public Builder mergeInputPath(com.volcengine.service.imp.model.business.InputPath value) {
if (inputPathBuilder_ == null) {
if (inputPath_ != null) {
inputPath_ =
com.volcengine.service.imp.model.business.InputPath.newBuilder(inputPath_).mergeFrom(value).buildPartial();
} else {
inputPath_ = value;
}
onChanged();
} else {
inputPathBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public Builder clearInputPath() {
if (inputPathBuilder_ == null) {
inputPath_ = null;
onChanged();
} else {
inputPath_ = null;
inputPathBuilder_ = null;
}
return this;
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public com.volcengine.service.imp.model.business.InputPath.Builder getInputPathBuilder() {
onChanged();
return getInputPathFieldBuilder().getBuilder();
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
public com.volcengine.service.imp.model.business.InputPathOrBuilder getInputPathOrBuilder() {
if (inputPathBuilder_ != null) {
return inputPathBuilder_.getMessageOrBuilder();
} else {
return inputPath_ == null ?
com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_;
}
}
/**
*
* 输入文件info
*
*
* .Volcengine.Imp.Models.Business.InputPath InputPath = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder>
getInputPathFieldBuilder() {
if (inputPathBuilder_ == null) {
inputPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder>(
getInputPath(),
getParentForChildren(),
isClean());
inputPath_ = null;
}
return inputPathBuilder_;
}
private java.lang.Object templateId_ = "";
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @return The bytes for templateId.
*/
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @param value The templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateId_ = value;
onChanged();
return this;
}
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @return This builder for chaining.
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
*
* 工作流模板id
*
*
* string TemplateId = 2;
* @param value The bytes for templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateId_ = value;
onChanged();
return this;
}
private java.lang.Object callbackArgs_ = "";
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @return The callbackArgs.
*/
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callbackArgs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @return The bytes for callbackArgs.
*/
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @param value The callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callbackArgs_ = value;
onChanged();
return this;
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @return This builder for chaining.
*/
public Builder clearCallbackArgs() {
callbackArgs_ = getDefaultInstance().getCallbackArgs();
onChanged();
return this;
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 3;
* @param value The bytes for callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callbackArgs_ = value;
onChanged();
return this;
}
private java.lang.Object enableLowPriority_ = "";
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @return The enableLowPriority.
*/
public java.lang.String getEnableLowPriority() {
java.lang.Object ref = enableLowPriority_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enableLowPriority_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @return The bytes for enableLowPriority.
*/
public com.google.protobuf.ByteString
getEnableLowPriorityBytes() {
java.lang.Object ref = enableLowPriority_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enableLowPriority_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @param value The enableLowPriority to set.
* @return This builder for chaining.
*/
public Builder setEnableLowPriority(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
enableLowPriority_ = value;
onChanged();
return this;
}
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @return This builder for chaining.
*/
public Builder clearEnableLowPriority() {
enableLowPriority_ = getDefaultInstance().getEnableLowPriority();
onChanged();
return this;
}
/**
*
* 是否开启闲时任务, "true"/"false"
*
*
* string EnableLowPriority = 4;
* @param value The bytes for enableLowPriority to set.
* @return This builder for chaining.
*/
public Builder setEnableLowPriorityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
enableLowPriority_ = value;
onChanged();
return this;
}
private com.volcengine.service.imp.model.business.Params params_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.Params, com.volcengine.service.imp.model.business.Params.Builder, com.volcengine.service.imp.model.business.ParamsOrBuilder> paramsBuilder_;
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
* @return Whether the params field is set.
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
* @return The params.
*/
public com.volcengine.service.imp.model.business.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? com.volcengine.service.imp.model.business.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public Builder setParams(com.volcengine.service.imp.model.business.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
onChanged();
} else {
paramsBuilder_.setMessage(value);
}
return this;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public Builder setParams(
com.volcengine.service.imp.model.business.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
onChanged();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public Builder mergeParams(com.volcengine.service.imp.model.business.Params value) {
if (paramsBuilder_ == null) {
if (params_ != null) {
params_ =
com.volcengine.service.imp.model.business.Params.newBuilder(params_).mergeFrom(value).buildPartial();
} else {
params_ = value;
}
onChanged();
} else {
paramsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public Builder clearParams() {
if (paramsBuilder_ == null) {
params_ = null;
onChanged();
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public com.volcengine.service.imp.model.business.Params.Builder getParamsBuilder() {
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
public com.volcengine.service.imp.model.business.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
com.volcengine.service.imp.model.business.Params.getDefaultInstance() : params_;
}
}
/**
*
* 任务执行参数
*
*
* .Volcengine.Imp.Models.Business.Params Params = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.Params, com.volcengine.service.imp.model.business.Params.Builder, com.volcengine.service.imp.model.business.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.imp.model.business.Params, com.volcengine.service.imp.model.business.Params.Builder, com.volcengine.service.imp.model.business.ParamsOrBuilder>(
getParams(),
getParentForChildren(),
isClean());
params_ = null;
}
return paramsBuilder_;
}
@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:Volcengine.Imp.Models.Request.ImpSubmitJobRequest)
}
// @@protoc_insertion_point(class_scope:Volcengine.Imp.Models.Request.ImpSubmitJobRequest)
private static final com.volcengine.service.imp.model.request.ImpSubmitJobRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.imp.model.request.ImpSubmitJobRequest();
}
public static com.volcengine.service.imp.model.request.ImpSubmitJobRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImpSubmitJobRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImpSubmitJobRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.volcengine.service.imp.model.request.ImpSubmitJobRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy