Interface EkmConnection.ServiceResolverOrBuilder (2.52.0)

public static interface EkmConnection.ServiceResolverOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndpointFilter()

public abstract 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 abstract 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 abstract 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 abstract 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.

getServerCertificates(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.