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

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

There is a newer version: 2.54.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/appengine/v1/certificate.proto

// Protobuf Java Version: 3.25.4
package com.google.appengine.v1;

/**
 *
 *
 * 
 * An SSL certificate that a user has been authorized to administer. A user
 * is authorized to administer any certificate that applies to one of their
 * authorized domains.
 * 
* * Protobuf type {@code google.appengine.v1.AuthorizedCertificate} */ public final class AuthorizedCertificate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.appengine.v1.AuthorizedCertificate) AuthorizedCertificateOrBuilder { private static final long serialVersionUID = 0L; // Use AuthorizedCertificate.newBuilder() to construct. private AuthorizedCertificate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AuthorizedCertificate() { name_ = ""; id_ = ""; displayName_ = ""; domainNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); visibleDomainMappings_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizedCertificate(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.v1.CertificateProto .internal_static_google_appengine_v1_AuthorizedCertificate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.v1.CertificateProto .internal_static_google_appengine_v1_AuthorizedCertificate_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.v1.AuthorizedCertificate.class, com.google.appengine.v1.AuthorizedCertificate.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * * *
   * Full path to the `AuthorizedCertificate` resource in the API. Example:
   * `apps/myapp/authorizedCertificates/12345`.
   *
   * @OutputOnly
   * 
* * string name = 1; * * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * * *
   * Full path to the `AuthorizedCertificate` resource in the API. Example:
   * `apps/myapp/authorizedCertificates/12345`.
   *
   * @OutputOnly
   * 
* * string name = 1; * * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** * * *
   * Relative name of the certificate. This is a unique value autogenerated
   * on `AuthorizedCertificate` resource creation. Example: `12345`.
   *
   * @OutputOnly
   * 
* * string id = 2; * * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** * * *
   * Relative name of the certificate. This is a unique value autogenerated
   * on `AuthorizedCertificate` resource creation. Example: `12345`.
   *
   * @OutputOnly
   * 
* * string id = 2; * * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** * * *
   * The user-specified display name of the certificate. This is not
   * guaranteed to be unique. Example: `My Certificate`.
   * 
* * string display_name = 3; * * @return The displayName. */ @java.lang.Override public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; 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(); displayName_ = s; return s; } } /** * * *
   * The user-specified display name of the certificate. This is not
   * guaranteed to be unique. Example: `My Certificate`.
   * 
* * string display_name = 3; * * @return The bytes for displayName. */ @java.lang.Override public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOMAIN_NAMES_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList domainNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
   * Topmost applicable domains of this certificate. This certificate
   * applies to these domains and their subdomains. Example: `example.com`.
   *
   * @OutputOnly
   * 
* * repeated string domain_names = 4; * * @return A list containing the domainNames. */ public com.google.protobuf.ProtocolStringList getDomainNamesList() { return domainNames_; } /** * * *
   * Topmost applicable domains of this certificate. This certificate
   * applies to these domains and their subdomains. Example: `example.com`.
   *
   * @OutputOnly
   * 
* * repeated string domain_names = 4; * * @return The count of domainNames. */ public int getDomainNamesCount() { return domainNames_.size(); } /** * * *
   * Topmost applicable domains of this certificate. This certificate
   * applies to these domains and their subdomains. Example: `example.com`.
   *
   * @OutputOnly
   * 
* * repeated string domain_names = 4; * * @param index The index of the element to return. * @return The domainNames at the given index. */ public java.lang.String getDomainNames(int index) { return domainNames_.get(index); } /** * * *
   * Topmost applicable domains of this certificate. This certificate
   * applies to these domains and their subdomains. Example: `example.com`.
   *
   * @OutputOnly
   * 
* * repeated string domain_names = 4; * * @param index The index of the value to return. * @return The bytes of the domainNames at the given index. */ public com.google.protobuf.ByteString getDomainNamesBytes(int index) { return domainNames_.getByteString(index); } public static final int EXPIRE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp expireTime_; /** * * *
   * The time when this certificate expires. To update the renewal time on this
   * certificate, upload an SSL certificate with a different expiration time
   * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
   *
   * @OutputOnly
   * 
* * .google.protobuf.Timestamp expire_time = 5; * * @return Whether the expireTime field is set. */ @java.lang.Override public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * The time when this certificate expires. To update the renewal time on this
   * certificate, upload an SSL certificate with a different expiration time
   * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
   *
   * @OutputOnly
   * 
* * .google.protobuf.Timestamp expire_time = 5; * * @return The expireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** * * *
   * The time when this certificate expires. To update the renewal time on this
   * certificate, upload an SSL certificate with a different expiration time
   * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
   *
   * @OutputOnly
   * 
* * .google.protobuf.Timestamp expire_time = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } public static final int CERTIFICATE_RAW_DATA_FIELD_NUMBER = 6; private com.google.appengine.v1.CertificateRawData certificateRawData_; /** * * *
   * The SSL certificate serving the `AuthorizedCertificate` resource. This
   * must be obtained independently from a certificate authority.
   * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; * * @return Whether the certificateRawData field is set. */ @java.lang.Override public boolean hasCertificateRawData() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * The SSL certificate serving the `AuthorizedCertificate` resource. This
   * must be obtained independently from a certificate authority.
   * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; * * @return The certificateRawData. */ @java.lang.Override public com.google.appengine.v1.CertificateRawData getCertificateRawData() { return certificateRawData_ == null ? com.google.appengine.v1.CertificateRawData.getDefaultInstance() : certificateRawData_; } /** * * *
   * The SSL certificate serving the `AuthorizedCertificate` resource. This
   * must be obtained independently from a certificate authority.
   * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ @java.lang.Override public com.google.appengine.v1.CertificateRawDataOrBuilder getCertificateRawDataOrBuilder() { return certificateRawData_ == null ? com.google.appengine.v1.CertificateRawData.getDefaultInstance() : certificateRawData_; } public static final int MANAGED_CERTIFICATE_FIELD_NUMBER = 7; private com.google.appengine.v1.ManagedCertificate managedCertificate_; /** * * *
   * Only applicable if this certificate is managed by App Engine. Managed
   * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
   * updated or deleted via the `AuthorizedCertificates` API. If this
   * certificate is manually administered by the user, this field will be empty.
   *
   * @OutputOnly
   * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; * * @return Whether the managedCertificate field is set. */ @java.lang.Override public boolean hasManagedCertificate() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * Only applicable if this certificate is managed by App Engine. Managed
   * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
   * updated or deleted via the `AuthorizedCertificates` API. If this
   * certificate is manually administered by the user, this field will be empty.
   *
   * @OutputOnly
   * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; * * @return The managedCertificate. */ @java.lang.Override public com.google.appengine.v1.ManagedCertificate getManagedCertificate() { return managedCertificate_ == null ? com.google.appengine.v1.ManagedCertificate.getDefaultInstance() : managedCertificate_; } /** * * *
   * Only applicable if this certificate is managed by App Engine. Managed
   * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
   * updated or deleted via the `AuthorizedCertificates` API. If this
   * certificate is manually administered by the user, this field will be empty.
   *
   * @OutputOnly
   * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ @java.lang.Override public com.google.appengine.v1.ManagedCertificateOrBuilder getManagedCertificateOrBuilder() { return managedCertificate_ == null ? com.google.appengine.v1.ManagedCertificate.getDefaultInstance() : managedCertificate_; } public static final int VISIBLE_DOMAIN_MAPPINGS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList visibleDomainMappings_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * * *
   * The full paths to user visible Domain Mapping resources that have this
   * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
   *
   * This may not represent the full list of mapped domain mappings if the user
   * does not have `VIEWER` permissions on all of the applications that have
   * this certificate mapped. See `domain_mappings_count` for a complete count.
   *
   * Only returned by `GET` or `LIST` requests when specifically requested by
   * the `view=FULL_CERTIFICATE` option.
   *
   * @OutputOnly
   * 
* * repeated string visible_domain_mappings = 8; * * @return A list containing the visibleDomainMappings. */ public com.google.protobuf.ProtocolStringList getVisibleDomainMappingsList() { return visibleDomainMappings_; } /** * * *
   * The full paths to user visible Domain Mapping resources that have this
   * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
   *
   * This may not represent the full list of mapped domain mappings if the user
   * does not have `VIEWER` permissions on all of the applications that have
   * this certificate mapped. See `domain_mappings_count` for a complete count.
   *
   * Only returned by `GET` or `LIST` requests when specifically requested by
   * the `view=FULL_CERTIFICATE` option.
   *
   * @OutputOnly
   * 
* * repeated string visible_domain_mappings = 8; * * @return The count of visibleDomainMappings. */ public int getVisibleDomainMappingsCount() { return visibleDomainMappings_.size(); } /** * * *
   * The full paths to user visible Domain Mapping resources that have this
   * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
   *
   * This may not represent the full list of mapped domain mappings if the user
   * does not have `VIEWER` permissions on all of the applications that have
   * this certificate mapped. See `domain_mappings_count` for a complete count.
   *
   * Only returned by `GET` or `LIST` requests when specifically requested by
   * the `view=FULL_CERTIFICATE` option.
   *
   * @OutputOnly
   * 
* * repeated string visible_domain_mappings = 8; * * @param index The index of the element to return. * @return The visibleDomainMappings at the given index. */ public java.lang.String getVisibleDomainMappings(int index) { return visibleDomainMappings_.get(index); } /** * * *
   * The full paths to user visible Domain Mapping resources that have this
   * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
   *
   * This may not represent the full list of mapped domain mappings if the user
   * does not have `VIEWER` permissions on all of the applications that have
   * this certificate mapped. See `domain_mappings_count` for a complete count.
   *
   * Only returned by `GET` or `LIST` requests when specifically requested by
   * the `view=FULL_CERTIFICATE` option.
   *
   * @OutputOnly
   * 
* * repeated string visible_domain_mappings = 8; * * @param index The index of the value to return. * @return The bytes of the visibleDomainMappings at the given index. */ public com.google.protobuf.ByteString getVisibleDomainMappingsBytes(int index) { return visibleDomainMappings_.getByteString(index); } public static final int DOMAIN_MAPPINGS_COUNT_FIELD_NUMBER = 9; private int domainMappingsCount_ = 0; /** * * *
   * Aggregate count of the domain mappings with this certificate mapped. This
   * count includes domain mappings on applications for which the user does not
   * have `VIEWER` permissions.
   *
   * Only returned by `GET` or `LIST` requests when specifically requested by
   * the `view=FULL_CERTIFICATE` option.
   *
   * @OutputOnly
   * 
* * int32 domain_mappings_count = 9; * * @return The domainMappingsCount. */ @java.lang.Override public int getDomainMappingsCount() { return domainMappingsCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_); } for (int i = 0; i < domainNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, domainNames_.getRaw(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getExpireTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getCertificateRawData()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getManagedCertificate()); } for (int i = 0; i < visibleDomainMappings_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString( output, 8, visibleDomainMappings_.getRaw(i)); } if (domainMappingsCount_ != 0) { output.writeInt32(9, domainMappingsCount_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } { int dataSize = 0; for (int i = 0; i < domainNames_.size(); i++) { dataSize += computeStringSizeNoTag(domainNames_.getRaw(i)); } size += dataSize; size += 1 * getDomainNamesList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExpireTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCertificateRawData()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getManagedCertificate()); } { int dataSize = 0; for (int i = 0; i < visibleDomainMappings_.size(); i++) { dataSize += computeStringSizeNoTag(visibleDomainMappings_.getRaw(i)); } size += dataSize; size += 1 * getVisibleDomainMappingsList().size(); } if (domainMappingsCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, domainMappingsCount_); } 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.v1.AuthorizedCertificate)) { return super.equals(obj); } com.google.appengine.v1.AuthorizedCertificate other = (com.google.appengine.v1.AuthorizedCertificate) obj; if (!getName().equals(other.getName())) return false; if (!getId().equals(other.getId())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDomainNamesList().equals(other.getDomainNamesList())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { if (!getExpireTime().equals(other.getExpireTime())) return false; } if (hasCertificateRawData() != other.hasCertificateRawData()) return false; if (hasCertificateRawData()) { if (!getCertificateRawData().equals(other.getCertificateRawData())) return false; } if (hasManagedCertificate() != other.hasManagedCertificate()) return false; if (hasManagedCertificate()) { if (!getManagedCertificate().equals(other.getManagedCertificate())) return false; } if (!getVisibleDomainMappingsList().equals(other.getVisibleDomainMappingsList())) return false; if (getDomainMappingsCount() != other.getDomainMappingsCount()) 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(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); if (getDomainNamesCount() > 0) { hash = (37 * hash) + DOMAIN_NAMES_FIELD_NUMBER; hash = (53 * hash) + getDomainNamesList().hashCode(); } if (hasExpireTime()) { hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpireTime().hashCode(); } if (hasCertificateRawData()) { hash = (37 * hash) + CERTIFICATE_RAW_DATA_FIELD_NUMBER; hash = (53 * hash) + getCertificateRawData().hashCode(); } if (hasManagedCertificate()) { hash = (37 * hash) + MANAGED_CERTIFICATE_FIELD_NUMBER; hash = (53 * hash) + getManagedCertificate().hashCode(); } if (getVisibleDomainMappingsCount() > 0) { hash = (37 * hash) + VISIBLE_DOMAIN_MAPPINGS_FIELD_NUMBER; hash = (53 * hash) + getVisibleDomainMappingsList().hashCode(); } hash = (37 * hash) + DOMAIN_MAPPINGS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDomainMappingsCount(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.appengine.v1.AuthorizedCertificate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.AuthorizedCertificate 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.AuthorizedCertificate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.AuthorizedCertificate 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.AuthorizedCertificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.appengine.v1.AuthorizedCertificate parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.appengine.v1.AuthorizedCertificate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.appengine.v1.AuthorizedCertificate 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.AuthorizedCertificate parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.appengine.v1.AuthorizedCertificate 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.AuthorizedCertificate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.appengine.v1.AuthorizedCertificate 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.v1.AuthorizedCertificate 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; } /** * * *
   * An SSL certificate that a user has been authorized to administer. A user
   * is authorized to administer any certificate that applies to one of their
   * authorized domains.
   * 
* * Protobuf type {@code google.appengine.v1.AuthorizedCertificate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.appengine.v1.AuthorizedCertificate) com.google.appengine.v1.AuthorizedCertificateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.appengine.v1.CertificateProto .internal_static_google_appengine_v1_AuthorizedCertificate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.appengine.v1.CertificateProto .internal_static_google_appengine_v1_AuthorizedCertificate_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.appengine.v1.AuthorizedCertificate.class, com.google.appengine.v1.AuthorizedCertificate.Builder.class); } // Construct using com.google.appengine.v1.AuthorizedCertificate.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); getCertificateRawDataFieldBuilder(); getManagedCertificateFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; id_ = ""; displayName_ = ""; domainNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); expireTime_ = null; if (expireTimeBuilder_ != null) { expireTimeBuilder_.dispose(); expireTimeBuilder_ = null; } certificateRawData_ = null; if (certificateRawDataBuilder_ != null) { certificateRawDataBuilder_.dispose(); certificateRawDataBuilder_ = null; } managedCertificate_ = null; if (managedCertificateBuilder_ != null) { managedCertificateBuilder_.dispose(); managedCertificateBuilder_ = null; } visibleDomainMappings_ = com.google.protobuf.LazyStringArrayList.emptyList(); domainMappingsCount_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.appengine.v1.CertificateProto .internal_static_google_appengine_v1_AuthorizedCertificate_descriptor; } @java.lang.Override public com.google.appengine.v1.AuthorizedCertificate getDefaultInstanceForType() { return com.google.appengine.v1.AuthorizedCertificate.getDefaultInstance(); } @java.lang.Override public com.google.appengine.v1.AuthorizedCertificate build() { com.google.appengine.v1.AuthorizedCertificate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.appengine.v1.AuthorizedCertificate buildPartial() { com.google.appengine.v1.AuthorizedCertificate result = new com.google.appengine.v1.AuthorizedCertificate(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.appengine.v1.AuthorizedCertificate result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.id_ = id_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000008) != 0)) { domainNames_.makeImmutable(); result.domainNames_ = domainNames_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.certificateRawData_ = certificateRawDataBuilder_ == null ? certificateRawData_ : certificateRawDataBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.managedCertificate_ = managedCertificateBuilder_ == null ? managedCertificate_ : managedCertificateBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { visibleDomainMappings_.makeImmutable(); result.visibleDomainMappings_ = visibleDomainMappings_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.domainMappingsCount_ = domainMappingsCount_; } 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.v1.AuthorizedCertificate) { return mergeFrom((com.google.appengine.v1.AuthorizedCertificate) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.appengine.v1.AuthorizedCertificate other) { if (other == com.google.appengine.v1.AuthorizedCertificate.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.domainNames_.isEmpty()) { if (domainNames_.isEmpty()) { domainNames_ = other.domainNames_; bitField0_ |= 0x00000008; } else { ensureDomainNamesIsMutable(); domainNames_.addAll(other.domainNames_); } onChanged(); } if (other.hasExpireTime()) { mergeExpireTime(other.getExpireTime()); } if (other.hasCertificateRawData()) { mergeCertificateRawData(other.getCertificateRawData()); } if (other.hasManagedCertificate()) { mergeManagedCertificate(other.getManagedCertificate()); } if (!other.visibleDomainMappings_.isEmpty()) { if (visibleDomainMappings_.isEmpty()) { visibleDomainMappings_ = other.visibleDomainMappings_; bitField0_ |= 0x00000080; } else { ensureVisibleDomainMappingsIsMutable(); visibleDomainMappings_.addAll(other.visibleDomainMappings_); } onChanged(); } if (other.getDomainMappingsCount() != 0) { setDomainMappingsCount(other.getDomainMappingsCount()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { id_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { displayName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureDomainNamesIsMutable(); domainNames_.add(s); break; } // case 34 case 42: { input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getCertificateRawDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getManagedCertificateFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensureVisibleDomainMappingsIsMutable(); visibleDomainMappings_.add(s); break; } // case 66 case 72: { domainMappingsCount_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 72 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 name_ = ""; /** * * *
     * Full path to the `AuthorizedCertificate` resource in the API. Example:
     * `apps/myapp/authorizedCertificates/12345`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Full path to the `AuthorizedCertificate` resource in the API. Example:
     * `apps/myapp/authorizedCertificates/12345`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Full path to the `AuthorizedCertificate` resource in the API. Example:
     * `apps/myapp/authorizedCertificates/12345`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @param value The name to set. * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Full path to the `AuthorizedCertificate` resource in the API. Example:
     * `apps/myapp/authorizedCertificates/12345`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * Full path to the `AuthorizedCertificate` resource in the API. Example:
     * `apps/myapp/authorizedCertificates/12345`.
     *
     * @OutputOnly
     * 
* * string name = 1; * * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object id_ = ""; /** * * *
     * Relative name of the certificate. This is a unique value autogenerated
     * on `AuthorizedCertificate` resource creation. Example: `12345`.
     *
     * @OutputOnly
     * 
* * string id = 2; * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Relative name of the certificate. This is a unique value autogenerated
     * on `AuthorizedCertificate` resource creation. Example: `12345`.
     *
     * @OutputOnly
     * 
* * string id = 2; * * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Relative name of the certificate. This is a unique value autogenerated
     * on `AuthorizedCertificate` resource creation. Example: `12345`.
     *
     * @OutputOnly
     * 
* * string id = 2; * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Relative name of the certificate. This is a unique value autogenerated
     * on `AuthorizedCertificate` resource creation. Example: `12345`.
     *
     * @OutputOnly
     * 
* * string id = 2; * * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
     * Relative name of the certificate. This is a unique value autogenerated
     * on `AuthorizedCertificate` resource creation. Example: `12345`.
     *
     * @OutputOnly
     * 
* * string id = 2; * * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object displayName_ = ""; /** * * *
     * The user-specified display name of the certificate. This is not
     * guaranteed to be unique. Example: `My Certificate`.
     * 
* * string display_name = 3; * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * The user-specified display name of the certificate. This is not
     * guaranteed to be unique. Example: `My Certificate`.
     * 
* * string display_name = 3; * * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * The user-specified display name of the certificate. This is not
     * guaranteed to be unique. Example: `My Certificate`.
     * 
* * string display_name = 3; * * @param value The displayName to set. * @return This builder for chaining. */ public Builder setDisplayName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * The user-specified display name of the certificate. This is not
     * guaranteed to be unique. Example: `My Certificate`.
     * 
* * string display_name = 3; * * @return This builder for chaining. */ public Builder clearDisplayName() { displayName_ = getDefaultInstance().getDisplayName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * * *
     * The user-specified display name of the certificate. This is not
     * guaranteed to be unique. Example: `My Certificate`.
     * 
* * string display_name = 3; * * @param value The bytes for displayName to set. * @return This builder for chaining. */ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList domainNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDomainNamesIsMutable() { if (!domainNames_.isModifiable()) { domainNames_ = new com.google.protobuf.LazyStringArrayList(domainNames_); } bitField0_ |= 0x00000008; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @return A list containing the domainNames. */ public com.google.protobuf.ProtocolStringList getDomainNamesList() { domainNames_.makeImmutable(); return domainNames_; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @return The count of domainNames. */ public int getDomainNamesCount() { return domainNames_.size(); } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param index The index of the element to return. * @return The domainNames at the given index. */ public java.lang.String getDomainNames(int index) { return domainNames_.get(index); } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param index The index of the value to return. * @return The bytes of the domainNames at the given index. */ public com.google.protobuf.ByteString getDomainNamesBytes(int index) { return domainNames_.getByteString(index); } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param index The index to set the value at. * @param value The domainNames to set. * @return This builder for chaining. */ public Builder setDomainNames(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDomainNamesIsMutable(); domainNames_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param value The domainNames to add. * @return This builder for chaining. */ public Builder addDomainNames(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDomainNamesIsMutable(); domainNames_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param values The domainNames to add. * @return This builder for chaining. */ public Builder addAllDomainNames(java.lang.Iterable values) { ensureDomainNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, domainNames_); bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @return This builder for chaining. */ public Builder clearDomainNames() { domainNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); ; onChanged(); return this; } /** * * *
     * Topmost applicable domains of this certificate. This certificate
     * applies to these domains and their subdomains. Example: `example.com`.
     *
     * @OutputOnly
     * 
* * repeated string domain_names = 4; * * @param value The bytes of the domainNames to add. * @return This builder for chaining. */ public Builder addDomainNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDomainNamesIsMutable(); domainNames_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expireTime_ = value; } else { expireTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { expireTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && expireTime_ != null && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; } } else { expireTimeBuilder_.mergeFrom(value); } if (expireTime_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000010); expireTime_ = null; if (expireTimeBuilder_ != null) { expireTimeBuilder_.dispose(); expireTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** * * *
     * The time when this certificate expires. To update the renewal time on this
     * certificate, upload an SSL certificate with a different expiration time
     * using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
     *
     * @OutputOnly
     * 
* * .google.protobuf.Timestamp expire_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; } private com.google.appengine.v1.CertificateRawData certificateRawData_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.CertificateRawData, com.google.appengine.v1.CertificateRawData.Builder, com.google.appengine.v1.CertificateRawDataOrBuilder> certificateRawDataBuilder_; /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; * * @return Whether the certificateRawData field is set. */ public boolean hasCertificateRawData() { return ((bitField0_ & 0x00000020) != 0); } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; * * @return The certificateRawData. */ public com.google.appengine.v1.CertificateRawData getCertificateRawData() { if (certificateRawDataBuilder_ == null) { return certificateRawData_ == null ? com.google.appengine.v1.CertificateRawData.getDefaultInstance() : certificateRawData_; } else { return certificateRawDataBuilder_.getMessage(); } } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public Builder setCertificateRawData(com.google.appengine.v1.CertificateRawData value) { if (certificateRawDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } certificateRawData_ = value; } else { certificateRawDataBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public Builder setCertificateRawData( com.google.appengine.v1.CertificateRawData.Builder builderForValue) { if (certificateRawDataBuilder_ == null) { certificateRawData_ = builderForValue.build(); } else { certificateRawDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public Builder mergeCertificateRawData(com.google.appengine.v1.CertificateRawData value) { if (certificateRawDataBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && certificateRawData_ != null && certificateRawData_ != com.google.appengine.v1.CertificateRawData.getDefaultInstance()) { getCertificateRawDataBuilder().mergeFrom(value); } else { certificateRawData_ = value; } } else { certificateRawDataBuilder_.mergeFrom(value); } if (certificateRawData_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public Builder clearCertificateRawData() { bitField0_ = (bitField0_ & ~0x00000020); certificateRawData_ = null; if (certificateRawDataBuilder_ != null) { certificateRawDataBuilder_.dispose(); certificateRawDataBuilder_ = null; } onChanged(); return this; } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public com.google.appengine.v1.CertificateRawData.Builder getCertificateRawDataBuilder() { bitField0_ |= 0x00000020; onChanged(); return getCertificateRawDataFieldBuilder().getBuilder(); } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ public com.google.appengine.v1.CertificateRawDataOrBuilder getCertificateRawDataOrBuilder() { if (certificateRawDataBuilder_ != null) { return certificateRawDataBuilder_.getMessageOrBuilder(); } else { return certificateRawData_ == null ? com.google.appengine.v1.CertificateRawData.getDefaultInstance() : certificateRawData_; } } /** * * *
     * The SSL certificate serving the `AuthorizedCertificate` resource. This
     * must be obtained independently from a certificate authority.
     * 
* * .google.appengine.v1.CertificateRawData certificate_raw_data = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.CertificateRawData, com.google.appengine.v1.CertificateRawData.Builder, com.google.appengine.v1.CertificateRawDataOrBuilder> getCertificateRawDataFieldBuilder() { if (certificateRawDataBuilder_ == null) { certificateRawDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.CertificateRawData, com.google.appengine.v1.CertificateRawData.Builder, com.google.appengine.v1.CertificateRawDataOrBuilder>( getCertificateRawData(), getParentForChildren(), isClean()); certificateRawData_ = null; } return certificateRawDataBuilder_; } private com.google.appengine.v1.ManagedCertificate managedCertificate_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ManagedCertificate, com.google.appengine.v1.ManagedCertificate.Builder, com.google.appengine.v1.ManagedCertificateOrBuilder> managedCertificateBuilder_; /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; * * @return Whether the managedCertificate field is set. */ public boolean hasManagedCertificate() { return ((bitField0_ & 0x00000040) != 0); } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; * * @return The managedCertificate. */ public com.google.appengine.v1.ManagedCertificate getManagedCertificate() { if (managedCertificateBuilder_ == null) { return managedCertificate_ == null ? com.google.appengine.v1.ManagedCertificate.getDefaultInstance() : managedCertificate_; } else { return managedCertificateBuilder_.getMessage(); } } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public Builder setManagedCertificate(com.google.appengine.v1.ManagedCertificate value) { if (managedCertificateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } managedCertificate_ = value; } else { managedCertificateBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public Builder setManagedCertificate( com.google.appengine.v1.ManagedCertificate.Builder builderForValue) { if (managedCertificateBuilder_ == null) { managedCertificate_ = builderForValue.build(); } else { managedCertificateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public Builder mergeManagedCertificate(com.google.appengine.v1.ManagedCertificate value) { if (managedCertificateBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && managedCertificate_ != null && managedCertificate_ != com.google.appengine.v1.ManagedCertificate.getDefaultInstance()) { getManagedCertificateBuilder().mergeFrom(value); } else { managedCertificate_ = value; } } else { managedCertificateBuilder_.mergeFrom(value); } if (managedCertificate_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public Builder clearManagedCertificate() { bitField0_ = (bitField0_ & ~0x00000040); managedCertificate_ = null; if (managedCertificateBuilder_ != null) { managedCertificateBuilder_.dispose(); managedCertificateBuilder_ = null; } onChanged(); return this; } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public com.google.appengine.v1.ManagedCertificate.Builder getManagedCertificateBuilder() { bitField0_ |= 0x00000040; onChanged(); return getManagedCertificateFieldBuilder().getBuilder(); } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ public com.google.appengine.v1.ManagedCertificateOrBuilder getManagedCertificateOrBuilder() { if (managedCertificateBuilder_ != null) { return managedCertificateBuilder_.getMessageOrBuilder(); } else { return managedCertificate_ == null ? com.google.appengine.v1.ManagedCertificate.getDefaultInstance() : managedCertificate_; } } /** * * *
     * Only applicable if this certificate is managed by App Engine. Managed
     * certificates are tied to the lifecycle of a `DomainMapping` and cannot be
     * updated or deleted via the `AuthorizedCertificates` API. If this
     * certificate is manually administered by the user, this field will be empty.
     *
     * @OutputOnly
     * 
* * .google.appengine.v1.ManagedCertificate managed_certificate = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ManagedCertificate, com.google.appengine.v1.ManagedCertificate.Builder, com.google.appengine.v1.ManagedCertificateOrBuilder> getManagedCertificateFieldBuilder() { if (managedCertificateBuilder_ == null) { managedCertificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.ManagedCertificate, com.google.appengine.v1.ManagedCertificate.Builder, com.google.appengine.v1.ManagedCertificateOrBuilder>( getManagedCertificate(), getParentForChildren(), isClean()); managedCertificate_ = null; } return managedCertificateBuilder_; } private com.google.protobuf.LazyStringArrayList visibleDomainMappings_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureVisibleDomainMappingsIsMutable() { if (!visibleDomainMappings_.isModifiable()) { visibleDomainMappings_ = new com.google.protobuf.LazyStringArrayList(visibleDomainMappings_); } bitField0_ |= 0x00000080; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @return A list containing the visibleDomainMappings. */ public com.google.protobuf.ProtocolStringList getVisibleDomainMappingsList() { visibleDomainMappings_.makeImmutable(); return visibleDomainMappings_; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @return The count of visibleDomainMappings. */ public int getVisibleDomainMappingsCount() { return visibleDomainMappings_.size(); } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param index The index of the element to return. * @return The visibleDomainMappings at the given index. */ public java.lang.String getVisibleDomainMappings(int index) { return visibleDomainMappings_.get(index); } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param index The index of the value to return. * @return The bytes of the visibleDomainMappings at the given index. */ public com.google.protobuf.ByteString getVisibleDomainMappingsBytes(int index) { return visibleDomainMappings_.getByteString(index); } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param index The index to set the value at. * @param value The visibleDomainMappings to set. * @return This builder for chaining. */ public Builder setVisibleDomainMappings(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVisibleDomainMappingsIsMutable(); visibleDomainMappings_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param value The visibleDomainMappings to add. * @return This builder for chaining. */ public Builder addVisibleDomainMappings(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVisibleDomainMappingsIsMutable(); visibleDomainMappings_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param values The visibleDomainMappings to add. * @return This builder for chaining. */ public Builder addAllVisibleDomainMappings(java.lang.Iterable values) { ensureVisibleDomainMappingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, visibleDomainMappings_); bitField0_ |= 0x00000080; onChanged(); return this; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @return This builder for chaining. */ public Builder clearVisibleDomainMappings() { visibleDomainMappings_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); ; onChanged(); return this; } /** * * *
     * The full paths to user visible Domain Mapping resources that have this
     * certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
     *
     * This may not represent the full list of mapped domain mappings if the user
     * does not have `VIEWER` permissions on all of the applications that have
     * this certificate mapped. See `domain_mappings_count` for a complete count.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * repeated string visible_domain_mappings = 8; * * @param value The bytes of the visibleDomainMappings to add. * @return This builder for chaining. */ public Builder addVisibleDomainMappingsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureVisibleDomainMappingsIsMutable(); visibleDomainMappings_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private int domainMappingsCount_; /** * * *
     * Aggregate count of the domain mappings with this certificate mapped. This
     * count includes domain mappings on applications for which the user does not
     * have `VIEWER` permissions.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * int32 domain_mappings_count = 9; * * @return The domainMappingsCount. */ @java.lang.Override public int getDomainMappingsCount() { return domainMappingsCount_; } /** * * *
     * Aggregate count of the domain mappings with this certificate mapped. This
     * count includes domain mappings on applications for which the user does not
     * have `VIEWER` permissions.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * int32 domain_mappings_count = 9; * * @param value The domainMappingsCount to set. * @return This builder for chaining. */ public Builder setDomainMappingsCount(int value) { domainMappingsCount_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * * *
     * Aggregate count of the domain mappings with this certificate mapped. This
     * count includes domain mappings on applications for which the user does not
     * have `VIEWER` permissions.
     *
     * Only returned by `GET` or `LIST` requests when specifically requested by
     * the `view=FULL_CERTIFICATE` option.
     *
     * @OutputOnly
     * 
* * int32 domain_mappings_count = 9; * * @return This builder for chaining. */ public Builder clearDomainMappingsCount() { bitField0_ = (bitField0_ & ~0x00000100); domainMappingsCount_ = 0; 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:google.appengine.v1.AuthorizedCertificate) } // @@protoc_insertion_point(class_scope:google.appengine.v1.AuthorizedCertificate) private static final com.google.appengine.v1.AuthorizedCertificate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.appengine.v1.AuthorizedCertificate(); } public static com.google.appengine.v1.AuthorizedCertificate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AuthorizedCertificate 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.v1.AuthorizedCertificate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy