Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.netflix.genie.proto.JobMetadata Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: genie.proto
package com.netflix.genie.proto;
/**
* Protobuf type {@code com.netflix.genie.proto.JobMetadata}
*/
public final class JobMetadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.netflix.genie.proto.JobMetadata)
JobMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobMetadata.newBuilder() to construct.
private JobMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JobMetadata() {
id_ = "";
name_ = "";
user_ = "";
version_ = "";
description_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
metadata_ = "";
email_ = "";
grouping_ = "";
groupingInstance_ = "";
setupFile_ = "";
configs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
dependencies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobMetadata();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JobMetadata(
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();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
user_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
version_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
tags_.add(s);
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
metadata_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
email_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
grouping_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
groupingInstance_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
setupFile_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
configs_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
configs_.add(s);
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
dependencies_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
dependencies_.add(s);
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
commandArgs_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
commandArgs_.add(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_ & 0x00000001) != 0)) {
tags_ = tags_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
configs_ = configs_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
dependencies_ = dependencies_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
commandArgs_ = commandArgs_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_JobMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_JobMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.genie.proto.JobMetadata.class, com.netflix.genie.proto.JobMetadata.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* 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;
}
}
/**
* 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 NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @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;
}
}
/**
* string name = 2;
* @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 USER_FIELD_NUMBER = 3;
private volatile java.lang.Object user_;
/**
* string user = 3;
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
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();
user_ = s;
return s;
}
}
/**
* string user = 3;
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 4;
private volatile java.lang.Object version_;
/**
* string version = 4;
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
* string version = 4;
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
private volatile java.lang.Object description_;
/**
* 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;
}
}
/**
* 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 TAGS_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList tags_;
/**
* repeated string tags = 6;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
* repeated string tags = 6;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 6;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 6;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
public static final int METADATA_FIELD_NUMBER = 7;
private volatile java.lang.Object metadata_;
/**
* string metadata = 7;
* @return The metadata.
*/
@java.lang.Override
public java.lang.String getMetadata() {
java.lang.Object ref = metadata_;
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();
metadata_ = s;
return s;
}
}
/**
* string metadata = 7;
* @return The bytes for metadata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMetadataBytes() {
java.lang.Object ref = metadata_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metadata_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EMAIL_FIELD_NUMBER = 8;
private volatile java.lang.Object email_;
/**
* string email = 8;
* @return The email.
*/
@java.lang.Override
public java.lang.String getEmail() {
java.lang.Object ref = email_;
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();
email_ = s;
return s;
}
}
/**
* string email = 8;
* @return The bytes for email.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUPING_FIELD_NUMBER = 9;
private volatile java.lang.Object grouping_;
/**
* string grouping = 9;
* @return The grouping.
*/
@java.lang.Override
public java.lang.String getGrouping() {
java.lang.Object ref = grouping_;
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();
grouping_ = s;
return s;
}
}
/**
* string grouping = 9;
* @return The bytes for grouping.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGroupingBytes() {
java.lang.Object ref = grouping_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
grouping_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUPING_INSTANCE_FIELD_NUMBER = 10;
private volatile java.lang.Object groupingInstance_;
/**
* string grouping_instance = 10;
* @return The groupingInstance.
*/
@java.lang.Override
public java.lang.String getGroupingInstance() {
java.lang.Object ref = groupingInstance_;
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();
groupingInstance_ = s;
return s;
}
}
/**
* string grouping_instance = 10;
* @return The bytes for groupingInstance.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGroupingInstanceBytes() {
java.lang.Object ref = groupingInstance_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupingInstance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SETUP_FILE_FIELD_NUMBER = 11;
private volatile java.lang.Object setupFile_;
/**
* string setup_file = 11;
* @return The setupFile.
*/
@java.lang.Override
public java.lang.String getSetupFile() {
java.lang.Object ref = setupFile_;
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();
setupFile_ = s;
return s;
}
}
/**
* string setup_file = 11;
* @return The bytes for setupFile.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSetupFileBytes() {
java.lang.Object ref = setupFile_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
setupFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIGS_FIELD_NUMBER = 12;
private com.google.protobuf.LazyStringList configs_;
/**
* repeated string configs = 12;
* @return A list containing the configs.
*/
public com.google.protobuf.ProtocolStringList
getConfigsList() {
return configs_;
}
/**
* repeated string configs = 12;
* @return The count of configs.
*/
public int getConfigsCount() {
return configs_.size();
}
/**
* repeated string configs = 12;
* @param index The index of the element to return.
* @return The configs at the given index.
*/
public java.lang.String getConfigs(int index) {
return configs_.get(index);
}
/**
* repeated string configs = 12;
* @param index The index of the value to return.
* @return The bytes of the configs at the given index.
*/
public com.google.protobuf.ByteString
getConfigsBytes(int index) {
return configs_.getByteString(index);
}
public static final int DEPENDENCIES_FIELD_NUMBER = 13;
private com.google.protobuf.LazyStringList dependencies_;
/**
* repeated string dependencies = 13;
* @return A list containing the dependencies.
*/
public com.google.protobuf.ProtocolStringList
getDependenciesList() {
return dependencies_;
}
/**
* repeated string dependencies = 13;
* @return The count of dependencies.
*/
public int getDependenciesCount() {
return dependencies_.size();
}
/**
* repeated string dependencies = 13;
* @param index The index of the element to return.
* @return The dependencies at the given index.
*/
public java.lang.String getDependencies(int index) {
return dependencies_.get(index);
}
/**
* repeated string dependencies = 13;
* @param index The index of the value to return.
* @return The bytes of the dependencies at the given index.
*/
public com.google.protobuf.ByteString
getDependenciesBytes(int index) {
return dependencies_.getByteString(index);
}
public static final int COMMAND_ARGS_FIELD_NUMBER = 14;
private com.google.protobuf.LazyStringList commandArgs_;
/**
* repeated string command_args = 14;
* @return A list containing the commandArgs.
*/
public com.google.protobuf.ProtocolStringList
getCommandArgsList() {
return commandArgs_;
}
/**
* repeated string command_args = 14;
* @return The count of commandArgs.
*/
public int getCommandArgsCount() {
return commandArgs_.size();
}
/**
* repeated string command_args = 14;
* @param index The index of the element to return.
* @return The commandArgs at the given index.
*/
public java.lang.String getCommandArgs(int index) {
return commandArgs_.get(index);
}
/**
* repeated string command_args = 14;
* @param index The index of the value to return.
* @return The bytes of the commandArgs at the given index.
*/
public com.google.protobuf.ByteString
getCommandArgsBytes(int index) {
return commandArgs_.getByteString(index);
}
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 (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!getUserBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, user_);
}
if (!getVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_);
}
if (!getDescriptionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tags_.getRaw(i));
}
if (!getMetadataBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, metadata_);
}
if (!getEmailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, email_);
}
if (!getGroupingBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, grouping_);
}
if (!getGroupingInstanceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, groupingInstance_);
}
if (!getSetupFileBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, setupFile_);
}
for (int i = 0; i < configs_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, configs_.getRaw(i));
}
for (int i = 0; i < dependencies_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, dependencies_.getRaw(i));
}
for (int i = 0; i < commandArgs_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, commandArgs_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!getUserBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, user_);
}
if (!getVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_);
}
if (!getDescriptionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().size();
}
if (!getMetadataBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, metadata_);
}
if (!getEmailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, email_);
}
if (!getGroupingBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, grouping_);
}
if (!getGroupingInstanceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, groupingInstance_);
}
if (!getSetupFileBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, setupFile_);
}
{
int dataSize = 0;
for (int i = 0; i < configs_.size(); i++) {
dataSize += computeStringSizeNoTag(configs_.getRaw(i));
}
size += dataSize;
size += 1 * getConfigsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < dependencies_.size(); i++) {
dataSize += computeStringSizeNoTag(dependencies_.getRaw(i));
}
size += dataSize;
size += 1 * getDependenciesList().size();
}
{
int dataSize = 0;
for (int i = 0; i < commandArgs_.size(); i++) {
dataSize += computeStringSizeNoTag(commandArgs_.getRaw(i));
}
size += dataSize;
size += 1 * getCommandArgsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.genie.proto.JobMetadata)) {
return super.equals(obj);
}
com.netflix.genie.proto.JobMetadata other = (com.netflix.genie.proto.JobMetadata) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getUser()
.equals(other.getUser())) return false;
if (!getVersion()
.equals(other.getVersion())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (!getMetadata()
.equals(other.getMetadata())) return false;
if (!getEmail()
.equals(other.getEmail())) return false;
if (!getGrouping()
.equals(other.getGrouping())) return false;
if (!getGroupingInstance()
.equals(other.getGroupingInstance())) return false;
if (!getSetupFile()
.equals(other.getSetupFile())) return false;
if (!getConfigsList()
.equals(other.getConfigsList())) return false;
if (!getDependenciesList()
.equals(other.getDependenciesList())) return false;
if (!getCommandArgsList()
.equals(other.getCommandArgsList())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
hash = (37 * hash) + EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getEmail().hashCode();
hash = (37 * hash) + GROUPING_FIELD_NUMBER;
hash = (53 * hash) + getGrouping().hashCode();
hash = (37 * hash) + GROUPING_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getGroupingInstance().hashCode();
hash = (37 * hash) + SETUP_FILE_FIELD_NUMBER;
hash = (53 * hash) + getSetupFile().hashCode();
if (getConfigsCount() > 0) {
hash = (37 * hash) + CONFIGS_FIELD_NUMBER;
hash = (53 * hash) + getConfigsList().hashCode();
}
if (getDependenciesCount() > 0) {
hash = (37 * hash) + DEPENDENCIES_FIELD_NUMBER;
hash = (53 * hash) + getDependenciesList().hashCode();
}
if (getCommandArgsCount() > 0) {
hash = (37 * hash) + COMMAND_ARGS_FIELD_NUMBER;
hash = (53 * hash) + getCommandArgsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.genie.proto.JobMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.JobMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.JobMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.netflix.genie.proto.JobMetadata 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 com.netflix.genie.proto.JobMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.netflix.genie.proto.JobMetadata)
com.netflix.genie.proto.JobMetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_JobMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_JobMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.genie.proto.JobMetadata.class, com.netflix.genie.proto.JobMetadata.Builder.class);
}
// Construct using com.netflix.genie.proto.JobMetadata.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_ = "";
name_ = "";
user_ = "";
version_ = "";
description_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
metadata_ = "";
email_ = "";
grouping_ = "";
groupingInstance_ = "";
setupFile_ = "";
configs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
dependencies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_JobMetadata_descriptor;
}
@java.lang.Override
public com.netflix.genie.proto.JobMetadata getDefaultInstanceForType() {
return com.netflix.genie.proto.JobMetadata.getDefaultInstance();
}
@java.lang.Override
public com.netflix.genie.proto.JobMetadata build() {
com.netflix.genie.proto.JobMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.genie.proto.JobMetadata buildPartial() {
com.netflix.genie.proto.JobMetadata result = new com.netflix.genie.proto.JobMetadata(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.name_ = name_;
result.user_ = user_;
result.version_ = version_;
result.description_ = description_;
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
result.metadata_ = metadata_;
result.email_ = email_;
result.grouping_ = grouping_;
result.groupingInstance_ = groupingInstance_;
result.setupFile_ = setupFile_;
if (((bitField0_ & 0x00000002) != 0)) {
configs_ = configs_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.configs_ = configs_;
if (((bitField0_ & 0x00000004) != 0)) {
dependencies_ = dependencies_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.dependencies_ = dependencies_;
if (((bitField0_ & 0x00000008) != 0)) {
commandArgs_ = commandArgs_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.commandArgs_ = commandArgs_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.netflix.genie.proto.JobMetadata) {
return mergeFrom((com.netflix.genie.proto.JobMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.genie.proto.JobMetadata other) {
if (other == com.netflix.genie.proto.JobMetadata.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
if (!other.getMetadata().isEmpty()) {
metadata_ = other.metadata_;
onChanged();
}
if (!other.getEmail().isEmpty()) {
email_ = other.email_;
onChanged();
}
if (!other.getGrouping().isEmpty()) {
grouping_ = other.grouping_;
onChanged();
}
if (!other.getGroupingInstance().isEmpty()) {
groupingInstance_ = other.groupingInstance_;
onChanged();
}
if (!other.getSetupFile().isEmpty()) {
setupFile_ = other.setupFile_;
onChanged();
}
if (!other.configs_.isEmpty()) {
if (configs_.isEmpty()) {
configs_ = other.configs_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConfigsIsMutable();
configs_.addAll(other.configs_);
}
onChanged();
}
if (!other.dependencies_.isEmpty()) {
if (dependencies_.isEmpty()) {
dependencies_ = other.dependencies_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDependenciesIsMutable();
dependencies_.addAll(other.dependencies_);
}
onChanged();
}
if (!other.commandArgs_.isEmpty()) {
if (commandArgs_.isEmpty()) {
commandArgs_ = other.commandArgs_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureCommandArgsIsMutable();
commandArgs_.addAll(other.commandArgs_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.netflix.genie.proto.JobMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.netflix.genie.proto.JobMetadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* 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;
}
}
/**
* 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;
}
}
/**
* 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;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* 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 name_ = "";
/**
* string name = 2;
* @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;
}
}
/**
* string name = 2;
* @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;
}
}
/**
* string name = 2;
* @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;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @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 user_ = "";
/**
* string user = 3;
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string user = 3;
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string user = 3;
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
user_ = value;
onChanged();
return this;
}
/**
* string user = 3;
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
onChanged();
return this;
}
/**
* string user = 3;
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
user_ = value;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
* string version = 4;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string version = 4;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string version = 4;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
* string version = 4;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* string version = 4;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* 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;
}
}
/**
* 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;
}
}
/**
* 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;
}
/**
* string description = 5;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* 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.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string tags = 6;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
* repeated string tags = 6;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
* repeated string tags = 6;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
* repeated string tags = 6;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
* repeated string tags = 6;
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tags = 6;
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
* repeated string tags = 6;
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
* repeated string tags = 6;
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string tags = 6;
* @param value The bytes of the tags to add.
* @return This builder for chaining.
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
private java.lang.Object metadata_ = "";
/**
* string metadata = 7;
* @return The metadata.
*/
public java.lang.String getMetadata() {
java.lang.Object ref = metadata_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metadata_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string metadata = 7;
* @return The bytes for metadata.
*/
public com.google.protobuf.ByteString
getMetadataBytes() {
java.lang.Object ref = metadata_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metadata_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string metadata = 7;
* @param value The metadata to set.
* @return This builder for chaining.
*/
public Builder setMetadata(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
return this;
}
/**
* string metadata = 7;
* @return This builder for chaining.
*/
public Builder clearMetadata() {
metadata_ = getDefaultInstance().getMetadata();
onChanged();
return this;
}
/**
* string metadata = 7;
* @param value The bytes for metadata to set.
* @return This builder for chaining.
*/
public Builder setMetadataBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
metadata_ = value;
onChanged();
return this;
}
private java.lang.Object email_ = "";
/**
* string email = 8;
* @return The email.
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
email_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string email = 8;
* @return The bytes for email.
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string email = 8;
* @param value The email to set.
* @return This builder for chaining.
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
email_ = value;
onChanged();
return this;
}
/**
* string email = 8;
* @return This builder for chaining.
*/
public Builder clearEmail() {
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
* string email = 8;
* @param value The bytes for email to set.
* @return This builder for chaining.
*/
public Builder setEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
email_ = value;
onChanged();
return this;
}
private java.lang.Object grouping_ = "";
/**
* string grouping = 9;
* @return The grouping.
*/
public java.lang.String getGrouping() {
java.lang.Object ref = grouping_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
grouping_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string grouping = 9;
* @return The bytes for grouping.
*/
public com.google.protobuf.ByteString
getGroupingBytes() {
java.lang.Object ref = grouping_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
grouping_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string grouping = 9;
* @param value The grouping to set.
* @return This builder for chaining.
*/
public Builder setGrouping(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
grouping_ = value;
onChanged();
return this;
}
/**
* string grouping = 9;
* @return This builder for chaining.
*/
public Builder clearGrouping() {
grouping_ = getDefaultInstance().getGrouping();
onChanged();
return this;
}
/**
* string grouping = 9;
* @param value The bytes for grouping to set.
* @return This builder for chaining.
*/
public Builder setGroupingBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
grouping_ = value;
onChanged();
return this;
}
private java.lang.Object groupingInstance_ = "";
/**
* string grouping_instance = 10;
* @return The groupingInstance.
*/
public java.lang.String getGroupingInstance() {
java.lang.Object ref = groupingInstance_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
groupingInstance_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string grouping_instance = 10;
* @return The bytes for groupingInstance.
*/
public com.google.protobuf.ByteString
getGroupingInstanceBytes() {
java.lang.Object ref = groupingInstance_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupingInstance_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string grouping_instance = 10;
* @param value The groupingInstance to set.
* @return This builder for chaining.
*/
public Builder setGroupingInstance(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
groupingInstance_ = value;
onChanged();
return this;
}
/**
* string grouping_instance = 10;
* @return This builder for chaining.
*/
public Builder clearGroupingInstance() {
groupingInstance_ = getDefaultInstance().getGroupingInstance();
onChanged();
return this;
}
/**
* string grouping_instance = 10;
* @param value The bytes for groupingInstance to set.
* @return This builder for chaining.
*/
public Builder setGroupingInstanceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
groupingInstance_ = value;
onChanged();
return this;
}
private java.lang.Object setupFile_ = "";
/**
* string setup_file = 11;
* @return The setupFile.
*/
public java.lang.String getSetupFile() {
java.lang.Object ref = setupFile_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
setupFile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string setup_file = 11;
* @return The bytes for setupFile.
*/
public com.google.protobuf.ByteString
getSetupFileBytes() {
java.lang.Object ref = setupFile_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
setupFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string setup_file = 11;
* @param value The setupFile to set.
* @return This builder for chaining.
*/
public Builder setSetupFile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
setupFile_ = value;
onChanged();
return this;
}
/**
* string setup_file = 11;
* @return This builder for chaining.
*/
public Builder clearSetupFile() {
setupFile_ = getDefaultInstance().getSetupFile();
onChanged();
return this;
}
/**
* string setup_file = 11;
* @param value The bytes for setupFile to set.
* @return This builder for chaining.
*/
public Builder setSetupFileBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
setupFile_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList configs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureConfigsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
configs_ = new com.google.protobuf.LazyStringArrayList(configs_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string configs = 12;
* @return A list containing the configs.
*/
public com.google.protobuf.ProtocolStringList
getConfigsList() {
return configs_.getUnmodifiableView();
}
/**
* repeated string configs = 12;
* @return The count of configs.
*/
public int getConfigsCount() {
return configs_.size();
}
/**
* repeated string configs = 12;
* @param index The index of the element to return.
* @return The configs at the given index.
*/
public java.lang.String getConfigs(int index) {
return configs_.get(index);
}
/**
* repeated string configs = 12;
* @param index The index of the value to return.
* @return The bytes of the configs at the given index.
*/
public com.google.protobuf.ByteString
getConfigsBytes(int index) {
return configs_.getByteString(index);
}
/**
* repeated string configs = 12;
* @param index The index to set the value at.
* @param value The configs to set.
* @return This builder for chaining.
*/
public Builder setConfigs(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigsIsMutable();
configs_.set(index, value);
onChanged();
return this;
}
/**
* repeated string configs = 12;
* @param value The configs to add.
* @return This builder for chaining.
*/
public Builder addConfigs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigsIsMutable();
configs_.add(value);
onChanged();
return this;
}
/**
* repeated string configs = 12;
* @param values The configs to add.
* @return This builder for chaining.
*/
public Builder addAllConfigs(
java.lang.Iterable values) {
ensureConfigsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configs_);
onChanged();
return this;
}
/**
* repeated string configs = 12;
* @return This builder for chaining.
*/
public Builder clearConfigs() {
configs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string configs = 12;
* @param value The bytes of the configs to add.
* @return This builder for chaining.
*/
public Builder addConfigsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureConfigsIsMutable();
configs_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList dependencies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDependenciesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
dependencies_ = new com.google.protobuf.LazyStringArrayList(dependencies_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string dependencies = 13;
* @return A list containing the dependencies.
*/
public com.google.protobuf.ProtocolStringList
getDependenciesList() {
return dependencies_.getUnmodifiableView();
}
/**
* repeated string dependencies = 13;
* @return The count of dependencies.
*/
public int getDependenciesCount() {
return dependencies_.size();
}
/**
* repeated string dependencies = 13;
* @param index The index of the element to return.
* @return The dependencies at the given index.
*/
public java.lang.String getDependencies(int index) {
return dependencies_.get(index);
}
/**
* repeated string dependencies = 13;
* @param index The index of the value to return.
* @return The bytes of the dependencies at the given index.
*/
public com.google.protobuf.ByteString
getDependenciesBytes(int index) {
return dependencies_.getByteString(index);
}
/**
* repeated string dependencies = 13;
* @param index The index to set the value at.
* @param value The dependencies to set.
* @return This builder for chaining.
*/
public Builder setDependencies(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDependenciesIsMutable();
dependencies_.set(index, value);
onChanged();
return this;
}
/**
* repeated string dependencies = 13;
* @param value The dependencies to add.
* @return This builder for chaining.
*/
public Builder addDependencies(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDependenciesIsMutable();
dependencies_.add(value);
onChanged();
return this;
}
/**
* repeated string dependencies = 13;
* @param values The dependencies to add.
* @return This builder for chaining.
*/
public Builder addAllDependencies(
java.lang.Iterable values) {
ensureDependenciesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dependencies_);
onChanged();
return this;
}
/**
* repeated string dependencies = 13;
* @return This builder for chaining.
*/
public Builder clearDependencies() {
dependencies_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string dependencies = 13;
* @param value The bytes of the dependencies to add.
* @return This builder for chaining.
*/
public Builder addDependenciesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDependenciesIsMutable();
dependencies_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCommandArgsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
commandArgs_ = new com.google.protobuf.LazyStringArrayList(commandArgs_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string command_args = 14;
* @return A list containing the commandArgs.
*/
public com.google.protobuf.ProtocolStringList
getCommandArgsList() {
return commandArgs_.getUnmodifiableView();
}
/**
* repeated string command_args = 14;
* @return The count of commandArgs.
*/
public int getCommandArgsCount() {
return commandArgs_.size();
}
/**
* repeated string command_args = 14;
* @param index The index of the element to return.
* @return The commandArgs at the given index.
*/
public java.lang.String getCommandArgs(int index) {
return commandArgs_.get(index);
}
/**
* repeated string command_args = 14;
* @param index The index of the value to return.
* @return The bytes of the commandArgs at the given index.
*/
public com.google.protobuf.ByteString
getCommandArgsBytes(int index) {
return commandArgs_.getByteString(index);
}
/**
* repeated string command_args = 14;
* @param index The index to set the value at.
* @param value The commandArgs to set.
* @return This builder for chaining.
*/
public Builder setCommandArgs(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCommandArgsIsMutable();
commandArgs_.set(index, value);
onChanged();
return this;
}
/**
* repeated string command_args = 14;
* @param value The commandArgs to add.
* @return This builder for chaining.
*/
public Builder addCommandArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCommandArgsIsMutable();
commandArgs_.add(value);
onChanged();
return this;
}
/**
* repeated string command_args = 14;
* @param values The commandArgs to add.
* @return This builder for chaining.
*/
public Builder addAllCommandArgs(
java.lang.Iterable values) {
ensureCommandArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, commandArgs_);
onChanged();
return this;
}
/**
* repeated string command_args = 14;
* @return This builder for chaining.
*/
public Builder clearCommandArgs() {
commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string command_args = 14;
* @param value The bytes of the commandArgs to add.
* @return This builder for chaining.
*/
public Builder addCommandArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureCommandArgsIsMutable();
commandArgs_.add(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:com.netflix.genie.proto.JobMetadata)
}
// @@protoc_insertion_point(class_scope:com.netflix.genie.proto.JobMetadata)
private static final com.netflix.genie.proto.JobMetadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.genie.proto.JobMetadata();
}
public static com.netflix.genie.proto.JobMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobMetadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JobMetadata(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.genie.proto.JobMetadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}