Class ListTrustConfigsResponse.Builder (0.57.0)

public static final class ListTrustConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListTrustConfigsResponse.Builder> implements ListTrustConfigsResponseOrBuilder

Response for the ListTrustConfigs method.

Protobuf type google.cloud.certificatemanager.v1.ListTrustConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllTrustConfigs(Iterable<? extends TrustConfig> values)

public ListTrustConfigsResponse.Builder addAllTrustConfigs(Iterable<? extends TrustConfig> values)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig>
Returns
Type Description
ListTrustConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrustConfigs(TrustConfig value)

public ListTrustConfigsResponse.Builder addTrustConfigs(TrustConfig value)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
value TrustConfig
Returns
Type Description
ListTrustConfigsResponse.Builder

addTrustConfigs(TrustConfig.Builder builderForValue)

public ListTrustConfigsResponse.Builder addTrustConfigs(TrustConfig.Builder builderForValue)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
builderForValue TrustConfig.Builder
Returns
Type Description
ListTrustConfigsResponse.Builder

addTrustConfigs(int index, TrustConfig value)

public ListTrustConfigsResponse.Builder addTrustConfigs(int index, TrustConfig value)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameters
Name Description
index int
value TrustConfig
Returns
Type Description
ListTrustConfigsResponse.Builder

addTrustConfigs(int index, TrustConfig.Builder builderForValue)

public ListTrustConfigsResponse.Builder addTrustConfigs(int index, TrustConfig.Builder builderForValue)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameters
Name Description
index int
builderForValue TrustConfig.Builder
Returns
Type Description
ListTrustConfigsResponse.Builder

addTrustConfigsBuilder()

public TrustConfig.Builder addTrustConfigsBuilder()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
TrustConfig.Builder

addTrustConfigsBuilder(int index)

public TrustConfig.Builder addTrustConfigsBuilder(int index)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.Builder

addUnreachable(String value)

public ListTrustConfigsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListTrustConfigsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

build()

public ListTrustConfigsResponse build()
Returns
Type Description
ListTrustConfigsResponse

buildPartial()

public ListTrustConfigsResponse buildPartial()
Returns
Type Description
ListTrustConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTrustConfigsResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrustConfigs()

public ListTrustConfigsResponse.Builder clearTrustConfigs()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
ListTrustConfigsResponse.Builder

clearUnreachable()

public ListTrustConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTrustConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListTrustConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTrustConfigs(int index)

public TrustConfig getTrustConfigs(int index)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig

getTrustConfigsBuilder(int index)

public TrustConfig.Builder getTrustConfigsBuilder(int index)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.Builder

getTrustConfigsBuilderList()

public List<TrustConfig.Builder> getTrustConfigsBuilderList()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
List<Builder>

getTrustConfigsCount()

public int getTrustConfigsCount()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
int

getTrustConfigsList()

public List<TrustConfig> getTrustConfigsList()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
List<TrustConfig>

getTrustConfigsOrBuilder(int index)

public TrustConfigOrBuilder getTrustConfigsOrBuilder(int index)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfigOrBuilder

getTrustConfigsOrBuilderList()

public List<? extends TrustConfigOrBuilder> getTrustConfigsOrBuilderList()

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.certificatemanager.v1.TrustConfigOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations 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)

Locations 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()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations 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(ListTrustConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTrustConfigs(int index)

public ListTrustConfigsResponse.Builder removeTrustConfigs(int index)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTrustConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTrustConfigsResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTrustConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListTrustConfigsResponse.Builder

This builder for chaining.

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

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

setTrustConfigs(int index, TrustConfig value)

public ListTrustConfigsResponse.Builder setTrustConfigs(int index, TrustConfig value)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameters
Name Description
index int
value TrustConfig
Returns
Type Description
ListTrustConfigsResponse.Builder

setTrustConfigs(int index, TrustConfig.Builder builderForValue)

public ListTrustConfigsResponse.Builder setTrustConfigs(int index, TrustConfig.Builder builderForValue)

A list of TrustConfigs for the parent resource.

repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1;

Parameters
Name Description
index int
builderForValue TrustConfig.Builder
Returns
Type Description
ListTrustConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations 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
ListTrustConfigsResponse.Builder

This builder for chaining.