All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.appengine.api.capabilities.CapabilityServicePb Maven / Gradle / Ivy

There is a newer version: 2.0.32
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: capability_service.proto

package com.google.appengine.api.capabilities;

public final class CapabilityServicePb {
  private CapabilityServicePb() {}
  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 IsEnabledRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:java.apphosting.IsEnabledRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return Whether the package field is set. */ boolean hasPackage(); /** *
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return The package. */ java.lang.String getPackage(); /** *
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return The bytes for package. */ com.google.protobuf.ByteString getPackageBytes(); /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @return A list containing the capability. */ java.util.List getCapabilityList(); /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @return The count of capability. */ int getCapabilityCount(); /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @param index The index of the element to return. * @return The capability at the given index. */ java.lang.String getCapability(int index); /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @param index The index of the value to return. * @return The bytes of the capability at the given index. */ com.google.protobuf.ByteString getCapabilityBytes(int index); /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @return A list containing the call. */ java.util.List getCallList(); /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @return The count of call. */ int getCallCount(); /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @param index The index of the element to return. * @return The call at the given index. */ java.lang.String getCall(int index); /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @param index The index of the value to return. * @return The bytes of the call at the given index. */ com.google.protobuf.ByteString getCallBytes(int index); } /** * Protobuf type {@code java.apphosting.IsEnabledRequest} */ public static final class IsEnabledRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.IsEnabledRequest) IsEnabledRequestOrBuilder { private static final long serialVersionUID = 0L; // Use IsEnabledRequest.newBuilder() to construct. private IsEnabledRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IsEnabledRequest() { package_ = ""; capability_ = com.google.protobuf.LazyStringArrayList.EMPTY; call_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsEnabledRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.class, com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.Builder.class); } private int bitField0_; public static final int PACKAGE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object package_ = ""; /** *
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return Whether the package field is set. */ @java.lang.Override public boolean hasPackage() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return The package. */ @java.lang.Override public java.lang.String getPackage() { java.lang.Object ref = package_; 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(); if (bs.isValidUtf8()) { package_ = s; } return s; } } /** *
     * The API package for the capabilities you want to check.
     * 
* * required string package = 1; * @return The bytes for package. */ @java.lang.Override public com.google.protobuf.ByteString getPackageBytes() { java.lang.Object ref = package_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); package_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CAPABILITY_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringList capability_; /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @return A list containing the capability. */ public com.google.protobuf.ProtocolStringList getCapabilityList() { return capability_; } /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @return The count of capability. */ public int getCapabilityCount() { return capability_.size(); } /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @param index The index of the element to return. * @return The capability at the given index. */ public java.lang.String getCapability(int index) { return capability_.get(index); } /** *
     * Zero or more explicit capabilities you want to check.  Specify
     * the wildcard capability ("*") to check whether a particular
     * package is entirely disabled.
     * 
* * repeated string capability = 2; * @param index The index of the value to return. * @return The bytes of the capability at the given index. */ public com.google.protobuf.ByteString getCapabilityBytes(int index) { return capability_.getByteString(index); } public static final int CALL_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringList call_; /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @return A list containing the call. */ public com.google.protobuf.ProtocolStringList getCallList() { return call_; } /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @return The count of call. */ public int getCallCount() { return call_.size(); } /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @param index The index of the element to return. * @return The call at the given index. */ public java.lang.String getCall(int index) { return call_.get(index); } /** *
     * Zero or more API methods that you intend to call.  The status of
     * each of the capabilities required by these API calls will be
     * returned, in addition to any capabilties explicitly listed above.
     * 
* * repeated string call = 3; * @param index The index of the value to return. * @return The bytes of the call at the given index. */ public com.google.protobuf.ByteString getCallBytes(int index) { return call_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPackage()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, package_); } for (int i = 0; i < capability_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, capability_.getRaw(i)); } for (int i = 0; i < call_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, call_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, package_); } { int dataSize = 0; for (int i = 0; i < capability_.size(); i++) { dataSize += computeStringSizeNoTag(capability_.getRaw(i)); } size += dataSize; size += 1 * getCapabilityList().size(); } { int dataSize = 0; for (int i = 0; i < call_.size(); i++) { dataSize += computeStringSizeNoTag(call_.getRaw(i)); } size += dataSize; size += 1 * getCallList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest)) { return super.equals(obj); } com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest other = (com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest) obj; if (hasPackage() != other.hasPackage()) return false; if (hasPackage()) { if (!getPackage() .equals(other.getPackage())) return false; } if (!getCapabilityList() .equals(other.getCapabilityList())) return false; if (!getCallList() .equals(other.getCallList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPackage()) { hash = (37 * hash) + PACKAGE_FIELD_NUMBER; hash = (53 * hash) + getPackage().hashCode(); } if (getCapabilityCount() > 0) { hash = (37 * hash) + CAPABILITY_FIELD_NUMBER; hash = (53 * hash) + getCapabilityList().hashCode(); } if (getCallCount() > 0) { hash = (37 * hash) + CALL_FIELD_NUMBER; hash = (53 * hash) + getCallList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.IsEnabledRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.IsEnabledRequest) com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.class, com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.Builder.class); } // Construct using com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; package_ = ""; capability_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); call_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledRequest_descriptor; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest getDefaultInstanceForType() { return com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest build() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest buildPartial() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest result = new com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest result) { if (((bitField0_ & 0x00000002) != 0)) { capability_ = capability_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.capability_ = capability_; if (((bitField0_ & 0x00000004) != 0)) { call_ = call_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.call_ = call_; } private void buildPartial0(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.package_ = package_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest) { return mergeFrom((com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest other) { if (other == com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest.getDefaultInstance()) return this; if (other.hasPackage()) { package_ = other.package_; bitField0_ |= 0x00000001; onChanged(); } if (!other.capability_.isEmpty()) { if (capability_.isEmpty()) { capability_ = other.capability_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCapabilityIsMutable(); capability_.addAll(other.capability_); } onChanged(); } if (!other.call_.isEmpty()) { if (call_.isEmpty()) { call_ = other.call_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureCallIsMutable(); call_.addAll(other.call_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasPackage()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { package_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.google.protobuf.ByteString bs = input.readBytes(); ensureCapabilityIsMutable(); capability_.add(bs); break; } // case 18 case 26: { com.google.protobuf.ByteString bs = input.readBytes(); ensureCallIsMutable(); call_.add(bs); break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object package_ = ""; /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @return Whether the package field is set. */ public boolean hasPackage() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @return The package. */ public java.lang.String getPackage() { java.lang.Object ref = package_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { package_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @return The bytes for package. */ public com.google.protobuf.ByteString getPackageBytes() { java.lang.Object ref = package_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); package_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @param value The package to set. * @return This builder for chaining. */ public Builder setPackage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } package_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @return This builder for chaining. */ public Builder clearPackage() { package_ = getDefaultInstance().getPackage(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The API package for the capabilities you want to check.
       * 
* * required string package = 1; * @param value The bytes for package to set. * @return This builder for chaining. */ public Builder setPackageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } package_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.LazyStringList capability_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCapabilityIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { capability_ = new com.google.protobuf.LazyStringArrayList(capability_); bitField0_ |= 0x00000002; } } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @return A list containing the capability. */ public com.google.protobuf.ProtocolStringList getCapabilityList() { return capability_.getUnmodifiableView(); } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @return The count of capability. */ public int getCapabilityCount() { return capability_.size(); } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param index The index of the element to return. * @return The capability at the given index. */ public java.lang.String getCapability(int index) { return capability_.get(index); } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param index The index of the value to return. * @return The bytes of the capability at the given index. */ public com.google.protobuf.ByteString getCapabilityBytes(int index) { return capability_.getByteString(index); } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param index The index to set the value at. * @param value The capability to set. * @return This builder for chaining. */ public Builder setCapability( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCapabilityIsMutable(); capability_.set(index, value); onChanged(); return this; } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param value The capability to add. * @return This builder for chaining. */ public Builder addCapability( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCapabilityIsMutable(); capability_.add(value); onChanged(); return this; } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param values The capability to add. * @return This builder for chaining. */ public Builder addAllCapability( java.lang.Iterable values) { ensureCapabilityIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, capability_); onChanged(); return this; } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @return This builder for chaining. */ public Builder clearCapability() { capability_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Zero or more explicit capabilities you want to check.  Specify
       * the wildcard capability ("*") to check whether a particular
       * package is entirely disabled.
       * 
* * repeated string capability = 2; * @param value The bytes of the capability to add. * @return This builder for chaining. */ public Builder addCapabilityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureCapabilityIsMutable(); capability_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList call_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCallIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { call_ = new com.google.protobuf.LazyStringArrayList(call_); bitField0_ |= 0x00000004; } } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @return A list containing the call. */ public com.google.protobuf.ProtocolStringList getCallList() { return call_.getUnmodifiableView(); } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @return The count of call. */ public int getCallCount() { return call_.size(); } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param index The index of the element to return. * @return The call at the given index. */ public java.lang.String getCall(int index) { return call_.get(index); } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param index The index of the value to return. * @return The bytes of the call at the given index. */ public com.google.protobuf.ByteString getCallBytes(int index) { return call_.getByteString(index); } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param index The index to set the value at. * @param value The call to set. * @return This builder for chaining. */ public Builder setCall( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCallIsMutable(); call_.set(index, value); onChanged(); return this; } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param value The call to add. * @return This builder for chaining. */ public Builder addCall( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCallIsMutable(); call_.add(value); onChanged(); return this; } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param values The call to add. * @return This builder for chaining. */ public Builder addAllCall( java.lang.Iterable values) { ensureCallIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, call_); onChanged(); return this; } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @return This builder for chaining. */ public Builder clearCall() { call_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Zero or more API methods that you intend to call.  The status of
       * each of the capabilities required by these API calls will be
       * returned, in addition to any capabilties explicitly listed above.
       * 
* * repeated string call = 3; * @param value The bytes of the call to add. * @return This builder for chaining. */ public Builder addCallBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureCallIsMutable(); call_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.IsEnabledRequest) } // @@protoc_insertion_point(class_scope:java.apphosting.IsEnabledRequest) private static final com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest(); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IsEnabledRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IsEnabledResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:java.apphosting.IsEnabledResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Required, not proto enforced.
     * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return Whether the summaryStatus field is set. */ boolean hasSummaryStatus(); /** *
     * Required, not proto enforced.
     * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return The summaryStatus. */ com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus getSummaryStatus(); /** *
     * If summary_status is SCHEDULED_FUTURE, this will contain the
     * number of seconds until it will become SCHEDULED_NOW.
     * 
* * optional int64 time_until_scheduled = 2; * @return Whether the timeUntilScheduled field is set. */ boolean hasTimeUntilScheduled(); /** *
     * If summary_status is SCHEDULED_FUTURE, this will contain the
     * number of seconds until it will become SCHEDULED_NOW.
     * 
* * optional int64 time_until_scheduled = 2; * @return The timeUntilScheduled. */ long getTimeUntilScheduled(); /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ java.util.List getConfigList(); /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig getConfig(int index); /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ int getConfigCount(); /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ java.util.List getConfigOrBuilderList(); /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder getConfigOrBuilder( int index); } /** * Protobuf type {@code java.apphosting.IsEnabledResponse} */ public static final class IsEnabledResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:java.apphosting.IsEnabledResponse) IsEnabledResponseOrBuilder { private static final long serialVersionUID = 0L; // Use IsEnabledResponse.newBuilder() to construct. private IsEnabledResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IsEnabledResponse() { summaryStatus_ = 0; config_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IsEnabledResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.class, com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.Builder.class); } /** *
     * N.B.(schwardo): The numerical values are significant.  Of the
     * statuses that are applicable, only the highest ordinal value will
     * be returned.
     * 
* * Protobuf enum {@code java.apphosting.IsEnabledResponse.SummaryStatus} */ public enum SummaryStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
       *  DEFAULT and ENABLED are kept identical in code.
       * 
* * DEFAULT = 0; */ DEFAULT(0), /** *
       * All capabilities are currently enabled and no downtime is
       * planned.
       * 
* * ENABLED = 1; */ ENABLED(1), /** *
       * At least one capability is scheduled for downtime in the future.
       * 
* * SCHEDULED_FUTURE = 2; */ SCHEDULED_FUTURE(2), /** *
       * At least one capability is scheduled for downtime and the
       * scheduled time has already passed.
       * 
* * SCHEDULED_NOW = 3; */ SCHEDULED_NOW(3), /** *
       * At least one capability is currently disabled.  API calls that
       * depend on this capability will fail.
       * 
* * DISABLED = 4; */ DISABLED(4), /** *
       * At least one capability is unknown.
       * 
* * UNKNOWN = 5; */ UNKNOWN(5), ; /** *
       *  DEFAULT and ENABLED are kept identical in code.
       * 
* * DEFAULT = 0; */ public static final int DEFAULT_VALUE = 0; /** *
       * All capabilities are currently enabled and no downtime is
       * planned.
       * 
* * ENABLED = 1; */ public static final int ENABLED_VALUE = 1; /** *
       * At least one capability is scheduled for downtime in the future.
       * 
* * SCHEDULED_FUTURE = 2; */ public static final int SCHEDULED_FUTURE_VALUE = 2; /** *
       * At least one capability is scheduled for downtime and the
       * scheduled time has already passed.
       * 
* * SCHEDULED_NOW = 3; */ public static final int SCHEDULED_NOW_VALUE = 3; /** *
       * At least one capability is currently disabled.  API calls that
       * depend on this capability will fail.
       * 
* * DISABLED = 4; */ public static final int DISABLED_VALUE = 4; /** *
       * At least one capability is unknown.
       * 
* * UNKNOWN = 5; */ public static final int UNKNOWN_VALUE = 5; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SummaryStatus valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static SummaryStatus forNumber(int value) { switch (value) { case 0: return DEFAULT; case 1: return ENABLED; case 2: return SCHEDULED_FUTURE; case 3: return SCHEDULED_NOW; case 4: return DISABLED; case 5: return UNKNOWN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SummaryStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SummaryStatus findValueByNumber(int number) { return SummaryStatus.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.api.capabilities.CapabilityServicePb.IsEnabledResponse.getDescriptor().getEnumTypes().get(0); } private static final SummaryStatus[] VALUES = values(); public static SummaryStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private SummaryStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:java.apphosting.IsEnabledResponse.SummaryStatus) } private int bitField0_; public static final int SUMMARY_STATUS_FIELD_NUMBER = 1; private int summaryStatus_ = 0; /** *
     * Required, not proto enforced.
     * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return Whether the summaryStatus field is set. */ @java.lang.Override public boolean hasSummaryStatus() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Required, not proto enforced.
     * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return The summaryStatus. */ @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus getSummaryStatus() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus result = com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus.forNumber(summaryStatus_); return result == null ? com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus.DEFAULT : result; } public static final int TIME_UNTIL_SCHEDULED_FIELD_NUMBER = 2; private long timeUntilScheduled_ = 0L; /** *
     * If summary_status is SCHEDULED_FUTURE, this will contain the
     * number of seconds until it will become SCHEDULED_NOW.
     * 
* * optional int64 time_until_scheduled = 2; * @return Whether the timeUntilScheduled field is set. */ @java.lang.Override public boolean hasTimeUntilScheduled() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * If summary_status is SCHEDULED_FUTURE, this will contain the
     * number of seconds until it will become SCHEDULED_NOW.
     * 
