Class GetNotificationConfigRequest.Builder (2.20.0)

public static final class GetNotificationConfigRequest.Builder extends GeneratedMessageV3.Builder<GetNotificationConfigRequest.Builder> implements GetNotificationConfigRequestOrBuilder

Request message for getting a notification config.

Protobuf type google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNotificationConfigRequest build()
Returns
TypeDescription
GetNotificationConfigRequest

buildPartial()

public GetNotificationConfigRequest buildPartial()
Returns
TypeDescription
GetNotificationConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetNotificationConfigRequest.Builder clearName()

Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

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

Returns
TypeDescription
GetNotificationConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetNotificationConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetNotificationConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

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

public GetNotificationConfigRequest.Builder mergeFrom(GetNotificationConfigRequest other)
Parameter
NameDescription
otherGetNotificationConfigRequest
Returns
TypeDescription
GetNotificationConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetNotificationConfigRequest.Builder setName(String value)

Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetNotificationConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetNotificationConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]".

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetNotificationConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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