Class ListTrustConfigsResponse.Builder (0.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig>
Returns
TypeDescription
ListTrustConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListTrustConfigsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTrustConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrustConfig
Returns
TypeDescription
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
NameDescription
builderForValueTrustConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TrustConfig.Builder

addUnreachable(String value)

public ListTrustConfigsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListTrustConfigsResponse.Builder

This builder for chaining.

build()

public ListTrustConfigsResponse build()
Returns
TypeDescription
ListTrustConfigsResponse

buildPartial()

public ListTrustConfigsResponse buildPartial()
Returns
TypeDescription
ListTrustConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTrustConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListTrustConfigsResponse.Builder

clearUnreachable()

public ListTrustConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListTrustConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTrustConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTrustConfigsResponse

getDescriptorForType()

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

getTrustConfigsCount()

public int getTrustConfigsCount()

A list of TrustConfigs for the parent resource.

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

Returns
TypeDescription
int

getTrustConfigsList()

public List<TrustConfig> getTrustConfigsList()

A list of TrustConfigs for the parent resource.

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

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

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

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

public ListTrustConfigsResponse.Builder mergeFrom(ListTrustConfigsResponse other)
Parameter
NameDescription
otherListTrustConfigsResponse
Returns
TypeDescription
ListTrustConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.Builder
Returns
TypeDescription
ListTrustConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListTrustConfigsResponse.Builder

This builder for chaining.