Class EkmConnection.ServiceResolver (2.30.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
TypeDescription
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_CERTIFICATES_FIELD_NUMBER

public static final int SERVER_CERTIFICATES_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER

public static final int SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EkmConnection.ServiceResolver getDefaultInstance()
Returns
TypeDescription
EkmConnection.ServiceResolver

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EkmConnection.ServiceResolver.Builder newBuilder()
Returns
TypeDescription
EkmConnection.ServiceResolver.Builder

newBuilder(EkmConnection.ServiceResolver prototype)

public static EkmConnection.ServiceResolver.Builder newBuilder(EkmConnection.ServiceResolver prototype)
Parameter
NameDescription
prototypeEkmConnection.ServiceResolver
Returns
TypeDescription
EkmConnection.ServiceResolver.Builder

parseDelimitedFrom(InputStream input)

public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EkmConnection.ServiceResolver parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EkmConnection.ServiceResolver parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EkmConnection.ServiceResolver parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ServiceResolver
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EkmConnection.ServiceResolver getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for hostname.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceDirectoryService.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EkmConnection.ServiceResolver.Builder newBuilderForType()
Returns
TypeDescription
EkmConnection.ServiceResolver.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EkmConnection.ServiceResolver.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EkmConnection.ServiceResolver.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EkmConnection.ServiceResolver.Builder toBuilder()
Returns
TypeDescription
EkmConnection.ServiceResolver.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException