Class CertificateProvider

  • All Implemented Interfaces:
    CertificateProviderOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CertificateProvider
    extends com.google.protobuf.GeneratedMessageV3
    implements CertificateProviderOrBuilder
     Specification of certificate provider. Defines the mechanism to obtain the
     certificate and private key for peer to peer authentication.
     
    Protobuf type google.cloud.networksecurity.v1beta1.CertificateProvider
    See Also:
    Serialized Form
    • Field Detail

      • GRPC_ENDPOINT_FIELD_NUMBER

        public static final int GRPC_ENDPOINT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER

        public static final int CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasGrpcEndpoint

        public boolean hasGrpcEndpoint()
         gRPC specific configuration to access the gRPC server to
         obtain the cert and private key.
         
        .google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;
        Specified by:
        hasGrpcEndpoint in interface CertificateProviderOrBuilder
        Returns:
        Whether the grpcEndpoint field is set.
      • getGrpcEndpoint

        public GrpcEndpoint getGrpcEndpoint()
         gRPC specific configuration to access the gRPC server to
         obtain the cert and private key.
         
        .google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;
        Specified by:
        getGrpcEndpoint in interface CertificateProviderOrBuilder
        Returns:
        The grpcEndpoint.
      • hasCertificateProviderInstance

        public boolean hasCertificateProviderInstance()
         The certificate provider instance specification that will be passed to
         the data plane, which will be used to load necessary credential
         information.
         
        .google.cloud.networksecurity.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;
        Specified by:
        hasCertificateProviderInstance in interface CertificateProviderOrBuilder
        Returns:
        Whether the certificateProviderInstance field is set.
      • getCertificateProviderInstance

        public CertificateProviderInstance getCertificateProviderInstance()
         The certificate provider instance specification that will be passed to
         the data plane, which will be used to load necessary credential
         information.
         
        .google.cloud.networksecurity.v1beta1.CertificateProviderInstance certificate_provider_instance = 3;
        Specified by:
        getCertificateProviderInstance in interface CertificateProviderOrBuilder
        Returns:
        The certificateProviderInstance.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CertificateProvider parseFrom​(ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateProvider parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Throws:
        IOException
      • newBuilderForType

        public CertificateProvider.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CertificateProvider.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CertificateProvider.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CertificateProvider> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CertificateProvider getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder