Class CertificateMapEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder
- All Implemented Interfaces:
CertificateMapEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CertificateMapEntry
public static final class CertificateMapEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
implements CertificateMapEntryOrBuilder
Defines a certificate map entry.Protobuf type
google.cloud.certificatemanager.v1.CertificateMapEntry-
Method Summary
Modifier and TypeMethodDescriptionaddAllCertificates(Iterable<String> values) A set of Certificates defines for the given `hostname`.addCertificates(String value) A set of Certificates defines for the given `hostname`.addCertificatesBytes(com.google.protobuf.ByteString value) A set of Certificates defines for the given `hostname`.build()clear()A set of Certificates defines for the given `hostname`.Output only.One or more paragraphs of text description of a certificate map entry.A Hostname (FQDN, e.g.A predefined matcher for particular cases, other than SNI selection.A user-defined name of the Certificate Map Entry.Output only.Output only.booleancontainsLabels(String key) Set of labels associated with a Certificate Map Entry.getCertificates(int index) A set of Certificates defines for the given `hostname`.com.google.protobuf.ByteStringgetCertificatesBytes(int index) A set of Certificates defines for the given `hostname`.intA set of Certificates defines for the given `hostname`.com.google.protobuf.ProtocolStringListA set of Certificates defines for the given `hostname`.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.One or more paragraphs of text description of a certificate map entry.com.google.protobuf.ByteStringOne or more paragraphs of text description of a certificate map entry.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA Hostname (FQDN, e.g.com.google.protobuf.ByteStringA Hostname (FQDN, e.g.Deprecated.intSet of labels associated with a Certificate Map Entry.Set of labels associated with a Certificate Map Entry.getLabelsOrDefault(String key, String defaultValue) Set of labels associated with a Certificate Map Entry.getLabelsOrThrow(String key) Set of labels associated with a Certificate Map Entry.A predefined matcher for particular cases, other than SNI selection.intA predefined matcher for particular cases, other than SNI selection.Deprecated.getName()A user-defined name of the Certificate Map Entry.com.google.protobuf.ByteStringA user-defined name of the Certificate Map Entry.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanA Hostname (FQDN, e.g.booleanA predefined matcher for particular cases, other than SNI selection.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(CertificateMapEntry other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Set of labels associated with a Certificate Map Entry.Set of labels associated with a Certificate Map Entry.removeLabels(String key) Set of labels associated with a Certificate Map Entry.setCertificates(int index, String value) A set of Certificates defines for the given `hostname`.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) One or more paragraphs of text description of a certificate map entry.setDescriptionBytes(com.google.protobuf.ByteString value) One or more paragraphs of text description of a certificate map entry.setHostname(String value) A Hostname (FQDN, e.g.setHostnameBytes(com.google.protobuf.ByteString value) A Hostname (FQDN, e.g.A predefined matcher for particular cases, other than SNI selection.setMatcherValue(int value) A predefined matcher for particular cases, other than SNI selection.A user-defined name of the Certificate Map Entry.setNameBytes(com.google.protobuf.ByteString value) A user-defined name of the Certificate Map Entry.setState(ServingState value) Output only.setStateValue(int value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CertificateMapEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CertificateMapEntry.Builder>
-
mergeFrom
public CertificateMapEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CertificateMapEntry.Builder>- Throws:
IOException
-
getMatchCase
- Specified by:
getMatchCasein interfaceCertificateMapEntryOrBuilder
-
clearMatch
-
getName
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
string name = 1;- Specified by:
getNamein interfaceCertificateMapEntryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
string name = 1;- Specified by:
getNameBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for name.
-
setName
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
One or more paragraphs of text description of a certificate map entry.
string description = 9;- Specified by:
getDescriptionin interfaceCertificateMapEntryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()One or more paragraphs of text description of a certificate map entry.
string description = 9;- Specified by:
getDescriptionBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for description.
-
setDescription
One or more paragraphs of text description of a certificate map entry.
string description = 9;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
One or more paragraphs of text description of a certificate map entry.
string description = 9;- Returns:
- This builder for chaining.
-
setDescriptionBytes
One or more paragraphs of text description of a certificate map entry.
string description = 9;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public CertificateMapEntry.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCertificateMapEntryOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public CertificateMapEntry.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCertificateMapEntryOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CertificateMapEntryOrBuilderSet of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceCertificateMapEntryOrBuilder
-
containsLabels
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceCertificateMapEntryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCertificateMapEntryOrBuilder
-
getLabelsMap
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceCertificateMapEntryOrBuilder
-
getLabelsOrDefault
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceCertificateMapEntryOrBuilder
-
getLabelsOrThrow
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceCertificateMapEntryOrBuilder
-
clearLabels
-
removeLabels
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4; -
putAllLabels
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4; -
hasHostname
public boolean hasHostname()A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Specified by:
hasHostnamein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the hostname field is set.
-
getHostname
A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Specified by:
getHostnamein interfaceCertificateMapEntryOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Specified by:
getHostnameBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Returns:
- This builder for chaining.
-
setHostnameBytes
A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
string hostname = 5;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
hasMatcher
public boolean hasMatcher()A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
hasMatcherin interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcherValue
public int getMatcherValue()A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
getMatcherValuein interfaceCertificateMapEntryOrBuilder- Returns:
- The enum numeric value on the wire for matcher.
-
setMatcherValue
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Parameters:
value- The enum numeric value on the wire for matcher to set.- Returns:
- This builder for chaining.
-
getMatcher
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
getMatcherin interfaceCertificateMapEntryOrBuilder- Returns:
- The matcher.
-
setMatcher
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Parameters:
value- The matcher to set.- Returns:
- This builder for chaining.
-
clearMatcher
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Returns:
- This builder for chaining.
-
getCertificatesList
public com.google.protobuf.ProtocolStringList getCertificatesList()A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCertificatesListin interfaceCertificateMapEntryOrBuilder- Returns:
- A list containing the certificates.
-
getCertificatesCount
public int getCertificatesCount()A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCertificatesCountin interfaceCertificateMapEntryOrBuilder- Returns:
- The count of certificates.
-
getCertificates
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCertificatesin interfaceCertificateMapEntryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The certificates at the given index.
-
getCertificatesBytes
public com.google.protobuf.ByteString getCertificatesBytes(int index) A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCertificatesBytesin interfaceCertificateMapEntryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the certificates at the given index.
-
setCertificates
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The certificates to set.- Returns:
- This builder for chaining.
-
addCertificates
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The certificates to add.- Returns:
- This builder for chaining.
-
addAllCertificates
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Parameters:
values- The certificates to add.- Returns:
- This builder for chaining.
-
clearCertificates
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addCertificatesBytes
A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the certificates to add.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceCertificateMapEntryOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCertificateMapEntryOrBuilder- Returns:
- The state.
-
setState
Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-