public static final class AliasContext.Builder extends GeneratedMessage.Builder<AliasContext.Builder> implements AliasContextOrBuilderAn alias to a repo revision.
Protobuf type grafeas.v1.AliasContext
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AliasContext.BuilderImplements
AliasContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AliasContext build()| Returns | |
|---|---|
| Type | Description |
AliasContext |
|
buildPartial()
public AliasContext buildPartial()| Returns | |
|---|---|
| Type | Description |
AliasContext |
|
clear()
public AliasContext.Builder clear()| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
|
clearKind()
public AliasContext.Builder clearKind()The alias kind.
.grafeas.v1.AliasContext.Kind kind = 1;
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |
clearName()
public AliasContext.Builder clearName()The alias name.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AliasContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AliasContext |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public AliasContext.Kind getKind()The alias kind.
.grafeas.v1.AliasContext.Kind kind = 1;
| Returns | |
|---|---|
| Type | Description |
AliasContext.Kind |
The kind. |
getKindValue()
public int getKindValue()The alias kind.
.grafeas.v1.AliasContext.Kind kind = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for kind. |
getName()
public String getName()The alias name.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The alias name.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AliasContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AliasContext.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
|
mergeFrom(AliasContext other)
public AliasContext.Builder mergeFrom(AliasContext other)| Parameter | |
|---|---|
| Name | Description |
other |
AliasContext |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
|
setKind(AliasContext.Kind value)
public AliasContext.Builder setKind(AliasContext.Kind value)The alias kind.
.grafeas.v1.AliasContext.Kind kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AliasContext.KindThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |
setKindValue(int value)
public AliasContext.Builder setKindValue(int value)The alias kind.
.grafeas.v1.AliasContext.Kind kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for kind to set. |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |
setName(String value)
public AliasContext.Builder setName(String value)The alias name.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AliasContext.Builder setNameBytes(ByteString value)The alias name.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AliasContext.Builder |
This builder for chaining. |