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.v2.AzureMetadata.AzureSubscription
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AzureMetadata.AzureSubscription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AzureMetadata.AzureSubscription build()
public AzureMetadata.AzureSubscription buildPartial()
public AzureMetadata.AzureSubscription.Builder clear()
Overrides
public AzureMetadata.AzureSubscription.Builder clearDisplayName()
The display name of the Azure subscription.
string display_name = 2;
public AzureMetadata.AzureSubscription.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AzureMetadata.AzureSubscription.Builder clearId()
The UUID of the Azure subscription, for example,
"291bba3f-e0a5-47bc-a099-3bdcb2a50a05".
string id = 1;
public AzureMetadata.AzureSubscription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AzureMetadata.AzureSubscription.Builder clone()
Overrides
public AzureMetadata.AzureSubscription getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDisplayName()
The display name of the Azure subscription.
string display_name = 2;
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
The display name of the Azure subscription.
string display_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
The UUID of the Azure subscription, for example,
"291bba3f-e0a5-47bc-a099-3bdcb2a50a05".
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AzureMetadata.AzureSubscription.Builder mergeFrom(AzureMetadata.AzureSubscription other)
public AzureMetadata.AzureSubscription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AzureMetadata.AzureSubscription.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AzureMetadata.AzureSubscription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public AzureMetadata.AzureSubscription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public AzureMetadata.AzureSubscription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AzureMetadata.AzureSubscription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides