Class ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder (2.27.0)

public static final class ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder extends GeneratedMessageV3.Builder<ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder> implements ListDescendantSecurityHealthAnalyticsCustomModulesResponseOrBuilder

Response message for listing descendant Security Health Analytics custom modules.

Protobuf type google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllSecurityHealthAnalyticsCustomModules(Iterable<? extends SecurityHealthAnalyticsCustomModule> values)

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

Custom modules belonging to the requested parent and its descendants.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule value)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule value)

Custom modules belonging to the requested parent and its descendants.

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

Parameter
NameDescription
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder addSecurityHealthAnalyticsCustomModules(SecurityHealthAnalyticsCustomModule.Builder builderForValue)

Custom modules belonging to the requested parent and its descendants.

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

Parameter
NameDescription
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

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

Custom modules belonging to the requested parent and its descendants.

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

Parameters
NameDescription
indexint
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

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

Custom modules belonging to the requested parent and its descendants.

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

Parameters
NameDescription
indexint
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

addSecurityHealthAnalyticsCustomModulesBuilder()

public SecurityHealthAnalyticsCustomModule.Builder addSecurityHealthAnalyticsCustomModulesBuilder()

Custom modules belonging to the requested parent and its descendants.

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 and its descendants.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityHealthAnalyticsCustomModule.Builder

build()

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse build()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse

buildPartial()

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse buildPartial()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSecurityHealthAnalyticsCustomModules()

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder clearSecurityHealthAnalyticsCustomModules()

Custom modules belonging to the requested parent and its descendants.

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

Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse

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 and its descendants.

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 and its descendants.

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 and its descendants.

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 and its descendants.

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 and its descendants.

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 and its descendants.

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 and its descendants.

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(ListDescendantSecurityHealthAnalyticsCustomModulesResponse other)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder mergeFrom(ListDescendantSecurityHealthAnalyticsCustomModulesResponse other)
Parameter
NameDescription
otherListDescendantSecurityHealthAnalyticsCustomModulesResponse
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSecurityHealthAnalyticsCustomModules(int index)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder removeSecurityHealthAnalyticsCustomModules(int index)

Custom modules belonging to the requested parent and its descendants.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.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
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDescendantSecurityHealthAnalyticsCustomModulesResponse.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
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

This builder for chaining.

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

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

setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule value)

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

Custom modules belonging to the requested parent and its descendants.

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

Parameters
NameDescription
indexint
valueSecurityHealthAnalyticsCustomModule
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

setSecurityHealthAnalyticsCustomModules(int index, SecurityHealthAnalyticsCustomModule.Builder builderForValue)

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

Custom modules belonging to the requested parent and its descendants.

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

Parameters
NameDescription
indexint
builderForValueSecurityHealthAnalyticsCustomModule.Builder
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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