- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
public static final class EkmConnection.ServiceResolver.Builder extends GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder> implements EkmConnection.ServiceResolverOrBuilder
A ServiceResolver represents an EKM replica that can be reached within an EkmConnection.
Protobuf type google.cloud.kms.v1.EkmConnection.ServiceResolver
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EkmConnection.ServiceResolver.BuilderImplements
EkmConnection.ServiceResolverOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServerCertificates(Iterable<? extends Certificate> values)
public EkmConnection.ServiceResolver.Builder addAllServerCertificates(Iterable<? extends Certificate> values)
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 |
values |
Iterable<? extends com.google.cloud.kms.v1.Certificate> |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.ServiceResolver.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addServerCertificates(Certificate value)
public EkmConnection.ServiceResolver.Builder addServerCertificates(Certificate value)
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 |
value |
Certificate |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addServerCertificates(Certificate.Builder builderForValue)
public EkmConnection.ServiceResolver.Builder addServerCertificates(Certificate.Builder builderForValue)
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 |
builderForValue |
Certificate.Builder |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addServerCertificates(int index, Certificate value)
public EkmConnection.ServiceResolver.Builder addServerCertificates(int index, Certificate value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Certificate |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addServerCertificates(int index, Certificate.Builder builderForValue)
public EkmConnection.ServiceResolver.Builder addServerCertificates(int index, Certificate.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Certificate.Builder |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
addServerCertificatesBuilder()
public Certificate.Builder addServerCertificatesBuilder()
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 |
Certificate.Builder |
addServerCertificatesBuilder(int index)
public Certificate.Builder addServerCertificatesBuilder(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.Builder |
build()
public EkmConnection.ServiceResolver build()
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver |
buildPartial()
public EkmConnection.ServiceResolver buildPartial()
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver |
clear()
public EkmConnection.ServiceResolver.Builder clear()
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
clearEndpointFilter()
public EkmConnection.ServiceResolver.Builder clearEndpointFilter()
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 |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EkmConnection.ServiceResolver.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
clearHostname()
public EkmConnection.ServiceResolver.Builder clearHostname()
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EkmConnection.ServiceResolver.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
clearServerCertificates()
public EkmConnection.ServiceResolver.Builder clearServerCertificates()
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 |
EkmConnection.ServiceResolver.Builder |
clearServiceDirectoryService()
public EkmConnection.ServiceResolver.Builder clearServiceDirectoryService()
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 |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
clone()
public EkmConnection.ServiceResolver.Builder clone()
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
getDefaultInstanceForType()
public EkmConnection.ServiceResolver getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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 |
getServerCertificatesBuilder(int index)
public Certificate.Builder getServerCertificatesBuilder(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.Builder |
getServerCertificatesBuilderList()
public List<Certificate.Builder> getServerCertificatesBuilderList()
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<Builder> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EkmConnection.ServiceResolver other)
public EkmConnection.ServiceResolver.Builder mergeFrom(EkmConnection.ServiceResolver other)
Parameter | |
---|---|
Name | Description |
other |
EkmConnection.ServiceResolver |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EkmConnection.ServiceResolver.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EkmConnection.ServiceResolver.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.ServiceResolver.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
removeServerCertificates(int index)
public EkmConnection.ServiceResolver.Builder removeServerCertificates(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 |
EkmConnection.ServiceResolver.Builder |
setEndpointFilter(String value)
public EkmConnection.ServiceResolver.Builder setEndpointFilter(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The endpointFilter to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setEndpointFilterBytes(ByteString value)
public EkmConnection.ServiceResolver.Builder setEndpointFilterBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for endpointFilter to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.ServiceResolver.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
setHostname(String value)
public EkmConnection.ServiceResolver.Builder setHostname(String value)
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The hostname to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public EkmConnection.ServiceResolver.Builder setHostnameBytes(ByteString value)
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hostname to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EkmConnection.ServiceResolver.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
setServerCertificates(int index, Certificate value)
public EkmConnection.ServiceResolver.Builder setServerCertificates(int index, Certificate value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Certificate |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
setServerCertificates(int index, Certificate.Builder builderForValue)
public EkmConnection.ServiceResolver.Builder setServerCertificates(int index, Certificate.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Certificate.Builder |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
setServiceDirectoryService(String value)
public EkmConnection.ServiceResolver.Builder setServiceDirectoryService(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The serviceDirectoryService to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setServiceDirectoryServiceBytes(ByteString value)
public EkmConnection.ServiceResolver.Builder setServiceDirectoryServiceBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceDirectoryService to set. |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.ServiceResolver.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EkmConnection.ServiceResolver.Builder |