Class GetEventThreatDetectionCustomModuleRequest.Builder (0.7.0)

public static final class GetEventThreatDetectionCustomModuleRequest.Builder extends GeneratedMessageV3.Builder<GetEventThreatDetectionCustomModuleRequest.Builder> implements GetEventThreatDetectionCustomModuleRequestOrBuilder

Message for getting a EventThreatDetectionCustomModule

Protobuf type google.cloud.securitycentermanagement.v1.GetEventThreatDetectionCustomModuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetEventThreatDetectionCustomModuleRequest build()
Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest

buildPartial()

public GetEventThreatDetectionCustomModuleRequest buildPartial()
Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetEventThreatDetectionCustomModuleRequest.Builder clearName()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetEventThreatDetectionCustomModuleRequest getDefaultInstanceForType()
Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetEventThreatDetectionCustomModuleRequest other)

public GetEventThreatDetectionCustomModuleRequest.Builder mergeFrom(GetEventThreatDetectionCustomModuleRequest other)
Parameter
NameDescription
otherGetEventThreatDetectionCustomModuleRequest
Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetEventThreatDetectionCustomModuleRequest.Builder setName(String value)

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetEventThreatDetectionCustomModuleRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetEventThreatDetectionCustomModuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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