Class TrustConfig.IntermediateCA.Builder (0.49.0)

public static final class TrustConfig.IntermediateCA.Builder extends GeneratedMessageV3.Builder<TrustConfig.IntermediateCA.Builder> implements TrustConfig.IntermediateCAOrBuilder

Defines an intermediate CA.

Protobuf type google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.IntermediateCA.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

build()

public TrustConfig.IntermediateCA build()
Returns
Type Description
TrustConfig.IntermediateCA

buildPartial()

public TrustConfig.IntermediateCA buildPartial()
Returns
Type Description
TrustConfig.IntermediateCA

clear()

public TrustConfig.IntermediateCA.Builder clear()
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrustConfig.IntermediateCA.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

clearKind()

public TrustConfig.IntermediateCA.Builder clearKind()
Returns
Type Description
TrustConfig.IntermediateCA.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TrustConfig.IntermediateCA.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

clearPemCertificate()

public TrustConfig.IntermediateCA.Builder clearPemCertificate()

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Returns
Type Description
TrustConfig.IntermediateCA.Builder

This builder for chaining.

clone()

public TrustConfig.IntermediateCA.Builder clone()
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

getDefaultInstanceForType()

public TrustConfig.IntermediateCA getDefaultInstanceForType()
Returns
Type Description
TrustConfig.IntermediateCA

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKindCase()

public TrustConfig.IntermediateCA.KindCase getKindCase()
Returns
Type Description
TrustConfig.IntermediateCA.KindCase

getPemCertificate()

public String getPemCertificate()

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Returns
Type Description
String

The pemCertificate.

getPemCertificateBytes()

public ByteString getPemCertificateBytes()

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Returns
Type Description
ByteString

The bytes for pemCertificate.

hasPemCertificate()

public boolean hasPemCertificate()

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Returns
Type Description
boolean

Whether the pemCertificate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrustConfig.IntermediateCA other)

public TrustConfig.IntermediateCA.Builder mergeFrom(TrustConfig.IntermediateCA other)
Parameter
Name Description
other TrustConfig.IntermediateCA
Returns
Type Description
TrustConfig.IntermediateCA.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrustConfig.IntermediateCA.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrustConfig.IntermediateCA.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.IntermediateCA.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.IntermediateCA.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

setPemCertificate(String value)

public TrustConfig.IntermediateCA.Builder setPemCertificate(String value)

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Parameter
Name Description
value String

The pemCertificate to set.

Returns
Type Description
TrustConfig.IntermediateCA.Builder

This builder for chaining.

setPemCertificateBytes(ByteString value)

public TrustConfig.IntermediateCA.Builder setPemCertificateBytes(ByteString value)

PEM intermediate certificate used for building up paths for validation.

Each certificate provided in PEM format may occupy up to 5kB.

string pem_certificate = 1;

Parameter
Name Description
value ByteString

The bytes for pemCertificate to set.

Returns
Type Description
TrustConfig.IntermediateCA.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TrustConfig.IntermediateCA.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.IntermediateCA.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrustConfig.IntermediateCA.Builder
Overrides