com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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: volcengine/vod/request/request_vod.proto
package com.volcengine.service.vod.model.request;
/**
* Protobuf type {@code Volcengine.Vod.Models.Request.VodListCdnTasksRequest}
*/
public final class VodListCdnTasksRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodListCdnTasksRequest)
VodListCdnTasksRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodListCdnTasksRequest.newBuilder() to construct.
private VodListCdnTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodListCdnTasksRequest() {
spaceName_ = "";
taskId_ = "";
domainName_ = "";
taskType_ = "";
status_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodListCdnTasksRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodListCdnTasksRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
taskId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
domainName_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
taskType_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case 48: {
startTimestamp_ = input.readInt32();
break;
}
case 56: {
endTimestamp_ = input.readInt32();
break;
}
case 64: {
pageNum_ = input.readInt32();
break;
}
case 72: {
pageSize_ = input.readInt32();
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.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTasksRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTasksRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodListCdnTasksRequest.class, com.volcengine.service.vod.model.request.VodListCdnTasksRequest.Builder.class);
}
public static final int SPACENAME_FIELD_NUMBER = 1;
private volatile java.lang.Object spaceName_;
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
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();
spaceName_ = s;
return s;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASKID_FIELD_NUMBER = 2;
private volatile java.lang.Object taskId_;
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
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();
taskId_ = s;
return s;
}
}
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAINNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object domainName_;
/**
*
* 域名
*
*
* string DomainName = 3;
* @return The domainName.
*/
@java.lang.Override
public java.lang.String getDomainName() {
java.lang.Object ref = domainName_;
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();
domainName_ = s;
return s;
}
}
/**
*
* 域名
*
*
* string DomainName = 3;
* @return The bytes for domainName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainNameBytes() {
java.lang.Object ref = domainName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domainName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASKTYPE_FIELD_NUMBER = 4;
private volatile java.lang.Object taskType_;
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @return The taskType.
*/
@java.lang.Override
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
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();
taskType_ = s;
return s;
}
}
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @return The bytes for taskType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 5;
private volatile java.lang.Object status_;
/**
*
* 任务状态
*
*
* string Status = 5;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
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();
status_ = s;
return s;
}
}
/**
*
* 任务状态
*
*
* string Status = 5;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIMESTAMP_FIELD_NUMBER = 6;
private int startTimestamp_;
/**
*
* 起始时间戳,单位:Unix秒级时间戳
*
*
* int32 StartTimestamp = 6;
* @return The startTimestamp.
*/
@java.lang.Override
public int getStartTimestamp() {
return startTimestamp_;
}
public static final int ENDTIMESTAMP_FIELD_NUMBER = 7;
private int endTimestamp_;
/**
*
* 截止时间戳,单位:Unix秒级时间戳
*
*
* int32 EndTimestamp = 7;
* @return The endTimestamp.
*/
@java.lang.Override
public int getEndTimestamp() {
return endTimestamp_;
}
public static final int PAGENUM_FIELD_NUMBER = 8;
private int pageNum_;
/**
*
* 页码
*
*
* int32 PageNum = 8;
* @return The pageNum.
*/
@java.lang.Override
public int getPageNum() {
return pageNum_;
}
public static final int PAGESIZE_FIELD_NUMBER = 9;
private int pageSize_;
/**
*
* 页面大小
*
*
* int32 PageSize = 9;
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return pageSize_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domainName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, status_);
}
if (startTimestamp_ != 0) {
output.writeInt32(6, startTimestamp_);
}
if (endTimestamp_ != 0) {
output.writeInt32(7, endTimestamp_);
}
if (pageNum_ != 0) {
output.writeInt32(8, pageNum_);
}
if (pageSize_ != 0) {
output.writeInt32(9, pageSize_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domainName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, status_);
}
if (startTimestamp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, startTimestamp_);
}
if (endTimestamp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, endTimestamp_);
}
if (pageNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, pageNum_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, pageSize_);
}
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.vod.model.request.VodListCdnTasksRequest)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.request.VodListCdnTasksRequest other = (com.volcengine.service.vod.model.request.VodListCdnTasksRequest) obj;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getDomainName()
.equals(other.getDomainName())) return false;
if (!getTaskType()
.equals(other.getTaskType())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (getStartTimestamp()
!= other.getStartTimestamp()) return false;
if (getEndTimestamp()
!= other.getEndTimestamp()) return false;
if (getPageNum()
!= other.getPageNum()) return false;
if (getPageSize()
!= other.getPageSize()) 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) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + TASKID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (37 * hash) + DOMAINNAME_FIELD_NUMBER;
hash = (53 * hash) + getDomainName().hashCode();
hash = (37 * hash) + TASKTYPE_FIELD_NUMBER;
hash = (53 * hash) + getTaskType().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + STARTTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getStartTimestamp();
hash = (37 * hash) + ENDTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getEndTimestamp();
hash = (37 * hash) + PAGENUM_FIELD_NUMBER;
hash = (53 * hash) + getPageNum();
hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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.vod.model.request.VodListCdnTasksRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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.vod.model.request.VodListCdnTasksRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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.vod.model.request.VodListCdnTasksRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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.vod.model.request.VodListCdnTasksRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest 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.vod.model.request.VodListCdnTasksRequest 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.Vod.Models.Request.VodListCdnTasksRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodListCdnTasksRequest)
com.volcengine.service.vod.model.request.VodListCdnTasksRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTasksRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTasksRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodListCdnTasksRequest.class, com.volcengine.service.vod.model.request.VodListCdnTasksRequest.Builder.class);
}
// Construct using com.volcengine.service.vod.model.request.VodListCdnTasksRequest.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();
spaceName_ = "";
taskId_ = "";
domainName_ = "";
taskType_ = "";
status_ = "";
startTimestamp_ = 0;
endTimestamp_ = 0;
pageNum_ = 0;
pageSize_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTasksRequest_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodListCdnTasksRequest getDefaultInstanceForType() {
return com.volcengine.service.vod.model.request.VodListCdnTasksRequest.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodListCdnTasksRequest build() {
com.volcengine.service.vod.model.request.VodListCdnTasksRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodListCdnTasksRequest buildPartial() {
com.volcengine.service.vod.model.request.VodListCdnTasksRequest result = new com.volcengine.service.vod.model.request.VodListCdnTasksRequest(this);
result.spaceName_ = spaceName_;
result.taskId_ = taskId_;
result.domainName_ = domainName_;
result.taskType_ = taskType_;
result.status_ = status_;
result.startTimestamp_ = startTimestamp_;
result.endTimestamp_ = endTimestamp_;
result.pageNum_ = pageNum_;
result.pageSize_ = pageSize_;
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.vod.model.request.VodListCdnTasksRequest) {
return mergeFrom((com.volcengine.service.vod.model.request.VodListCdnTasksRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.request.VodListCdnTasksRequest other) {
if (other == com.volcengine.service.vod.model.request.VodListCdnTasksRequest.getDefaultInstance()) return this;
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
onChanged();
}
if (!other.getDomainName().isEmpty()) {
domainName_ = other.domainName_;
onChanged();
}
if (!other.getTaskType().isEmpty()) {
taskType_ = other.taskType_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (other.getStartTimestamp() != 0) {
setStartTimestamp(other.getStartTimestamp());
}
if (other.getEndTimestamp() != 0) {
setEndTimestamp(other.getEndTimestamp());
}
if (other.getPageNum() != 0) {
setPageNum(other.getPageNum());
}
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
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.vod.model.request.VodListCdnTasksRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.request.VodListCdnTasksRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object spaceName_ = "";
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
*
* 空间名
*
*
* string SpaceName = 1;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.lang.Object taskId_ = "";
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
taskId_ = value;
onChanged();
return this;
}
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
onChanged();
return this;
}
/**
*
* 任务ID
*
*
* string TaskId = 2;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
taskId_ = value;
onChanged();
return this;
}
private java.lang.Object domainName_ = "";
/**
*
* 域名
*
*
* string DomainName = 3;
* @return The domainName.
*/
public java.lang.String getDomainName() {
java.lang.Object ref = domainName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domainName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 域名
*
*
* string DomainName = 3;
* @return The bytes for domainName.
*/
public com.google.protobuf.ByteString
getDomainNameBytes() {
java.lang.Object ref = domainName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domainName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 域名
*
*
* string DomainName = 3;
* @param value The domainName to set.
* @return This builder for chaining.
*/
public Builder setDomainName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domainName_ = value;
onChanged();
return this;
}
/**
*
* 域名
*
*
* string DomainName = 3;
* @return This builder for chaining.
*/
public Builder clearDomainName() {
domainName_ = getDefaultInstance().getDomainName();
onChanged();
return this;
}
/**
*
* 域名
*
*
* string DomainName = 3;
* @param value The bytes for domainName to set.
* @return This builder for chaining.
*/
public Builder setDomainNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domainName_ = value;
onChanged();
return this;
}
private java.lang.Object taskType_ = "";
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @return The taskType.
*/
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @return The bytes for taskType.
*/
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @param value The taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
taskType_ = value;
onChanged();
return this;
}
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
onChanged();
return this;
}
/**
*
* 任务类型
*
*
* string TaskType = 4;
* @param value The bytes for taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
taskType_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
* 任务状态
*
*
* string Status = 5;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务状态
*
*
* string Status = 5;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务状态
*
*
* string Status = 5;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
return this;
}
/**
*
* 任务状态
*
*
* string Status = 5;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
*
* 任务状态
*
*
* string Status = 5;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
status_ = value;
onChanged();
return this;
}
private int startTimestamp_ ;
/**
*
* 起始时间戳,单位:Unix秒级时间戳
*
*
* int32 StartTimestamp = 6;
* @return The startTimestamp.
*/
@java.lang.Override
public int getStartTimestamp() {
return startTimestamp_;
}
/**
*
* 起始时间戳,单位:Unix秒级时间戳
*
*
* int32 StartTimestamp = 6;
* @param value The startTimestamp to set.
* @return This builder for chaining.
*/
public Builder setStartTimestamp(int value) {
startTimestamp_ = value;
onChanged();
return this;
}
/**
*
* 起始时间戳,单位:Unix秒级时间戳
*
*
* int32 StartTimestamp = 6;
* @return This builder for chaining.
*/
public Builder clearStartTimestamp() {
startTimestamp_ = 0;
onChanged();
return this;
}
private int endTimestamp_ ;
/**
*
* 截止时间戳,单位:Unix秒级时间戳
*
*
* int32 EndTimestamp = 7;
* @return The endTimestamp.
*/
@java.lang.Override
public int getEndTimestamp() {
return endTimestamp_;
}
/**
*
* 截止时间戳,单位:Unix秒级时间戳
*
*
* int32 EndTimestamp = 7;
* @param value The endTimestamp to set.
* @return This builder for chaining.
*/
public Builder setEndTimestamp(int value) {
endTimestamp_ = value;
onChanged();
return this;
}
/**
*
* 截止时间戳,单位:Unix秒级时间戳
*
*
* int32 EndTimestamp = 7;
* @return This builder for chaining.
*/
public Builder clearEndTimestamp() {
endTimestamp_ = 0;
onChanged();
return this;
}
private int pageNum_ ;
/**
*
* 页码
*
*
* int32 PageNum = 8;
* @return The pageNum.
*/
@java.lang.Override
public int getPageNum() {
return pageNum_;
}
/**
*
* 页码
*
*
* int32 PageNum = 8;
* @param value The pageNum to set.
* @return This builder for chaining.
*/
public Builder setPageNum(int value) {
pageNum_ = value;
onChanged();
return this;
}
/**
*
* 页码
*
*
* int32 PageNum = 8;
* @return This builder for chaining.
*/
public Builder clearPageNum() {
pageNum_ = 0;
onChanged();
return this;
}
private int pageSize_ ;
/**
*
* 页面大小
*
*
* int32 PageSize = 9;
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return pageSize_;
}
/**
*
* 页面大小
*
*
* int32 PageSize = 9;
* @param value The pageSize to set.
* @return This builder for chaining.
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
*
* 页面大小
*
*
* int32 PageSize = 9;
* @return This builder for chaining.
*/
public Builder clearPageSize() {
pageSize_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Request.VodListCdnTasksRequest)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodListCdnTasksRequest)
private static final com.volcengine.service.vod.model.request.VodListCdnTasksRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodListCdnTasksRequest();
}
public static com.volcengine.service.vod.model.request.VodListCdnTasksRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodListCdnTasksRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodListCdnTasksRequest(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.vod.model.request.VodListCdnTasksRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy