Class EkmConnection.ServiceResolver (2.57.0)

public static final class EkmConnection.ServiceResolver extends GeneratedMessageV3 implements EkmConnection.ServiceResolverOrBuilder

A ServiceResolver represents an EKM replica that can be reached within an EkmConnection.

Protobuf type google.cloud.kms.v1.EkmConnection.ServiceResolver

Static Fields

ENDPOINT_FILTER_FIELD_NUMBER

public static final int ENDPOINT_FILTER_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

SERVER_CERTIFICATES_FIELD_NUMBER

public static final int SERVER_CERTIFICATES_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER

public static final int SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EkmConnection.ServiceResolver getDefaultInstance()
Returns
Type Description
EkmConnection.ServiceResolver

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EkmConnection.ServiceResolver.Builder newBuilder()
Returns
Type Description
EkmConnection.ServiceResolver.Builder

newBuilder(EkmConnection.ServiceResolver prototype)

public static EkmConnection.ServiceResolver.Builder newBuilder(EkmConnection.ServiceResolver prototype)
Parameter
Name Description
prototype EkmConnection.ServiceResolver
Returns
Type Description
EkmConnection.ServiceResolver.Builder

parseDelimitedFrom(InputStream input)

public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EkmConnection.ServiceResolver parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EkmConnection.ServiceResolver parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EkmConnection.ServiceResolver parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ServiceResolver
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EkmConnection.ServiceResolver> parser()
Returns
Type Description
Parser<ServiceResolver>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EkmConnection.ServiceResolver getDefaultInstanceForType()
Returns
Type Description
EkmConnection.ServiceResolver

getEndpointFilter()

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];

Returns
Type Description
String

The endpointFilter.

getEndpointFilterBytes()

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];

Returns
Type Description
ByteString

The bytes for endpointFilter.

getHostname()

public String getHostname()

Required. The hostname of the EKM replica used at TLS and HTTP layers.

string hostname = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. The hostname of the EKM replica used at TLS and HTTP layers.

string hostname = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hostname.

getParserForType()

public Parser<EkmConnection.ServiceResolver> getParserForType()
Returns
Type Description
Parser<ServiceResolver>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerCertificates(int index)

public Certificate getServerCertificates(int index)

Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.

repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Certificate

getServerCertificatesCount()

public int getServerCertificatesCount()

Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.

repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getServerCertificatesList()

public List<Certificate> getServerCertificatesList()

Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.

repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Certificate>

getServerCertificatesOrBuilder(int index)

public CertificateOrBuilder getServerCertificatesOrBuilder(int index)

Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.

repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CertificateOrBuilder

getServerCertificatesOrBuilderList()

public List<? extends CertificateOrBuilder> getServerCertificatesOrBuilderList()

Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.

repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.kms.v1.CertificateOrBuilder>

getServiceDirectoryService()

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) = { ... }

Returns
Type Description
String

The serviceDirectoryService.

getServiceDirectoryServiceBytes()

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) = { ... }

Returns
Type Description
ByteString

The bytes for serviceDirectoryService.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EkmConnection.ServiceResolver.Builder newBuilderForType()
Returns
Type Description
EkmConnection.ServiceResolver.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EkmConnection.ServiceResolver.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EkmConnection.ServiceResolver.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EkmConnection.ServiceResolver.Builder toBuilder()
Returns
Type Description
EkmConnection.ServiceResolver.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException