yandex.cloud.api.datasphere.v2.DatasetOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/datasphere/v2/dataset.proto
package yandex.cloud.api.datasphere.v2;
public final class DatasetOuterClass {
private DatasetOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface DatasetOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v2.Dataset)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The projectId.
*/
java.lang.String getProjectId();
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The bytes for projectId.
*/
com.google.protobuf.ByteString
getProjectIdBytes();
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
int getLabelsCount();
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
boolean containsLabels(
java.lang.String key);
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getLabels();
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
java.util.Map
getLabelsMap();
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
java.lang.String getLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
java.lang.String getLabelsOrThrow(
java.lang.String key);
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The createdById.
*/
java.lang.String getCreatedById();
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The bytes for createdById.
*/
com.google.protobuf.ByteString
getCreatedByIdBytes();
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The code.
*/
java.lang.String getCode();
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The bytes for code.
*/
com.google.protobuf.ByteString
getCodeBytes();
/**
*
* Size of the dataset, Gb.
*
*
* int64 size_gb = 9;
* @return The sizeGb.
*/
long getSizeGb();
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return A list containing the zoneIds.
*/
java.util.List
getZoneIdsList();
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return The count of zoneIds.
*/
int getZoneIdsCount();
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the element to return.
* @return The zoneIds at the given index.
*/
java.lang.String getZoneIds(int index);
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the value to return.
* @return The bytes of the zoneIds at the given index.
*/
com.google.protobuf.ByteString
getZoneIdsBytes(int index);
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The mountPath.
*/
java.lang.String getMountPath();
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The bytes for mountPath.
*/
com.google.protobuf.ByteString
getMountPathBytes();
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The dataCapsuleId.
*/
java.lang.String getDataCapsuleId();
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The bytes for dataCapsuleId.
*/
com.google.protobuf.ByteString
getDataCapsuleIdBytes();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v2.Dataset}
*/
public static final class Dataset extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v2.Dataset)
DatasetOrBuilder {
private static final long serialVersionUID = 0L;
// Use Dataset.newBuilder() to construct.
private Dataset(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Dataset() {
id_ = "";
projectId_ = "";
name_ = "";
description_ = "";
createdById_ = "";
code_ = "";
zoneIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
mountPath_ = "";
dataCapsuleId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Dataset();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Dataset(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
projectId_ = s;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createdAt_ != null) {
subBuilder = createdAt_.toBuilder();
}
createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createdAt_);
createdAt_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labels_ = com.google.protobuf.MapField.newMapField(
LabelsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
labels__ = input.readMessage(
LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
labels_.getMutableMap().put(
labels__.getKey(), labels__.getValue());
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
createdById_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
code_ = s;
break;
}
case 72: {
sizeGb_ = input.readInt64();
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
zoneIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
zoneIds_.add(s);
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
mountPath_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
dataCapsuleId_ = 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 {
if (((mutable_bitField0_ & 0x00000002) != 0)) {
zoneIds_ = zoneIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECT_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object projectId_;
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The projectId.
*/
@java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
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();
projectId_ = s;
return s;
}
}
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The bytes for projectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATED_AT_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp createdAt_;
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return Whether the createdAt field is set.
*/
@java.lang.Override
public boolean hasCreatedAt() {
return createdAt_ != null;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return The createdAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreatedAt() {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
return getCreatedAt();
}
public static final int NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object name_;
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
private volatile java.lang.Object description_;
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LABELS_FIELD_NUMBER = 6;
private static final class LabelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.google.protobuf.MapField
internalGetLabels() {
if (labels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
return labels_;
}
public int getLabelsCount() {
return internalGetLabels().getMap().size();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public boolean containsLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int CREATED_BY_ID_FIELD_NUMBER = 7;
private volatile java.lang.Object createdById_;
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The createdById.
*/
@java.lang.Override
public java.lang.String getCreatedById() {
java.lang.Object ref = createdById_;
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();
createdById_ = s;
return s;
}
}
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The bytes for createdById.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCreatedByIdBytes() {
java.lang.Object ref = createdById_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createdById_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CODE_FIELD_NUMBER = 8;
private volatile java.lang.Object code_;
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The code.
*/
@java.lang.Override
public java.lang.String getCode() {
java.lang.Object ref = code_;
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();
code_ = s;
return s;
}
}
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The bytes for code.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCodeBytes() {
java.lang.Object ref = code_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
code_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIZE_GB_FIELD_NUMBER = 9;
private long sizeGb_;
/**
*
* Size of the dataset, Gb.
*
*
* int64 size_gb = 9;
* @return The sizeGb.
*/
@java.lang.Override
public long getSizeGb() {
return sizeGb_;
}
public static final int ZONE_IDS_FIELD_NUMBER = 10;
private com.google.protobuf.LazyStringList zoneIds_;
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return A list containing the zoneIds.
*/
public com.google.protobuf.ProtocolStringList
getZoneIdsList() {
return zoneIds_;
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return The count of zoneIds.
*/
public int getZoneIdsCount() {
return zoneIds_.size();
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the element to return.
* @return The zoneIds at the given index.
*/
public java.lang.String getZoneIds(int index) {
return zoneIds_.get(index);
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the value to return.
* @return The bytes of the zoneIds at the given index.
*/
public com.google.protobuf.ByteString
getZoneIdsBytes(int index) {
return zoneIds_.getByteString(index);
}
public static final int MOUNT_PATH_FIELD_NUMBER = 11;
private volatile java.lang.Object mountPath_;
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The mountPath.
*/
@java.lang.Override
public java.lang.String getMountPath() {
java.lang.Object ref = mountPath_;
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();
mountPath_ = s;
return s;
}
}
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The bytes for mountPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMountPathBytes() {
java.lang.Object ref = mountPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mountPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_CAPSULE_ID_FIELD_NUMBER = 12;
private volatile java.lang.Object dataCapsuleId_;
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The dataCapsuleId.
*/
@java.lang.Override
public java.lang.String getDataCapsuleId() {
java.lang.Object ref = dataCapsuleId_;
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();
dataCapsuleId_ = s;
return s;
}
}
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The bytes for dataCapsuleId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataCapsuleIdBytes() {
java.lang.Object ref = dataCapsuleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataCapsuleId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_);
}
if (createdAt_ != null) {
output.writeMessage(3, getCreatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetLabels(),
LabelsDefaultEntryHolder.defaultEntry,
6);
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createdById_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, createdById_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, code_);
}
if (sizeGb_ != 0L) {
output.writeInt64(9, sizeGb_);
}
for (int i = 0; i < zoneIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, zoneIds_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, mountPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataCapsuleId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, dataCapsuleId_);
}
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(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, projectId_);
}
if (createdAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCreatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
for (java.util.Map.Entry entry
: internalGetLabels().getMap().entrySet()) {
com.google.protobuf.MapEntry
labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, labels__);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createdById_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, createdById_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, code_);
}
if (sizeGb_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, sizeGb_);
}
{
int dataSize = 0;
for (int i = 0; i < zoneIds_.size(); i++) {
dataSize += computeStringSizeNoTag(zoneIds_.getRaw(i));
}
size += dataSize;
size += 1 * getZoneIdsList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, mountPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataCapsuleId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dataCapsuleId_);
}
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset other = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getProjectId()
.equals(other.getProjectId())) return false;
if (hasCreatedAt() != other.hasCreatedAt()) return false;
if (hasCreatedAt()) {
if (!getCreatedAt()
.equals(other.getCreatedAt())) return false;
}
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!internalGetLabels().equals(
other.internalGetLabels())) return false;
if (!getCreatedById()
.equals(other.getCreatedById())) return false;
if (!getCode()
.equals(other.getCode())) return false;
if (getSizeGb()
!= other.getSizeGb()) return false;
if (!getZoneIdsList()
.equals(other.getZoneIdsList())) return false;
if (!getMountPath()
.equals(other.getMountPath())) return false;
if (!getDataCapsuleId()
.equals(other.getDataCapsuleId())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + PROJECT_ID_FIELD_NUMBER;
hash = (53 * hash) + getProjectId().hashCode();
if (hasCreatedAt()) {
hash = (37 * hash) + CREATED_AT_FIELD_NUMBER;
hash = (53 * hash) + getCreatedAt().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
if (!internalGetLabels().getMap().isEmpty()) {
hash = (37 * hash) + LABELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetLabels().hashCode();
}
hash = (37 * hash) + CREATED_BY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCreatedById().hashCode();
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode().hashCode();
hash = (37 * hash) + SIZE_GB_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeGb());
if (getZoneIdsCount() > 0) {
hash = (37 * hash) + ZONE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getZoneIdsList().hashCode();
}
hash = (37 * hash) + MOUNT_PATH_FIELD_NUMBER;
hash = (53 * hash) + getMountPath().hashCode();
hash = (37 * hash) + DATA_CAPSULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getDataCapsuleId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset 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(yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset 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 yandex.cloud.datasphere.v2.Dataset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v2.Dataset)
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 6:
return internalGetMutableLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.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();
id_ = "";
projectId_ = "";
if (createdAtBuilder_ == null) {
createdAt_ = null;
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
name_ = "";
description_ = "";
internalGetMutableLabels().clear();
createdById_ = "";
code_ = "";
sizeGb_ = 0L;
zoneIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
mountPath_ = "";
dataCapsuleId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset build() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset buildPartial() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset result = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.projectId_ = projectId_;
if (createdAtBuilder_ == null) {
result.createdAt_ = createdAt_;
} else {
result.createdAt_ = createdAtBuilder_.build();
}
result.name_ = name_;
result.description_ = description_;
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
result.createdById_ = createdById_;
result.code_ = code_;
result.sizeGb_ = sizeGb_;
if (((bitField0_ & 0x00000002) != 0)) {
zoneIds_ = zoneIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.zoneIds_ = zoneIds_;
result.mountPath_ = mountPath_;
result.dataCapsuleId_ = dataCapsuleId_;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset) {
return mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset other) {
if (other == yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getProjectId().isEmpty()) {
projectId_ = other.projectId_;
onChanged();
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
internalGetMutableLabels().mergeFrom(
other.internalGetLabels());
if (!other.getCreatedById().isEmpty()) {
createdById_ = other.createdById_;
onChanged();
}
if (!other.getCode().isEmpty()) {
code_ = other.code_;
onChanged();
}
if (other.getSizeGb() != 0L) {
setSizeGb(other.getSizeGb());
}
if (!other.zoneIds_.isEmpty()) {
if (zoneIds_.isEmpty()) {
zoneIds_ = other.zoneIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureZoneIdsIsMutable();
zoneIds_.addAll(other.zoneIds_);
}
onChanged();
}
if (!other.getMountPath().isEmpty()) {
mountPath_ = other.mountPath_;
onChanged();
}
if (!other.getDataCapsuleId().isEmpty()) {
dataCapsuleId_ = other.dataCapsuleId_;
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 {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* ID of the dataset.
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object projectId_ = "";
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
projectId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return The bytes for projectId.
*/
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @param value The projectId to set.
* @return This builder for chaining.
*/
public Builder setProjectId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
projectId_ = value;
onChanged();
return this;
}
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @return This builder for chaining.
*/
public Builder clearProjectId() {
projectId_ = getDefaultInstance().getProjectId();
onChanged();
return this;
}
/**
*
* ID of the project.
*
*
* string project_id = 2;
* @param value The bytes for projectId to set.
* @return This builder for chaining.
*/
public Builder setProjectIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
projectId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createdAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_;
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAtBuilder_ != null || createdAt_ != null;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return The createdAt.
*/
public com.google.protobuf.Timestamp getCreatedAt() {
if (createdAtBuilder_ == null) {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
} else {
return createdAtBuilder_.getMessage();
}
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdAt_ = value;
onChanged();
} else {
createdAtBuilder_.setMessage(value);
}
return this;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public Builder setCreatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdAtBuilder_ == null) {
createdAt_ = builderForValue.build();
onChanged();
} else {
createdAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (createdAt_ != null) {
createdAt_ =
com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
} else {
createdAt_ = value;
}
onChanged();
} else {
createdAtBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public Builder clearCreatedAt() {
if (createdAtBuilder_ == null) {
createdAt_ = null;
onChanged();
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
return this;
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
if (createdAtBuilder_ != null) {
return createdAtBuilder_.getMessageOrBuilder();
} else {
return createdAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
}
/**
*
* Time the dataset was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedAtFieldBuilder() {
if (createdAtBuilder_ == null) {
createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreatedAt(),
getParentForChildren(),
isClean());
createdAt_ = null;
}
return createdAtBuilder_;
}
private java.lang.Object name_ = "";
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of the dataset.
*
*
* string name = 4;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
*
* Description of the dataset.
*
*
* string description = 5;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.google.protobuf.MapField
internalGetLabels() {
if (labels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
return labels_;
}
private com.google.protobuf.MapField
internalGetMutableLabels() {
onChanged();;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
return labels_;
}
public int getLabelsCount() {
return internalGetLabels().getMap().size();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public boolean containsLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearLabels() {
internalGetMutableLabels().getMutableMap()
.clear();
return this;
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
public Builder removeLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableLabels().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableLabels() {
return internalGetMutableLabels().getMutableMap();
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
public Builder putLabels(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableLabels().getMutableMap()
.put(key, value);
return this;
}
/**
*
* Labels of the dataset.
*
*
* map<string, string> labels = 6;
*/
public Builder putAllLabels(
java.util.Map values) {
internalGetMutableLabels().getMutableMap()
.putAll(values);
return this;
}
private java.lang.Object createdById_ = "";
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The createdById.
*/
public java.lang.String getCreatedById() {
java.lang.Object ref = createdById_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
createdById_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return The bytes for createdById.
*/
public com.google.protobuf.ByteString
getCreatedByIdBytes() {
java.lang.Object ref = createdById_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createdById_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @param value The createdById to set.
* @return This builder for chaining.
*/
public Builder setCreatedById(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
createdById_ = value;
onChanged();
return this;
}
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @return This builder for chaining.
*/
public Builder clearCreatedById() {
createdById_ = getDefaultInstance().getCreatedById();
onChanged();
return this;
}
/**
*
* ID of the user who created the dataset.
*
*
* string created_by_id = 7;
* @param value The bytes for createdById to set.
* @return This builder for chaining.
*/
public Builder setCreatedByIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
createdById_ = value;
onChanged();
return this;
}
private java.lang.Object code_ = "";
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The code.
*/
public java.lang.String getCode() {
java.lang.Object ref = code_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
code_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return The bytes for code.
*/
public com.google.protobuf.ByteString
getCodeBytes() {
java.lang.Object ref = code_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
code_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
code_ = value;
onChanged();
return this;
}
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @return This builder for chaining.
*/
public Builder clearCode() {
code_ = getDefaultInstance().getCode();
onChanged();
return this;
}
/**
*
* Code used to create dataset.
*
*
* string code = 8;
* @param value The bytes for code to set.
* @return This builder for chaining.
*/
public Builder setCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
code_ = value;
onChanged();
return this;
}
private long sizeGb_ ;
/**
*
* Size of the dataset, Gb.
*
*
* int64 size_gb = 9;
* @return The sizeGb.
*/
@java.lang.Override
public long getSizeGb() {
return sizeGb_;
}
/**
*
* Size of the dataset, Gb.
*
*
* int64 size_gb = 9;
* @param value The sizeGb to set.
* @return This builder for chaining.
*/
public Builder setSizeGb(long value) {
sizeGb_ = value;
onChanged();
return this;
}
/**
*
* Size of the dataset, Gb.
*
*
* int64 size_gb = 9;
* @return This builder for chaining.
*/
public Builder clearSizeGb() {
sizeGb_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList zoneIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureZoneIdsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
zoneIds_ = new com.google.protobuf.LazyStringArrayList(zoneIds_);
bitField0_ |= 0x00000002;
}
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return A list containing the zoneIds.
*/
public com.google.protobuf.ProtocolStringList
getZoneIdsList() {
return zoneIds_.getUnmodifiableView();
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return The count of zoneIds.
*/
public int getZoneIdsCount() {
return zoneIds_.size();
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the element to return.
* @return The zoneIds at the given index.
*/
public java.lang.String getZoneIds(int index) {
return zoneIds_.get(index);
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index of the value to return.
* @return The bytes of the zoneIds at the given index.
*/
public com.google.protobuf.ByteString
getZoneIdsBytes(int index) {
return zoneIds_.getByteString(index);
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param index The index to set the value at.
* @param value The zoneIds to set.
* @return This builder for chaining.
*/
public Builder setZoneIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureZoneIdsIsMutable();
zoneIds_.set(index, value);
onChanged();
return this;
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param value The zoneIds to add.
* @return This builder for chaining.
*/
public Builder addZoneIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureZoneIdsIsMutable();
zoneIds_.add(value);
onChanged();
return this;
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param values The zoneIds to add.
* @return This builder for chaining.
*/
public Builder addAllZoneIds(
java.lang.Iterable values) {
ensureZoneIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, zoneIds_);
onChanged();
return this;
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @return This builder for chaining.
*/
public Builder clearZoneIds() {
zoneIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Zone IDs where dataset is available.
*
*
* repeated string zone_ids = 10;
* @param value The bytes of the zoneIds to add.
* @return This builder for chaining.
*/
public Builder addZoneIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureZoneIdsIsMutable();
zoneIds_.add(value);
onChanged();
return this;
}
private java.lang.Object mountPath_ = "";
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The mountPath.
*/
public java.lang.String getMountPath() {
java.lang.Object ref = mountPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mountPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return The bytes for mountPath.
*/
public com.google.protobuf.ByteString
getMountPathBytes() {
java.lang.Object ref = mountPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mountPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @param value The mountPath to set.
* @return This builder for chaining.
*/
public Builder setMountPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mountPath_ = value;
onChanged();
return this;
}
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @return This builder for chaining.
*/
public Builder clearMountPath() {
mountPath_ = getDefaultInstance().getMountPath();
onChanged();
return this;
}
/**
*
* Dataset mount path.
*
*
* string mount_path = 11;
* @param value The bytes for mountPath to set.
* @return This builder for chaining.
*/
public Builder setMountPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mountPath_ = value;
onChanged();
return this;
}
private java.lang.Object dataCapsuleId_ = "";
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The dataCapsuleId.
*/
public java.lang.String getDataCapsuleId() {
java.lang.Object ref = dataCapsuleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataCapsuleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return The bytes for dataCapsuleId.
*/
public com.google.protobuf.ByteString
getDataCapsuleIdBytes() {
java.lang.Object ref = dataCapsuleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataCapsuleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @param value The dataCapsuleId to set.
* @return This builder for chaining.
*/
public Builder setDataCapsuleId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataCapsuleId_ = value;
onChanged();
return this;
}
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @return This builder for chaining.
*/
public Builder clearDataCapsuleId() {
dataCapsuleId_ = getDefaultInstance().getDataCapsuleId();
onChanged();
return this;
}
/**
*
* ID of the data capsule object, storing information about dataset storage.
*
*
* string data_capsule_id = 12;
* @param value The bytes for dataCapsuleId to set.
* @return This builder for chaining.
*/
public Builder setDataCapsuleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataCapsuleId_ = 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:yandex.cloud.datasphere.v2.Dataset)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v2.Dataset)
private static final yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset();
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Dataset parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Dataset(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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.Dataset getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DatasetStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v2.DatasetStatus)
com.google.protobuf.MessageOrBuilder {
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return Whether the statusActive field is set.
*/
boolean hasStatusActive();
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return The statusActive.
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getStatusActive();
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder getStatusActiveOrBuilder();
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return Whether the statusInactive field is set.
*/
boolean hasStatusInactive();
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return The statusInactive.
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getStatusInactive();
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder getStatusInactiveOrBuilder();
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return Whether the statusError field is set.
*/
boolean hasStatusError();
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return The statusError.
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getStatusError();
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder getStatusErrorOrBuilder();
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusCase getStatusCase();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v2.DatasetStatus}
*/
public static final class DatasetStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v2.DatasetStatus)
DatasetStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatasetStatus.newBuilder() to construct.
private DatasetStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DatasetStatus() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatasetStatus();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DatasetStatus(
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: {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder subBuilder = null;
if (statusCase_ == 1) {
subBuilder = ((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_).toBuilder();
}
status_ =
input.readMessage(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_);
status_ = subBuilder.buildPartial();
}
statusCase_ = 1;
break;
}
case 18: {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder subBuilder = null;
if (statusCase_ == 2) {
subBuilder = ((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_).toBuilder();
}
status_ =
input.readMessage(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_);
status_ = subBuilder.buildPartial();
}
statusCase_ = 2;
break;
}
case 26: {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder subBuilder = null;
if (statusCase_ == 3) {
subBuilder = ((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_).toBuilder();
}
status_ =
input.readMessage(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_);
status_ = subBuilder.buildPartial();
}
statusCase_ = 3;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.Builder.class);
}
public interface StatusActiveOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v2.DatasetStatus.StatusActive)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v2.DatasetStatus.StatusActive}
*/
public static final class StatusActive extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusActive)
StatusActiveOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatusActive.newBuilder() to construct.
private StatusActive(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusActive() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatusActive();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatusActive(
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;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive other = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive 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(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive 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 yandex.cloud.datasphere.v2.DatasetStatus.StatusActive}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusActive)
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive build() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive buildPartial() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive result = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive(this);
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) {
return mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive other) {
if (other == yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance()) return this;
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 {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:yandex.cloud.datasphere.v2.DatasetStatus.StatusActive)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v2.DatasetStatus.StatusActive)
private static final yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive();
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatusActive parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatusActive(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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatusInactiveOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive}
*/
public static final class StatusInactive extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive)
StatusInactiveOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatusInactive.newBuilder() to construct.
private StatusInactive(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusInactive() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatusInactive();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatusInactive(
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;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive other = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive 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(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive 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 yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive)
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive build() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive buildPartial() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive result = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive(this);
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) {
return mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive other) {
if (other == yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance()) return this;
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 {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive)
private static final yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive();
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatusInactive parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatusInactive(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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatusErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v2.DatasetStatus.StatusError)
com.google.protobuf.MessageOrBuilder {
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The error.
*/
java.lang.String getError();
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The bytes for error.
*/
com.google.protobuf.ByteString
getErrorBytes();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v2.DatasetStatus.StatusError}
*/
public static final class StatusError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusError)
StatusErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatusError.newBuilder() to construct.
private StatusError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusError() {
error_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatusError();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatusError(
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();
error_ = 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder.class);
}
public static final int ERROR_FIELD_NUMBER = 1;
private volatile java.lang.Object error_;
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The error.
*/
@java.lang.Override
public java.lang.String getError() {
java.lang.Object ref = error_;
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();
error_ = s;
return s;
}
}
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The bytes for error.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, error_);
}
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(error_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, error_);
}
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError other = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) obj;
if (!getError()
.equals(other.getError())) 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) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError 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(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError 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 yandex.cloud.datasphere.v2.DatasetStatus.StatusError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v2.DatasetStatus.StatusError)
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.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();
error_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError build() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError buildPartial() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError result = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError(this);
result.error_ = error_;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) {
return mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError other) {
if (other == yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance()) return this;
if (!other.getError().isEmpty()) {
error_ = other.error_;
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 {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object error_ = "";
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The error.
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
error_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Text of the error.
*
*
* string error = 1;
* @return The bytes for error.
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Text of the error.
*
*
* string error = 1;
* @param value The error to set.
* @return This builder for chaining.
*/
public Builder setError(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
return this;
}
/**
*
* Text of the error.
*
*
* string error = 1;
* @return This builder for chaining.
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
onChanged();
return this;
}
/**
*
* Text of the error.
*
*
* string error = 1;
* @param value The bytes for error to set.
* @return This builder for chaining.
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
error_ = 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:yandex.cloud.datasphere.v2.DatasetStatus.StatusError)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v2.DatasetStatus.StatusError)
private static final yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError();
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatusError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatusError(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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int statusCase_ = 0;
private java.lang.Object status_;
public enum StatusCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
STATUS_ACTIVE(1),
STATUS_INACTIVE(2),
STATUS_ERROR(3),
STATUS_NOT_SET(0);
private final int value;
private StatusCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StatusCase valueOf(int value) {
return forNumber(value);
}
public static StatusCase forNumber(int value) {
switch (value) {
case 1: return STATUS_ACTIVE;
case 2: return STATUS_INACTIVE;
case 3: return STATUS_ERROR;
case 0: return STATUS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public StatusCase
getStatusCase() {
return StatusCase.forNumber(
statusCase_);
}
public static final int STATUS_ACTIVE_FIELD_NUMBER = 1;
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return Whether the statusActive field is set.
*/
@java.lang.Override
public boolean hasStatusActive() {
return statusCase_ == 1;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return The statusActive.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getStatusActive() {
if (statusCase_ == 1) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder getStatusActiveOrBuilder() {
if (statusCase_ == 1) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
public static final int STATUS_INACTIVE_FIELD_NUMBER = 2;
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return Whether the statusInactive field is set.
*/
@java.lang.Override
public boolean hasStatusInactive() {
return statusCase_ == 2;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return The statusInactive.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getStatusInactive() {
if (statusCase_ == 2) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder getStatusInactiveOrBuilder() {
if (statusCase_ == 2) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
public static final int STATUS_ERROR_FIELD_NUMBER = 3;
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return Whether the statusError field is set.
*/
@java.lang.Override
public boolean hasStatusError() {
return statusCase_ == 3;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return The statusError.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getStatusError() {
if (statusCase_ == 3) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder getStatusErrorOrBuilder() {
if (statusCase_ == 3) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
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 (statusCase_ == 1) {
output.writeMessage(1, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_);
}
if (statusCase_ == 2) {
output.writeMessage(2, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_);
}
if (statusCase_ == 3) {
output.writeMessage(3, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (statusCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_);
}
if (statusCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_);
}
if (statusCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_);
}
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus other = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus) obj;
if (!getStatusCase().equals(other.getStatusCase())) return false;
switch (statusCase_) {
case 1:
if (!getStatusActive()
.equals(other.getStatusActive())) return false;
break;
case 2:
if (!getStatusInactive()
.equals(other.getStatusInactive())) return false;
break;
case 3:
if (!getStatusError()
.equals(other.getStatusError())) return false;
break;
case 0:
default:
}
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();
switch (statusCase_) {
case 1:
hash = (37 * hash) + STATUS_ACTIVE_FIELD_NUMBER;
hash = (53 * hash) + getStatusActive().hashCode();
break;
case 2:
hash = (37 * hash) + STATUS_INACTIVE_FIELD_NUMBER;
hash = (53 * hash) + getStatusInactive().hashCode();
break;
case 3:
hash = (37 * hash) + STATUS_ERROR_FIELD_NUMBER;
hash = (53 * hash) + getStatusError().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus 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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus 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(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus 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 yandex.cloud.datasphere.v2.DatasetStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v2.DatasetStatus)
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.class, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.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();
statusCase_ = 0;
status_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus build() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus buildPartial() {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus result = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus(this);
if (statusCase_ == 1) {
if (statusActiveBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusActiveBuilder_.build();
}
}
if (statusCase_ == 2) {
if (statusInactiveBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusInactiveBuilder_.build();
}
}
if (statusCase_ == 3) {
if (statusErrorBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusErrorBuilder_.build();
}
}
result.statusCase_ = statusCase_;
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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus) {
return mergeFrom((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus other) {
if (other == yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.getDefaultInstance()) return this;
switch (other.getStatusCase()) {
case STATUS_ACTIVE: {
mergeStatusActive(other.getStatusActive());
break;
}
case STATUS_INACTIVE: {
mergeStatusInactive(other.getStatusInactive());
break;
}
case STATUS_ERROR: {
mergeStatusError(other.getStatusError());
break;
}
case STATUS_NOT_SET: {
break;
}
}
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 {
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int statusCase_ = 0;
private java.lang.Object status_;
public StatusCase
getStatusCase() {
return StatusCase.forNumber(
statusCase_);
}
public Builder clearStatus() {
statusCase_ = 0;
status_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder> statusActiveBuilder_;
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return Whether the statusActive field is set.
*/
@java.lang.Override
public boolean hasStatusActive() {
return statusCase_ == 1;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
* @return The statusActive.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive getStatusActive() {
if (statusActiveBuilder_ == null) {
if (statusCase_ == 1) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
} else {
if (statusCase_ == 1) {
return statusActiveBuilder_.getMessage();
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
public Builder setStatusActive(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive value) {
if (statusActiveBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusActiveBuilder_.setMessage(value);
}
statusCase_ = 1;
return this;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
public Builder setStatusActive(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder builderForValue) {
if (statusActiveBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusActiveBuilder_.setMessage(builderForValue.build());
}
statusCase_ = 1;
return this;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
public Builder mergeStatusActive(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive value) {
if (statusActiveBuilder_ == null) {
if (statusCase_ == 1 &&
status_ != yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance()) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.newBuilder((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_)
.mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
if (statusCase_ == 1) {
statusActiveBuilder_.mergeFrom(value);
}
statusActiveBuilder_.setMessage(value);
}
statusCase_ = 1;
return this;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
public Builder clearStatusActive() {
if (statusActiveBuilder_ == null) {
if (statusCase_ == 1) {
statusCase_ = 0;
status_ = null;
onChanged();
}
} else {
if (statusCase_ == 1) {
statusCase_ = 0;
status_ = null;
}
statusActiveBuilder_.clear();
}
return this;
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder getStatusActiveBuilder() {
return getStatusActiveFieldBuilder().getBuilder();
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder getStatusActiveOrBuilder() {
if ((statusCase_ == 1) && (statusActiveBuilder_ != null)) {
return statusActiveBuilder_.getMessageOrBuilder();
} else {
if (statusCase_ == 1) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
}
/**
*
* Dataset is activated.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusActive status_active = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder>
getStatusActiveFieldBuilder() {
if (statusActiveBuilder_ == null) {
if (!(statusCase_ == 1)) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.getDefaultInstance();
}
statusActiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActiveOrBuilder>(
(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusActive) status_,
getParentForChildren(),
isClean());
status_ = null;
}
statusCase_ = 1;
onChanged();;
return statusActiveBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder> statusInactiveBuilder_;
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return Whether the statusInactive field is set.
*/
@java.lang.Override
public boolean hasStatusInactive() {
return statusCase_ == 2;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
* @return The statusInactive.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive getStatusInactive() {
if (statusInactiveBuilder_ == null) {
if (statusCase_ == 2) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
} else {
if (statusCase_ == 2) {
return statusInactiveBuilder_.getMessage();
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
public Builder setStatusInactive(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive value) {
if (statusInactiveBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusInactiveBuilder_.setMessage(value);
}
statusCase_ = 2;
return this;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
public Builder setStatusInactive(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder builderForValue) {
if (statusInactiveBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusInactiveBuilder_.setMessage(builderForValue.build());
}
statusCase_ = 2;
return this;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
public Builder mergeStatusInactive(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive value) {
if (statusInactiveBuilder_ == null) {
if (statusCase_ == 2 &&
status_ != yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance()) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.newBuilder((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_)
.mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
if (statusCase_ == 2) {
statusInactiveBuilder_.mergeFrom(value);
}
statusInactiveBuilder_.setMessage(value);
}
statusCase_ = 2;
return this;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
public Builder clearStatusInactive() {
if (statusInactiveBuilder_ == null) {
if (statusCase_ == 2) {
statusCase_ = 0;
status_ = null;
onChanged();
}
} else {
if (statusCase_ == 2) {
statusCase_ = 0;
status_ = null;
}
statusInactiveBuilder_.clear();
}
return this;
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder getStatusInactiveBuilder() {
return getStatusInactiveFieldBuilder().getBuilder();
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder getStatusInactiveOrBuilder() {
if ((statusCase_ == 2) && (statusInactiveBuilder_ != null)) {
return statusInactiveBuilder_.getMessageOrBuilder();
} else {
if (statusCase_ == 2) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
}
/**
*
* Dataset is inactive.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusInactive status_inactive = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder>
getStatusInactiveFieldBuilder() {
if (statusInactiveBuilder_ == null) {
if (!(statusCase_ == 2)) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.getDefaultInstance();
}
statusInactiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactiveOrBuilder>(
(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusInactive) status_,
getParentForChildren(),
isClean());
status_ = null;
}
statusCase_ = 2;
onChanged();;
return statusInactiveBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder> statusErrorBuilder_;
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return Whether the statusError field is set.
*/
@java.lang.Override
public boolean hasStatusError() {
return statusCase_ == 3;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
* @return The statusError.
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError getStatusError() {
if (statusErrorBuilder_ == null) {
if (statusCase_ == 3) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
} else {
if (statusCase_ == 3) {
return statusErrorBuilder_.getMessage();
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
public Builder setStatusError(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError value) {
if (statusErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusErrorBuilder_.setMessage(value);
}
statusCase_ = 3;
return this;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
public Builder setStatusError(
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder builderForValue) {
if (statusErrorBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusErrorBuilder_.setMessage(builderForValue.build());
}
statusCase_ = 3;
return this;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
public Builder mergeStatusError(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError value) {
if (statusErrorBuilder_ == null) {
if (statusCase_ == 3 &&
status_ != yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance()) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.newBuilder((yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_)
.mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
if (statusCase_ == 3) {
statusErrorBuilder_.mergeFrom(value);
}
statusErrorBuilder_.setMessage(value);
}
statusCase_ = 3;
return this;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
public Builder clearStatusError() {
if (statusErrorBuilder_ == null) {
if (statusCase_ == 3) {
statusCase_ = 0;
status_ = null;
onChanged();
}
} else {
if (statusCase_ == 3) {
statusCase_ = 0;
status_ = null;
}
statusErrorBuilder_.clear();
}
return this;
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder getStatusErrorBuilder() {
return getStatusErrorFieldBuilder().getBuilder();
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
@java.lang.Override
public yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder getStatusErrorOrBuilder() {
if ((statusCase_ == 3) && (statusErrorBuilder_ != null)) {
return statusErrorBuilder_.getMessageOrBuilder();
} else {
if (statusCase_ == 3) {
return (yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_;
}
return yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
}
/**
*
* Error while activating dataset.
*
*
* .yandex.cloud.datasphere.v2.DatasetStatus.StatusError status_error = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder>
getStatusErrorFieldBuilder() {
if (statusErrorBuilder_ == null) {
if (!(statusCase_ == 3)) {
status_ = yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.getDefaultInstance();
}
statusErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError.Builder, yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusErrorOrBuilder>(
(yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus.StatusError) status_,
getParentForChildren(),
isClean());
status_ = null;
}
statusCase_ = 3;
onChanged();;
return statusErrorBuilder_;
}
@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:yandex.cloud.datasphere.v2.DatasetStatus)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v2.DatasetStatus)
private static final yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus();
}
public static yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DatasetStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DatasetStatus(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 yandex.cloud.api.datasphere.v2.DatasetOuterClass.DatasetStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_Dataset_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n(yandex/cloud/datasphere/v2/dataset.pro" +
"to\022\032yandex.cloud.datasphere.v2\032\037google/p" +
"rotobuf/timestamp.proto\"\341\002\n\007Dataset\022\n\n\002i" +
"d\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022.\n\ncreated_a" +
"t\030\003 \001(\0132\032.google.protobuf.Timestamp\022\014\n\004n" +
"ame\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022?\n\006labels" +
"\030\006 \003(\0132/.yandex.cloud.datasphere.v2.Data" +
"set.LabelsEntry\022\025\n\rcreated_by_id\030\007 \001(\t\022\014" +
"\n\004code\030\010 \001(\t\022\017\n\007size_gb\030\t \001(\003\022\020\n\010zone_id" +
"s\030\n \003(\t\022\022\n\nmount_path\030\013 \001(\t\022\027\n\017data_caps" +
"ule_id\030\014 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" +
"\022\r\n\005value\030\002 \001(\t:\0028\001\"\316\002\n\rDatasetStatus\022O\n" +
"\rstatus_active\030\001 \001(\01326.yandex.cloud.data" +
"sphere.v2.DatasetStatus.StatusActiveH\000\022S" +
"\n\017status_inactive\030\002 \001(\01328.yandex.cloud.d" +
"atasphere.v2.DatasetStatus.StatusInactiv" +
"eH\000\022M\n\014status_error\030\003 \001(\01325.yandex.cloud" +
".datasphere.v2.DatasetStatus.StatusError" +
"H\000\032\016\n\014StatusActive\032\020\n\016StatusInactive\032\034\n\013" +
"StatusError\022\r\n\005error\030\001 \001(\tB\010\n\006statusBk\n\036" +
"yandex.cloud.api.datasphere.v2ZIgithub.c" +
"om/yandex-cloud/go-genproto/yandex/cloud" +
"/datasphere/v2;datasphereb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_datasphere_v2_Dataset_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor,
new java.lang.String[] { "Id", "ProjectId", "CreatedAt", "Name", "Description", "Labels", "CreatedById", "Code", "SizeGb", "ZoneIds", "MountPath", "DataCapsuleId", });
internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_descriptor =
internal_static_yandex_cloud_datasphere_v2_Dataset_descriptor.getNestedTypes().get(0);
internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_Dataset_LabelsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor,
new java.lang.String[] { "StatusActive", "StatusInactive", "StatusError", "Status", });
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor =
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor.getNestedTypes().get(0);
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusActive_descriptor,
new java.lang.String[] { });
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor =
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor.getNestedTypes().get(1);
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusInactive_descriptor,
new java.lang.String[] { });
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor =
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_descriptor.getNestedTypes().get(2);
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v2_DatasetStatus_StatusError_descriptor,
new java.lang.String[] { "Error", });
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy