public static final class Scope.Builder extends GeneratedMessageV3.Builder<Scope.Builder> implements ScopeOrBuilder
Scope of an application.
Protobuf type google.cloud.apphub.v1.Scope
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Scope.BuilderImplements
ScopeOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Scope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Scope.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Scope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Scope.Builder |
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 |
getDefaultInstanceForType()
public Scope getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Scope |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Scope.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Scope.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Scope.Builder |
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 |
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 |
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 |