Class MtlsAuthSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MtlsAuthSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
io.temporal.api.cloud.namespace.v1.MtlsAuthSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MtlsAuthSpecOrBuilder,Cloneable
- Enclosing class:
MtlsAuthSpec
public static final class MtlsAuthSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
implements MtlsAuthSpecOrBuilder
Protobuf type
temporal.api.cloud.namespace.v1.MtlsAuthSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllCertificateFilters(Iterable<? extends CertificateFilterSpec> values) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.addCertificateFilters(int index, CertificateFilterSpec value) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.addCertificateFilters(int index, CertificateFilterSpec.Builder builderForValue) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.addCertificateFilters(CertificateFilterSpec.Builder builderForValue) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.addCertificateFiltersBuilder(int index) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ca cert(s) in PEM format that the clients can use for authentication and authorization.Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated.Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.Flag to enable mTLS auth (default: disabled).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()com.google.protobuf.ByteStringThe ca cert(s) in PEM format that the clients can use for authentication and authorization.Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated.getCertificateFilters(int index) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.getCertificateFiltersBuilder(int index) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.intCertificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.getCertificateFiltersOrBuilder(int index) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.List<? extends CertificateFilterSpecOrBuilder> Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanFlag to enable mTLS auth (default: disabled).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(MtlsAuthSpec other) final MtlsAuthSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCertificateFilters(int index) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.setAcceptedClientCa(com.google.protobuf.ByteString value) The ca cert(s) in PEM format that the clients can use for authentication and authorization.Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated.setAcceptedClientCaDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated.setCertificateFilters(int index, CertificateFilterSpec value) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.setCertificateFilters(int index, CertificateFilterSpec.Builder builderForValue) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.setEnabled(boolean value) Flag to enable mTLS auth (default: disabled).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final MtlsAuthSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.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.GeneratedMessageV3.Builder<MtlsAuthSpec.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
setField
public MtlsAuthSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
setRepeatedField
public MtlsAuthSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
addRepeatedField
public MtlsAuthSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MtlsAuthSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
mergeFrom
public MtlsAuthSpec.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<MtlsAuthSpec.Builder>- Throws:
IOException
-
getAcceptedClientCaDeprecated
Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=38The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. (-- api-linter: core::0140::base64=disabled --) Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. temporal:versioning:max_version=v0.2.0
string accepted_client_ca_deprecated = 1 [deprecated = true];- Specified by:
getAcceptedClientCaDeprecatedin interfaceMtlsAuthSpecOrBuilder- Returns:
- The acceptedClientCaDeprecated.
-
getAcceptedClientCaDeprecatedBytes
Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=38The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. (-- api-linter: core::0140::base64=disabled --) Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. temporal:versioning:max_version=v0.2.0
string accepted_client_ca_deprecated = 1 [deprecated = true];- Specified by:
getAcceptedClientCaDeprecatedBytesin interfaceMtlsAuthSpecOrBuilder- Returns:
- The bytes for acceptedClientCaDeprecated.
-
setAcceptedClientCaDeprecated
Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=38The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. (-- api-linter: core::0140::base64=disabled --) Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. temporal:versioning:max_version=v0.2.0
string accepted_client_ca_deprecated = 1 [deprecated = true];- Parameters:
value- The acceptedClientCaDeprecated to set.- Returns:
- This builder for chaining.
-
clearAcceptedClientCaDeprecated
Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=38The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. (-- api-linter: core::0140::base64=disabled --) Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. temporal:versioning:max_version=v0.2.0
string accepted_client_ca_deprecated = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
setAcceptedClientCaDeprecatedBytes
@Deprecated public MtlsAuthSpec.Builder setAcceptedClientCaDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.namespace.v1.MtlsAuthSpec.accepted_client_ca_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=38The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. (-- api-linter: core::0140::base64=disabled --) Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead. temporal:versioning:max_version=v0.2.0
string accepted_client_ca_deprecated = 1 [deprecated = true];- Parameters:
value- The bytes for acceptedClientCaDeprecated to set.- Returns:
- This builder for chaining.
-
getAcceptedClientCa
public com.google.protobuf.ByteString getAcceptedClientCa()The ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. temporal:versioning:min_version=v0.2.0
bytes accepted_client_ca = 4;- Specified by:
getAcceptedClientCain interfaceMtlsAuthSpecOrBuilder- Returns:
- The acceptedClientCa.
-
setAcceptedClientCa
The ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. temporal:versioning:min_version=v0.2.0
bytes accepted_client_ca = 4;- Parameters:
value- The acceptedClientCa to set.- Returns:
- This builder for chaining.
-
clearAcceptedClientCa
The ca cert(s) in PEM format that the clients can use for authentication and authorization. This must only be one value, but the CA can have a chain. temporal:versioning:min_version=v0.2.0
bytes accepted_client_ca = 4;- Returns:
- This builder for chaining.
-
getCertificateFiltersList
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2;- Specified by:
getCertificateFiltersListin interfaceMtlsAuthSpecOrBuilder
-
getCertificateFiltersCount
public int getCertificateFiltersCount()Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2;- Specified by:
getCertificateFiltersCountin interfaceMtlsAuthSpecOrBuilder
-
getCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2;- Specified by:
getCertificateFiltersin interfaceMtlsAuthSpecOrBuilder
-
setCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
setCertificateFilters
public MtlsAuthSpec.Builder setCertificateFilters(int index, CertificateFilterSpec.Builder builderForValue) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addCertificateFilters
public MtlsAuthSpec.Builder addCertificateFilters(int index, CertificateFilterSpec.Builder builderForValue) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addAllCertificateFilters
public MtlsAuthSpec.Builder addAllCertificateFilters(Iterable<? extends CertificateFilterSpec> values) Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
clearCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
removeCertificateFilters
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
getCertificateFiltersBuilder
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
getCertificateFiltersOrBuilder
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2;- Specified by:
getCertificateFiltersOrBuilderin interfaceMtlsAuthSpecOrBuilder
-
getCertificateFiltersOrBuilderList
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2;- Specified by:
getCertificateFiltersOrBuilderListin interfaceMtlsAuthSpecOrBuilder
-
addCertificateFiltersBuilder
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
addCertificateFiltersBuilder
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
getCertificateFiltersBuilderList
Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters. This allows limiting access to specific end-entity certificates. Optional, default is empty.
repeated .temporal.api.cloud.namespace.v1.CertificateFilterSpec certificate_filters = 2; -
getEnabled
public boolean getEnabled()Flag to enable mTLS auth (default: disabled). Note: disabling mTLS auth will cause existing mTLS connections to fail. temporal:versioning:min_version=v0.2.0
bool enabled = 3;- Specified by:
getEnabledin interfaceMtlsAuthSpecOrBuilder- Returns:
- The enabled.
-
setEnabled
Flag to enable mTLS auth (default: disabled). Note: disabling mTLS auth will cause existing mTLS connections to fail. temporal:versioning:min_version=v0.2.0
bool enabled = 3;- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
Flag to enable mTLS auth (default: disabled). Note: disabling mTLS auth will cause existing mTLS connections to fail. temporal:versioning:min_version=v0.2.0
bool enabled = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final MtlsAuthSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-
mergeUnknownFields
public final MtlsAuthSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MtlsAuthSpec.Builder>
-