Class AzureMetadata.AzureResourceGroup.Builder (2.91.0)

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

Represents an Azure resource group.

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

Static Methods

getDescriptor()

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

Methods

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

clearId()

public AzureMetadata.AzureResourceGroup.Builder clearId()

The ID of the Azure resource group.

string id = 2;

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

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.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getId()

public String getId()

The ID of the Azure resource group.

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The ID of the Azure resource group.

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

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 GeneratedMessage.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

setId(String value)

public AzureMetadata.AzureResourceGroup.Builder setId(String value)

The ID of the Azure resource group.

string id = 2;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AzureMetadata.AzureResourceGroup.Builder setIdBytes(ByteString value)

The ID of the Azure resource group.

string id = 2;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AzureMetadata.AzureResourceGroup.Builder

This builder for chaining.

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.