Class ComponentApplicationInfo (0.3.0)

public final class ComponentApplicationInfo extends GeneratedMessage implements ComponentApplicationInfoOrBuilder

This captures the apphub application details associated with the component.

Protobuf type google.cloud.designcenter.v1.ComponentApplicationInfo

Static Fields

APPHUB_APPLICATION_ID_FIELD_NUMBER

public static final int APPHUB_APPLICATION_ID_FIELD_NUMBER
Field Value
Type Description
int

ATTRIBUTES_FIELD_NUMBER

public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_REGION_FIELD_NUMBER

public static final int DEPLOYMENT_REGION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComponentApplicationInfo getDefaultInstance()
Returns
Type Description
ComponentApplicationInfo

getDescriptor()

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

newBuilder()

public static ComponentApplicationInfo.Builder newBuilder()
Returns
Type Description
ComponentApplicationInfo.Builder

newBuilder(ComponentApplicationInfo prototype)

public static ComponentApplicationInfo.Builder newBuilder(ComponentApplicationInfo prototype)
Parameter
Name Description
prototype ComponentApplicationInfo
Returns
Type Description
ComponentApplicationInfo.Builder

parseDelimitedFrom(InputStream input)

public static ComponentApplicationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComponentApplicationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComponentApplicationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComponentApplicationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComponentApplicationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComponentApplicationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComponentApplicationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentApplicationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComponentApplicationInfo> parser()
Returns
Type Description
Parser<ComponentApplicationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApphubApplicationId()

public String getApphubApplicationId()

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apphubApplicationId.

getApphubApplicationIdBytes()

public ByteString getApphubApplicationIdBytes()

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apphubApplicationId.

getAttributes()

public Attributes getAttributes()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Attributes

The attributes.

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.AttributesOrBuilder

getDefaultInstanceForType()

public ComponentApplicationInfo getDefaultInstanceForType()
Returns
Type Description
ComponentApplicationInfo

getDeploymentRegion()

public String getDeploymentRegion()

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deploymentRegion.

getDeploymentRegionBytes()

public ByteString getDeploymentRegionBytes()

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deploymentRegion.

getDisplayName()

public String getDisplayName()

Optional. Display name for the application. The number of characters should be less than 64 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Display name for the application. The number of characters should be less than 64 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<ComponentApplicationInfo> getParserForType()
Returns
Type Description
Parser<ComponentApplicationInfo>
Overrides

getScope()

public Scope getScope()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Scope

The scope.

getScopeOrBuilder()

public ScopeOrBuilder getScopeOrBuilder()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.ScopeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAttributes()

public boolean hasAttributes()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the attributes field is set.

hasScope()

public boolean hasScope()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scope field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComponentApplicationInfo.Builder newBuilderForType()
Returns
Type Description
ComponentApplicationInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ComponentApplicationInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComponentApplicationInfo.Builder
Overrides

toBuilder()

public ComponentApplicationInfo.Builder toBuilder()
Returns
Type Description
ComponentApplicationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException