Class ResourceValueConfigMetadata.Builder (2.57.0)

public static final class ResourceValueConfigMetadata.Builder extends GeneratedMessageV3.Builder<ResourceValueConfigMetadata.Builder> implements ResourceValueConfigMetadataOrBuilder

Metadata about a ResourceValueConfig. For example, id and name.

Protobuf type google.cloud.securitycenter.v1.ResourceValueConfigMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfigMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

build()

public ResourceValueConfigMetadata build()
Returns
Type Description
ResourceValueConfigMetadata

buildPartial()

public ResourceValueConfigMetadata buildPartial()
Returns
Type Description
ResourceValueConfigMetadata

clear()

public ResourceValueConfigMetadata.Builder clear()
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourceValueConfigMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

clearName()

public ResourceValueConfigMetadata.Builder clearName()

Resource value config name

string name = 1;

Returns
Type Description
ResourceValueConfigMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceValueConfigMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

clone()

public ResourceValueConfigMetadata.Builder clone()
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

getDefaultInstanceForType()

public ResourceValueConfigMetadata getDefaultInstanceForType()
Returns
Type Description
ResourceValueConfigMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Resource value config name

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource value config name

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceValueConfigMetadata other)

public ResourceValueConfigMetadata.Builder mergeFrom(ResourceValueConfigMetadata other)
Parameter
Name Description
other ResourceValueConfigMetadata
Returns
Type Description
ResourceValueConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceValueConfigMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourceValueConfigMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfigMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceValueConfigMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

setName(String value)

public ResourceValueConfigMetadata.Builder setName(String value)

Resource value config name

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ResourceValueConfigMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResourceValueConfigMetadata.Builder setNameBytes(ByteString value)

Resource value config name

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ResourceValueConfigMetadata.Builder

This builder for chaining.

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

public ResourceValueConfigMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceValueConfigMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceValueConfigMetadata.Builder
Overrides