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

com.google.appengine.v1.Deployment Maven / Gradle / Ivy

There is a newer version: 0.12.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/appengine/v1/deploy.proto

package com.google.appengine.v1;

/**
 * 
 * Code and application artifacts used to deploy a version to App Engine.
 * 
* * Protobuf type {@code google.appengine.v1.Deployment} */ public final class Deployment extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.appengine.v1.Deployment) DeploymentOrBuilder { private static final long serialVersionUID = 0L; // Use Deployment.newBuilder() to construct. private Deployment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Deployment() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Deployment( 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: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { files_ = com.google.protobuf.MapField.newMapField( FilesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry files__ = input.readMessage( FilesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); files_.getMutableMap().put( files__.getKey(), files__.getValue()); break; } case 18: { com.google.appengine.v1.ContainerInfo.Builder subBuilder = null; if (container_ != null) { subBuilder = container_.toBuilder(); } container_ = input.readMessage(com.google.appengine.v1.ContainerInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(container_); container_ = subBuilder.buildPartial(); } break; } case 26: { com.google.appengine.v1.ZipInfo.Builder subBuilder = null; if (zip_ != null) { subBuilder = zip_.toBuilder(); } zip_ = input.readMessage(com.google.appengine.v1.ZipInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(zip_); zip_ = subBuilder.buildPartial(); } 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 com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetFiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.v1.Deployment.class, com.google.appengine.v1.Deployment.Builder.class); } private int bitField0_; public static final int FILES_FIELD_NUMBER = 1; private static final class FilesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.google.appengine.v1.FileInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_FilesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.appengine.v1.FileInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.google.appengine.v1.FileInfo> files_; private com.google.protobuf.MapField internalGetFiles() { if (files_ == null) { return com.google.protobuf.MapField.emptyMapField( FilesDefaultEntryHolder.defaultEntry); } return files_; } public int getFilesCount() { return internalGetFiles().getMap().size(); } /** *
   * Manifest of the files stored in Google Cloud Storage that are included
   * as part of this version. All files must be readable using the
   * credentials supplied with this call.
   * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public boolean containsFiles( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetFiles().getMap().containsKey(key); } /** * Use {@link #getFilesMap()} instead. */ @java.lang.Deprecated public java.util.Map getFiles() { return getFilesMap(); } /** *
   * Manifest of the files stored in Google Cloud Storage that are included
   * as part of this version. All files must be readable using the
   * credentials supplied with this call.
   * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public java.util.Map getFilesMap() { return internalGetFiles().getMap(); } /** *
   * Manifest of the files stored in Google Cloud Storage that are included
   * as part of this version. All files must be readable using the
   * credentials supplied with this call.
   * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public com.google.appengine.v1.FileInfo getFilesOrDefault( java.lang.String key, com.google.appengine.v1.FileInfo defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetFiles().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Manifest of the files stored in Google Cloud Storage that are included
   * as part of this version. All files must be readable using the
   * credentials supplied with this call.
   * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public com.google.appengine.v1.FileInfo getFilesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetFiles().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int CONTAINER_FIELD_NUMBER = 2; private com.google.appengine.v1.ContainerInfo container_; /** *
   * A Docker image that App Engine uses to run the version.
   * Only applicable for instances in App Engine flexible environment.
   * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public boolean hasContainer() { return container_ != null; } /** *
   * A Docker image that App Engine uses to run the version.
   * Only applicable for instances in App Engine flexible environment.
   * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public com.google.appengine.v1.ContainerInfo getContainer() { return container_ == null ? com.google.appengine.v1.ContainerInfo.getDefaultInstance() : container_; } /** *
   * A Docker image that App Engine uses to run the version.
   * Only applicable for instances in App Engine flexible environment.
   * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public com.google.appengine.v1.ContainerInfoOrBuilder getContainerOrBuilder() { return getContainer(); } public static final int ZIP_FIELD_NUMBER = 3; private com.google.appengine.v1.ZipInfo zip_; /** *
   * The zip file for this deployment, if this is a zip deployment.
   * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public boolean hasZip() { return zip_ != null; } /** *
   * The zip file for this deployment, if this is a zip deployment.
   * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public com.google.appengine.v1.ZipInfo getZip() { return zip_ == null ? com.google.appengine.v1.ZipInfo.getDefaultInstance() : zip_; } /** *
   * The zip file for this deployment, if this is a zip deployment.
   * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public com.google.appengine.v1.ZipInfoOrBuilder getZipOrBuilder() { return getZip(); } 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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetFiles(), FilesDefaultEntryHolder.defaultEntry, 1); if (container_ != null) { output.writeMessage(2, getContainer()); } if (zip_ != null) { output.writeMessage(3, getZip()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetFiles().getMap().entrySet()) { com.google.protobuf.MapEntry files__ = FilesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, files__); } if (container_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getContainer()); } if (zip_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getZip()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.appengine.v1.Deployment)) { return super.equals(obj); } com.google.appengine.v1.Deployment other = (com.google.appengine.v1.Deployment) obj; boolean result = true; result = result && internalGetFiles().equals( other.internalGetFiles()); result = result && (hasContainer() == other.hasContainer()); if (hasContainer()) { result = result && getContainer() .equals(other.getContainer()); } result = result && (hasZip() == other.hasZip()); if (hasZip()) { result = result && getZip() .equals(other.getZip()); } 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(); if (!internalGetFiles().getMap().isEmpty()) { hash = (37 * hash) + FILES_FIELD_NUMBER; hash = (53 * hash) + internalGetFiles().hashCode(); } if (hasContainer()) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); } if (hasZip()) { hash = (37 * hash) + ZIP_FIELD_NUMBER; hash = (53 * hash) + getZip().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.v1.Deployment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.Deployment 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.v1.Deployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.Deployment 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.v1.Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.Deployment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.v1.Deployment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.v1.Deployment 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.v1.Deployment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.v1.Deployment 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.v1.Deployment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.appengine.v1.Deployment 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(com.google.appengine.v1.Deployment 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; } /** *
   * Code and application artifacts used to deploy a version to App Engine.
   * 
* * Protobuf type {@code google.appengine.v1.Deployment} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.appengine.v1.Deployment) com.google.appengine.v1.DeploymentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetFiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableFiles(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.v1.Deployment.class, com.google.appengine.v1.Deployment.Builder.class); } // Construct using com.google.appengine.v1.Deployment.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(); internalGetMutableFiles().clear(); if (containerBuilder_ == null) { container_ = null; } else { container_ = null; containerBuilder_ = null; } if (zipBuilder_ == null) { zip_ = null; } else { zip_ = null; zipBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.v1.DeployProto.internal_static_google_appengine_v1_Deployment_descriptor; } public com.google.appengine.v1.Deployment getDefaultInstanceForType() { return com.google.appengine.v1.Deployment.getDefaultInstance(); } public com.google.appengine.v1.Deployment build() { com.google.appengine.v1.Deployment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.google.appengine.v1.Deployment buildPartial() { com.google.appengine.v1.Deployment result = new com.google.appengine.v1.Deployment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.files_ = internalGetFiles(); result.files_.makeImmutable(); if (containerBuilder_ == null) { result.container_ = container_; } else { result.container_ = containerBuilder_.build(); } if (zipBuilder_ == null) { result.zip_ = zip_; } else { result.zip_ = zipBuilder_.build(); } 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 com.google.appengine.v1.Deployment) { return mergeFrom((com.google.appengine.v1.Deployment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.v1.Deployment other) { if (other == com.google.appengine.v1.Deployment.getDefaultInstance()) return this; internalGetMutableFiles().mergeFrom( other.internalGetFiles()); if (other.hasContainer()) { mergeContainer(other.getContainer()); } if (other.hasZip()) { mergeZip(other.getZip()); } 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 { com.google.appengine.v1.Deployment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.appengine.v1.Deployment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, com.google.appengine.v1.FileInfo> files_; private com.google.protobuf.MapField internalGetFiles() { if (files_ == null) { return com.google.protobuf.MapField.emptyMapField( FilesDefaultEntryHolder.defaultEntry); } return files_; } private com.google.protobuf.MapField internalGetMutableFiles() { onChanged();; if (files_ == null) { files_ = com.google.protobuf.MapField.newMapField( FilesDefaultEntryHolder.defaultEntry); } if (!files_.isMutable()) { files_ = files_.copy(); } return files_; } public int getFilesCount() { return internalGetFiles().getMap().size(); } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public boolean containsFiles( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetFiles().getMap().containsKey(key); } /** * Use {@link #getFilesMap()} instead. */ @java.lang.Deprecated public java.util.Map getFiles() { return getFilesMap(); } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public java.util.Map getFilesMap() { return internalGetFiles().getMap(); } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public com.google.appengine.v1.FileInfo getFilesOrDefault( java.lang.String key, com.google.appengine.v1.FileInfo defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetFiles().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public com.google.appengine.v1.FileInfo getFilesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetFiles().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearFiles() { internalGetMutableFiles().getMutableMap() .clear(); return this; } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public Builder removeFiles( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableFiles().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFiles() { return internalGetMutableFiles().getMutableMap(); } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public Builder putFiles( java.lang.String key, com.google.appengine.v1.FileInfo value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableFiles().getMutableMap() .put(key, value); return this; } /** *
     * Manifest of the files stored in Google Cloud Storage that are included
     * as part of this version. All files must be readable using the
     * credentials supplied with this call.
     * 
* * map<string, .google.appengine.v1.FileInfo> files = 1; */ public Builder putAllFiles( java.util.Map values) { internalGetMutableFiles().getMutableMap() .putAll(values); return this; } private com.google.appengine.v1.ContainerInfo container_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ContainerInfo, com.google.appengine.v1.ContainerInfo.Builder, com.google.appengine.v1.ContainerInfoOrBuilder> containerBuilder_; /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public boolean hasContainer() { return containerBuilder_ != null || container_ != null; } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public com.google.appengine.v1.ContainerInfo getContainer() { if (containerBuilder_ == null) { return container_ == null ? com.google.appengine.v1.ContainerInfo.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public Builder setContainer(com.google.appengine.v1.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } container_ = value; onChanged(); } else { containerBuilder_.setMessage(value); } return this; } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public Builder setContainer( com.google.appengine.v1.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); onChanged(); } else { containerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public Builder mergeContainer(com.google.appengine.v1.ContainerInfo value) { if (containerBuilder_ == null) { if (container_ != null) { container_ = com.google.appengine.v1.ContainerInfo.newBuilder(container_).mergeFrom(value).buildPartial(); } else { container_ = value; } onChanged(); } else { containerBuilder_.mergeFrom(value); } return this; } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = null; onChanged(); } else { container_ = null; containerBuilder_ = null; } return this; } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public com.google.appengine.v1.ContainerInfo.Builder getContainerBuilder() { onChanged(); return getContainerFieldBuilder().getBuilder(); } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ public com.google.appengine.v1.ContainerInfoOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { return container_ == null ? com.google.appengine.v1.ContainerInfo.getDefaultInstance() : container_; } } /** *
     * A Docker image that App Engine uses to run the version.
     * Only applicable for instances in App Engine flexible environment.
     * 
* * .google.appengine.v1.ContainerInfo container = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ContainerInfo, com.google.appengine.v1.ContainerInfo.Builder, com.google.appengine.v1.ContainerInfoOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ContainerInfo, com.google.appengine.v1.ContainerInfo.Builder, com.google.appengine.v1.ContainerInfoOrBuilder>( getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } private com.google.appengine.v1.ZipInfo zip_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ZipInfo, com.google.appengine.v1.ZipInfo.Builder, com.google.appengine.v1.ZipInfoOrBuilder> zipBuilder_; /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public boolean hasZip() { return zipBuilder_ != null || zip_ != null; } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public com.google.appengine.v1.ZipInfo getZip() { if (zipBuilder_ == null) { return zip_ == null ? com.google.appengine.v1.ZipInfo.getDefaultInstance() : zip_; } else { return zipBuilder_.getMessage(); } } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public Builder setZip(com.google.appengine.v1.ZipInfo value) { if (zipBuilder_ == null) { if (value == null) { throw new NullPointerException(); } zip_ = value; onChanged(); } else { zipBuilder_.setMessage(value); } return this; } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public Builder setZip( com.google.appengine.v1.ZipInfo.Builder builderForValue) { if (zipBuilder_ == null) { zip_ = builderForValue.build(); onChanged(); } else { zipBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public Builder mergeZip(com.google.appengine.v1.ZipInfo value) { if (zipBuilder_ == null) { if (zip_ != null) { zip_ = com.google.appengine.v1.ZipInfo.newBuilder(zip_).mergeFrom(value).buildPartial(); } else { zip_ = value; } onChanged(); } else { zipBuilder_.mergeFrom(value); } return this; } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public Builder clearZip() { if (zipBuilder_ == null) { zip_ = null; onChanged(); } else { zip_ = null; zipBuilder_ = null; } return this; } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public com.google.appengine.v1.ZipInfo.Builder getZipBuilder() { onChanged(); return getZipFieldBuilder().getBuilder(); } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ public com.google.appengine.v1.ZipInfoOrBuilder getZipOrBuilder() { if (zipBuilder_ != null) { return zipBuilder_.getMessageOrBuilder(); } else { return zip_ == null ? com.google.appengine.v1.ZipInfo.getDefaultInstance() : zip_; } } /** *
     * The zip file for this deployment, if this is a zip deployment.
     * 
* * .google.appengine.v1.ZipInfo zip = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ZipInfo, com.google.appengine.v1.ZipInfo.Builder, com.google.appengine.v1.ZipInfoOrBuilder> getZipFieldBuilder() { if (zipBuilder_ == null) { zipBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ZipInfo, com.google.appengine.v1.ZipInfo.Builder, com.google.appengine.v1.ZipInfoOrBuilder>( getZip(), getParentForChildren(), isClean()); zip_ = null; } return zipBuilder_; } 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:google.appengine.v1.Deployment) } // @@protoc_insertion_point(class_scope:google.appengine.v1.Deployment) private static final com.google.appengine.v1.Deployment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.v1.Deployment(); } public static com.google.appengine.v1.Deployment getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Deployment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Deployment(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.google.appengine.v1.Deployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy