com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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: live/request/request_live.proto
package com.volcengine.service.live.model.request;
/**
* Protobuf type {@code Volcengine.Live.Models.Request.DescribeClosedStreamInfoByPageRequest}
*/
public final class DescribeClosedStreamInfoByPageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Live.Models.Request.DescribeClosedStreamInfoByPageRequest)
DescribeClosedStreamInfoByPageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeClosedStreamInfoByPageRequest.newBuilder() to construct.
private DescribeClosedStreamInfoByPageRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeClosedStreamInfoByPageRequest() {
vhost_ = "";
domain_ = "";
app_ = "";
stream_ = "";
sort_ = "";
endTimeFrom_ = "";
endTimeTo_ = "";
sourceType_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeClosedStreamInfoByPageRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DescribeClosedStreamInfoByPageRequest(
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 8: {
pageNum_ = input.readInt64();
break;
}
case 16: {
pageSize_ = input.readInt64();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
vhost_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
domain_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
app_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
stream_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
sort_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
endTimeFrom_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
endTimeTo_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
sourceType_ = s;
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.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_DescribeClosedStreamInfoByPageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_DescribeClosedStreamInfoByPageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.class, com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.Builder.class);
}
public static final int PAGENUM_FIELD_NUMBER = 1;
private long pageNum_;
/**
*
*当前页码,取值范围 ≥1。
*
*
* int64 PageNum = 1;
* @return The pageNum.
*/
@java.lang.Override
public long getPageNum() {
return pageNum_;
}
public static final int PAGESIZE_FIELD_NUMBER = 2;
private long pageSize_;
/**
*
*分页大小,取值范围为 。
*
*
* int64 PageSize = 2;
* @return The pageSize.
*/
@java.lang.Override
public long getPageSize() {
return pageSize_;
}
public static final int VHOST_FIELD_NUMBER = 3;
private volatile java.lang.Object vhost_;
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @return The vhost.
*/
@java.lang.Override
public java.lang.String getVhost() {
java.lang.Object ref = vhost_;
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();
vhost_ = s;
return s;
}
}
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @return The bytes for vhost.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVhostBytes() {
java.lang.Object ref = vhost_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vhost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAIN_FIELD_NUMBER = 4;
private volatile java.lang.Object domain_;
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
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();
domain_ = s;
return s;
}
}
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APP_FIELD_NUMBER = 5;
private volatile java.lang.Object app_;
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
java.lang.Object ref = app_;
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();
app_ = s;
return s;
}
}
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
java.lang.Object ref = app_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
app_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STREAM_FIELD_NUMBER = 6;
private volatile java.lang.Object stream_;
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @return The stream.
*/
@java.lang.Override
public java.lang.String getStream() {
java.lang.Object ref = stream_;
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();
stream_ = s;
return s;
}
}
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @return The bytes for stream.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamBytes() {
java.lang.Object ref = stream_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stream_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SORT_FIELD_NUMBER = 7;
private volatile java.lang.Object sort_;
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @return The sort.
*/
@java.lang.Override
public java.lang.String getSort() {
java.lang.Object ref = sort_;
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();
sort_ = s;
return s;
}
}
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @return The bytes for sort.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSortBytes() {
java.lang.Object ref = sort_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIMEFROM_FIELD_NUMBER = 8;
private volatile java.lang.Object endTimeFrom_;
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @return The endTimeFrom.
*/
@java.lang.Override
public java.lang.String getEndTimeFrom() {
java.lang.Object ref = endTimeFrom_;
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();
endTimeFrom_ = s;
return s;
}
}
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @return The bytes for endTimeFrom.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndTimeFromBytes() {
java.lang.Object ref = endTimeFrom_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeFrom_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIMETO_FIELD_NUMBER = 9;
private volatile java.lang.Object endTimeTo_;
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @return The endTimeTo.
*/
@java.lang.Override
public java.lang.String getEndTimeTo() {
java.lang.Object ref = endTimeTo_;
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();
endTimeTo_ = s;
return s;
}
}
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @return The bytes for endTimeTo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndTimeToBytes() {
java.lang.Object ref = endTimeTo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeTo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCETYPE_FIELD_NUMBER = 10;
private volatile java.lang.Object sourceType_;
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @return The sourceType.
*/
@java.lang.Override
public java.lang.String getSourceType() {
java.lang.Object ref = sourceType_;
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();
sourceType_ = s;
return s;
}
}
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @return The bytes for sourceType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceTypeBytes() {
java.lang.Object ref = sourceType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (pageNum_ != 0L) {
output.writeInt64(1, pageNum_);
}
if (pageSize_ != 0L) {
output.writeInt64(2, pageSize_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, vhost_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, domain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, app_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, stream_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sort_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, sort_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeFrom_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endTimeFrom_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeTo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, endTimeTo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, sourceType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pageNum_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, pageNum_);
}
if (pageSize_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, pageSize_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vhost_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, domain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, app_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, stream_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sort_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, sort_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeFrom_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endTimeFrom_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeTo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, endTimeTo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sourceType_);
}
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.live.model.request.DescribeClosedStreamInfoByPageRequest)) {
return super.equals(obj);
}
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest other = (com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest) obj;
if (getPageNum()
!= other.getPageNum()) return false;
if (getPageSize()
!= other.getPageSize()) return false;
if (!getVhost()
.equals(other.getVhost())) return false;
if (!getDomain()
.equals(other.getDomain())) return false;
if (!getApp()
.equals(other.getApp())) return false;
if (!getStream()
.equals(other.getStream())) return false;
if (!getSort()
.equals(other.getSort())) return false;
if (!getEndTimeFrom()
.equals(other.getEndTimeFrom())) return false;
if (!getEndTimeTo()
.equals(other.getEndTimeTo())) return false;
if (!getSourceType()
.equals(other.getSourceType())) 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) + PAGENUM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPageNum());
hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPageSize());
hash = (37 * hash) + VHOST_FIELD_NUMBER;
hash = (53 * hash) + getVhost().hashCode();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (37 * hash) + APP_FIELD_NUMBER;
hash = (53 * hash) + getApp().hashCode();
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream().hashCode();
hash = (37 * hash) + SORT_FIELD_NUMBER;
hash = (53 * hash) + getSort().hashCode();
hash = (37 * hash) + ENDTIMEFROM_FIELD_NUMBER;
hash = (53 * hash) + getEndTimeFrom().hashCode();
hash = (37 * hash) + ENDTIMETO_FIELD_NUMBER;
hash = (53 * hash) + getEndTimeTo().hashCode();
hash = (37 * hash) + SOURCETYPE_FIELD_NUMBER;
hash = (53 * hash) + getSourceType().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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.live.model.request.DescribeClosedStreamInfoByPageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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.live.model.request.DescribeClosedStreamInfoByPageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest 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.live.model.request.DescribeClosedStreamInfoByPageRequest 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.Live.Models.Request.DescribeClosedStreamInfoByPageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Request.DescribeClosedStreamInfoByPageRequest)
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_DescribeClosedStreamInfoByPageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_DescribeClosedStreamInfoByPageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.class, com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.Builder.class);
}
// Construct using com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.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();
pageNum_ = 0L;
pageSize_ = 0L;
vhost_ = "";
domain_ = "";
app_ = "";
stream_ = "";
sort_ = "";
endTimeFrom_ = "";
endTimeTo_ = "";
sourceType_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_DescribeClosedStreamInfoByPageRequest_descriptor;
}
@java.lang.Override
public com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest getDefaultInstanceForType() {
return com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest build() {
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest buildPartial() {
com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest result = new com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest(this);
result.pageNum_ = pageNum_;
result.pageSize_ = pageSize_;
result.vhost_ = vhost_;
result.domain_ = domain_;
result.app_ = app_;
result.stream_ = stream_;
result.sort_ = sort_;
result.endTimeFrom_ = endTimeFrom_;
result.endTimeTo_ = endTimeTo_;
result.sourceType_ = sourceType_;
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.live.model.request.DescribeClosedStreamInfoByPageRequest) {
return mergeFrom((com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest other) {
if (other == com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest.getDefaultInstance()) return this;
if (other.getPageNum() != 0L) {
setPageNum(other.getPageNum());
}
if (other.getPageSize() != 0L) {
setPageSize(other.getPageSize());
}
if (!other.getVhost().isEmpty()) {
vhost_ = other.vhost_;
onChanged();
}
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
onChanged();
}
if (!other.getApp().isEmpty()) {
app_ = other.app_;
onChanged();
}
if (!other.getStream().isEmpty()) {
stream_ = other.stream_;
onChanged();
}
if (!other.getSort().isEmpty()) {
sort_ = other.sort_;
onChanged();
}
if (!other.getEndTimeFrom().isEmpty()) {
endTimeFrom_ = other.endTimeFrom_;
onChanged();
}
if (!other.getEndTimeTo().isEmpty()) {
endTimeTo_ = other.endTimeTo_;
onChanged();
}
if (!other.getSourceType().isEmpty()) {
sourceType_ = other.sourceType_;
onChanged();
}
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.live.model.request.DescribeClosedStreamInfoByPageRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long pageNum_ ;
/**
*
*当前页码,取值范围 ≥1。
*
*
* int64 PageNum = 1;
* @return The pageNum.
*/
@java.lang.Override
public long getPageNum() {
return pageNum_;
}
/**
*
*当前页码,取值范围 ≥1。
*
*
* int64 PageNum = 1;
* @param value The pageNum to set.
* @return This builder for chaining.
*/
public Builder setPageNum(long value) {
pageNum_ = value;
onChanged();
return this;
}
/**
*
*当前页码,取值范围 ≥1。
*
*
* int64 PageNum = 1;
* @return This builder for chaining.
*/
public Builder clearPageNum() {
pageNum_ = 0L;
onChanged();
return this;
}
private long pageSize_ ;
/**
*
*分页大小,取值范围为 。
*
*
* int64 PageSize = 2;
* @return The pageSize.
*/
@java.lang.Override
public long getPageSize() {
return pageSize_;
}
/**
*
*分页大小,取值范围为 。
*
*
* int64 PageSize = 2;
* @param value The pageSize to set.
* @return This builder for chaining.
*/
public Builder setPageSize(long value) {
pageSize_ = value;
onChanged();
return this;
}
/**
*
*分页大小,取值范围为 。
*
*
* int64 PageSize = 2;
* @return This builder for chaining.
*/
public Builder clearPageSize() {
pageSize_ = 0L;
onChanged();
return this;
}
private java.lang.Object vhost_ = "";
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @return The vhost.
*/
public java.lang.String getVhost() {
java.lang.Object ref = vhost_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vhost_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @return The bytes for vhost.
*/
public com.google.protobuf.ByteString
getVhostBytes() {
java.lang.Object ref = vhost_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vhost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @param value The vhost to set.
* @return This builder for chaining.
*/
public Builder setVhost(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vhost_ = value;
onChanged();
return this;
}
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @return This builder for chaining.
*/
public Builder clearVhost() {
vhost_ = getDefaultInstance().getVhost();
onChanged();
return this;
}
/**
*
*域名空间名称。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Vhost = 3;
* @param value The bytes for vhost to set.
* @return This builder for chaining.
*/
public Builder setVhostBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vhost_ = value;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domain_ = value;
onChanged();
return this;
}
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
/**
*
*推流域名。
*参数 `Domain` 和 `Vhost`传且仅传一个。
*
*
* string Domain = 4;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domain_ = value;
onChanged();
return this;
}
private java.lang.Object app_ = "";
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @return The app.
*/
public java.lang.String getApp() {
java.lang.Object ref = app_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
app_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @return The bytes for app.
*/
public com.google.protobuf.ByteString
getAppBytes() {
java.lang.Object ref = app_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
app_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
app_ = value;
onChanged();
return this;
}
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @return This builder for chaining.
*/
public Builder clearApp() {
app_ = getDefaultInstance().getApp();
onChanged();
return this;
}
/**
*
* 应用名称,默认查询所有应用名称,由 1 到 30
* 位数字、字母、下划线及"-"和"."组成。
*
*
* string App = 5;
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
app_ = value;
onChanged();
return this;
}
private java.lang.Object stream_ = "";
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @return The stream.
*/
public java.lang.String getStream() {
java.lang.Object ref = stream_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stream_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @return The bytes for stream.
*/
public com.google.protobuf.ByteString
getStreamBytes() {
java.lang.Object ref = stream_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stream_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @param value The stream to set.
* @return This builder for chaining.
*/
public Builder setStream(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stream_ = value;
onChanged();
return this;
}
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @return This builder for chaining.
*/
public Builder clearStream() {
stream_ = getDefaultInstance().getStream();
onChanged();
return this;
}
/**
*
* 流名称,缺省情况下,查询所有流名称,由 1 到 100
* 位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定 App 的值
*
*
* string Stream = 6;
* @param value The bytes for stream to set.
* @return This builder for chaining.
*/
public Builder setStreamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stream_ = value;
onChanged();
return this;
}
private java.lang.Object sort_ = "";
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @return The sort.
*/
public java.lang.String getSort() {
java.lang.Object ref = sort_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sort_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @return The bytes for sort.
*/
public com.google.protobuf.ByteString
getSortBytes() {
java.lang.Object ref = sort_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @param value The sort to set.
* @return This builder for chaining.
*/
public Builder setSort(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sort_ = value;
onChanged();
return this;
}
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @return This builder for chaining.
*/
public Builder clearSort() {
sort_ = getDefaultInstance().getSort();
onChanged();
return this;
}
/**
*
* 排列方式,根据结束时间排序。支持两种形式。缺省情况下为 desc。
*<li>asc:按从小到大升序排列;
*<li>desc:按从大到小降序排列。
*
*
* string Sort = 7;
* @param value The bytes for sort to set.
* @return This builder for chaining.
*/
public Builder setSortBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sort_ = value;
onChanged();
return this;
}
private java.lang.Object endTimeFrom_ = "";
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @return The endTimeFrom.
*/
public java.lang.String getEndTimeFrom() {
java.lang.Object ref = endTimeFrom_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTimeFrom_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @return The bytes for endTimeFrom.
*/
public com.google.protobuf.ByteString
getEndTimeFromBytes() {
java.lang.Object ref = endTimeFrom_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeFrom_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @param value The endTimeFrom to set.
* @return This builder for chaining.
*/
public Builder setEndTimeFrom(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endTimeFrom_ = value;
onChanged();
return this;
}
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @return This builder for chaining.
*/
public Builder clearEndTimeFrom() {
endTimeFrom_ = getDefaultInstance().getEndTimeFrom();
onChanged();
return this;
}
/**
*
* 查询的起始时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeFrom = 8;
* @param value The bytes for endTimeFrom to set.
* @return This builder for chaining.
*/
public Builder setEndTimeFromBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endTimeFrom_ = value;
onChanged();
return this;
}
private java.lang.Object endTimeTo_ = "";
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @return The endTimeTo.
*/
public java.lang.String getEndTimeTo() {
java.lang.Object ref = endTimeTo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTimeTo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @return The bytes for endTimeTo.
*/
public com.google.protobuf.ByteString
getEndTimeToBytes() {
java.lang.Object ref = endTimeTo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeTo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @param value The endTimeTo to set.
* @return This builder for chaining.
*/
public Builder setEndTimeTo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endTimeTo_ = value;
onChanged();
return this;
}
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @return This builder for chaining.
*/
public Builder clearEndTimeTo() {
endTimeTo_ = getDefaultInstance().getEndTimeTo();
onChanged();
return this;
}
/**
*
* 查询的结束时间,以 RFC3339 格式表示的 UTC
* 时间戳,例如,2021-10-02T19:39:26Z。筛选结束推流时间符合查询条件的历史流
*
*
* string EndTimeTo = 9;
* @param value The bytes for endTimeTo to set.
* @return This builder for chaining.
*/
public Builder setEndTimeToBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endTimeTo_ = value;
onChanged();
return this;
}
private java.lang.Object sourceType_ = "";
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @return The sourceType.
*/
public java.lang.String getSourceType() {
java.lang.Object ref = sourceType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sourceType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @return The bytes for sourceType.
*/
public com.google.protobuf.ByteString
getSourceTypeBytes() {
java.lang.Object ref = sourceType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @param value The sourceType to set.
* @return This builder for chaining.
*/
public Builder setSourceType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sourceType_ = value;
onChanged();
return this;
}
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @return This builder for chaining.
*/
public Builder clearSourceType() {
sourceType_ = getDefaultInstance().getSourceType();
onChanged();
return this;
}
/**
*
* 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
*<li>push:直推流;
*<li>relay:回源流。
*
*
* string SourceType = 10;
* @param value The bytes for sourceType to set.
* @return This builder for chaining.
*/
public Builder setSourceTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sourceType_ = value;
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.Live.Models.Request.DescribeClosedStreamInfoByPageRequest)
}
// @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Request.DescribeClosedStreamInfoByPageRequest)
private static final com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest();
}
public static com.volcengine.service.live.model.request.DescribeClosedStreamInfoByPageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribeClosedStreamInfoByPageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DescribeClosedStreamInfoByPageRequest(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.live.model.request.DescribeClosedStreamInfoByPageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy