Class ListReusableConfigsResponse.Builder (2.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.ReusableConfig>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListReusableConfigsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReusableConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReusableConfig
Returns
TypeDescription
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
NameDescription
builderForValueReusableConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReusableConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReusableConfig.Builder
Returns
TypeDescription
ListReusableConfigsResponse.Builder

addReusableConfigsBuilder()

public ReusableConfig.Builder addReusableConfigsBuilder()

The list of ReusableConfigs.

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

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListReusableConfigsResponse.Builder

This builder for chaining.

build()

public ListReusableConfigsResponse build()
Returns
TypeDescription
ListReusableConfigsResponse

buildPartial()

public ListReusableConfigsResponse buildPartial()
Returns
TypeDescription
ListReusableConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListReusableConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListReusableConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReusableConfigs()

public ListReusableConfigsResponse.Builder clearReusableConfigs()

The list of ReusableConfigs.

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

Returns
TypeDescription
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
TypeDescription
ListReusableConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReusableConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReusableConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReusableConfig.Builder

getReusableConfigsBuilderList()

public List<ReusableConfig.Builder> getReusableConfigsBuilderList()

The list of ReusableConfigs.

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

Returns
TypeDescription
List<Builder>

getReusableConfigsCount()

public int getReusableConfigsCount()

The list of ReusableConfigs.

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

Returns
TypeDescription
int

getReusableConfigsList()

public List<ReusableConfig> getReusableConfigsList()

The list of ReusableConfigs.

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

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

getReusableConfigsOrBuilderList()

public List<? extends ReusableConfigOrBuilder> getReusableConfigsOrBuilderList()

The list of ReusableConfigs.

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

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReusableConfigsResponse other)

public ListReusableConfigsResponse.Builder mergeFrom(ListReusableConfigsResponse other)
Parameter
NameDescription
otherListReusableConfigsResponse
Returns
TypeDescription
ListReusableConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReusableConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReusableConfig.Builder
Returns
TypeDescription
ListReusableConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListReusableConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListReusableConfigsResponse.Builder

This builder for chaining.