public static final class Scope.Builder extends GeneratedMessageV3.Builder<Scope.Builder> implements ScopeOrBuilder
Scope of an application.
Protobuf type google.cloud.apphub.v1.Scope
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Scope |
|
buildPartial()
public Scope buildPartial()
Returns |
Type |
Description |
Scope |
|
clear()
public Scope.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Scope.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Scope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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()
Overrides
getDefaultInstanceForType()
public Scope getDefaultInstanceForType()
Returns |
Type |
Description |
Scope |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
public Scope.Type getType()
Required. Scope Type.
.google.cloud.apphub.v1.Scope.Type type = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Scope other)
public Scope.Builder mergeFrom(Scope other)
Parameter |
Name |
Description |
other |
Scope
|
public Scope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Scope.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Scope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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)
Overrides