Class AppHubService (0.44.0)

public final class AppHubService extends GeneratedMessage implements AppHubServiceOrBuilder

AppHubService represents the App Hub Service.

Protobuf type google.cloud.developerconnect.v1.AppHubService

Static Fields

APPHUB_SERVICE_FIELD_NUMBER

public static final int APPHUB_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

CRITICALITY_FIELD_NUMBER

public static final int CRITICALITY_FIELD_NUMBER
Field Value
Type Description
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppHubService getDefaultInstance()
Returns
Type Description
AppHubService

getDescriptor()

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

newBuilder()

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

newBuilder(AppHubService prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApphubService()

public String getApphubService()

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The apphubService.

getApphubServiceBytes()

public ByteString getApphubServiceBytes()

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for apphubService.

getCriticality()

public String getCriticality()

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The criticality.

getCriticalityBytes()

public ByteString getCriticalityBytes()

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for criticality.

getDefaultInstanceForType()

public AppHubService getDefaultInstanceForType()
Returns
Type Description
AppHubService

getEnvironment()

public String getEnvironment()

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for environment.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 AppHubService.Builder newBuilderForType()
Returns
Type Description
AppHubService.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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