Class FetchCertificateAuthorityCsrResponse.Builder (2.16.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.v1beta1.FetchCertificateAuthorityCsrResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchCertificateAuthorityCsrResponse build()
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse

buildPartial()

public FetchCertificateAuthorityCsrResponse buildPartial()
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse

clear()

public FetchCertificateAuthorityCsrResponse.Builder clear()
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public FetchCertificateAuthorityCsrResponse.Builder clone()
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchCertificateAuthorityCsrResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pemCsr.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchCertificateAuthorityCsrResponse other)

public FetchCertificateAuthorityCsrResponse.Builder mergeFrom(FetchCertificateAuthorityCsrResponse other)
Parameter
NameDescription
otherFetchCertificateAuthorityCsrResponse
Returns
TypeDescription
FetchCertificateAuthorityCsrResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pemCsr to set.

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

The bytes for pemCsr to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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