
hapi.chart.MetadataOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microbean-helm Show documentation
Show all versions of microbean-helm Show documentation
Java bindings for the Helm API
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: hapi/chart/metadata.proto
package hapi.chart;
public final class MetadataOuterClass {
private MetadataOuterClass() {}
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 MaintainerOrBuilder extends
// @@protoc_insertion_point(interface_extends:hapi.chart.Maintainer)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
java.lang.String getEmail();
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
com.google.protobuf.ByteString
getEmailBytes();
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
java.lang.String getUrl();
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
com.google.protobuf.ByteString
getUrlBytes();
}
/**
*
* Maintainer describes a Chart maintainer.
*
*
* Protobuf type {@code hapi.chart.Maintainer}
*/
public static final class Maintainer extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:hapi.chart.Maintainer)
MaintainerOrBuilder {
private static final long serialVersionUID = 0L;
// Use Maintainer.newBuilder() to construct.
private Maintainer(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Maintainer() {
name_ = "";
email_ = "";
url_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Maintainer(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
email_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
url_ = s;
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 hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Maintainer_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Maintainer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
hapi.chart.MetadataOuterClass.Maintainer.class, hapi.chart.MetadataOuterClass.Maintainer.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
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 is a user name or organization name
*
*
* string name = 1;
*/
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 EMAIL_FIELD_NUMBER = 2;
private volatile java.lang.Object email_;
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
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;
}
}
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
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 URL_FIELD_NUMBER = 3;
private volatile java.lang.Object url_;
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
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();
url_ = s;
return s;
}
}
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getEmailBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, email_);
}
if (!getUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, url_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getEmailBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_);
}
if (!getUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, url_);
}
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 hapi.chart.MetadataOuterClass.Maintainer)) {
return super.equals(obj);
}
hapi.chart.MetadataOuterClass.Maintainer other = (hapi.chart.MetadataOuterClass.Maintainer) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getEmail()
.equals(other.getEmail());
result = result && getUrl()
.equals(other.getUrl());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getEmail().hashCode();
hash = (37 * hash) + URL_FIELD_NUMBER;
hash = (53 * hash) + getUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Maintainer 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 hapi.chart.MetadataOuterClass.Maintainer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Maintainer 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 hapi.chart.MetadataOuterClass.Maintainer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Maintainer parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(hapi.chart.MetadataOuterClass.Maintainer prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Maintainer describes a Chart maintainer.
*
*
* Protobuf type {@code hapi.chart.Maintainer}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:hapi.chart.Maintainer)
hapi.chart.MetadataOuterClass.MaintainerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Maintainer_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Maintainer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
hapi.chart.MetadataOuterClass.Maintainer.class, hapi.chart.MetadataOuterClass.Maintainer.Builder.class);
}
// Construct using hapi.chart.MetadataOuterClass.Maintainer.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
name_ = "";
email_ = "";
url_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Maintainer_descriptor;
}
public hapi.chart.MetadataOuterClass.Maintainer getDefaultInstanceForType() {
return hapi.chart.MetadataOuterClass.Maintainer.getDefaultInstance();
}
public hapi.chart.MetadataOuterClass.Maintainer build() {
hapi.chart.MetadataOuterClass.Maintainer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public hapi.chart.MetadataOuterClass.Maintainer buildPartial() {
hapi.chart.MetadataOuterClass.Maintainer result = new hapi.chart.MetadataOuterClass.Maintainer(this);
result.name_ = name_;
result.email_ = email_;
result.url_ = url_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof hapi.chart.MetadataOuterClass.Maintainer) {
return mergeFrom((hapi.chart.MetadataOuterClass.Maintainer)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(hapi.chart.MetadataOuterClass.Maintainer other) {
if (other == hapi.chart.MetadataOuterClass.Maintainer.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getEmail().isEmpty()) {
email_ = other.email_;
onChanged();
}
if (!other.getUrl().isEmpty()) {
url_ = other.url_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
hapi.chart.MetadataOuterClass.Maintainer parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (hapi.chart.MetadataOuterClass.Maintainer) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
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 is a user name or organization name
*
*
* string name = 1;
*/
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 is a user name or organization name
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name is a user name or organization name
*
*
* string name = 1;
*/
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 email_ = "";
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
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;
}
}
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
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;
}
}
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
email_ = value;
onChanged();
return this;
}
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
public Builder clearEmail() {
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
*
* Email is an optional email address to contact the named maintainer
*
*
* string email = 2;
*/
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 url_ = "";
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
url_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public Builder setUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
url_ = value;
onChanged();
return this;
}
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public Builder clearUrl() {
url_ = getDefaultInstance().getUrl();
onChanged();
return this;
}
/**
*
* Url is an optional URL to an address for the named maintainer
*
*
* string url = 3;
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
url_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:hapi.chart.Maintainer)
}
// @@protoc_insertion_point(class_scope:hapi.chart.Maintainer)
private static final hapi.chart.MetadataOuterClass.Maintainer DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new hapi.chart.MetadataOuterClass.Maintainer();
}
public static hapi.chart.MetadataOuterClass.Maintainer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Maintainer parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Maintainer(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public hapi.chart.MetadataOuterClass.Maintainer getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:hapi.chart.Metadata)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the chart
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* The name of the chart
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
java.lang.String getHome();
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
com.google.protobuf.ByteString
getHomeBytes();
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
java.util.List
getSourcesList();
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
int getSourcesCount();
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
java.lang.String getSources(int index);
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
com.google.protobuf.ByteString
getSourcesBytes(int index);
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
java.lang.String getVersion();
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
java.lang.String getDescription();
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
java.util.List
getKeywordsList();
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
int getKeywordsCount();
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
java.lang.String getKeywords(int index);
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
com.google.protobuf.ByteString
getKeywordsBytes(int index);
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
java.util.List
getMaintainersList();
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
hapi.chart.MetadataOuterClass.Maintainer getMaintainers(int index);
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
int getMaintainersCount();
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
java.util.List extends hapi.chart.MetadataOuterClass.MaintainerOrBuilder>
getMaintainersOrBuilderList();
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
hapi.chart.MetadataOuterClass.MaintainerOrBuilder getMaintainersOrBuilder(
int index);
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
java.lang.String getEngine();
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
com.google.protobuf.ByteString
getEngineBytes();
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
java.lang.String getIcon();
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
com.google.protobuf.ByteString
getIconBytes();
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
java.lang.String getApiVersion();
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
com.google.protobuf.ByteString
getApiVersionBytes();
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
java.lang.String getCondition();
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
com.google.protobuf.ByteString
getConditionBytes();
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
java.lang.String getTags();
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
com.google.protobuf.ByteString
getTagsBytes();
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
java.lang.String getAppVersion();
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
com.google.protobuf.ByteString
getAppVersionBytes();
/**
*
* Whether or not this chart is deprecated
*
*
* bool deprecated = 14;
*/
boolean getDeprecated();
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
java.lang.String getTillerVersion();
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
com.google.protobuf.ByteString
getTillerVersionBytes();
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
int getAnnotationsCount();
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
boolean containsAnnotations(
java.lang.String key);
/**
* Use {@link #getAnnotationsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAnnotations();
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
java.util.Map
getAnnotationsMap();
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
java.lang.String getAnnotationsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
java.lang.String getAnnotationsOrThrow(
java.lang.String key);
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
java.lang.String getKubeVersion();
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
com.google.protobuf.ByteString
getKubeVersionBytes();
}
/**
*
* Metadata for a Chart file. This models the structure of a Chart.yaml file.
* Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
*
*
* Protobuf type {@code hapi.chart.Metadata}
*/
public static final class Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:hapi.chart.Metadata)
MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metadata() {
name_ = "";
home_ = "";
sources_ = com.google.protobuf.LazyStringArrayList.EMPTY;
version_ = "";
description_ = "";
keywords_ = com.google.protobuf.LazyStringArrayList.EMPTY;
maintainers_ = java.util.Collections.emptyList();
engine_ = "";
icon_ = "";
apiVersion_ = "";
condition_ = "";
tags_ = "";
appVersion_ = "";
deprecated_ = false;
tillerVersion_ = "";
kubeVersion_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Metadata(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
home_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
sources_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
sources_.add(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_ & 0x00000020) == 0x00000020)) {
keywords_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
keywords_.add(s);
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
maintainers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
maintainers_.add(
input.readMessage(hapi.chart.MetadataOuterClass.Maintainer.parser(), extensionRegistry));
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
engine_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
icon_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
apiVersion_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
condition_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
tags_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
appVersion_ = s;
break;
}
case 112: {
deprecated_ = input.readBool();
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
tillerVersion_ = s;
break;
}
case 130: {
if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) {
annotations_ = com.google.protobuf.MapField.newMapField(
AnnotationsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00008000;
}
com.google.protobuf.MapEntry
annotations__ = input.readMessage(
AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
annotations_.getMutableMap().put(
annotations__.getKey(), annotations__.getValue());
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
kubeVersion_ = s;
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_ & 0x00000004) == 0x00000004)) {
sources_ = sources_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
keywords_ = keywords_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
maintainers_ = java.util.Collections.unmodifiableList(maintainers_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 16:
return internalGetAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
hapi.chart.MetadataOuterClass.Metadata.class, hapi.chart.MetadataOuterClass.Metadata.Builder.class);
}
/**
* Protobuf enum {@code hapi.chart.Metadata.Engine}
*/
public enum Engine
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* GOTPL = 1;
*/
GOTPL(1),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* GOTPL = 1;
*/
public static final int GOTPL_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Engine valueOf(int value) {
return forNumber(value);
}
public static Engine forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return GOTPL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Engine> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Engine findValueByNumber(int number) {
return Engine.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return hapi.chart.MetadataOuterClass.Metadata.getDescriptor().getEnumTypes().get(0);
}
private static final Engine[] VALUES = values();
public static Engine valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Engine(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:hapi.chart.Metadata.Engine)
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* The name of the chart
*
*
* string name = 1;
*/
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;
}
}
/**
*
* The name of the chart
*
*
* string name = 1;
*/
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 HOME_FIELD_NUMBER = 2;
private volatile java.lang.Object home_;
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public java.lang.String getHome() {
java.lang.Object ref = home_;
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();
home_ = s;
return s;
}
}
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public com.google.protobuf.ByteString
getHomeBytes() {
java.lang.Object ref = home_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
home_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCES_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList sources_;
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public com.google.protobuf.ProtocolStringList
getSourcesList() {
return sources_;
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public int getSourcesCount() {
return sources_.size();
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public java.lang.String getSources(int index) {
return sources_.get(index);
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public com.google.protobuf.ByteString
getSourcesBytes(int index) {
return sources_.getByteString(index);
}
public static final int VERSION_FIELD_NUMBER = 4;
private volatile java.lang.Object version_;
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
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;
}
}
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
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_;
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
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;
}
}
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
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 KEYWORDS_FIELD_NUMBER = 6;
private com.google.protobuf.LazyStringList keywords_;
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public com.google.protobuf.ProtocolStringList
getKeywordsList() {
return keywords_;
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public int getKeywordsCount() {
return keywords_.size();
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public java.lang.String getKeywords(int index) {
return keywords_.get(index);
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public com.google.protobuf.ByteString
getKeywordsBytes(int index) {
return keywords_.getByteString(index);
}
public static final int MAINTAINERS_FIELD_NUMBER = 7;
private java.util.List maintainers_;
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public java.util.List getMaintainersList() {
return maintainers_;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public java.util.List extends hapi.chart.MetadataOuterClass.MaintainerOrBuilder>
getMaintainersOrBuilderList() {
return maintainers_;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public int getMaintainersCount() {
return maintainers_.size();
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.Maintainer getMaintainers(int index) {
return maintainers_.get(index);
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.MaintainerOrBuilder getMaintainersOrBuilder(
int index) {
return maintainers_.get(index);
}
public static final int ENGINE_FIELD_NUMBER = 8;
private volatile java.lang.Object engine_;
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public java.lang.String getEngine() {
java.lang.Object ref = engine_;
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();
engine_ = s;
return s;
}
}
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public com.google.protobuf.ByteString
getEngineBytes() {
java.lang.Object ref = engine_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
engine_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ICON_FIELD_NUMBER = 9;
private volatile java.lang.Object icon_;
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
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();
icon_ = s;
return s;
}
}
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APIVERSION_FIELD_NUMBER = 10;
private volatile java.lang.Object apiVersion_;
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
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();
apiVersion_ = s;
return s;
}
}
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONDITION_FIELD_NUMBER = 11;
private volatile java.lang.Object condition_;
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public java.lang.String getCondition() {
java.lang.Object ref = condition_;
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();
condition_ = s;
return s;
}
}
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public com.google.protobuf.ByteString
getConditionBytes() {
java.lang.Object ref = condition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
condition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGS_FIELD_NUMBER = 12;
private volatile java.lang.Object tags_;
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public java.lang.String getTags() {
java.lang.Object ref = tags_;
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();
tags_ = s;
return s;
}
}
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public com.google.protobuf.ByteString
getTagsBytes() {
java.lang.Object ref = tags_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tags_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPVERSION_FIELD_NUMBER = 13;
private volatile java.lang.Object appVersion_;
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public java.lang.String getAppVersion() {
java.lang.Object ref = appVersion_;
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();
appVersion_ = s;
return s;
}
}
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public com.google.protobuf.ByteString
getAppVersionBytes() {
java.lang.Object ref = appVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEPRECATED_FIELD_NUMBER = 14;
private boolean deprecated_;
/**
*
* Whether or not this chart is deprecated
*
*
* bool deprecated = 14;
*/
public boolean getDeprecated() {
return deprecated_;
}
public static final int TILLERVERSION_FIELD_NUMBER = 15;
private volatile java.lang.Object tillerVersion_;
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public java.lang.String getTillerVersion() {
java.lang.Object ref = tillerVersion_;
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();
tillerVersion_ = s;
return s;
}
}
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public com.google.protobuf.ByteString
getTillerVersionBytes() {
java.lang.Object ref = tillerVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tillerVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANNOTATIONS_FIELD_NUMBER = 16;
private static final class AnnotationsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_AnnotationsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> annotations_;
private com.google.protobuf.MapField
internalGetAnnotations() {
if (annotations_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AnnotationsDefaultEntryHolder.defaultEntry);
}
return annotations_;
}
public int getAnnotationsCount() {
return internalGetAnnotations().getMap().size();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public boolean containsAnnotations(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetAnnotations().getMap().containsKey(key);
}
/**
* Use {@link #getAnnotationsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getAnnotations() {
return getAnnotationsMap();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.util.Map getAnnotationsMap() {
return internalGetAnnotations().getMap();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.lang.String getAnnotationsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetAnnotations().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.lang.String getAnnotationsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetAnnotations().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int KUBEVERSION_FIELD_NUMBER = 17;
private volatile java.lang.Object kubeVersion_;
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public java.lang.String getKubeVersion() {
java.lang.Object ref = kubeVersion_;
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();
kubeVersion_ = s;
return s;
}
}
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public com.google.protobuf.ByteString
getKubeVersionBytes() {
java.lang.Object ref = kubeVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
kubeVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getHomeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, home_);
}
for (int i = 0; i < sources_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sources_.getRaw(i));
}
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 < keywords_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, keywords_.getRaw(i));
}
for (int i = 0; i < maintainers_.size(); i++) {
output.writeMessage(7, maintainers_.get(i));
}
if (!getEngineBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, engine_);
}
if (!getIconBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, icon_);
}
if (!getApiVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, apiVersion_);
}
if (!getConditionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, condition_);
}
if (!getTagsBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, tags_);
}
if (!getAppVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, appVersion_);
}
if (deprecated_ != false) {
output.writeBool(14, deprecated_);
}
if (!getTillerVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, tillerVersion_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAnnotations(),
AnnotationsDefaultEntryHolder.defaultEntry,
16);
if (!getKubeVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, kubeVersion_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getHomeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, home_);
}
{
int dataSize = 0;
for (int i = 0; i < sources_.size(); i++) {
dataSize += computeStringSizeNoTag(sources_.getRaw(i));
}
size += dataSize;
size += 1 * getSourcesList().size();
}
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 < keywords_.size(); i++) {
dataSize += computeStringSizeNoTag(keywords_.getRaw(i));
}
size += dataSize;
size += 1 * getKeywordsList().size();
}
for (int i = 0; i < maintainers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, maintainers_.get(i));
}
if (!getEngineBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, engine_);
}
if (!getIconBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, icon_);
}
if (!getApiVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, apiVersion_);
}
if (!getConditionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, condition_);
}
if (!getTagsBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, tags_);
}
if (!getAppVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, appVersion_);
}
if (deprecated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, deprecated_);
}
if (!getTillerVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, tillerVersion_);
}
for (java.util.Map.Entry entry
: internalGetAnnotations().getMap().entrySet()) {
com.google.protobuf.MapEntry
annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, annotations__);
}
if (!getKubeVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, kubeVersion_);
}
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 hapi.chart.MetadataOuterClass.Metadata)) {
return super.equals(obj);
}
hapi.chart.MetadataOuterClass.Metadata other = (hapi.chart.MetadataOuterClass.Metadata) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getHome()
.equals(other.getHome());
result = result && getSourcesList()
.equals(other.getSourcesList());
result = result && getVersion()
.equals(other.getVersion());
result = result && getDescription()
.equals(other.getDescription());
result = result && getKeywordsList()
.equals(other.getKeywordsList());
result = result && getMaintainersList()
.equals(other.getMaintainersList());
result = result && getEngine()
.equals(other.getEngine());
result = result && getIcon()
.equals(other.getIcon());
result = result && getApiVersion()
.equals(other.getApiVersion());
result = result && getCondition()
.equals(other.getCondition());
result = result && getTags()
.equals(other.getTags());
result = result && getAppVersion()
.equals(other.getAppVersion());
result = result && (getDeprecated()
== other.getDeprecated());
result = result && getTillerVersion()
.equals(other.getTillerVersion());
result = result && internalGetAnnotations().equals(
other.internalGetAnnotations());
result = result && getKubeVersion()
.equals(other.getKubeVersion());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + HOME_FIELD_NUMBER;
hash = (53 * hash) + getHome().hashCode();
if (getSourcesCount() > 0) {
hash = (37 * hash) + SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getSourcesList().hashCode();
}
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
if (getKeywordsCount() > 0) {
hash = (37 * hash) + KEYWORDS_FIELD_NUMBER;
hash = (53 * hash) + getKeywordsList().hashCode();
}
if (getMaintainersCount() > 0) {
hash = (37 * hash) + MAINTAINERS_FIELD_NUMBER;
hash = (53 * hash) + getMaintainersList().hashCode();
}
hash = (37 * hash) + ENGINE_FIELD_NUMBER;
hash = (53 * hash) + getEngine().hashCode();
hash = (37 * hash) + ICON_FIELD_NUMBER;
hash = (53 * hash) + getIcon().hashCode();
hash = (37 * hash) + APIVERSION_FIELD_NUMBER;
hash = (53 * hash) + getApiVersion().hashCode();
hash = (37 * hash) + CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getCondition().hashCode();
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTags().hashCode();
hash = (37 * hash) + APPVERSION_FIELD_NUMBER;
hash = (53 * hash) + getAppVersion().hashCode();
hash = (37 * hash) + DEPRECATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDeprecated());
hash = (37 * hash) + TILLERVERSION_FIELD_NUMBER;
hash = (53 * hash) + getTillerVersion().hashCode();
if (!internalGetAnnotations().getMap().isEmpty()) {
hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAnnotations().hashCode();
}
hash = (37 * hash) + KUBEVERSION_FIELD_NUMBER;
hash = (53 * hash) + getKubeVersion().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Metadata 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 hapi.chart.MetadataOuterClass.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Metadata 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 hapi.chart.MetadataOuterClass.Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static hapi.chart.MetadataOuterClass.Metadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(hapi.chart.MetadataOuterClass.Metadata prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Metadata for a Chart file. This models the structure of a Chart.yaml file.
* Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
*
*
* Protobuf type {@code hapi.chart.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:hapi.chart.Metadata)
hapi.chart.MetadataOuterClass.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 16:
return internalGetAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 16:
return internalGetMutableAnnotations();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
hapi.chart.MetadataOuterClass.Metadata.class, hapi.chart.MetadataOuterClass.Metadata.Builder.class);
}
// Construct using hapi.chart.MetadataOuterClass.Metadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMaintainersFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
home_ = "";
sources_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
version_ = "";
description_ = "";
keywords_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
if (maintainersBuilder_ == null) {
maintainers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
maintainersBuilder_.clear();
}
engine_ = "";
icon_ = "";
apiVersion_ = "";
condition_ = "";
tags_ = "";
appVersion_ = "";
deprecated_ = false;
tillerVersion_ = "";
internalGetMutableAnnotations().clear();
kubeVersion_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return hapi.chart.MetadataOuterClass.internal_static_hapi_chart_Metadata_descriptor;
}
public hapi.chart.MetadataOuterClass.Metadata getDefaultInstanceForType() {
return hapi.chart.MetadataOuterClass.Metadata.getDefaultInstance();
}
public hapi.chart.MetadataOuterClass.Metadata build() {
hapi.chart.MetadataOuterClass.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public hapi.chart.MetadataOuterClass.Metadata buildPartial() {
hapi.chart.MetadataOuterClass.Metadata result = new hapi.chart.MetadataOuterClass.Metadata(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
result.home_ = home_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
sources_ = sources_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.sources_ = sources_;
result.version_ = version_;
result.description_ = description_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
keywords_ = keywords_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.keywords_ = keywords_;
if (maintainersBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
maintainers_ = java.util.Collections.unmodifiableList(maintainers_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.maintainers_ = maintainers_;
} else {
result.maintainers_ = maintainersBuilder_.build();
}
result.engine_ = engine_;
result.icon_ = icon_;
result.apiVersion_ = apiVersion_;
result.condition_ = condition_;
result.tags_ = tags_;
result.appVersion_ = appVersion_;
result.deprecated_ = deprecated_;
result.tillerVersion_ = tillerVersion_;
result.annotations_ = internalGetAnnotations();
result.annotations_.makeImmutable();
result.kubeVersion_ = kubeVersion_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof hapi.chart.MetadataOuterClass.Metadata) {
return mergeFrom((hapi.chart.MetadataOuterClass.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(hapi.chart.MetadataOuterClass.Metadata other) {
if (other == hapi.chart.MetadataOuterClass.Metadata.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getHome().isEmpty()) {
home_ = other.home_;
onChanged();
}
if (!other.sources_.isEmpty()) {
if (sources_.isEmpty()) {
sources_ = other.sources_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSourcesIsMutable();
sources_.addAll(other.sources_);
}
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.keywords_.isEmpty()) {
if (keywords_.isEmpty()) {
keywords_ = other.keywords_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureKeywordsIsMutable();
keywords_.addAll(other.keywords_);
}
onChanged();
}
if (maintainersBuilder_ == null) {
if (!other.maintainers_.isEmpty()) {
if (maintainers_.isEmpty()) {
maintainers_ = other.maintainers_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureMaintainersIsMutable();
maintainers_.addAll(other.maintainers_);
}
onChanged();
}
} else {
if (!other.maintainers_.isEmpty()) {
if (maintainersBuilder_.isEmpty()) {
maintainersBuilder_.dispose();
maintainersBuilder_ = null;
maintainers_ = other.maintainers_;
bitField0_ = (bitField0_ & ~0x00000040);
maintainersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMaintainersFieldBuilder() : null;
} else {
maintainersBuilder_.addAllMessages(other.maintainers_);
}
}
}
if (!other.getEngine().isEmpty()) {
engine_ = other.engine_;
onChanged();
}
if (!other.getIcon().isEmpty()) {
icon_ = other.icon_;
onChanged();
}
if (!other.getApiVersion().isEmpty()) {
apiVersion_ = other.apiVersion_;
onChanged();
}
if (!other.getCondition().isEmpty()) {
condition_ = other.condition_;
onChanged();
}
if (!other.getTags().isEmpty()) {
tags_ = other.tags_;
onChanged();
}
if (!other.getAppVersion().isEmpty()) {
appVersion_ = other.appVersion_;
onChanged();
}
if (other.getDeprecated() != false) {
setDeprecated(other.getDeprecated());
}
if (!other.getTillerVersion().isEmpty()) {
tillerVersion_ = other.tillerVersion_;
onChanged();
}
internalGetMutableAnnotations().mergeFrom(
other.internalGetAnnotations());
if (!other.getKubeVersion().isEmpty()) {
kubeVersion_ = other.kubeVersion_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
hapi.chart.MetadataOuterClass.Metadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (hapi.chart.MetadataOuterClass.Metadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* The name of the chart
*
*
* string name = 1;
*/
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;
}
}
/**
*
* The name of the chart
*
*
* string name = 1;
*/
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;
}
}
/**
*
* The name of the chart
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The name of the chart
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The name of the chart
*
*
* string name = 1;
*/
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 home_ = "";
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public java.lang.String getHome() {
java.lang.Object ref = home_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
home_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public com.google.protobuf.ByteString
getHomeBytes() {
java.lang.Object ref = home_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
home_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public Builder setHome(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
home_ = value;
onChanged();
return this;
}
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public Builder clearHome() {
home_ = getDefaultInstance().getHome();
onChanged();
return this;
}
/**
*
* The URL to a relevant project page, git repo, or contact person
*
*
* string home = 2;
*/
public Builder setHomeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
home_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList sources_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSourcesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
sources_ = new com.google.protobuf.LazyStringArrayList(sources_);
bitField0_ |= 0x00000004;
}
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public com.google.protobuf.ProtocolStringList
getSourcesList() {
return sources_.getUnmodifiableView();
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public int getSourcesCount() {
return sources_.size();
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public java.lang.String getSources(int index) {
return sources_.get(index);
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public com.google.protobuf.ByteString
getSourcesBytes(int index) {
return sources_.getByteString(index);
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public Builder setSources(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.set(index, value);
onChanged();
return this;
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public Builder addSources(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.add(value);
onChanged();
return this;
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public Builder addAllSources(
java.lang.Iterable values) {
ensureSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sources_);
onChanged();
return this;
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public Builder clearSources() {
sources_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* Source is the URL to the source code of this chart
*
*
* repeated string sources = 3;
*/
public Builder addSourcesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSourcesIsMutable();
sources_.add(value);
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
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;
}
}
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
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;
}
}
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
*
* A SemVer 2 conformant version string of the chart
*
*
* string version = 4;
*/
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_ = "";
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
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;
}
}
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
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;
}
}
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
*
* A one-sentence description of the chart
*
*
* string description = 5;
*/
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 keywords_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureKeywordsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
keywords_ = new com.google.protobuf.LazyStringArrayList(keywords_);
bitField0_ |= 0x00000020;
}
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public com.google.protobuf.ProtocolStringList
getKeywordsList() {
return keywords_.getUnmodifiableView();
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public int getKeywordsCount() {
return keywords_.size();
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public java.lang.String getKeywords(int index) {
return keywords_.get(index);
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public com.google.protobuf.ByteString
getKeywordsBytes(int index) {
return keywords_.getByteString(index);
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public Builder setKeywords(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeywordsIsMutable();
keywords_.set(index, value);
onChanged();
return this;
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public Builder addKeywords(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeywordsIsMutable();
keywords_.add(value);
onChanged();
return this;
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public Builder addAllKeywords(
java.lang.Iterable values) {
ensureKeywordsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keywords_);
onChanged();
return this;
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public Builder clearKeywords() {
keywords_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
*
* A list of string keywords
*
*
* repeated string keywords = 6;
*/
public Builder addKeywordsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureKeywordsIsMutable();
keywords_.add(value);
onChanged();
return this;
}
private java.util.List maintainers_ =
java.util.Collections.emptyList();
private void ensureMaintainersIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
maintainers_ = new java.util.ArrayList(maintainers_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
hapi.chart.MetadataOuterClass.Maintainer, hapi.chart.MetadataOuterClass.Maintainer.Builder, hapi.chart.MetadataOuterClass.MaintainerOrBuilder> maintainersBuilder_;
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public java.util.List getMaintainersList() {
if (maintainersBuilder_ == null) {
return java.util.Collections.unmodifiableList(maintainers_);
} else {
return maintainersBuilder_.getMessageList();
}
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public int getMaintainersCount() {
if (maintainersBuilder_ == null) {
return maintainers_.size();
} else {
return maintainersBuilder_.getCount();
}
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.Maintainer getMaintainers(int index) {
if (maintainersBuilder_ == null) {
return maintainers_.get(index);
} else {
return maintainersBuilder_.getMessage(index);
}
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder setMaintainers(
int index, hapi.chart.MetadataOuterClass.Maintainer value) {
if (maintainersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMaintainersIsMutable();
maintainers_.set(index, value);
onChanged();
} else {
maintainersBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder setMaintainers(
int index, hapi.chart.MetadataOuterClass.Maintainer.Builder builderForValue) {
if (maintainersBuilder_ == null) {
ensureMaintainersIsMutable();
maintainers_.set(index, builderForValue.build());
onChanged();
} else {
maintainersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder addMaintainers(hapi.chart.MetadataOuterClass.Maintainer value) {
if (maintainersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMaintainersIsMutable();
maintainers_.add(value);
onChanged();
} else {
maintainersBuilder_.addMessage(value);
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder addMaintainers(
int index, hapi.chart.MetadataOuterClass.Maintainer value) {
if (maintainersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMaintainersIsMutable();
maintainers_.add(index, value);
onChanged();
} else {
maintainersBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder addMaintainers(
hapi.chart.MetadataOuterClass.Maintainer.Builder builderForValue) {
if (maintainersBuilder_ == null) {
ensureMaintainersIsMutable();
maintainers_.add(builderForValue.build());
onChanged();
} else {
maintainersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder addMaintainers(
int index, hapi.chart.MetadataOuterClass.Maintainer.Builder builderForValue) {
if (maintainersBuilder_ == null) {
ensureMaintainersIsMutable();
maintainers_.add(index, builderForValue.build());
onChanged();
} else {
maintainersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder addAllMaintainers(
java.lang.Iterable extends hapi.chart.MetadataOuterClass.Maintainer> values) {
if (maintainersBuilder_ == null) {
ensureMaintainersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, maintainers_);
onChanged();
} else {
maintainersBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder clearMaintainers() {
if (maintainersBuilder_ == null) {
maintainers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
maintainersBuilder_.clear();
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public Builder removeMaintainers(int index) {
if (maintainersBuilder_ == null) {
ensureMaintainersIsMutable();
maintainers_.remove(index);
onChanged();
} else {
maintainersBuilder_.remove(index);
}
return this;
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.Maintainer.Builder getMaintainersBuilder(
int index) {
return getMaintainersFieldBuilder().getBuilder(index);
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.MaintainerOrBuilder getMaintainersOrBuilder(
int index) {
if (maintainersBuilder_ == null) {
return maintainers_.get(index); } else {
return maintainersBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public java.util.List extends hapi.chart.MetadataOuterClass.MaintainerOrBuilder>
getMaintainersOrBuilderList() {
if (maintainersBuilder_ != null) {
return maintainersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(maintainers_);
}
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.Maintainer.Builder addMaintainersBuilder() {
return getMaintainersFieldBuilder().addBuilder(
hapi.chart.MetadataOuterClass.Maintainer.getDefaultInstance());
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public hapi.chart.MetadataOuterClass.Maintainer.Builder addMaintainersBuilder(
int index) {
return getMaintainersFieldBuilder().addBuilder(
index, hapi.chart.MetadataOuterClass.Maintainer.getDefaultInstance());
}
/**
*
* A list of name and URL/email address combinations for the maintainer(s)
*
*
* repeated .hapi.chart.Maintainer maintainers = 7;
*/
public java.util.List
getMaintainersBuilderList() {
return getMaintainersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
hapi.chart.MetadataOuterClass.Maintainer, hapi.chart.MetadataOuterClass.Maintainer.Builder, hapi.chart.MetadataOuterClass.MaintainerOrBuilder>
getMaintainersFieldBuilder() {
if (maintainersBuilder_ == null) {
maintainersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
hapi.chart.MetadataOuterClass.Maintainer, hapi.chart.MetadataOuterClass.Maintainer.Builder, hapi.chart.MetadataOuterClass.MaintainerOrBuilder>(
maintainers_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
maintainers_ = null;
}
return maintainersBuilder_;
}
private java.lang.Object engine_ = "";
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public java.lang.String getEngine() {
java.lang.Object ref = engine_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
engine_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public com.google.protobuf.ByteString
getEngineBytes() {
java.lang.Object ref = engine_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
engine_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public Builder setEngine(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
engine_ = value;
onChanged();
return this;
}
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public Builder clearEngine() {
engine_ = getDefaultInstance().getEngine();
onChanged();
return this;
}
/**
*
* The name of the template engine to use. Defaults to 'gotpl'.
*
*
* string engine = 8;
*/
public Builder setEngineBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
engine_ = value;
onChanged();
return this;
}
private java.lang.Object icon_ = "";
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public java.lang.String getIcon() {
java.lang.Object ref = icon_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
icon_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public com.google.protobuf.ByteString
getIconBytes() {
java.lang.Object ref = icon_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
icon_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public Builder setIcon(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
icon_ = value;
onChanged();
return this;
}
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public Builder clearIcon() {
icon_ = getDefaultInstance().getIcon();
onChanged();
return this;
}
/**
*
* The URL to an icon file.
*
*
* string icon = 9;
*/
public Builder setIconBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
icon_ = value;
onChanged();
return this;
}
private java.lang.Object apiVersion_ = "";
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
apiVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
apiVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public Builder setApiVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
apiVersion_ = value;
onChanged();
return this;
}
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public Builder clearApiVersion() {
apiVersion_ = getDefaultInstance().getApiVersion();
onChanged();
return this;
}
/**
*
* The API Version of this chart.
*
*
* string apiVersion = 10;
*/
public Builder setApiVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
apiVersion_ = value;
onChanged();
return this;
}
private java.lang.Object condition_ = "";
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public java.lang.String getCondition() {
java.lang.Object ref = condition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
condition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public com.google.protobuf.ByteString
getConditionBytes() {
java.lang.Object ref = condition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
condition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public Builder setCondition(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
return this;
}
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public Builder clearCondition() {
condition_ = getDefaultInstance().getCondition();
onChanged();
return this;
}
/**
*
* The condition to check to enable chart
*
*
* string condition = 11;
*/
public Builder setConditionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
condition_ = value;
onChanged();
return this;
}
private java.lang.Object tags_ = "";
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public java.lang.String getTags() {
java.lang.Object ref = tags_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tags_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public com.google.protobuf.ByteString
getTagsBytes() {
java.lang.Object ref = tags_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tags_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public Builder setTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tags_ = value;
onChanged();
return this;
}
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public Builder clearTags() {
tags_ = getDefaultInstance().getTags();
onChanged();
return this;
}
/**
*
* The tags to check to enable chart
*
*
* string tags = 12;
*/
public Builder setTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tags_ = value;
onChanged();
return this;
}
private java.lang.Object appVersion_ = "";
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public java.lang.String getAppVersion() {
java.lang.Object ref = appVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public com.google.protobuf.ByteString
getAppVersionBytes() {
java.lang.Object ref = appVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public Builder setAppVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appVersion_ = value;
onChanged();
return this;
}
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public Builder clearAppVersion() {
appVersion_ = getDefaultInstance().getAppVersion();
onChanged();
return this;
}
/**
*
* The version of the application enclosed inside of this chart.
*
*
* string appVersion = 13;
*/
public Builder setAppVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appVersion_ = value;
onChanged();
return this;
}
private boolean deprecated_ ;
/**
*
* Whether or not this chart is deprecated
*
*
* bool deprecated = 14;
*/
public boolean getDeprecated() {
return deprecated_;
}
/**
*
* Whether or not this chart is deprecated
*
*
* bool deprecated = 14;
*/
public Builder setDeprecated(boolean value) {
deprecated_ = value;
onChanged();
return this;
}
/**
*
* Whether or not this chart is deprecated
*
*
* bool deprecated = 14;
*/
public Builder clearDeprecated() {
deprecated_ = false;
onChanged();
return this;
}
private java.lang.Object tillerVersion_ = "";
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public java.lang.String getTillerVersion() {
java.lang.Object ref = tillerVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tillerVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public com.google.protobuf.ByteString
getTillerVersionBytes() {
java.lang.Object ref = tillerVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tillerVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public Builder setTillerVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tillerVersion_ = value;
onChanged();
return this;
}
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public Builder clearTillerVersion() {
tillerVersion_ = getDefaultInstance().getTillerVersion();
onChanged();
return this;
}
/**
*
* TillerVersion is a SemVer constraints on what version of Tiller is required.
* See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
*
*
* string tillerVersion = 15;
*/
public Builder setTillerVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tillerVersion_ = value;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> annotations_;
private com.google.protobuf.MapField
internalGetAnnotations() {
if (annotations_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AnnotationsDefaultEntryHolder.defaultEntry);
}
return annotations_;
}
private com.google.protobuf.MapField
internalGetMutableAnnotations() {
onChanged();;
if (annotations_ == null) {
annotations_ = com.google.protobuf.MapField.newMapField(
AnnotationsDefaultEntryHolder.defaultEntry);
}
if (!annotations_.isMutable()) {
annotations_ = annotations_.copy();
}
return annotations_;
}
public int getAnnotationsCount() {
return internalGetAnnotations().getMap().size();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public boolean containsAnnotations(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetAnnotations().getMap().containsKey(key);
}
/**
* Use {@link #getAnnotationsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getAnnotations() {
return getAnnotationsMap();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.util.Map getAnnotationsMap() {
return internalGetAnnotations().getMap();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.lang.String getAnnotationsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetAnnotations().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public java.lang.String getAnnotationsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetAnnotations().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearAnnotations() {
internalGetMutableAnnotations().getMutableMap()
.clear();
return this;
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public Builder removeAnnotations(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableAnnotations().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableAnnotations() {
return internalGetMutableAnnotations().getMutableMap();
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public Builder putAnnotations(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new java.lang.NullPointerException(); }
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableAnnotations().getMutableMap()
.put(key, value);
return this;
}
/**
*
* Annotations are additional mappings uninterpreted by Tiller,
* made available for inspection by other applications.
*
*
* map<string, string> annotations = 16;
*/
public Builder putAllAnnotations(
java.util.Map values) {
internalGetMutableAnnotations().getMutableMap()
.putAll(values);
return this;
}
private java.lang.Object kubeVersion_ = "";
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public java.lang.String getKubeVersion() {
java.lang.Object ref = kubeVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
kubeVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public com.google.protobuf.ByteString
getKubeVersionBytes() {
java.lang.Object ref = kubeVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
kubeVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public Builder setKubeVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
kubeVersion_ = value;
onChanged();
return this;
}
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public Builder clearKubeVersion() {
kubeVersion_ = getDefaultInstance().getKubeVersion();
onChanged();
return this;
}
/**
*
* KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
*
*
* string kubeVersion = 17;
*/
public Builder setKubeVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
kubeVersion_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:hapi.chart.Metadata)
}
// @@protoc_insertion_point(class_scope:hapi.chart.Metadata)
private static final hapi.chart.MetadataOuterClass.Metadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new hapi.chart.MetadataOuterClass.Metadata();
}
public static hapi.chart.MetadataOuterClass.Metadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Metadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Metadata(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public hapi.chart.MetadataOuterClass.Metadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_hapi_chart_Maintainer_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_hapi_chart_Maintainer_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_hapi_chart_Metadata_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_hapi_chart_Metadata_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_hapi_chart_Metadata_AnnotationsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_hapi_chart_Metadata_AnnotationsEntry_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\031hapi/chart/metadata.proto\022\nhapi.chart\"" +
"6\n\nMaintainer\022\014\n\004name\030\001 \001(\t\022\r\n\005email\030\002 \001" +
"(\t\022\013\n\003url\030\003 \001(\t\"\325\003\n\010Metadata\022\014\n\004name\030\001 \001" +
"(\t\022\014\n\004home\030\002 \001(\t\022\017\n\007sources\030\003 \003(\t\022\017\n\007ver" +
"sion\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022\020\n\010keywo" +
"rds\030\006 \003(\t\022+\n\013maintainers\030\007 \003(\0132\026.hapi.ch" +
"art.Maintainer\022\016\n\006engine\030\010 \001(\t\022\014\n\004icon\030\t" +
" \001(\t\022\022\n\napiVersion\030\n \001(\t\022\021\n\tcondition\030\013 " +
"\001(\t\022\014\n\004tags\030\014 \001(\t\022\022\n\nappVersion\030\r \001(\t\022\022\n" +
"\ndeprecated\030\016 \001(\010\022\025\n\rtillerVersion\030\017 \001(\t" +
"\022:\n\013annotations\030\020 \003(\0132%.hapi.chart.Metad" +
"ata.AnnotationsEntry\022\023\n\013kubeVersion\030\021 \001(" +
"\t\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" +
"lue\030\002 \001(\t:\0028\001\" \n\006Engine\022\013\n\007UNKNOWN\020\000\022\t\n\005" +
"GOTPL\020\001B\007Z\005chartb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_hapi_chart_Maintainer_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_hapi_chart_Maintainer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_hapi_chart_Maintainer_descriptor,
new java.lang.String[] { "Name", "Email", "Url", });
internal_static_hapi_chart_Metadata_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_hapi_chart_Metadata_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_hapi_chart_Metadata_descriptor,
new java.lang.String[] { "Name", "Home", "Sources", "Version", "Description", "Keywords", "Maintainers", "Engine", "Icon", "ApiVersion", "Condition", "Tags", "AppVersion", "Deprecated", "TillerVersion", "Annotations", "KubeVersion", });
internal_static_hapi_chart_Metadata_AnnotationsEntry_descriptor =
internal_static_hapi_chart_Metadata_descriptor.getNestedTypes().get(0);
internal_static_hapi_chart_Metadata_AnnotationsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_hapi_chart_Metadata_AnnotationsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy