Class CertificateAuthority.AccessUrls.Builder (2.48.0)

public static final class CertificateAuthority.AccessUrls.Builder extends GeneratedMessageV3.Builder<CertificateAuthority.AccessUrls.Builder> implements CertificateAuthority.AccessUrlsOrBuilder

URLs where a CertificateAuthority will publish content.

Protobuf type google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls

Static Methods

getDescriptor()

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

Methods

addAllCrlAccessUrls(Iterable<String> values)

public CertificateAuthority.AccessUrls.Builder addAllCrlAccessUrls(Iterable<String> values)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameter
Name Description
values Iterable<String>

The crlAccessUrls to add.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

addCrlAccessUrls(String value)

public CertificateAuthority.AccessUrls.Builder addCrlAccessUrls(String value)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameter
Name Description
value String

The crlAccessUrls to add.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

addCrlAccessUrlsBytes(ByteString value)

public CertificateAuthority.AccessUrls.Builder addCrlAccessUrlsBytes(ByteString value)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameter
Name Description
value ByteString

The bytes of the crlAccessUrls to add.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.AccessUrls build()
Returns
Type Description
CertificateAuthority.AccessUrls

buildPartial()

public CertificateAuthority.AccessUrls buildPartial()
Returns
Type Description
CertificateAuthority.AccessUrls

clear()

public CertificateAuthority.AccessUrls.Builder clear()
Returns
Type Description
CertificateAuthority.AccessUrls.Builder
Overrides

clearCaCertificateAccessUrl()

public CertificateAuthority.AccessUrls.Builder clearCaCertificateAccessUrl()

The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated.

string ca_certificate_access_url = 1;

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

clearCrlAccessUrls()

public CertificateAuthority.AccessUrls.Builder clearCrlAccessUrls()

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CertificateAuthority.AccessUrls.Builder clone()
Returns
Type Description
CertificateAuthority.AccessUrls.Builder
Overrides

getCaCertificateAccessUrl()

public String getCaCertificateAccessUrl()

The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated.

string ca_certificate_access_url = 1;

Returns
Type Description
String

The caCertificateAccessUrl.

getCaCertificateAccessUrlBytes()

public ByteString getCaCertificateAccessUrlBytes()

The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated.

string ca_certificate_access_url = 1;

Returns
Type Description
ByteString

The bytes for caCertificateAccessUrl.

getCrlAccessUrls(int index)

public String getCrlAccessUrls(int index)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The crlAccessUrls at the given index.

getCrlAccessUrlsBytes(int index)

public ByteString getCrlAccessUrlsBytes(int index)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the crlAccessUrls at the given index.

getCrlAccessUrlsCount()

public int getCrlAccessUrlsCount()

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Returns
Type Description
int

The count of crlAccessUrls.

getCrlAccessUrlsList()

public ProtocolStringList getCrlAccessUrlsList()

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Returns
Type Description
ProtocolStringList

A list containing the crlAccessUrls.

getDefaultInstanceForType()

public CertificateAuthority.AccessUrls getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.AccessUrls

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateAuthority.AccessUrls other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCaCertificateAccessUrl(String value)

public CertificateAuthority.AccessUrls.Builder setCaCertificateAccessUrl(String value)

The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated.

string ca_certificate_access_url = 1;

Parameter
Name Description
value String

The caCertificateAccessUrl to set.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

setCaCertificateAccessUrlBytes(ByteString value)

public CertificateAuthority.AccessUrls.Builder setCaCertificateAccessUrlBytes(ByteString value)

The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated.

string ca_certificate_access_url = 1;

Parameter
Name Description
value ByteString

The bytes for caCertificateAccessUrl to set.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

setCrlAccessUrls(int index, String value)

public CertificateAuthority.AccessUrls.Builder setCrlAccessUrls(int index, String value)

The URLs where this CertificateAuthority's CRLs are published. This will only be set for CAs that have been activated.

repeated string crl_access_urls = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The crlAccessUrls to set.

Returns
Type Description
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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