Class AppParams (0.23.0)

public final class AppParams extends GeneratedMessage implements AppParamsOrBuilder

AppParams contains the parameters for creating an AppHub Application.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams

Implements

AppParamsOrBuilder

Static Fields

GROUP_FIELD_NUMBER

public static final int GROUP_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 AppParams getDefaultInstance()
Returns
Type Description
AppParams

getDescriptor()

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

newBuilder()

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

newBuilder(AppParams prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AppParams getDefaultInstanceForType()
Returns
Type Description
AppParams

getGroup()

public String getGroup()

Grouping used to construct the name of the AppHub Application. Multiple UnitKinds can specify the same group to use the same Application across their respective units. Corresponds to the app_boundary_id in the ADC composite ApplicationTemplate. Defaults to UnitKind.name

string group = 1;

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Grouping used to construct the name of the AppHub Application. Multiple UnitKinds can specify the same group to use the same Application across their respective units. Corresponds to the app_boundary_id in the ADC composite ApplicationTemplate. Defaults to UnitKind.name

string group = 1;

Returns
Type Description
ByteString

The bytes for group.

getParserForType()

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

getScope()

public AppParams.Scope getScope()

Corresponds to the scope in the ADC composite ApplicationTemplate. Defaults to TYPE_REGIONAL.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope scope = 2;

Returns
Type Description
AppParams.Scope

The scope.

getScopeOrBuilder()

public AppParams.ScopeOrBuilder getScopeOrBuilder()

Corresponds to the scope in the ADC composite ApplicationTemplate. Defaults to TYPE_REGIONAL.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope scope = 2;

Returns
Type Description
AppParams.ScopeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasScope()

public boolean hasScope()

Corresponds to the scope in the ADC composite ApplicationTemplate. Defaults to TYPE_REGIONAL.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope scope = 2;

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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