
com.google.cloud.compute.v1.SslCertificateOrBuilder Maven / Gradle / Ivy
/*
* 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/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface SslCertificateOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SslCertificate)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
*
*
* optional string certificate = 341787031;
*
* @return Whether the certificate field is set.
*/
boolean hasCertificate();
/**
*
*
*
* A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
*
*
* optional string certificate = 341787031;
*
* @return The certificate.
*/
java.lang.String getCertificate();
/**
*
*
*
* A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
*
*
* optional string certificate = 341787031;
*
* @return The bytes for certificate.
*/
com.google.protobuf.ByteString getCertificateBytes();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The creationTimestamp.
*/
java.lang.String getCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The bytes for creationTimestamp.
*/
com.google.protobuf.ByteString getCreationTimestampBytes();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* [Output Only] Expire time of the certificate. RFC3339
*
*
* optional string expire_time = 440691181;
*
* @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
*
*
*
* [Output Only] Expire time of the certificate. RFC3339
*
*
* optional string expire_time = 440691181;
*
* @return The expireTime.
*/
java.lang.String getExpireTime();
/**
*
*
*
* [Output Only] Expire time of the certificate. RFC3339
*
*
* optional string expire_time = 440691181;
*
* @return The bytes for expireTime.
*/
com.google.protobuf.ByteString getExpireTimeBytes();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* Configuration and status of a managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
*
*
* @return Whether the managed field is set.
*/
boolean hasManaged();
/**
*
*
*
* Configuration and status of a managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
*
*
* @return The managed.
*/
com.google.cloud.compute.v1.SslCertificateManagedSslCertificate getManaged();
/**
*
*
*
* Configuration and status of a managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
*
*/
com.google.cloud.compute.v1.SslCertificateManagedSslCertificateOrBuilder getManagedOrBuilder();
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
*
*
* optional string name = 3373707;
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
*
*
* optional string name = 3373707;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
*
*
* optional string name = 3373707;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
*
*
* optional string private_key = 361331107;
*
* @return Whether the privateKey field is set.
*/
boolean hasPrivateKey();
/**
*
*
*
* A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
*
*
* optional string private_key = 361331107;
*
* @return The privateKey.
*/
java.lang.String getPrivateKey();
/**
*
*
*
* A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
*
*
* optional string private_key = 361331107;
*
* @return The bytes for privateKey.
*/
com.google.protobuf.ByteString getPrivateKeyBytes();
/**
*
*
*
* [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
*
*
* optional string region = 138946292;
*
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
*
*
*
* [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
*
*
* optional string region = 138946292;
*
* @return The region.
*/
java.lang.String getRegion();
/**
*
*
*
* [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
*
*
* optional string region = 138946292;
*
* @return The bytes for region.
*/
com.google.protobuf.ByteString getRegionBytes();
/**
*
*
*
* [Output only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output only] Server-defined URL for the resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
/**
*
*
*
* Configuration and status of a self-managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
*
*
* @return Whether the selfManaged field is set.
*/
boolean hasSelfManaged();
/**
*
*
*
* Configuration and status of a self-managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
*
*
* @return The selfManaged.
*/
com.google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate getSelfManaged();
/**
*
*
*
* Configuration and status of a self-managed SSL certificate.
*
*
*
* optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
*
*/
com.google.cloud.compute.v1.SslCertificateSelfManagedSslCertificateOrBuilder
getSelfManagedOrBuilder();
/**
*
*
*
* [Output Only] Domains associated with the certificate via Subject Alternative Name.
*
*
* repeated string subject_alternative_names = 528807907;
*
* @return A list containing the subjectAlternativeNames.
*/
java.util.List getSubjectAlternativeNamesList();
/**
*
*
*
* [Output Only] Domains associated with the certificate via Subject Alternative Name.
*
*
* repeated string subject_alternative_names = 528807907;
*
* @return The count of subjectAlternativeNames.
*/
int getSubjectAlternativeNamesCount();
/**
*
*
*
* [Output Only] Domains associated with the certificate via Subject Alternative Name.
*
*
* repeated string subject_alternative_names = 528807907;
*
* @param index The index of the element to return.
* @return The subjectAlternativeNames at the given index.
*/
java.lang.String getSubjectAlternativeNames(int index);
/**
*
*
*
* [Output Only] Domains associated with the certificate via Subject Alternative Name.
*
*
* repeated string subject_alternative_names = 528807907;
*
* @param index The index of the value to return.
* @return The bytes of the subjectAlternativeNames at the given index.
*/
com.google.protobuf.ByteString getSubjectAlternativeNamesBytes(int index);
/**
*
*
*
* (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
*
*
* (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy