Class TrustConfig.IntermediateCA.Builder (0.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.IntermediateCA.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

build()

public TrustConfig.IntermediateCA build()
Returns
TypeDescription
TrustConfig.IntermediateCA

buildPartial()

public TrustConfig.IntermediateCA buildPartial()
Returns
TypeDescription
TrustConfig.IntermediateCA

clear()

public TrustConfig.IntermediateCA.Builder clear()
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrustConfig.IntermediateCA.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

clearKind()

public TrustConfig.IntermediateCA.Builder clearKind()
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TrustConfig.IntermediateCA.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TrustConfig.IntermediateCA.Builder

This builder for chaining.

clone()

public TrustConfig.IntermediateCA.Builder clone()
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

getDefaultInstanceForType()

public TrustConfig.IntermediateCA getDefaultInstanceForType()
Returns
TypeDescription
TrustConfig.IntermediateCA

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKindCase()

public TrustConfig.IntermediateCA.KindCase getKindCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pemCertificate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TrustConfig.IntermediateCA other)

public TrustConfig.IntermediateCA.Builder mergeFrom(TrustConfig.IntermediateCA other)
Parameter
NameDescription
otherTrustConfig.IntermediateCA
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrustConfig.IntermediateCA.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TrustConfig.IntermediateCA.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.IntermediateCA.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.IntermediateCA.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The pemCertificate to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pemCertificate to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.IntermediateCA.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder
Overrides