Class FetchCertificateAuthorityCsrResponse.Builder (2.46.0)

public static final class FetchCertificateAuthorityCsrResponse.Builder extends GeneratedMessageV3.Builder<FetchCertificateAuthorityCsrResponse.Builder> implements FetchCertificateAuthorityCsrResponseOrBuilder

Response message for CertificateAuthorityService.FetchCertificateAuthorityCsr.

Protobuf type google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchCertificateAuthorityCsrResponse build()
Returns
Type Description
FetchCertificateAuthorityCsrResponse

buildPartial()

public FetchCertificateAuthorityCsrResponse buildPartial()
Returns
Type Description
FetchCertificateAuthorityCsrResponse

clear()

public FetchCertificateAuthorityCsrResponse.Builder clear()
Returns
Type Description
FetchCertificateAuthorityCsrResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPemCsr()

public FetchCertificateAuthorityCsrResponse.Builder clearPemCsr()

Output only. The PEM-encoded signed certificate signing request (CSR).

string pem_csr = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FetchCertificateAuthorityCsrResponse.Builder

This builder for chaining.

clone()

public FetchCertificateAuthorityCsrResponse.Builder clone()
Returns
Type Description
FetchCertificateAuthorityCsrResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchCertificateAuthorityCsrResponse getDefaultInstanceForType()
Returns
Type Description
FetchCertificateAuthorityCsrResponse

getDescriptorForType()

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

getPemCsr()

public String getPemCsr()

Output only. The PEM-encoded signed certificate signing request (CSR).

string pem_csr = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The pemCsr.

getPemCsrBytes()

public ByteString getPemCsrBytes()

Output only. The PEM-encoded signed certificate signing request (CSR).

string pem_csr = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pemCsr.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchCertificateAuthorityCsrResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPemCsr(String value)

public FetchCertificateAuthorityCsrResponse.Builder setPemCsr(String value)

Output only. The PEM-encoded signed certificate signing request (CSR).

string pem_csr = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The pemCsr to set.

Returns
Type Description
FetchCertificateAuthorityCsrResponse.Builder

This builder for chaining.

setPemCsrBytes(ByteString value)

public FetchCertificateAuthorityCsrResponse.Builder setPemCsrBytes(ByteString value)

Output only. The PEM-encoded signed certificate signing request (CSR).

string pem_csr = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for pemCsr to set.

Returns
Type Description
FetchCertificateAuthorityCsrResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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