Class ListUptimeCheckConfigsResponse.Builder (3.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.UptimeCheckConfig>
Returns
TypeDescription
ListUptimeCheckConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUptimeCheckConfigsBuilder()

public UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder()

The returned Uptime check configurations.

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

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

build()

public ListUptimeCheckConfigsResponse build()
Returns
TypeDescription
ListUptimeCheckConfigsResponse

buildPartial()

public ListUptimeCheckConfigsResponse buildPartial()
Returns
TypeDescription
ListUptimeCheckConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListUptimeCheckConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListUptimeCheckConfigsResponse

getDescriptorForType()

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

getUptimeCheckConfigsBuilderList()

public List<UptimeCheckConfig.Builder> getUptimeCheckConfigsBuilderList()

The returned Uptime check configurations.

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

Returns
TypeDescription
List<Builder>

getUptimeCheckConfigsCount()

public int getUptimeCheckConfigsCount()

The returned Uptime check configurations.

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

Returns
TypeDescription
int

getUptimeCheckConfigsList()

public List<UptimeCheckConfig> getUptimeCheckConfigsList()

The returned Uptime check configurations.

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

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

getUptimeCheckConfigsOrBuilderList()

public List<? extends UptimeCheckConfigOrBuilder> getUptimeCheckConfigsOrBuilderList()

The returned Uptime check configurations.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListUptimeCheckConfigsResponse other)

public ListUptimeCheckConfigsResponse.Builder mergeFrom(ListUptimeCheckConfigsResponse other)
Parameter
NameDescription
otherListUptimeCheckConfigsResponse
Returns
TypeDescription
ListUptimeCheckConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

The totalSize to set.

Returns
TypeDescription
ListUptimeCheckConfigsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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