Class MtlsAuthSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.cloud.namespace.v1.MtlsAuthSpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MtlsAuthSpecOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:MtlsAuthSpec.java.pb.meta") public final class MtlsAuthSpec extends com.google.protobuf.GeneratedMessageV3 implements MtlsAuthSpecOrBuilderProtobuf typetemporal.api.cloud.namespace.v1.MtlsAuthSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMtlsAuthSpec.BuilderProtobuf typetemporal.api.cloud.namespace.v1.MtlsAuthSpec-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCEPTED_CLIENT_CA_DEPRECATED_FIELD_NUMBERstatic intACCEPTED_CLIENT_CA_FIELD_NUMBERstatic intCERTIFICATE_FILTERS_FIELD_NUMBERstatic intENABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)com.google.protobuf.ByteStringgetAcceptedClientCa()The ca cert(s) in PEM format that the clients can use for authentication and authorization.java.lang.StringgetAcceptedClientCaDeprecated()The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.com.google.protobuf.ByteStringgetAcceptedClientCaDeprecatedBytes()The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.CertificateFilterSpecgetCertificateFilters(int index)Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.intgetCertificateFiltersCount()Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.java.util.List<CertificateFilterSpec>getCertificateFiltersList()Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.CertificateFilterSpecOrBuildergetCertificateFiltersOrBuilder(int index)Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.java.util.List<? extends CertificateFilterSpecOrBuilder>getCertificateFiltersOrBuilderList()Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.static MtlsAuthSpecgetDefaultInstance()MtlsAuthSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnabled()Flag to enable mTLS auth (default: disabled).com.google.protobuf.Parser<MtlsAuthSpec>getParserForType()intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MtlsAuthSpec.BuildernewBuilder()static MtlsAuthSpec.BuildernewBuilder(MtlsAuthSpec prototype)MtlsAuthSpec.BuildernewBuilderForType()protected MtlsAuthSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MtlsAuthSpecparseDelimitedFrom(java.io.InputStream input)static MtlsAuthSpecparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MtlsAuthSpecparseFrom(byte[] data)static MtlsAuthSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MtlsAuthSpecparseFrom(com.google.protobuf.ByteString data)static MtlsAuthSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MtlsAuthSpecparseFrom(com.google.protobuf.CodedInputStream input)static MtlsAuthSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MtlsAuthSpecparseFrom(java.io.InputStream input)static MtlsAuthSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MtlsAuthSpecparseFrom(java.nio.ByteBuffer data)static MtlsAuthSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MtlsAuthSpec>parser()MtlsAuthSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACCEPTED_CLIENT_CA_DEPRECATED_FIELD_NUMBER
public static final int ACCEPTED_CLIENT_CA_DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCEPTED_CLIENT_CA_FIELD_NUMBER
public static final int ACCEPTED_CLIENT_CA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CERTIFICATE_FILTERS_FIELD_NUMBER
public static final int CERTIFICATE_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getAcceptedClientCaDeprecated
public java.lang.String getAcceptedClientCaDeprecated()
The 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 2024-05-13-00 api version. Use accepted_client_ca instead. temporal:versioning:max_version=2024-05-13-00
string accepted_client_ca_deprecated = 1;- Specified by:
getAcceptedClientCaDeprecatedin interfaceMtlsAuthSpecOrBuilder- Returns:
- The acceptedClientCaDeprecated.
-
getAcceptedClientCaDeprecatedBytes
public com.google.protobuf.ByteString getAcceptedClientCaDeprecatedBytes()
The 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 2024-05-13-00 api version. Use accepted_client_ca instead. temporal:versioning:max_version=2024-05-13-00
string accepted_client_ca_deprecated = 1;- Specified by:
getAcceptedClientCaDeprecatedBytesin interfaceMtlsAuthSpecOrBuilder- Returns:
- The bytes for acceptedClientCaDeprecated.
-
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=2024-05-13-00
bytes accepted_client_ca = 4;- Specified by:
getAcceptedClientCain interfaceMtlsAuthSpecOrBuilder- Returns:
- The acceptedClientCa.
-
getCertificateFiltersList
public java.util.List<CertificateFilterSpec> 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
-
getCertificateFiltersOrBuilderList
public java.util.List<? extends CertificateFilterSpecOrBuilder> 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
-
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
public CertificateFilterSpec 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. 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
-
getCertificateFiltersOrBuilder
public CertificateFilterSpecOrBuilder 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. 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
-
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=2024-05-13-00
bool enabled = 3;- Specified by:
getEnabledin interfaceMtlsAuthSpecOrBuilder- Returns:
- The enabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MtlsAuthSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MtlsAuthSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MtlsAuthSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MtlsAuthSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MtlsAuthSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MtlsAuthSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static MtlsAuthSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public MtlsAuthSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MtlsAuthSpec.Builder newBuilder()
-
newBuilder
public static MtlsAuthSpec.Builder newBuilder(MtlsAuthSpec prototype)
-
toBuilder
public MtlsAuthSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MtlsAuthSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MtlsAuthSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MtlsAuthSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<MtlsAuthSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MtlsAuthSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-