public static final class ListSnoozesResponse.Builder extends GeneratedMessageV3.Builder<ListSnoozesResponse.Builder> implements ListSnoozesResponseOrBuilder
The results of a successful ListSnoozes
call, containing the matching
Snooze
s.
Protobuf type google.monitoring.v3.ListSnoozesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllSnoozes(Iterable<? extends Snooze> values)
public ListSnoozesResponse.Builder addAllSnoozes(Iterable<? extends Snooze> values)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.Snooze>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSnoozesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSnoozes(Snooze value)
public ListSnoozesResponse.Builder addSnoozes(Snooze value)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
addSnoozes(Snooze.Builder builderForValue)
public ListSnoozesResponse.Builder addSnoozes(Snooze.Builder builderForValue)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
addSnoozes(int index, Snooze value)
public ListSnoozesResponse.Builder addSnoozes(int index, Snooze value)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameters
Returns
addSnoozes(int index, Snooze.Builder builderForValue)
public ListSnoozesResponse.Builder addSnoozes(int index, Snooze.Builder builderForValue)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameters
Returns
addSnoozesBuilder()
public Snooze.Builder addSnoozesBuilder()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
addSnoozesBuilder(int index)
public Snooze.Builder addSnoozesBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
build()
public ListSnoozesResponse build()
Returns
buildPartial()
public ListSnoozesResponse buildPartial()
Returns
clear()
public ListSnoozesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSnoozesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSnoozesResponse.Builder clearNextPageToken()
Page token for repeated calls to ListSnoozes
, to fetch additional pages
of results. If this is empty or missing, there are no more pages.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSnoozesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSnoozes()
public ListSnoozesResponse.Builder clearSnoozes()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
clone()
public ListSnoozesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSnoozesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Page token for repeated calls to ListSnoozes
, to fetch additional pages
of results. If this is empty or missing, there are no more pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Page token for repeated calls to ListSnoozes
, to fetch additional pages
of results. If this is empty or missing, there are no more pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSnoozes(int index)
public Snooze getSnoozes(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
getSnoozesBuilder(int index)
public Snooze.Builder getSnoozesBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
getSnoozesBuilderList()
public List<Snooze.Builder> getSnoozesBuilderList()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
getSnoozesCount()
public int getSnoozesCount()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
getSnoozesList()
public List<Snooze> getSnoozesList()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
getSnoozesOrBuilder(int index)
public SnoozeOrBuilder getSnoozesOrBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
getSnoozesOrBuilderList()
public List<? extends SnoozeOrBuilder> getSnoozesOrBuilderList()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.SnoozeOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSnoozesResponse other)
public ListSnoozesResponse.Builder mergeFrom(ListSnoozesResponse other)
Parameter
Returns
public ListSnoozesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSnoozesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSnoozesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSnoozes(int index)
public ListSnoozesResponse.Builder removeSnoozes(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSnoozesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListSnoozesResponse.Builder setNextPageToken(String value)
Page token for repeated calls to ListSnoozes
, to fetch additional pages
of results. If this is empty or missing, there are no more pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListSnoozesResponse.Builder setNextPageTokenBytes(ByteString value)
Page token for repeated calls to ListSnoozes
, to fetch additional pages
of results. If this is empty or missing, there are no more pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSnoozesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSnoozes(int index, Snooze value)
public ListSnoozesResponse.Builder setSnoozes(int index, Snooze value)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameters
Returns
setSnoozes(int index, Snooze.Builder builderForValue)
public ListSnoozesResponse.Builder setSnoozes(int index, Snooze.Builder builderForValue)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSnoozesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides