Class CertificateProvider (0.49.0)

public final class CertificateProvider extends 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

Static Fields

CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER

public static final int CERTIFICATE_PROVIDER_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

GRPC_ENDPOINT_FIELD_NUMBER

public static final int GRPC_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateProvider getDefaultInstance()
Returns
Type Description
CertificateProvider

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CertificateProvider.Builder newBuilder()
Returns
Type Description
CertificateProvider.Builder

newBuilder(CertificateProvider prototype)

public static CertificateProvider.Builder newBuilder(CertificateProvider prototype)
Parameter
Name Description
prototype CertificateProvider
Returns
Type Description
CertificateProvider.Builder

parseDelimitedFrom(InputStream input)

public static CertificateProvider parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateProvider parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateProvider parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateProvider parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateProvider parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateProvider parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateProvider
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateProvider> parser()
Returns
Type Description
Parser<CertificateProvider>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
CertificateProviderInstance

The certificateProviderInstance.

getCertificateProviderInstanceOrBuilder()

public CertificateProviderInstanceOrBuilder getCertificateProviderInstanceOrBuilder()

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;

Returns
Type Description
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public CertificateProvider getDefaultInstanceForType()
Returns
Type Description
CertificateProvider

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;

Returns
Type Description
GrpcEndpoint

The grpcEndpoint.

getGrpcEndpointOrBuilder()

public GrpcEndpointOrBuilder getGrpcEndpointOrBuilder()

gRPC specific configuration to access the gRPC server to obtain the cert and private key.

.google.cloud.networksecurity.v1beta1.GrpcEndpoint grpc_endpoint = 2;

Returns
Type Description
GrpcEndpointOrBuilder

getParserForType()

public Parser<CertificateProvider> getParserForType()
Returns
Type Description
Parser<CertificateProvider>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCase()

public CertificateProvider.TypeCase getTypeCase()
Returns
Type Description
CertificateProvider.TypeCase

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;

Returns
Type Description
boolean

Whether the certificateProviderInstance field is set.

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;

Returns
Type Description
boolean

Whether the grpcEndpoint field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CertificateProvider.Builder newBuilderForType()
Returns
Type Description
CertificateProvider.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateProvider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateProvider.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CertificateProvider.Builder toBuilder()
Returns
Type Description
CertificateProvider.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException