Class ListNotificationChannelDescriptorsResponse (3.3.0)

public final class ListNotificationChannelDescriptorsResponse extends GeneratedMessageV3 implements ListNotificationChannelDescriptorsResponseOrBuilder

The ListNotificationChannelDescriptors response.

Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListNotificationChannelDescriptorsResponse

Static Fields

CHANNEL_DESCRIPTORS_FIELD_NUMBER

public static final int CHANNEL_DESCRIPTORS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNotificationChannelDescriptorsResponse getDefaultInstance()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListNotificationChannelDescriptorsResponse prototype)

public static ListNotificationChannelDescriptorsResponse.Builder newBuilder(ListNotificationChannelDescriptorsResponse prototype)
Parameter
NameDescription
prototypeListNotificationChannelDescriptorsResponse
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChannelDescriptors(int index)

public NotificationChannelDescriptor getChannelDescriptors(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationChannelDescriptor

getChannelDescriptorsCount()

public int getChannelDescriptorsCount()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
TypeDescription
int

getChannelDescriptorsList()

public List<NotificationChannelDescriptor> getChannelDescriptorsList()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
TypeDescription
List<NotificationChannelDescriptor>

getChannelDescriptorsOrBuilder(int index)

public NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationChannelDescriptorOrBuilder

getChannelDescriptorsOrBuilderList()

public List<? extends NotificationChannelDescriptorOrBuilder> getChannelDescriptorsOrBuilderList()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

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

getDefaultInstanceForType()

public ListNotificationChannelDescriptorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more results that match the request. Use the value in the page_token field in a subsequent request to fetch the next set of results. If empty, all results have been returned.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListNotificationChannelDescriptorsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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