main.java.com.streamlayer.files.FileData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/files/files.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.files;
/**
* Protobuf type {@code streamlayer.files.FileData}
*/
public final class FileData extends
com.google.protobuf.GeneratedMessageLite<
FileData, FileData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.files.FileData)
FileDataOrBuilder {
private FileData() {
name_ = "";
controlsData_ = emptyIntList();
tags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
type_ = "";
alias_ = "";
uploadId_ = "";
startedAt_ = "";
files_ = "";
status_ = "";
owner_ = "";
bucket_ = "";
uploadType_ = "";
}
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
* string name = 1 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
* string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int CONTROLS_DATA_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.IntList controlsData_;
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @return A list containing the controlsData.
*/
@java.lang.Override
public java.util.List
getControlsDataList() {
return controlsData_;
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @return The count of controlsData.
*/
@java.lang.Override
public int getControlsDataCount() {
return controlsData_.size();
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param index The index of the element to return.
* @return The controlsData at the given index.
*/
@java.lang.Override
public int getControlsData(int index) {
return controlsData_.getInt(index);
}
private int controlsDataMemoizedSerializedSize = -1;
private void ensureControlsDataIsMutable() {
com.google.protobuf.Internal.IntList tmp = controlsData_;
if (!tmp.isModifiable()) {
controlsData_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param index The index to set the value at.
* @param value The controlsData to set.
*/
private void setControlsData(
int index, int value) {
ensureControlsDataIsMutable();
controlsData_.setInt(index, value);
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param value The controlsData to add.
*/
private void addControlsData(int value) {
ensureControlsDataIsMutable();
controlsData_.addInt(value);
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param values The controlsData to add.
*/
private void addAllControlsData(
java.lang.Iterable extends java.lang.Integer> values) {
ensureControlsDataIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, controlsData_);
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
*/
private void clearControlsData() {
controlsData_ = emptyIntList();
}
public static final int TAGS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList tags_;
/**
* repeated string tags = 3 [json_name = "tags"];
* @return A list containing the tags.
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @return The count of tags.
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index of the element to return.
* @return The tags at the given index.
*/
@java.lang.Override
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
tags_.get(index));
}
private void ensureTagsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
tags_; if (!tmp.isModifiable()) {
tags_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index to set the value at.
* @param value The tags to set.
*/
private void setTags(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTagsIsMutable();
tags_.set(index, value);
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param value The tags to add.
*/
private void addTags(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTagsIsMutable();
tags_.add(value);
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param values The tags to add.
*/
private void addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, tags_);
}
/**
* repeated string tags = 3 [json_name = "tags"];
*/
private void clearTags() {
tags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param value The bytes of the tags to add.
*/
private void addTagsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value.toStringUtf8());
}
public static final int TYPE_FIELD_NUMBER = 4;
private java.lang.String type_;
/**
* string type = 4 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return type_;
}
/**
* string type = 4 [json_name = "type"];
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(type_);
}
/**
* string type = 4 [json_name = "type"];
* @param value The type to set.
*/
private void setType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
type_ = value;
}
/**
* string type = 4 [json_name = "type"];
*/
private void clearType() {
type_ = getDefaultInstance().getType();
}
/**
* string type = 4 [json_name = "type"];
* @param value The bytes for type to set.
*/
private void setTypeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
type_ = value.toStringUtf8();
}
public static final int ALIAS_FIELD_NUMBER = 5;
private java.lang.String alias_;
/**
* string alias = 5 [json_name = "alias"];
* @return The alias.
*/
@java.lang.Override
public java.lang.String getAlias() {
return alias_;
}
/**
* string alias = 5 [json_name = "alias"];
* @return The bytes for alias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAliasBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(alias_);
}
/**
* string alias = 5 [json_name = "alias"];
* @param value The alias to set.
*/
private void setAlias(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
alias_ = value;
}
/**
* string alias = 5 [json_name = "alias"];
*/
private void clearAlias() {
alias_ = getDefaultInstance().getAlias();
}
/**
* string alias = 5 [json_name = "alias"];
* @param value The bytes for alias to set.
*/
private void setAliasBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
alias_ = value.toStringUtf8();
}
public static final int UPLOAD_ID_FIELD_NUMBER = 6;
private java.lang.String uploadId_;
/**
* string upload_id = 6 [json_name = "uploadId"];
* @return The uploadId.
*/
@java.lang.Override
public java.lang.String getUploadId() {
return uploadId_;
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @return The bytes for uploadId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUploadIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(uploadId_);
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @param value The uploadId to set.
*/
private void setUploadId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
uploadId_ = value;
}
/**
* string upload_id = 6 [json_name = "uploadId"];
*/
private void clearUploadId() {
uploadId_ = getDefaultInstance().getUploadId();
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @param value The bytes for uploadId to set.
*/
private void setUploadIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
uploadId_ = value.toStringUtf8();
}
public static final int STARTED_AT_FIELD_NUMBER = 7;
private java.lang.String startedAt_;
/**
* string started_at = 7 [json_name = "startedAt"];
* @return The startedAt.
*/
@java.lang.Override
public java.lang.String getStartedAt() {
return startedAt_;
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @return The bytes for startedAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartedAtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(startedAt_);
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @param value The startedAt to set.
*/
private void setStartedAt(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
startedAt_ = value;
}
/**
* string started_at = 7 [json_name = "startedAt"];
*/
private void clearStartedAt() {
startedAt_ = getDefaultInstance().getStartedAt();
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @param value The bytes for startedAt to set.
*/
private void setStartedAtBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
startedAt_ = value.toStringUtf8();
}
public static final int FILES_FIELD_NUMBER = 8;
private java.lang.String files_;
/**
* string files = 8 [json_name = "files"];
* @return The files.
*/
@java.lang.Override
public java.lang.String getFiles() {
return files_;
}
/**
* string files = 8 [json_name = "files"];
* @return The bytes for files.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFilesBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(files_);
}
/**
* string files = 8 [json_name = "files"];
* @param value The files to set.
*/
private void setFiles(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
files_ = value;
}
/**
* string files = 8 [json_name = "files"];
*/
private void clearFiles() {
files_ = getDefaultInstance().getFiles();
}
/**
* string files = 8 [json_name = "files"];
* @param value The bytes for files to set.
*/
private void setFilesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
files_ = value.toStringUtf8();
}
public static final int PARTS_FIELD_NUMBER = 9;
private int parts_;
/**
* int32 parts = 9 [json_name = "parts"];
* @return The parts.
*/
@java.lang.Override
public int getParts() {
return parts_;
}
/**
* int32 parts = 9 [json_name = "parts"];
* @param value The parts to set.
*/
private void setParts(int value) {
parts_ = value;
}
/**
* int32 parts = 9 [json_name = "parts"];
*/
private void clearParts() {
parts_ = 0;
}
public static final int CONTENT_LENGTH_FIELD_NUMBER = 10;
private int contentLength_;
/**
* int32 content_length = 10 [json_name = "contentLength"];
* @return The contentLength.
*/
@java.lang.Override
public int getContentLength() {
return contentLength_;
}
/**
* int32 content_length = 10 [json_name = "contentLength"];
* @param value The contentLength to set.
*/
private void setContentLength(int value) {
contentLength_ = value;
}
/**
* int32 content_length = 10 [json_name = "contentLength"];
*/
private void clearContentLength() {
contentLength_ = 0;
}
public static final int STATUS_FIELD_NUMBER = 11;
private java.lang.String status_;
/**
* string status = 11 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
return status_;
}
/**
* string status = 11 [json_name = "status"];
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(status_);
}
/**
* string status = 11 [json_name = "status"];
* @param value The status to set.
*/
private void setStatus(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
status_ = value;
}
/**
* string status = 11 [json_name = "status"];
*/
private void clearStatus() {
status_ = getDefaultInstance().getStatus();
}
/**
* string status = 11 [json_name = "status"];
* @param value The bytes for status to set.
*/
private void setStatusBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
status_ = value.toStringUtf8();
}
public static final int OWNER_FIELD_NUMBER = 12;
private java.lang.String owner_;
/**
* string owner = 12 [json_name = "owner"];
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
return owner_;
}
/**
* string owner = 12 [json_name = "owner"];
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(owner_);
}
/**
* string owner = 12 [json_name = "owner"];
* @param value The owner to set.
*/
private void setOwner(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
owner_ = value;
}
/**
* string owner = 12 [json_name = "owner"];
*/
private void clearOwner() {
owner_ = getDefaultInstance().getOwner();
}
/**
* string owner = 12 [json_name = "owner"];
* @param value The bytes for owner to set.
*/
private void setOwnerBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
owner_ = value.toStringUtf8();
}
public static final int BUCKET_FIELD_NUMBER = 13;
private java.lang.String bucket_;
/**
* string bucket = 13 [json_name = "bucket"];
* @return The bucket.
*/
@java.lang.Override
public java.lang.String getBucket() {
return bucket_;
}
/**
* string bucket = 13 [json_name = "bucket"];
* @return The bytes for bucket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bucket_);
}
/**
* string bucket = 13 [json_name = "bucket"];
* @param value The bucket to set.
*/
private void setBucket(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bucket_ = value;
}
/**
* string bucket = 13 [json_name = "bucket"];
*/
private void clearBucket() {
bucket_ = getDefaultInstance().getBucket();
}
/**
* string bucket = 13 [json_name = "bucket"];
* @param value The bytes for bucket to set.
*/
private void setBucketBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
bucket_ = value.toStringUtf8();
}
public static final int UPLOAD_TYPE_FIELD_NUMBER = 14;
private java.lang.String uploadType_;
/**
* string upload_type = 14 [json_name = "uploadType"];
* @return The uploadType.
*/
@java.lang.Override
public java.lang.String getUploadType() {
return uploadType_;
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @return The bytes for uploadType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUploadTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(uploadType_);
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @param value The uploadType to set.
*/
private void setUploadType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
uploadType_ = value;
}
/**
* string upload_type = 14 [json_name = "uploadType"];
*/
private void clearUploadType() {
uploadType_ = getDefaultInstance().getUploadType();
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @param value The bytes for uploadType to set.
*/
private void setUploadTypeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
uploadType_ = value.toStringUtf8();
}
public static final int PUBLIC_FIELD_NUMBER = 15;
private int public_;
/**
* int32 public = 15 [json_name = "public"];
* @return The public.
*/
@java.lang.Override
public int getPublic() {
return public_;
}
/**
* int32 public = 15 [json_name = "public"];
* @param value The public to set.
*/
private void setPublic(int value) {
public_ = value;
}
/**
* int32 public = 15 [json_name = "public"];
*/
private void clearPublic() {
public_ = 0;
}
public static final int TEMPORARY_FIELD_NUMBER = 16;
private int temporary_;
/**
* int32 temporary = 16 [json_name = "temporary"];
* @return The temporary.
*/
@java.lang.Override
public int getTemporary() {
return temporary_;
}
/**
* int32 temporary = 16 [json_name = "temporary"];
* @param value The temporary to set.
*/
private void setTemporary(int value) {
temporary_ = value;
}
/**
* int32 temporary = 16 [json_name = "temporary"];
*/
private void clearTemporary() {
temporary_ = 0;
}
public static final int UNLISTED_FIELD_NUMBER = 17;
private int unlisted_;
/**
* int32 unlisted = 17 [json_name = "unlisted"];
* @return The unlisted.
*/
@java.lang.Override
public int getUnlisted() {
return unlisted_;
}
/**
* int32 unlisted = 17 [json_name = "unlisted"];
* @param value The unlisted to set.
*/
private void setUnlisted(int value) {
unlisted_ = value;
}
/**
* int32 unlisted = 17 [json_name = "unlisted"];
*/
private void clearUnlisted() {
unlisted_ = 0;
}
public static final int DIRECT_FIELD_NUMBER = 18;
private int direct_;
/**
* int32 direct = 18 [json_name = "direct"];
* @return The direct.
*/
@java.lang.Override
public int getDirect() {
return direct_;
}
/**
* int32 direct = 18 [json_name = "direct"];
* @param value The direct to set.
*/
private void setDirect(int value) {
direct_ = value;
}
/**
* int32 direct = 18 [json_name = "direct"];
*/
private void clearDirect() {
direct_ = 0;
}
public static com.streamlayer.files.FileData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.files.FileData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.files.FileData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.files.FileData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.files.FileData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.files.FileData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.files.FileData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.files.FileData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.files.FileData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.files.FileData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.files.FileData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.files.FileData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.files.FileData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.files.FileData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.files.FileData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.files.FileData)
com.streamlayer.files.FileDataOrBuilder {
// Construct using com.streamlayer.files.FileData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @return A list containing the controlsData.
*/
@java.lang.Override
public java.util.List
getControlsDataList() {
return java.util.Collections.unmodifiableList(
instance.getControlsDataList());
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @return The count of controlsData.
*/
@java.lang.Override
public int getControlsDataCount() {
return instance.getControlsDataCount();
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param index The index of the element to return.
* @return The controlsData at the given index.
*/
@java.lang.Override
public int getControlsData(int index) {
return instance.getControlsData(index);
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param value The controlsData to set.
* @return This builder for chaining.
*/
public Builder setControlsData(
int index, int value) {
copyOnWrite();
instance.setControlsData(index, value);
return this;
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param value The controlsData to add.
* @return This builder for chaining.
*/
public Builder addControlsData(int value) {
copyOnWrite();
instance.addControlsData(value);
return this;
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @param values The controlsData to add.
* @return This builder for chaining.
*/
public Builder addAllControlsData(
java.lang.Iterable extends java.lang.Integer> values) {
copyOnWrite();
instance.addAllControlsData(values);
return this;
}
/**
* repeated int32 controls_data = 2 [json_name = "controlsData"];
* @return This builder for chaining.
*/
public Builder clearControlsData() {
copyOnWrite();
instance.clearControlsData();
return this;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @return A list containing the tags.
*/
@java.lang.Override
public java.util.List
getTagsList() {
return java.util.Collections.unmodifiableList(
instance.getTagsList());
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @return The count of tags.
*/
@java.lang.Override
public int getTagsCount() {
return instance.getTagsCount();
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index of the element to return.
* @return The tags at the given index.
*/
@java.lang.Override
public java.lang.String getTags(int index) {
return instance.getTags(index);
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return instance.getTagsBytes(index);
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
copyOnWrite();
instance.setTags(index, value);
return this;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
copyOnWrite();
instance.addTags(value);
return this;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllTags(values);
return this;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @return This builder for chaining.
*/
public Builder clearTags() {
copyOnWrite();
instance.clearTags();
return this;
}
/**
* repeated string tags = 3 [json_name = "tags"];
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addTagsBytes(value);
return this;
}
/**
* string type = 4 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return instance.getType();
}
/**
* string type = 4 [json_name = "type"];
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return instance.getTypeBytes();
}
/**
* string type = 4 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* string type = 4 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* string type = 4 [json_name = "type"];
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTypeBytes(value);
return this;
}
/**
* string alias = 5 [json_name = "alias"];
* @return The alias.
*/
@java.lang.Override
public java.lang.String getAlias() {
return instance.getAlias();
}
/**
* string alias = 5 [json_name = "alias"];
* @return The bytes for alias.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAliasBytes() {
return instance.getAliasBytes();
}
/**
* string alias = 5 [json_name = "alias"];
* @param value The alias to set.
* @return This builder for chaining.
*/
public Builder setAlias(
java.lang.String value) {
copyOnWrite();
instance.setAlias(value);
return this;
}
/**
* string alias = 5 [json_name = "alias"];
* @return This builder for chaining.
*/
public Builder clearAlias() {
copyOnWrite();
instance.clearAlias();
return this;
}
/**
* string alias = 5 [json_name = "alias"];
* @param value The bytes for alias to set.
* @return This builder for chaining.
*/
public Builder setAliasBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAliasBytes(value);
return this;
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @return The uploadId.
*/
@java.lang.Override
public java.lang.String getUploadId() {
return instance.getUploadId();
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @return The bytes for uploadId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUploadIdBytes() {
return instance.getUploadIdBytes();
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @param value The uploadId to set.
* @return This builder for chaining.
*/
public Builder setUploadId(
java.lang.String value) {
copyOnWrite();
instance.setUploadId(value);
return this;
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @return This builder for chaining.
*/
public Builder clearUploadId() {
copyOnWrite();
instance.clearUploadId();
return this;
}
/**
* string upload_id = 6 [json_name = "uploadId"];
* @param value The bytes for uploadId to set.
* @return This builder for chaining.
*/
public Builder setUploadIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUploadIdBytes(value);
return this;
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @return The startedAt.
*/
@java.lang.Override
public java.lang.String getStartedAt() {
return instance.getStartedAt();
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @return The bytes for startedAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartedAtBytes() {
return instance.getStartedAtBytes();
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @param value The startedAt to set.
* @return This builder for chaining.
*/
public Builder setStartedAt(
java.lang.String value) {
copyOnWrite();
instance.setStartedAt(value);
return this;
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @return This builder for chaining.
*/
public Builder clearStartedAt() {
copyOnWrite();
instance.clearStartedAt();
return this;
}
/**
* string started_at = 7 [json_name = "startedAt"];
* @param value The bytes for startedAt to set.
* @return This builder for chaining.
*/
public Builder setStartedAtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setStartedAtBytes(value);
return this;
}
/**
* string files = 8 [json_name = "files"];
* @return The files.
*/
@java.lang.Override
public java.lang.String getFiles() {
return instance.getFiles();
}
/**
* string files = 8 [json_name = "files"];
* @return The bytes for files.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFilesBytes() {
return instance.getFilesBytes();
}
/**
* string files = 8 [json_name = "files"];
* @param value The files to set.
* @return This builder for chaining.
*/
public Builder setFiles(
java.lang.String value) {
copyOnWrite();
instance.setFiles(value);
return this;
}
/**
* string files = 8 [json_name = "files"];
* @return This builder for chaining.
*/
public Builder clearFiles() {
copyOnWrite();
instance.clearFiles();
return this;
}
/**
* string files = 8 [json_name = "files"];
* @param value The bytes for files to set.
* @return This builder for chaining.
*/
public Builder setFilesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFilesBytes(value);
return this;
}
/**
* int32 parts = 9 [json_name = "parts"];
* @return The parts.
*/
@java.lang.Override
public int getParts() {
return instance.getParts();
}
/**
* int32 parts = 9 [json_name = "parts"];
* @param value The parts to set.
* @return This builder for chaining.
*/
public Builder setParts(int value) {
copyOnWrite();
instance.setParts(value);
return this;
}
/**
* int32 parts = 9 [json_name = "parts"];
* @return This builder for chaining.
*/
public Builder clearParts() {
copyOnWrite();
instance.clearParts();
return this;
}
/**
* int32 content_length = 10 [json_name = "contentLength"];
* @return The contentLength.
*/
@java.lang.Override
public int getContentLength() {
return instance.getContentLength();
}
/**
* int32 content_length = 10 [json_name = "contentLength"];
* @param value The contentLength to set.
* @return This builder for chaining.
*/
public Builder setContentLength(int value) {
copyOnWrite();
instance.setContentLength(value);
return this;
}
/**
* int32 content_length = 10 [json_name = "contentLength"];
* @return This builder for chaining.
*/
public Builder clearContentLength() {
copyOnWrite();
instance.clearContentLength();
return this;
}
/**
* string status = 11 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
return instance.getStatus();
}
/**
* string status = 11 [json_name = "status"];
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
return instance.getStatusBytes();
}
/**
* string status = 11 [json_name = "status"];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
* string status = 11 [json_name = "status"];
* @return This builder for chaining.
*/
public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
* string status = 11 [json_name = "status"];
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setStatusBytes(value);
return this;
}
/**
* string owner = 12 [json_name = "owner"];
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
return instance.getOwner();
}
/**
* string owner = 12 [json_name = "owner"];
* @return The bytes for owner.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOwnerBytes() {
return instance.getOwnerBytes();
}
/**
* string owner = 12 [json_name = "owner"];
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
copyOnWrite();
instance.setOwner(value);
return this;
}
/**
* string owner = 12 [json_name = "owner"];
* @return This builder for chaining.
*/
public Builder clearOwner() {
copyOnWrite();
instance.clearOwner();
return this;
}
/**
* string owner = 12 [json_name = "owner"];
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOwnerBytes(value);
return this;
}
/**
* string bucket = 13 [json_name = "bucket"];
* @return The bucket.
*/
@java.lang.Override
public java.lang.String getBucket() {
return instance.getBucket();
}
/**
* string bucket = 13 [json_name = "bucket"];
* @return The bytes for bucket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketBytes() {
return instance.getBucketBytes();
}
/**
* string bucket = 13 [json_name = "bucket"];
* @param value The bucket to set.
* @return This builder for chaining.
*/
public Builder setBucket(
java.lang.String value) {
copyOnWrite();
instance.setBucket(value);
return this;
}
/**
* string bucket = 13 [json_name = "bucket"];
* @return This builder for chaining.
*/
public Builder clearBucket() {
copyOnWrite();
instance.clearBucket();
return this;
}
/**
* string bucket = 13 [json_name = "bucket"];
* @param value The bytes for bucket to set.
* @return This builder for chaining.
*/
public Builder setBucketBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBucketBytes(value);
return this;
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @return The uploadType.
*/
@java.lang.Override
public java.lang.String getUploadType() {
return instance.getUploadType();
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @return The bytes for uploadType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUploadTypeBytes() {
return instance.getUploadTypeBytes();
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @param value The uploadType to set.
* @return This builder for chaining.
*/
public Builder setUploadType(
java.lang.String value) {
copyOnWrite();
instance.setUploadType(value);
return this;
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @return This builder for chaining.
*/
public Builder clearUploadType() {
copyOnWrite();
instance.clearUploadType();
return this;
}
/**
* string upload_type = 14 [json_name = "uploadType"];
* @param value The bytes for uploadType to set.
* @return This builder for chaining.
*/
public Builder setUploadTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUploadTypeBytes(value);
return this;
}
/**
* int32 public = 15 [json_name = "public"];
* @return The public.
*/
@java.lang.Override
public int getPublic() {
return instance.getPublic();
}
/**
* int32 public = 15 [json_name = "public"];
* @param value The public to set.
* @return This builder for chaining.
*/
public Builder setPublic(int value) {
copyOnWrite();
instance.setPublic(value);
return this;
}
/**
* int32 public = 15 [json_name = "public"];
* @return This builder for chaining.
*/
public Builder clearPublic() {
copyOnWrite();
instance.clearPublic();
return this;
}
/**
* int32 temporary = 16 [json_name = "temporary"];
* @return The temporary.
*/
@java.lang.Override
public int getTemporary() {
return instance.getTemporary();
}
/**
* int32 temporary = 16 [json_name = "temporary"];
* @param value The temporary to set.
* @return This builder for chaining.
*/
public Builder setTemporary(int value) {
copyOnWrite();
instance.setTemporary(value);
return this;
}
/**
* int32 temporary = 16 [json_name = "temporary"];
* @return This builder for chaining.
*/
public Builder clearTemporary() {
copyOnWrite();
instance.clearTemporary();
return this;
}
/**
* int32 unlisted = 17 [json_name = "unlisted"];
* @return The unlisted.
*/
@java.lang.Override
public int getUnlisted() {
return instance.getUnlisted();
}
/**
* int32 unlisted = 17 [json_name = "unlisted"];
* @param value The unlisted to set.
* @return This builder for chaining.
*/
public Builder setUnlisted(int value) {
copyOnWrite();
instance.setUnlisted(value);
return this;
}
/**
* int32 unlisted = 17 [json_name = "unlisted"];
* @return This builder for chaining.
*/
public Builder clearUnlisted() {
copyOnWrite();
instance.clearUnlisted();
return this;
}
/**
* int32 direct = 18 [json_name = "direct"];
* @return The direct.
*/
@java.lang.Override
public int getDirect() {
return instance.getDirect();
}
/**
* int32 direct = 18 [json_name = "direct"];
* @param value The direct to set.
* @return This builder for chaining.
*/
public Builder setDirect(int value) {
copyOnWrite();
instance.setDirect(value);
return this;
}
/**
* int32 direct = 18 [json_name = "direct"];
* @return This builder for chaining.
*/
public Builder clearDirect() {
copyOnWrite();
instance.clearDirect();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.files.FileData)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.files.FileData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"name_",
"controlsData_",
"tags_",
"type_",
"alias_",
"uploadId_",
"startedAt_",
"files_",
"parts_",
"contentLength_",
"status_",
"owner_",
"bucket_",
"uploadType_",
"public_",
"temporary_",
"unlisted_",
"direct_",
};
java.lang.String info =
"\u0000\u0012\u0000\u0000\u0001\u0012\u0012\u0000\u0002\u0000\u0001\u0208\u0002\'" +
"\u0003\u021a\u0004\u0208\u0005\u0208\u0006\u0208\u0007\u0208\b\u0208\t\u0004\n\u0004" +
"\u000b\u0208\f\u0208\r\u0208\u000e\u0208\u000f\u0004\u0010\u0004\u0011\u0004\u0012" +
"\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.files.FileData.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.files.FileData)
private static final com.streamlayer.files.FileData DEFAULT_INSTANCE;
static {
FileData defaultInstance = new FileData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FileData.class, defaultInstance);
}
public static com.streamlayer.files.FileData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}