Class AzureMetadata.AzureSubscription (2.84.0)
public static final class AzureMetadata.AzureSubscription extends GeneratedMessageV3 implements AzureMetadata.AzureSubscriptionOrBuilder
Represents an Azure subscription.
Protobuf type google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AzureMetadata.AzureSubscription getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AzureMetadata.AzureSubscription.Builder newBuilder()
public static AzureMetadata.AzureSubscription.Builder newBuilder(AzureMetadata.AzureSubscription prototype)
public static AzureMetadata.AzureSubscription parseDelimitedFrom(InputStream input)
public static AzureMetadata.AzureSubscription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata.AzureSubscription parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AzureMetadata.AzureSubscription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata.AzureSubscription parseFrom(ByteString data)
public static AzureMetadata.AzureSubscription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata.AzureSubscription parseFrom(CodedInputStream input)
public static AzureMetadata.AzureSubscription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata.AzureSubscription parseFrom(InputStream input)
public static AzureMetadata.AzureSubscription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureMetadata.AzureSubscription parseFrom(ByteBuffer data)
public static AzureMetadata.AzureSubscription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AzureMetadata.AzureSubscription> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public AzureMetadata.AzureSubscription getDefaultInstanceForType()
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.
|
public Parser<AzureMetadata.AzureSubscription> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AzureMetadata.AzureSubscription.Builder newBuilderForType()
protected AzureMetadata.AzureSubscription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AzureMetadata.AzureSubscription.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]