Class AzureMetadata.AzureManagementGroup.Builder (2.57.0)

public static final class AzureMetadata.AzureManagementGroup.Builder extends GeneratedMessageV3.Builder<AzureMetadata.AzureManagementGroup.Builder> implements AzureMetadata.AzureManagementGroupOrBuilder

Represents an Azure management group.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDisplayName()

public AzureMetadata.AzureManagementGroup.Builder clearDisplayName()

The display name of the Azure management group.

string display_name = 2;

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public AzureMetadata.AzureManagementGroup.Builder clearId()

The UUID of the Azure management group, for example, 20000000-0001-0000-0000-000000000000.

string id = 1;

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The display name of the Azure management group.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the Azure management group.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

The UUID of the Azure management group, for example, 20000000-0001-0000-0000-000000000000.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The UUID of the Azure management group, for example, 20000000-0001-0000-0000-000000000000.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureMetadata.AzureManagementGroup other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public AzureMetadata.AzureManagementGroup.Builder setDisplayName(String value)

The display name of the Azure management group.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AzureMetadata.AzureManagementGroup.Builder setDisplayNameBytes(ByteString value)

The display name of the Azure management group.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public AzureMetadata.AzureManagementGroup.Builder setId(String value)

The UUID of the Azure management group, for example, 20000000-0001-0000-0000-000000000000.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AzureMetadata.AzureManagementGroup.Builder setIdBytes(ByteString value)

The UUID of the Azure management group, for example, 20000000-0001-0000-0000-000000000000.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AzureMetadata.AzureManagementGroup.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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