public static final class AzureMetadata.AzureSubscription.Builder extends GeneratedMessage.Builder<AzureMetadata.AzureSubscription.Builder> implements AzureMetadata.AzureSubscriptionOrBuilderRepresents an Azure subscription.
Protobuf type google.cloud.securitycenter.v1.AzureMetadata.AzureSubscription
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AzureMetadata.AzureSubscription.BuilderImplements
AzureMetadata.AzureSubscriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public AzureMetadata.AzureSubscription getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AzureMetadata.AzureSubscription |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AzureMetadata.AzureSubscription.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
AzureMetadata.AzureSubscription.Builder |
This builder for chaining. |