Class ListUptimeCheckConfigsResponse.Builder (3.56.0)

public static final class ListUptimeCheckConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListUptimeCheckConfigsResponse.Builder> implements ListUptimeCheckConfigsResponseOrBuilder

The protocol for the ListUptimeCheckConfigs response.

Protobuf type google.monitoring.v3.ListUptimeCheckConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllUptimeCheckConfigs(Iterable<? extends UptimeCheckConfig> values)

public ListUptimeCheckConfigsResponse.Builder addAllUptimeCheckConfigs(Iterable<? extends UptimeCheckConfig> values)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.monitoring.v3.UptimeCheckConfig>
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUptimeCheckConfigs(UptimeCheckConfig value)

public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(UptimeCheckConfig value)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
value UptimeCheckConfig
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

addUptimeCheckConfigs(UptimeCheckConfig.Builder builderForValue)

public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(UptimeCheckConfig.Builder builderForValue)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
builderForValue UptimeCheckConfig.Builder
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

addUptimeCheckConfigs(int index, UptimeCheckConfig value)

public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(int index, UptimeCheckConfig value)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameters
Name Description
index int
value UptimeCheckConfig
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

addUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)

public ListUptimeCheckConfigsResponse.Builder addUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameters
Name Description
index int
builderForValue UptimeCheckConfig.Builder
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

addUptimeCheckConfigsBuilder()

public UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
UptimeCheckConfig.Builder

addUptimeCheckConfigsBuilder(int index)

public UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder(int index)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
UptimeCheckConfig.Builder

build()

public ListUptimeCheckConfigsResponse build()
Returns
Type Description
ListUptimeCheckConfigsResponse

buildPartial()

public ListUptimeCheckConfigsResponse buildPartial()
Returns
Type Description
ListUptimeCheckConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListUptimeCheckConfigsResponse.Builder clearNextPageToken()

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

string next_page_token = 2;

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListUptimeCheckConfigsResponse.Builder clearTotalSize()

The total number of Uptime check configurations for the project, irrespective of any pagination.

int32 total_size = 3;

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

clearUptimeCheckConfigs()

public ListUptimeCheckConfigsResponse.Builder clearUptimeCheckConfigs()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListUptimeCheckConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListUptimeCheckConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The total number of Uptime check configurations for the project, irrespective of any pagination.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

getUptimeCheckConfigs(int index)

public UptimeCheckConfig getUptimeCheckConfigs(int index)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
UptimeCheckConfig

getUptimeCheckConfigsBuilder(int index)

public UptimeCheckConfig.Builder getUptimeCheckConfigsBuilder(int index)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
UptimeCheckConfig.Builder

getUptimeCheckConfigsBuilderList()

public List<UptimeCheckConfig.Builder> getUptimeCheckConfigsBuilderList()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
List<Builder>

getUptimeCheckConfigsCount()

public int getUptimeCheckConfigsCount()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
int

getUptimeCheckConfigsList()

public List<UptimeCheckConfig> getUptimeCheckConfigsList()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
List<UptimeCheckConfig>

getUptimeCheckConfigsOrBuilder(int index)

public UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder(int index)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
UptimeCheckConfigOrBuilder

getUptimeCheckConfigsOrBuilderList()

public List<? extends UptimeCheckConfigOrBuilder> getUptimeCheckConfigsOrBuilderList()

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Returns
Type Description
List<? extends com.google.monitoring.v3.UptimeCheckConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUptimeCheckConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeUptimeCheckConfigs(int index)

public ListUptimeCheckConfigsResponse.Builder removeUptimeCheckConfigs(int index)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListUptimeCheckConfigsResponse.Builder setNextPageToken(String value)

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUptimeCheckConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field).

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

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

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

setTotalSize(int value)

public ListUptimeCheckConfigsResponse.Builder setTotalSize(int value)

The total number of Uptime check configurations for the project, irrespective of any pagination.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUptimeCheckConfigs(int index, UptimeCheckConfig value)

public ListUptimeCheckConfigsResponse.Builder setUptimeCheckConfigs(int index, UptimeCheckConfig value)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameters
Name Description
index int
value UptimeCheckConfig
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder

setUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)

public ListUptimeCheckConfigsResponse.Builder setUptimeCheckConfigs(int index, UptimeCheckConfig.Builder builderForValue)

The returned Uptime check configurations.

repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1;

Parameters
Name Description
index int
builderForValue UptimeCheckConfig.Builder
Returns
Type Description
ListUptimeCheckConfigsResponse.Builder