Class AzureMetadata.AzureResourceGroup.Builder (2.62.0)

public static final class AzureMetadata.AzureResourceGroup.Builder extends GeneratedMessageV3.Builder<AzureMetadata.AzureResourceGroup.Builder> implements AzureMetadata.AzureResourceGroupOrBuilder

Represents an Azure resource group.

Protobuf type google.cloud.securitycenter.v1.AzureMetadata.AzureResourceGroup

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureMetadata.AzureResourceGroup build()
Returns
Type Description
AzureMetadata.AzureResourceGroup

buildPartial()

public AzureMetadata.AzureResourceGroup buildPartial()
Returns
Type Description
AzureMetadata.AzureResourceGroup

clear()

public AzureMetadata.AzureResourceGroup.Builder clear()
Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public AzureMetadata.AzureResourceGroup.Builder clearName()

The name of the Azure resource group. This is not a UUID.

string name = 1;

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AzureMetadata.AzureResourceGroup.Builder clone()
Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder
Overrides

getDefaultInstanceForType()

public AzureMetadata.AzureResourceGroup getDefaultInstanceForType()
Returns
Type Description
AzureMetadata.AzureResourceGroup

getDescriptorForType()

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

getName()

public String getName()

The name of the Azure resource group. This is not a UUID.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the Azure resource group. This is not a UUID.

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(AzureMetadata.AzureResourceGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AzureMetadata.AzureResourceGroup.Builder setName(String value)

The name of the Azure resource group. This is not a UUID.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AzureMetadata.AzureResourceGroup.Builder setNameBytes(ByteString value)

The name of the Azure resource group. This is not a UUID.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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