Class CertificateAuthority.AccessUrls.Builder (2.5.4)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The crlAccessUrls to add.

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

The crlAccessUrls to add.

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

The bytes of the crlAccessUrls to add.

Returns
TypeDescription
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.AccessUrls build()
Returns
TypeDescription
CertificateAuthority.AccessUrls

buildPartial()

public CertificateAuthority.AccessUrls buildPartial()
Returns
TypeDescription
CertificateAuthority.AccessUrls

clear()

public CertificateAuthority.AccessUrls.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.AccessUrls.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateAuthority.AccessUrls.Builder
Overrides

clone()

public CertificateAuthority.AccessUrls.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the crlAccessUrls.

getDefaultInstanceForType()

public CertificateAuthority.AccessUrls getDefaultInstanceForType()
Returns
TypeDescription
CertificateAuthority.AccessUrls

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateAuthority.AccessUrls other)

public CertificateAuthority.AccessUrls.Builder mergeFrom(CertificateAuthority.AccessUrls other)
Parameter
NameDescription
otherCertificateAuthority.AccessUrls
Returns
TypeDescription
CertificateAuthority.AccessUrls.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.AccessUrls.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The caCertificateAccessUrl to set.

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

The bytes for caCertificateAccessUrl to set.

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

The index to set the value at.

valueString

The crlAccessUrls to set.

Returns
TypeDescription
CertificateAuthority.AccessUrls.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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