Class Scope.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Scope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Scope.Builder
Overrides

build()

public Scope build()
Returns
TypeDescription
Scope

buildPartial()

public Scope buildPartial()
Returns
TypeDescription
Scope

clear()

public Scope.Builder clear()
Returns
TypeDescription
Scope.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Scope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Scope.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Scope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Scope.Builder

This builder for chaining.

clone()

public Scope.Builder clone()
Returns
TypeDescription
Scope.Builder
Overrides

getDefaultInstanceForType()

public Scope getDefaultInstanceForType()
Returns
TypeDescription
Scope

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public Scope.Type getType()

Required. Scope Type.

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

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Scope other)

public Scope.Builder mergeFrom(Scope other)
Parameter
NameDescription
otherScope
Returns
TypeDescription
Scope.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Scope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scope.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Scope.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Scope.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Scope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Scope.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Scope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Scope.Builder
Overrides

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

public Scope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueScope.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Scope.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Scope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Scope.Builder
Overrides