Class ListReusableConfigsResponse.Builder (2.48.0)

public static final class ListReusableConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListReusableConfigsResponse.Builder> implements ListReusableConfigsResponseOrBuilder

Response message for CertificateAuthorityService.ListReusableConfigs.

Protobuf type google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllReusableConfigs(Iterable<? extends ReusableConfig> values)

public ListReusableConfigsResponse.Builder addAllReusableConfigs(Iterable<? extends ReusableConfig> values)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1beta1.ReusableConfig>
Returns
Type Description
ListReusableConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListReusableConfigsResponse.Builder addAllUnreachable(Iterable<String> values)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReusableConfigs(ReusableConfig value)

public ListReusableConfigsResponse.Builder addReusableConfigs(ReusableConfig value)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
value ReusableConfig
Returns
Type Description
ListReusableConfigsResponse.Builder

addReusableConfigs(ReusableConfig.Builder builderForValue)

public ListReusableConfigsResponse.Builder addReusableConfigs(ReusableConfig.Builder builderForValue)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
builderForValue ReusableConfig.Builder
Returns
Type Description
ListReusableConfigsResponse.Builder

addReusableConfigs(int index, ReusableConfig value)

public ListReusableConfigsResponse.Builder addReusableConfigs(int index, ReusableConfig value)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameters
Name Description
index int
value ReusableConfig
Returns
Type Description
ListReusableConfigsResponse.Builder

addReusableConfigs(int index, ReusableConfig.Builder builderForValue)

public ListReusableConfigsResponse.Builder addReusableConfigs(int index, ReusableConfig.Builder builderForValue)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameters
Name Description
index int
builderForValue ReusableConfig.Builder
Returns
Type Description
ListReusableConfigsResponse.Builder

addReusableConfigsBuilder()

public ReusableConfig.Builder addReusableConfigsBuilder()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
ReusableConfig.Builder

addReusableConfigsBuilder(int index)

public ReusableConfig.Builder addReusableConfigsBuilder(int index)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReusableConfig.Builder

addUnreachable(String value)

public ListReusableConfigsResponse.Builder addUnreachable(String value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListReusableConfigsResponse.Builder addUnreachableBytes(ByteString value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

build()

public ListReusableConfigsResponse build()
Returns
Type Description
ListReusableConfigsResponse

buildPartial()

public ListReusableConfigsResponse buildPartial()
Returns
Type Description
ListReusableConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReusableConfigsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReusableConfigs()

public ListReusableConfigsResponse.Builder clearReusableConfigs()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
ListReusableConfigsResponse.Builder

clearUnreachable()

public ListReusableConfigsResponse.Builder clearUnreachable()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReusableConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListReusableConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getReusableConfigs(int index)

public ReusableConfig getReusableConfigs(int index)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReusableConfig

getReusableConfigsBuilder(int index)

public ReusableConfig.Builder getReusableConfigsBuilder(int index)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReusableConfig.Builder

getReusableConfigsBuilderList()

public List<ReusableConfig.Builder> getReusableConfigsBuilderList()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
List<Builder>

getReusableConfigsCount()

public int getReusableConfigsCount()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
int

getReusableConfigsList()

public List<ReusableConfig> getReusableConfigsList()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
List<ReusableConfig>

getReusableConfigsOrBuilder(int index)

public ReusableConfigOrBuilder getReusableConfigsOrBuilder(int index)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ReusableConfigOrBuilder

getReusableConfigsOrBuilderList()

public List<? extends ReusableConfigOrBuilder> getReusableConfigsOrBuilderList()

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1beta1.ReusableConfigOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReusableConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReusableConfigs(int index)

public ListReusableConfigsResponse.Builder removeReusableConfigs(int index)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReusableConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListReusableConfigsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReusableConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.

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

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

setReusableConfigs(int index, ReusableConfig value)

public ListReusableConfigsResponse.Builder setReusableConfigs(int index, ReusableConfig value)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameters
Name Description
index int
value ReusableConfig
Returns
Type Description
ListReusableConfigsResponse.Builder

setReusableConfigs(int index, ReusableConfig.Builder builderForValue)

public ListReusableConfigsResponse.Builder setReusableConfigs(int index, ReusableConfig.Builder builderForValue)

The list of ReusableConfigs.

repeated .google.cloud.security.privateca.v1beta1.ReusableConfig reusable_configs = 1;

Parameters
Name Description
index int
builderForValue ReusableConfig.Builder
Returns
Type Description
ListReusableConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListReusableConfigsResponse.Builder setUnreachable(int index, String value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListReusableConfigsResponse.Builder

This builder for chaining.