Class Scope.Builder (0.11.0)

public static final class Scope.Builder extends GeneratedMessageV3.Builder<Scope.Builder> implements ScopeOrBuilder

Scope of an application.

Protobuf type google.cloud.apphub.v1.Scope

Implements

ScopeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Scope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Scope.Builder
Overrides

build()

public Scope build()
Returns
Type Description
Scope

buildPartial()

public Scope buildPartial()
Returns
Type Description
Scope

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Scope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Scope.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Scope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Scope.Builder
Overrides

clearType()

public Scope.Builder clearType()

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Scope.Builder

This builder for chaining.

clone()

public Scope.Builder clone()
Returns
Type Description
Scope.Builder
Overrides

getDefaultInstanceForType()

public Scope getDefaultInstanceForType()
Returns
Type Description
Scope

getDescriptorForType()

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

getType()

public Scope.Type getType()

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Scope.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Scope other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Scope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Scope.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Scope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Scope.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Scope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Scope.Builder
Overrides

setType(Scope.Type value)

public Scope.Builder setType(Scope.Type value)

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Scope.Type

The type to set.

Returns
Type Description
Scope.Builder

This builder for chaining.

setTypeValue(int value)

public Scope.Builder setTypeValue(int value)

Required. Scope Type.

.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Scope.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Scope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Scope.Builder
Overrides