Class GetResourceValueConfigRequest.Builder (2.48.0)

public static final class GetResourceValueConfigRequest.Builder extends GeneratedMessageV3.Builder<GetResourceValueConfigRequest.Builder> implements GetResourceValueConfigRequestOrBuilder

Request message to get resource value config

Protobuf type google.cloud.securitycenter.v2.GetResourceValueConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetResourceValueConfigRequest build()
Returns
TypeDescription
GetResourceValueConfigRequest

buildPartial()

public GetResourceValueConfigRequest buildPartial()
Returns
TypeDescription
GetResourceValueConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetResourceValueConfigRequest.Builder clearName()

Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}.

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

Returns
TypeDescription
GetResourceValueConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetResourceValueConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetResourceValueConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{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 resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{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(GetResourceValueConfigRequest other)

public GetResourceValueConfigRequest.Builder mergeFrom(GetResourceValueConfigRequest other)
Parameter
NameDescription
otherGetResourceValueConfigRequest
Returns
TypeDescription
GetResourceValueConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetResourceValueConfigRequest.Builder setName(String value)

Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetResourceValueConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetResourceValueConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{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
GetResourceValueConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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