Class GenericHTTPEndpointConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig
- All Implemented Interfaces:
GenericHTTPEndpointConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class GenericHTTPEndpointConfig
extends com.google.protobuf.GeneratedMessage
implements GenericHTTPEndpointConfigOrBuilder
Defines the configuration for connections to an HTTP service provider.Protobuf type
google.cloud.developerconnect.v1.GenericHTTPEndpointConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classBasic authentication with username and password.static interfacestatic final classBearer token authentication with a token.static interfacestatic final classDefines the configuration for connections to an HTTP service provider.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.Optional.static GenericHTTPEndpointConfigstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<GenericHTTPEndpointConfig>intOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GenericHTTPEndpointConfig prototype) protected GenericHTTPEndpointConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GenericHTTPEndpointConfigparseDelimitedFrom(InputStream input) static GenericHTTPEndpointConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericHTTPEndpointConfigparseFrom(byte[] data) static GenericHTTPEndpointConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericHTTPEndpointConfigparseFrom(com.google.protobuf.ByteString data) static GenericHTTPEndpointConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericHTTPEndpointConfigparseFrom(com.google.protobuf.CodedInputStream input) static GenericHTTPEndpointConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericHTTPEndpointConfigparseFrom(InputStream input) static GenericHTTPEndpointConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenericHTTPEndpointConfigparseFrom(ByteBuffer data) static GenericHTTPEndpointConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenericHTTPEndpointConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BASIC_AUTHENTICATION_FIELD_NUMBER
public static final int BASIC_AUTHENTICATION_FIELD_NUMBER- See Also:
-
BEARER_TOKEN_AUTHENTICATION_FIELD_NUMBER
public static final int BEARER_TOKEN_AUTHENTICATION_FIELD_NUMBER- See Also:
-
HOST_URI_FIELD_NUMBER
public static final int HOST_URI_FIELD_NUMBER- See Also:
-
SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER
public static final int SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER- See Also:
-
SSL_CA_CERTIFICATE_FIELD_NUMBER
public static final int SSL_CA_CERTIFICATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAuthenticationCase
- Specified by:
getAuthenticationCasein interfaceGenericHTTPEndpointConfigOrBuilder
-
hasBasicAuthentication
public boolean hasBasicAuthentication()Optional. Basic authentication with username and password.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBasicAuthenticationin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- Whether the basicAuthentication field is set.
-
getBasicAuthentication
Optional. Basic authentication with username and password.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBasicAuthenticationin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The basicAuthentication.
-
getBasicAuthenticationOrBuilder
Optional. Basic authentication with username and password.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBasicAuthenticationOrBuilderin interfaceGenericHTTPEndpointConfigOrBuilder
-
hasBearerTokenAuthentication
public boolean hasBearerTokenAuthentication()Optional. Bearer token authentication with a token.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBearerTokenAuthenticationin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- Whether the bearerTokenAuthentication field is set.
-
getBearerTokenAuthentication
Optional. Bearer token authentication with a token.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBearerTokenAuthenticationin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The bearerTokenAuthentication.
-
getBearerTokenAuthenticationOrBuilder
public GenericHTTPEndpointConfig.BearerTokenAuthenticationOrBuilder getBearerTokenAuthenticationOrBuilder()Optional. Bearer token authentication with a token.
.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBearerTokenAuthenticationOrBuilderin interfaceGenericHTTPEndpointConfigOrBuilder
-
getHostUri
Required. Immutable. The service provider's https endpoint.
string host_uri = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getHostUriin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The hostUri.
-
getHostUriBytes
public com.google.protobuf.ByteString getHostUriBytes()Required. Immutable. The service provider's https endpoint.
string host_uri = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getHostUriBytesin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The bytes for hostUri.
-
hasServiceDirectoryConfig
public boolean hasServiceDirectoryConfig()Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasServiceDirectoryConfigin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- Whether the serviceDirectoryConfig field is set.
-
getServiceDirectoryConfig
Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceDirectoryConfigin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The serviceDirectoryConfig.
-
getServiceDirectoryConfigOrBuilder
Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceDirectoryConfigOrBuilderin interfaceGenericHTTPEndpointConfigOrBuilder
-
getSslCaCertificate
Optional. The SSL certificate to use for requests to the HTTP service provider.
string ssl_ca_certificate = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSslCaCertificatein interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The sslCaCertificate.
-
getSslCaCertificateBytes
public com.google.protobuf.ByteString getSslCaCertificateBytes()Optional. The SSL certificate to use for requests to the HTTP service provider.
string ssl_ca_certificate = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSslCaCertificateBytesin interfaceGenericHTTPEndpointConfigOrBuilder- Returns:
- The bytes for sslCaCertificate.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GenericHTTPEndpointConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenericHTTPEndpointConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenericHTTPEndpointConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-