public interface RefOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()Identifier. Name of the git reference (e.g., 'refs/heads/foo' or 'refs/tags/v1.0').
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. Name of the git reference (e.g., 'refs/heads/foo' or 'refs/tags/v1.0').
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTarget()
public abstract String getTarget()Output only. The target of the reference, which is a commit SHA.
string target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The target. |
getTargetBytes()
public abstract ByteString getTargetBytes()Output only. The target of the reference, which is a commit SHA.
string target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for target. |
getType()
public abstract Ref.RefType getType()Output only. The type of the reference.
.google.cloud.securesourcemanager.v1.Ref.RefType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Ref.RefType |
The type. |
getTypeValue()
public abstract int getTypeValue()Output only. The type of the reference.
.google.cloud.securesourcemanager.v1.Ref.RefType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |