Class ListNotificationConfigsResponse (2.12.0)

public final class ListNotificationConfigsResponse extends GeneratedMessageV3 implements ListNotificationConfigsResponseOrBuilder

Response message for listing notification configs.

Protobuf type google.cloud.securitycenter.v1.ListNotificationConfigsResponse

Inheritance

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

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

NOTIFICATION_CONFIGS_FIELD_NUMBER

public static final int NOTIFICATION_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNotificationConfigsResponse getDefaultInstance()
Returns
TypeDescription
ListNotificationConfigsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListNotificationConfigsResponse prototype)

public static ListNotificationConfigsResponse.Builder newBuilder(ListNotificationConfigsResponse prototype)
Parameter
NameDescription
prototypeListNotificationConfigsResponse
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListNotificationConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationConfigsResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getNotificationConfigs(int index)

public NotificationConfig getNotificationConfigs(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfig

getNotificationConfigsCount()

public int getNotificationConfigsCount()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
int

getNotificationConfigsList()

public List<NotificationConfig> getNotificationConfigsList()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
List<NotificationConfig>

getNotificationConfigsOrBuilder(int index)

public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfigOrBuilder

getNotificationConfigsOrBuilderList()

public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder>

getParserForType()

public Parser<ListNotificationConfigsResponse> getParserForType()
Returns
TypeDescription
Parser<ListNotificationConfigsResponse>
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 ListNotificationConfigsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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