Class ListSnoozesResponse (3.17.0)

public final class ListSnoozesResponse extends GeneratedMessageV3 implements ListSnoozesResponseOrBuilder

The results of a successful ListSnoozes call, containing the matching Snoozes.

Protobuf type google.monitoring.v3.ListSnoozesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SNOOZES_FIELD_NUMBER

public static final int SNOOZES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSnoozesResponse getDefaultInstance()
Returns
TypeDescription
ListSnoozesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSnoozesResponse.Builder newBuilder()
Returns
TypeDescription
ListSnoozesResponse.Builder

newBuilder(ListSnoozesResponse prototype)

public static ListSnoozesResponse.Builder newBuilder(ListSnoozesResponse prototype)
Parameter
NameDescription
prototypeListSnoozesResponse
Returns
TypeDescription
ListSnoozesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSnoozesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSnoozesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSnoozesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSnoozesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSnoozesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSnoozesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSnoozesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnoozesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSnoozesResponse> parser()
Returns
TypeDescription
Parser<ListSnoozesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSnoozesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSnoozesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSnoozesResponse> getParserForType()
Returns
TypeDescription
Parser<ListSnoozesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnoozes(int index)

public Snooze getSnoozes(int index)

Snoozes matching this list call.

repeated .google.monitoring.v3.Snooze snoozes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Snooze

getSnoozesCount()

public int getSnoozesCount()

Snoozes matching this list call.

repeated .google.monitoring.v3.Snooze snoozes = 1;

Returns
TypeDescription
int

getSnoozesList()

public List<Snooze> getSnoozesList()

Snoozes matching this list call.

repeated .google.monitoring.v3.Snooze snoozes = 1;

Returns
TypeDescription
List<Snooze>

getSnoozesOrBuilder(int index)

public SnoozeOrBuilder getSnoozesOrBuilder(int index)

Snoozes matching this list call.

repeated .google.monitoring.v3.Snooze snoozes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnoozeOrBuilder

getSnoozesOrBuilderList()

public List<? extends SnoozeOrBuilder> getSnoozesOrBuilderList()

Snoozes matching this list call.

repeated .google.monitoring.v3.Snooze snoozes = 1;

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSnoozesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSnoozesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSnoozesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSnoozesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSnoozesResponse.Builder toBuilder()
Returns
TypeDescription
ListSnoozesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException