Class CertificateProvider (0.6.2)

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
TypeDescription
int

GRPC_ENDPOINT_FIELD_NUMBER

public static final int GRPC_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateProvider getDefaultInstance()
Returns
TypeDescription
CertificateProvider

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CertificateProvider.Builder newBuilder()
Returns
TypeDescription
CertificateProvider.Builder

newBuilder(CertificateProvider prototype)

public static CertificateProvider.Builder newBuilder(CertificateProvider prototype)
Parameter
NameDescription
prototypeCertificateProvider
Returns
TypeDescription
CertificateProvider.Builder

parseDelimitedFrom(InputStream input)

public static CertificateProvider parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateProvider parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateProvider parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateProvider parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateProvider parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateProvider parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateProvider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CertificateProvider> parser()
Returns
TypeDescription
Parser<CertificateProvider>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateProviderInstanceOrBuilder

getDefaultInstanceForType()

public CertificateProvider getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GrpcEndpointOrBuilder

getParserForType()

public Parser<CertificateProvider> getParserForType()
Returns
TypeDescription
Parser<CertificateProvider>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public CertificateProvider.TypeCase getTypeCase()
Returns
TypeDescription
CertificateProvider.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
boolean

Whether the grpcEndpoint field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateProvider.Builder newBuilderForType()
Returns
TypeDescription
CertificateProvider.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateProvider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateProvider.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CertificateProvider.Builder toBuilder()
Returns
TypeDescription
CertificateProvider.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException