Class AzureMetadata.AzureSubscription.Builder (2.63.0)

public static final class AzureMetadata.AzureSubscription.Builder extends GeneratedMessageV3.Builder<AzureMetadata.AzureSubscription.Builder> implements AzureMetadata.AzureSubscriptionOrBuilder

Represents an Azure subscription.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDisplayName()

public AzureMetadata.AzureSubscription.Builder clearDisplayName()

The display name of the Azure subscription.

string display_name = 2;

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public AzureMetadata.AzureSubscription.Builder clearId()

The UUID of the Azure subscription, for example, 291bba3f-e0a5-47bc-a099-3bdcb2a50a05.

string id = 1;

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The display name of the Azure subscription.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the Azure subscription.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public String getId()

The UUID of the Azure subscription, for example, 291bba3f-e0a5-47bc-a099-3bdcb2a50a05.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The UUID of the Azure subscription, for example, 291bba3f-e0a5-47bc-a099-3bdcb2a50a05.

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.AzureSubscription other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public AzureMetadata.AzureSubscription.Builder setDisplayName(String value)

The display name of the Azure subscription.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AzureMetadata.AzureSubscription.Builder setDisplayNameBytes(ByteString value)

The display name of the Azure subscription.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public AzureMetadata.AzureSubscription.Builder setId(String value)

The UUID of the Azure subscription, for example, 291bba3f-e0a5-47bc-a099-3bdcb2a50a05.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AzureMetadata.AzureSubscription.Builder setIdBytes(ByteString value)

The UUID of the Azure subscription, for example, 291bba3f-e0a5-47bc-a099-3bdcb2a50a05.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AzureMetadata.AzureSubscription.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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