Class ListSecurityHealthAnalyticsCustomModulesResponse.Builder (2.42.0)

public static final class ListSecurityHealthAnalyticsCustomModulesResponse.Builder extends GeneratedMessageV3.Builder<ListSecurityHealthAnalyticsCustomModulesResponse.Builder> implements ListSecurityHealthAnalyticsCustomModulesResponseOrBuilder

Response message for listing Security Health Analytics custom modules.

Protobuf type google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListSecurityHealthAnalyticsCustomModulesResponse.Builder

Static Methods

getDescriptor()

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

Methods

addAllSecurityHealthAnalyticsCustomModules(Iterable<? extends SecurityHealthAnalyticsCustomModule> values)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addAllSecurityHealthAnalyticsCustomModules(Iterable<? extends SecurityHealthAnalyticsCustomModule> values)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule value)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameters
NameDescription
indexint
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameters
NameDescription
indexint
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModulesBuilder()

public SecurityHealthAnalyticsCustomModule.Builder addSecurityHealthAnalyticsCustomModulesBuilder()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

addSecurityHealthAnalyticsCustomModulesBuilder(int index)

public SecurityHealthAnalyticsCustomModule.Builder addSecurityHealthAnalyticsCustomModulesBuilder(int index)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

build()

public ListSecurityHealthAnalyticsCustomModulesResponse build()
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse

buildPartial()

public ListSecurityHealthAnalyticsCustomModulesResponse buildPartial()
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse

clear()

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clear()
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

clearNextPageToken()

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clearNextPageToken()

If not empty, indicates that there may be more custom modules to be returned.

string next_page_token = 2;

Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

clearSecurityHealthAnalyticsCustomModules()

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clearSecurityHealthAnalyticsCustomModules()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

clone()

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder clone()
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSecurityHealthAnalyticsCustomModulesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more custom modules to be returned.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more custom modules to be returned.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSecurityHealthAnalyticsCustomModules(int index)

public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModules(int index)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule

getSecurityHealthAnalyticsCustomModulesBuilder(int index)

public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModulesBuilder(int index)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

getSecurityHealthAnalyticsCustomModulesBuilderList()

public List<SecurityHealthAnalyticsCustomModule.Builder> getSecurityHealthAnalyticsCustomModulesBuilderList()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Returns
TypeDescription
List<Builder>

getSecurityHealthAnalyticsCustomModulesCount()

public int getSecurityHealthAnalyticsCustomModulesCount()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Returns
TypeDescription
int

getSecurityHealthAnalyticsCustomModulesList()

public List<SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModulesList()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Returns
TypeDescription
List<SecurityHealthAnalyticsCustomModule>

getSecurityHealthAnalyticsCustomModulesOrBuilder(int index)

public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModulesOrBuilder(int index)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityHealthAnalyticsCustomModuleOrBuilder

getSecurityHealthAnalyticsCustomModulesOrBuilderList()

public List<? extends SecurityHealthAnalyticsCustomModuleOrBuilder> getSecurityHealthAnalyticsCustomModulesOrBuilderList()

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSecurityHealthAnalyticsCustomModulesResponse other)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder mergeFrom(ListSecurityHealthAnalyticsCustomModulesResponse other)
Parameter
NameDescription
otherListSecurityHealthAnalyticsCustomModulesResponse
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSecurityHealthAnalyticsCustomModulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

removeSecurityHealthAnalyticsCustomModules(int index)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder removeSecurityHealthAnalyticsCustomModules(int index)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

setNextPageToken(String value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setNextPageToken(String value)

If not empty, indicates that there may be more custom modules to be returned.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setNextPageTokenBytes(ByteString value)

If not empty, indicates that there may be more custom modules to be returned.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides

setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameters
NameDescription
indexint
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public ListSecurityHealthAnalyticsCustomModulesResponse.Builder setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Custom modules belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_modules = 1;

Parameters
NameDescription
indexint
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSecurityHealthAnalyticsCustomModulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSecurityHealthAnalyticsCustomModulesResponse.Builder
Overrides