public static final class AliasContext.Builder extends GeneratedMessageV3.Builder<AliasContext.Builder> implements AliasContextOrBuilder
An alias to a repo revision.
Protobuf type google.devtools.source.v1.AliasContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AliasContext.BuilderImplements
AliasContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AliasContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AliasContext.Builder |
build()
public AliasContext build()
Type | Description |
AliasContext |
buildPartial()
public AliasContext buildPartial()
Type | Description |
AliasContext |
clear()
public AliasContext.Builder clear()
Type | Description |
AliasContext.Builder |
clearField(Descriptors.FieldDescriptor field)
public AliasContext.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AliasContext.Builder |
clearKind()
public AliasContext.Builder clearKind()
The alias kind.
.google.devtools.source.v1.AliasContext.Kind kind = 1;
Type | Description |
AliasContext.Builder | This builder for chaining. |
clearName()
public AliasContext.Builder clearName()
The alias name.
string name = 2;
Type | Description |
AliasContext.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AliasContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AliasContext.Builder |
clone()
public AliasContext.Builder clone()
Type | Description |
AliasContext.Builder |
getDefaultInstanceForType()
public AliasContext getDefaultInstanceForType()
Type | Description |
AliasContext |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKind()
public AliasContext.Kind getKind()
The alias kind.
.google.devtools.source.v1.AliasContext.Kind kind = 1;
Type | Description |
AliasContext.Kind | The kind. |
getKindValue()
public int getKindValue()
The alias kind.
.google.devtools.source.v1.AliasContext.Kind kind = 1;
Type | Description |
int | The enum numeric value on the wire for kind. |
getName()
public String getName()
The alias name.
string name = 2;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The alias name.
string name = 2;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AliasContext other)
public AliasContext.Builder mergeFrom(AliasContext other)
Name | Description |
other | AliasContext |
Type | Description |
AliasContext.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AliasContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AliasContext.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AliasContext.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AliasContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AliasContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AliasContext.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AliasContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AliasContext.Builder |
setKind(AliasContext.Kind value)
public AliasContext.Builder setKind(AliasContext.Kind value)
The alias kind.
.google.devtools.source.v1.AliasContext.Kind kind = 1;
Name | Description |
value | AliasContext.Kind The kind to set. |
Type | Description |
AliasContext.Builder | This builder for chaining. |
setKindValue(int value)
public AliasContext.Builder setKindValue(int value)
The alias kind.
.google.devtools.source.v1.AliasContext.Kind kind = 1;
Name | Description |
value | int The enum numeric value on the wire for kind to set. |
Type | Description |
AliasContext.Builder | This builder for chaining. |
setName(String value)
public AliasContext.Builder setName(String value)
The alias name.
string name = 2;
Name | Description |
value | String The name to set. |
Type | Description |
AliasContext.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AliasContext.Builder setNameBytes(ByteString value)
The alias name.
string name = 2;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AliasContext.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AliasContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AliasContext.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AliasContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AliasContext.Builder |