public interface ExtendedSourceContextOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Labels with user defined metadata.
map<string, string> labels = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getContext()
public abstract SourceContext getContext()
Any source context.
.google.devtools.source.v1.SourceContext context = 1;
Type | Description |
SourceContext | The context. |
getContextOrBuilder()
public abstract SourceContextOrBuilder getContextOrBuilder()
Any source context.
.google.devtools.source.v1.SourceContext context = 1;
Type | Description |
SourceContextOrBuilder |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Labels with user defined metadata.
map<string, string> labels = 2;
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Labels with user defined metadata.
map<string, string> labels = 2;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Labels with user defined metadata.
map<string, string> labels = 2;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Labels with user defined metadata.
map<string, string> labels = 2;
Name | Description |
key | String |
Type | Description |
String |
hasContext()
public abstract boolean hasContext()
Any source context.
.google.devtools.source.v1.SourceContext context = 1;
Type | Description |
boolean | Whether the context field is set. |