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
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
Field Value
SERVER_CERTIFICATES_FIELD_NUMBER
public static final int SERVER_CERTIFICATES_FIELD_NUMBER
Field Value
SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER
public static final int SERVICE_DIRECTORY_SERVICE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EkmConnection.ServiceResolver getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EkmConnection.ServiceResolver.Builder newBuilder()
Returns
newBuilder(EkmConnection.ServiceResolver prototype)
public static EkmConnection.ServiceResolver.Builder newBuilder(EkmConnection.ServiceResolver prototype)
Parameter
Returns
public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EkmConnection.ServiceResolver parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EkmConnection.ServiceResolver parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection.ServiceResolver parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EkmConnection.ServiceResolver parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection.ServiceResolver parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EkmConnection.ServiceResolver parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EkmConnection.ServiceResolver parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EkmConnection.ServiceResolver parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EkmConnection.ServiceResolver parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EkmConnection.ServiceResolver> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EkmConnection.ServiceResolver getDefaultInstanceForType()
Returns
getEndpointFilter()
public String getEndpointFilter()
Returns
Type | Description |
String | The endpointFilter.
|
getEndpointFilterBytes()
public ByteString getEndpointFilterBytes()
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
getParserForType()
public Parser<EkmConnection.ServiceResolver> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Returns
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
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
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
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EkmConnection.ServiceResolver.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EkmConnection.ServiceResolver.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EkmConnection.ServiceResolver.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions