Class ListComponentsResponse (0.40.0)

public final class ListComponentsResponse extends GeneratedMessageV3 implements ListComponentsResponseOrBuilder

Response message for ListComponents.

Protobuf type google.cloud.securitycenter.settings.v1beta1.ListComponentsResponse

Static Fields

COMPONENTS_FIELD_NUMBER

public static final int COMPONENTS_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 ListComponentsResponse getDefaultInstance()
Returns
TypeDescription
ListComponentsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListComponentsResponse prototype)

public static ListComponentsResponse.Builder newBuilder(ListComponentsResponse prototype)
Parameter
NameDescription
prototypeListComponentsResponse
Returns
TypeDescription
ListComponentsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComponents(int index)

public String getComponents(int index)

The components from the specified organization.

repeated string components = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The components at the given index.

getComponentsBytes(int index)

public ByteString getComponentsBytes(int index)

The components from the specified organization.

repeated string components = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the components at the given index.

getComponentsCount()

public int getComponentsCount()

The components from the specified organization.

repeated string components = 1;

Returns
TypeDescription
int

The count of components.

getComponentsList()

public ProtocolStringList getComponentsList()

The components from the specified organization.

repeated string components = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the components.

getDefaultInstanceForType()

public ListComponentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListComponentsResponse

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListComponentsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListComponentsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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