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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSnoozesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSnoozes(Snooze value)
public ListSnoozesResponse.Builder addSnoozes(Snooze value)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter |
---|
Name | Description |
value | Snooze
|
addSnoozes(Snooze.Builder builderForValue)
public ListSnoozesResponse.Builder addSnoozes(Snooze.Builder builderForValue)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
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;
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;
addSnoozesBuilder()
public Snooze.Builder addSnoozesBuilder()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
addSnoozesBuilder(int index)
public Snooze.Builder addSnoozesBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListSnoozesResponse build()
buildPartial()
public ListSnoozesResponse buildPartial()
clear()
public ListSnoozesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSnoozesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSnoozesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSnoozes()
public ListSnoozesResponse.Builder clearSnoozes()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
clone()
public ListSnoozesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSnoozesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
getSnoozesBuilder(int index)
public Snooze.Builder getSnoozesBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter |
---|
Name | Description |
index | int
|
getSnoozesBuilderList()
public List<Snooze.Builder> getSnoozesBuilderList()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
getSnoozesCount()
public int getSnoozesCount()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Returns |
---|
Type | Description |
int | |
getSnoozesList()
public List<Snooze> getSnoozesList()
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
getSnoozesOrBuilder(int index)
public SnoozeOrBuilder getSnoozesOrBuilder(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSnoozesResponse other)
public ListSnoozesResponse.Builder mergeFrom(ListSnoozesResponse other)
public ListSnoozesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSnoozesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSnoozesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSnoozes(int index)
public ListSnoozesResponse.Builder removeSnoozes(int index)
Snooze
s matching this list call.
repeated .google.monitoring.v3.Snooze snoozes = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSnoozesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSnoozesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSnoozesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides