Class ListInsightsConfigsResponse.Builder (0.24.0)

public static final class ListInsightsConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListInsightsConfigsResponse.Builder> implements ListInsightsConfigsResponseOrBuilder

Request for response to listing InsightsConfigs.

Protobuf type google.cloud.developerconnect.v1.ListInsightsConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllInsightsConfigs(Iterable<? extends InsightsConfig> values)

public ListInsightsConfigsResponse.Builder addAllInsightsConfigs(Iterable<? extends InsightsConfig> values)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.developerconnect.v1.InsightsConfig>
Returns
Type Description
ListInsightsConfigsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInsightsConfigsResponse.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
ListInsightsConfigsResponse.Builder

This builder for chaining.

addInsightsConfigs(InsightsConfig value)

public ListInsightsConfigsResponse.Builder addInsightsConfigs(InsightsConfig value)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
value InsightsConfig
Returns
Type Description
ListInsightsConfigsResponse.Builder

addInsightsConfigs(InsightsConfig.Builder builderForValue)

public ListInsightsConfigsResponse.Builder addInsightsConfigs(InsightsConfig.Builder builderForValue)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
builderForValue InsightsConfig.Builder
Returns
Type Description
ListInsightsConfigsResponse.Builder

addInsightsConfigs(int index, InsightsConfig value)

public ListInsightsConfigsResponse.Builder addInsightsConfigs(int index, InsightsConfig value)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameters
Name Description
index int
value InsightsConfig
Returns
Type Description
ListInsightsConfigsResponse.Builder

addInsightsConfigs(int index, InsightsConfig.Builder builderForValue)

public ListInsightsConfigsResponse.Builder addInsightsConfigs(int index, InsightsConfig.Builder builderForValue)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameters
Name Description
index int
builderForValue InsightsConfig.Builder
Returns
Type Description
ListInsightsConfigsResponse.Builder

addInsightsConfigsBuilder()

public InsightsConfig.Builder addInsightsConfigsBuilder()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
InsightsConfig.Builder

addInsightsConfigsBuilder(int index)

public InsightsConfig.Builder addInsightsConfigsBuilder(int index)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListInsightsConfigsResponse.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
ListInsightsConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListInsightsConfigsResponse.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
ListInsightsConfigsResponse.Builder

This builder for chaining.

build()

public ListInsightsConfigsResponse build()
Returns
Type Description
ListInsightsConfigsResponse

buildPartial()

public ListInsightsConfigsResponse buildPartial()
Returns
Type Description
ListInsightsConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInsightsConfigs()

public ListInsightsConfigsResponse.Builder clearInsightsConfigs()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
ListInsightsConfigsResponse.Builder

clearNextPageToken()

public ListInsightsConfigsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListInsightsConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListInsightsConfigsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListInsightsConfigsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListInsightsConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListInsightsConfigsResponse

getDescriptorForType()

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

getInsightsConfigs(int index)

public InsightsConfig getInsightsConfigs(int index)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig

getInsightsConfigsBuilder(int index)

public InsightsConfig.Builder getInsightsConfigsBuilder(int index)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InsightsConfig.Builder

getInsightsConfigsBuilderList()

public List<InsightsConfig.Builder> getInsightsConfigsBuilderList()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
List<Builder>

getInsightsConfigsCount()

public int getInsightsConfigsCount()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
int

getInsightsConfigsList()

public List<InsightsConfig> getInsightsConfigsList()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
List<InsightsConfig>

getInsightsConfigsOrBuilder(int index)

public InsightsConfigOrBuilder getInsightsConfigsOrBuilder(int index)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InsightsConfigOrBuilder

getInsightsConfigsOrBuilderList()

public List<? extends InsightsConfigOrBuilder> getInsightsConfigsOrBuilderList()

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.developerconnect.v1.InsightsConfigOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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(ListInsightsConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInsightsConfigs(int index)

public ListInsightsConfigsResponse.Builder removeInsightsConfigs(int index)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInsightsConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInsightsConfigs(int index, InsightsConfig value)

public ListInsightsConfigsResponse.Builder setInsightsConfigs(int index, InsightsConfig value)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameters
Name Description
index int
value InsightsConfig
Returns
Type Description
ListInsightsConfigsResponse.Builder

setInsightsConfigs(int index, InsightsConfig.Builder builderForValue)

public ListInsightsConfigsResponse.Builder setInsightsConfigs(int index, InsightsConfig.Builder builderForValue)

The list of InsightsConfigs.

repeated .google.cloud.developerconnect.v1.InsightsConfig insights_configs = 1;

Parameters
Name Description
index int
builderForValue InsightsConfig.Builder
Returns
Type Description
ListInsightsConfigsResponse.Builder

setNextPageToken(String value)

public ListInsightsConfigsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInsightsConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInsightsConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInsightsConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListInsightsConfigsResponse.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
ListInsightsConfigsResponse.Builder

This builder for chaining.