public static final class EkmConnection.ServiceResolver.Builder extends GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder> implements EkmConnection.ServiceResolverOrBuilder
A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] represents an EKM replica that can be reached within an [EkmConnection][google.cloud.kms.v1.EkmConnection].Protobuf type
google.cloud.kms.v1.EkmConnection.ServiceResolver
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EkmConnection.ServiceResolver build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EkmConnection.ServiceResolver buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EkmConnection.ServiceResolver.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder mergeFrom(EkmConnection.ServiceResolver other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public EkmConnection.ServiceResolver.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EkmConnection.ServiceResolver.Builder>
IOException
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) = { ... }
getServiceDirectoryService
in interface EkmConnection.ServiceResolverOrBuilder
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) = { ... }
getServiceDirectoryServiceBytes
in interface EkmConnection.ServiceResolverOrBuilder
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) = { ... }
value
- The serviceDirectoryService to set.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) = { ... }
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) = { ... }
value
- The bytes for serviceDirectoryService to set.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];
getEndpointFilter
in interface EkmConnection.ServiceResolverOrBuilder
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];
getEndpointFilterBytes
in interface EkmConnection.ServiceResolverOrBuilder
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];
value
- The endpointFilter to set.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];
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];
value
- The bytes for endpointFilter to set.public String getHostname()
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
getHostname
in interface EkmConnection.ServiceResolverOrBuilder
public ByteString getHostnameBytes()
Required. The hostname of the EKM replica used at TLS and HTTP layers.
string hostname = 3 [(.google.api.field_behavior) = REQUIRED];
getHostnameBytes
in interface EkmConnection.ServiceResolverOrBuilder
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];
value
- The hostname to set.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];
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];
value
- The bytes for hostname to set.public List<Certificate> getServerCertificatesList()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesList
in interface EkmConnection.ServiceResolverOrBuilder
public int getServerCertificatesCount()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesCount
in interface EkmConnection.ServiceResolverOrBuilder
public Certificate getServerCertificates(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificates
in interface EkmConnection.ServiceResolverOrBuilder
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.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
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.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public EkmConnection.ServiceResolver.Builder addServerCertificates(Certificate value)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
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.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public EkmConnection.ServiceResolver.Builder addServerCertificates(Certificate.Builder builderForValue)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
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.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
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.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public EkmConnection.ServiceResolver.Builder clearServerCertificates()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public EkmConnection.ServiceResolver.Builder removeServerCertificates(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public Certificate.Builder getServerCertificatesBuilder(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public CertificateOrBuilder getServerCertificatesOrBuilder(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesOrBuilder
in interface EkmConnection.ServiceResolverOrBuilder
public List<? extends CertificateOrBuilder> getServerCertificatesOrBuilderList()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
getServerCertificatesOrBuilderList
in interface EkmConnection.ServiceResolverOrBuilder
public Certificate.Builder addServerCertificatesBuilder()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public Certificate.Builder addServerCertificatesBuilder(int index)
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public List<Certificate.Builder> getServerCertificatesBuilderList()
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica.
repeated .google.cloud.kms.v1.Certificate server_certificates = 4 [(.google.api.field_behavior) = REQUIRED];
public final EkmConnection.ServiceResolver.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
public final EkmConnection.ServiceResolver.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EkmConnection.ServiceResolver.Builder>
Copyright © 2022 Google LLC. All rights reserved.