Class AppParams.Builder (0.23.0)

public static final class AppParams.Builder extends GeneratedMessage.Builder<AppParams.Builder> implements AppParamsOrBuilder

AppParams contains the parameters for creating an AppHub Application.

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

Implements

AppParamsOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public AppParams build()
Returns
Type Description
AppParams

buildPartial()

public AppParams buildPartial()
Returns
Type Description
AppParams

clear()

public AppParams.Builder clear()
Returns
Type Description
AppParams.Builder
Overrides

clearGroup()

public AppParams.Builder clearGroup()

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
AppParams.Builder

This builder for chaining.

clearScope()

public AppParams.Builder clearScope()

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.Builder

getDefaultInstanceForType()

public AppParams getDefaultInstanceForType()
Returns
Type Description
AppParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getScopeBuilder()

public AppParams.Scope.Builder getScopeBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppParams other)

public AppParams.Builder mergeFrom(AppParams other)
Parameter
Name Description
other AppParams
Returns
Type Description
AppParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppParams.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AppParams.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppParams.Builder
Overrides

mergeScope(AppParams.Scope value)

public AppParams.Builder mergeScope(AppParams.Scope value)

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

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

Parameter
Name Description
value AppParams.Scope
Returns
Type Description
AppParams.Builder

setGroup(String value)

public AppParams.Builder setGroup(String value)

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;

Parameter
Name Description
value String

The group to set.

Returns
Type Description
AppParams.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public AppParams.Builder setGroupBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for group to set.

Returns
Type Description
AppParams.Builder

This builder for chaining.

setScope(AppParams.Scope value)

public AppParams.Builder setScope(AppParams.Scope value)

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

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

Parameter
Name Description
value AppParams.Scope
Returns
Type Description
AppParams.Builder

setScope(AppParams.Scope.Builder builderForValue)

public AppParams.Builder setScope(AppParams.Scope.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AppParams.Scope.Builder
Returns
Type Description
AppParams.Builder