com.google.appengine.v1.VersionView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-appengine-v1 Show documentation
Show all versions of proto-google-appengine-v1 Show documentation
PROTO library for proto-google-appengine-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/appengine/v1/appengine.proto
package com.google.appengine.v1;
/**
*
* Fields that should be returned when [Version][google.appengine.v1.Version] resources
* are retreived.
*
*
* Protobuf enum {@code google.appengine.v1.VersionView}
*/
public enum VersionView
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Basic version information including scaling and inbound services,
* but not detailed deployment information.
*
*
* BASIC = 0;
*/
BASIC(0),
/**
*
* The information from `BASIC`, plus detailed information about the
* deployment. This format is required when creating resources, but
* is not returned in `Get` or `List` by default.
*
*
* FULL = 1;
*/
FULL(1),
UNRECOGNIZED(-1),
;
/**
*
* Basic version information including scaling and inbound services,
* but not detailed deployment information.
*
*
* BASIC = 0;
*/
public static final int BASIC_VALUE = 0;
/**
*
* The information from `BASIC`, plus detailed information about the
* deployment. This format is required when creating resources, but
* is not returned in `Get` or `List` by default.
*
*
* FULL = 1;
*/
public static final int FULL_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 VersionView valueOf(int value) {
return forNumber(value);
}
public static VersionView forNumber(int value) {
switch (value) {
case 0: return BASIC;
case 1: return FULL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
VersionView> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public VersionView findValueByNumber(int number) {
return VersionView.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 com.google.appengine.v1.AppengineProto.getDescriptor().getEnumTypes().get(0);
}
private static final VersionView[] VALUES = values();
public static VersionView 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 VersionView(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.appengine.v1.VersionView)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy