Class ResourceValueConfigMetadata.Builder (2.47.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.v2.ResourceValueConfigMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceValueConfigMetadata build()
Returns
TypeDescription
ResourceValueConfigMetadata

buildPartial()

public ResourceValueConfigMetadata buildPartial()
Returns
TypeDescription
ResourceValueConfigMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ResourceValueConfigMetadata.Builder clearName()

Resource value config name

string name = 1;

Returns
TypeDescription
ResourceValueConfigMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResourceValueConfigMetadata getDefaultInstanceForType()
Returns
TypeDescription
ResourceValueConfigMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Resource value config name

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource value config name

string name = 1;

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

public ResourceValueConfigMetadata.Builder mergeFrom(ResourceValueConfigMetadata other)
Parameter
NameDescription
otherResourceValueConfigMetadata
Returns
TypeDescription
ResourceValueConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ResourceValueConfigMetadata.Builder setName(String value)

Resource value config name

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ResourceValueConfigMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResourceValueConfigMetadata.Builder setNameBytes(ByteString value)

Resource value config name

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourceValueConfigMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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