* * optional int64 time_until_scheduled = 2; * @return The timeUntilScheduled. */ @java.lang.Override public long getTimeUntilScheduled() { return timeUntilScheduled_; } public static final int CONFIG_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List config_; /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ @java.lang.Override public java.util.List getConfigList() { return config_; } /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ @java.lang.Override public java.util.List getConfigOrBuilderList() { return config_; } /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ @java.lang.Override public int getConfigCount() { return config_.size(); } /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ @java.lang.Override public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig getConfig(int index) { return config_.get(index); } /** *
     * This will contain the detailed CapabilityConfig for every
     * capability specified in the request.
     * If the overall package is not known, this list will be empty.  If
     * requested capabilities have no explicit status, the default
     * status will be used (in production this will always be UNKNOWN).
     * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ @java.lang.Override public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder getConfigOrBuilder( int index) { return config_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getConfigCount(); i++) { if (!getConfig(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, summaryStatus_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, timeUntilScheduled_); } for (int i = 0; i < config_.size(); i++) { output.writeMessage(3, config_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, summaryStatus_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, timeUntilScheduled_); } for (int i = 0; i < config_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, config_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse)) { return super.equals(obj); } com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse other = (com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse) obj; if (hasSummaryStatus() != other.hasSummaryStatus()) return false; if (hasSummaryStatus()) { if (summaryStatus_ != other.summaryStatus_) return false; } if (hasTimeUntilScheduled() != other.hasTimeUntilScheduled()) return false; if (hasTimeUntilScheduled()) { if (getTimeUntilScheduled() != other.getTimeUntilScheduled()) return false; } if (!getConfigList() .equals(other.getConfigList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSummaryStatus()) { hash = (37 * hash) + SUMMARY_STATUS_FIELD_NUMBER; hash = (53 * hash) + summaryStatus_; } if (hasTimeUntilScheduled()) { hash = (37 * hash) + TIME_UNTIL_SCHEDULED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeUntilScheduled()); } if (getConfigCount() > 0) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfigList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code java.apphosting.IsEnabledResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:java.apphosting.IsEnabledResponse) com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.class, com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.Builder.class); } // Construct using com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; summaryStatus_ = 0; timeUntilScheduled_ = 0L; if (configBuilder_ == null) { config_ = java.util.Collections.emptyList(); } else { config_ = null; configBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.api.capabilities.CapabilityServicePb.internal_static_java_apphosting_IsEnabledResponse_descriptor; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse getDefaultInstanceForType() { return com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.getDefaultInstance(); } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse build() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse buildPartial() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse result = new com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse result) { if (configBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { config_ = java.util.Collections.unmodifiableList(config_); bitField0_ = (bitField0_ & ~0x00000004); } result.config_ = config_; } else { result.config_ = configBuilder_.build(); } } private void buildPartial0(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.summaryStatus_ = summaryStatus_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.timeUntilScheduled_ = timeUntilScheduled_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse) { return mergeFrom((com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse other) { if (other == com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.getDefaultInstance()) return this; if (other.hasSummaryStatus()) { setSummaryStatus(other.getSummaryStatus()); } if (other.hasTimeUntilScheduled()) { setTimeUntilScheduled(other.getTimeUntilScheduled()); } if (configBuilder_ == null) { if (!other.config_.isEmpty()) { if (config_.isEmpty()) { config_ = other.config_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureConfigIsMutable(); config_.addAll(other.config_); } onChanged(); } } else { if (!other.config_.isEmpty()) { if (configBuilder_.isEmpty()) { configBuilder_.dispose(); configBuilder_ = null; config_ = other.config_; bitField0_ = (bitField0_ & ~0x00000004); configBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getConfigFieldBuilder() : null; } else { configBuilder_.addAllMessages(other.config_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getConfigCount(); i++) { if (!getConfig(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int tmpRaw = input.readEnum(); com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus tmpValue = com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(1, tmpRaw); } else { summaryStatus_ = tmpRaw; bitField0_ |= 0x00000001; } break; } // case 8 case 16: { timeUntilScheduled_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig m = input.readMessage( com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.PARSER, extensionRegistry); if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(m); } else { configBuilder_.addMessage(m); } break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int summaryStatus_ = 0; /** *
       * Required, not proto enforced.
       * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return Whether the summaryStatus field is set. */ @java.lang.Override public boolean hasSummaryStatus() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Required, not proto enforced.
       * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return The summaryStatus. */ @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus getSummaryStatus() { com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus result = com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus.forNumber(summaryStatus_); return result == null ? com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus.DEFAULT : result; } /** *
       * Required, not proto enforced.
       * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @param value The summaryStatus to set. * @return This builder for chaining. */ public Builder setSummaryStatus(com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse.SummaryStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; summaryStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required, not proto enforced.
       * 
* * optional .java.apphosting.IsEnabledResponse.SummaryStatus summary_status = 1; * @return This builder for chaining. */ public Builder clearSummaryStatus() { bitField0_ = (bitField0_ & ~0x00000001); summaryStatus_ = 0; onChanged(); return this; } private long timeUntilScheduled_ ; /** *
       * If summary_status is SCHEDULED_FUTURE, this will contain the
       * number of seconds until it will become SCHEDULED_NOW.
       * 
* * optional int64 time_until_scheduled = 2; * @return Whether the timeUntilScheduled field is set. */ @java.lang.Override public boolean hasTimeUntilScheduled() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * If summary_status is SCHEDULED_FUTURE, this will contain the
       * number of seconds until it will become SCHEDULED_NOW.
       * 
* * optional int64 time_until_scheduled = 2; * @return The timeUntilScheduled. */ @java.lang.Override public long getTimeUntilScheduled() { return timeUntilScheduled_; } /** *
       * If summary_status is SCHEDULED_FUTURE, this will contain the
       * number of seconds until it will become SCHEDULED_NOW.
       * 
* * optional int64 time_until_scheduled = 2; * @param value The timeUntilScheduled to set. * @return This builder for chaining. */ public Builder setTimeUntilScheduled(long value) { timeUntilScheduled_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * If summary_status is SCHEDULED_FUTURE, this will contain the
       * number of seconds until it will become SCHEDULED_NOW.
       * 
* * optional int64 time_until_scheduled = 2; * @return This builder for chaining. */ public Builder clearTimeUntilScheduled() { bitField0_ = (bitField0_ & ~0x00000002); timeUntilScheduled_ = 0L; onChanged(); return this; } private java.util.List config_ = java.util.Collections.emptyList(); private void ensureConfigIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { config_ = new java.util.ArrayList(config_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder> configBuilder_; /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public java.util.List getConfigList() { if (configBuilder_ == null) { return java.util.Collections.unmodifiableList(config_); } else { return configBuilder_.getMessageList(); } } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public int getConfigCount() { if (configBuilder_ == null) { return config_.size(); } else { return configBuilder_.getCount(); } } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig getConfig(int index) { if (configBuilder_ == null) { return config_.get(index); } else { return configBuilder_.getMessage(index); } } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder setConfig( int index, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.set(index, value); onChanged(); } else { configBuilder_.setMessage(index, value); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder setConfig( int index, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.set(index, builderForValue.build()); onChanged(); } else { configBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder addConfig(com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(value); onChanged(); } else { configBuilder_.addMessage(value); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder addConfig( int index, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigIsMutable(); config_.add(index, value); onChanged(); } else { configBuilder_.addMessage(index, value); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder addConfig( com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(builderForValue.build()); onChanged(); } else { configBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder addConfig( int index, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder builderForValue) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.add(index, builderForValue.build()); onChanged(); } else { configBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder addAllConfig( java.lang.Iterable values) { if (configBuilder_ == null) { ensureConfigIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, config_); onChanged(); } else { configBuilder_.addAllMessages(values); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder clearConfig() { if (configBuilder_ == null) { config_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { configBuilder_.clear(); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public Builder removeConfig(int index) { if (configBuilder_ == null) { ensureConfigIsMutable(); config_.remove(index); onChanged(); } else { configBuilder_.remove(index); } return this; } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder getConfigBuilder( int index) { return getConfigFieldBuilder().getBuilder(index); } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder getConfigOrBuilder( int index) { if (configBuilder_ == null) { return config_.get(index); } else { return configBuilder_.getMessageOrBuilder(index); } } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public java.util.List getConfigOrBuilderList() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(config_); } } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder addConfigBuilder() { return getConfigFieldBuilder().addBuilder( com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.getDefaultInstance()); } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder addConfigBuilder( int index) { return getConfigFieldBuilder().addBuilder( index, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.getDefaultInstance()); } /** *
       * This will contain the detailed CapabilityConfig for every
       * capability specified in the request.
       * If the overall package is not known, this list will be empty.  If
       * requested capabilities have no explicit status, the default
       * status will be used (in production this will always be UNKNOWN).
       * 
* * repeated .java.apphosting.CapabilityConfig config = 3; */ public java.util.List getConfigBuilderList() { return getConfigFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { configBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfig.Builder, com.google.appengine.api.capabilities.CapabilitiesPb.CapabilityConfigOrBuilder>( config_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:java.apphosting.IsEnabledResponse) } // @@protoc_insertion_point(class_scope:java.apphosting.IsEnabledResponse) private static final com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse(); } public static com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IsEnabledResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.appengine.api.capabilities.CapabilityServicePb.IsEnabledResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_IsEnabledRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_IsEnabledRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_java_apphosting_IsEnabledResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_java_apphosting_IsEnabledResponse_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\030capability_service.proto\022\017java.apphost" + "ing\032\022capabilities.proto\"E\n\020IsEnabledRequ" + "est\022\017\n\007package\030\001 \002(\t\022\022\n\ncapability\030\002 \003(\t" + "\022\014\n\004call\030\003 \003(\t\"\235\002\n\021IsEnabledResponse\022H\n\016" + "summary_status\030\001 \001(\01620.java.apphosting.I" + "sEnabledResponse.SummaryStatus\022\034\n\024time_u" + "ntil_scheduled\030\002 \001(\003\0221\n\006config\030\003 \003(\0132!.j" + "ava.apphosting.CapabilityConfig\"m\n\rSumma" + "ryStatus\022\013\n\007DEFAULT\020\000\022\013\n\007ENABLED\020\001\022\024\n\020SC" + "HEDULED_FUTURE\020\002\022\021\n\rSCHEDULED_NOW\020\003\022\014\n\010D" + "ISABLED\020\004\022\013\n\007UNKNOWN\020\005B?\n%com.google.app" + "engine.api.capabilitiesB\023CapabilityServi" + "cePb\210\001\001" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.appengine.api.capabilities.CapabilitiesPb.getDescriptor(), }); internal_static_java_apphosting_IsEnabledRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_java_apphosting_IsEnabledRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_IsEnabledRequest_descriptor, new java.lang.String[] { "Package", "Capability", "Call", }); internal_static_java_apphosting_IsEnabledResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_java_apphosting_IsEnabledResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_java_apphosting_IsEnabledResponse_descriptor, new java.lang.String[] { "SummaryStatus", "TimeUntilScheduled", "Config", }); com.google.appengine.api.capabilities.CapabilitiesPb.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy