public static final class EkmConnection.ServiceResolver extends GeneratedMessageV3 implements EkmConnection.ServiceResolverOrBuilder
A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] represents an EKM replica that can be reached within an [EkmConnection][google.cloud.kms.v1.EkmConnection].Protobuf type
google.cloud.kms.v1.EkmConnection.ServiceResolver
Modifier and Type | Class and Description |
---|---|
static class |
EkmConnection.ServiceResolver.Builder
A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver]
represents an EKM replica that can be reached within an
[EkmConnection][google.cloud.kms.v1.EkmConnection].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ENDPOINT_FILTER_FIELD_NUMBER |
static int |
HOSTNAME_FIELD_NUMBER |
static int |
SERVER_CERTIFICATES_FIELD_NUMBER |
static int |
SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER
public static final int ENDPOINT_FILTER_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int SERVER_CERTIFICATES_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getServiceDirectoryService()
Required. The resource name of the Service Directory service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.
string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getServiceDirectoryService
in interface EkmConnection.ServiceResolverOrBuilder
public ByteString getServiceDirectoryServiceBytes()
Required. The resource name of the Service Directory service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.
string service_directory_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getServiceDirectoryServiceBytes
in interface EkmConnection.ServiceResolverOrBuilder
public String getEndpointFilter()
Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
getEndpointFilter
in interface EkmConnection.ServiceResolverOrBuilder
public ByteString getEndpointFilterBytes()
Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
string endpoint_filter = 2 [(.google.api.field_behavior) = OPTIONAL];
getEndpointFilterBytes
in interface EkmConnection.ServiceResolverOrBuilder
public String getHostname()
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
getHostname
in interface EkmConnection.ServiceResolverOrBuilder
public ByteString getHostnameBytes()
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
getHostnameBytes
in interface EkmConnection.ServiceResolverOrBuilder
public List<Certificate> getServerCertificatesList()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesList
in interface EkmConnection.ServiceResolverOrBuilder
public List<? extends CertificateOrBuilder> getServerCertificatesOrBuilderList()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesOrBuilderList
in interface EkmConnection.ServiceResolverOrBuilder
public int getServerCertificatesCount()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesCount
in interface EkmConnection.ServiceResolverOrBuilder
public Certificate getServerCertificates(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificates
in interface EkmConnection.ServiceResolverOrBuilder
public CertificateOrBuilder getServerCertificatesOrBuilder(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesOrBuilder
in interface EkmConnection.ServiceResolverOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EkmConnection.ServiceResolver parseFrom(InputStream input) throws IOException
IOException
public static EkmConnection.ServiceResolver parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input) throws IOException
IOException
public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EkmConnection.ServiceResolver.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static EkmConnection.ServiceResolver.Builder newBuilder()
public static EkmConnection.ServiceResolver.Builder newBuilder(EkmConnection.ServiceResolver prototype)
public EkmConnection.ServiceResolver.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected EkmConnection.ServiceResolver.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static EkmConnection.ServiceResolver getDefaultInstance()
public static Parser<EkmConnection.ServiceResolver> parser()
public Parser<EkmConnection.ServiceResolver> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public EkmConnection.ServiceResolver getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.