public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getPattern()
Required.
|
com.google.protobuf.ByteString |
getPatternBytes()
Required.
|
String |
getSymbol()
The name that should be used in code to describe the resource,
in PascalCase.
|
com.google.protobuf.ByteString |
getSymbolBytes()
The name that should be used in code to describe the resource,
in PascalCase.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getPattern()
Required. The resource's name template.
Examples:
- "projects/{project}/topics/{topic}"
- "projects/{project}/knowledgeBases/{knowledge_base}"
string pattern = 1;com.google.protobuf.ByteString getPatternBytes()
Required. The resource's name template.
Examples:
- "projects/{project}/topics/{topic}"
- "projects/{project}/knowledgeBases/{knowledge_base}"
string pattern = 1;String getSymbol()
The name that should be used in code to describe the resource,
in PascalCase.
If omitted, this is inferred from the name of the message.
This is required if the resource is being defined without the context
of a message (see `resource_definition`, below).
Example:
option (google.api.resource_definition) = {
pattern: "projects/{project}"
symbol: "Project"
};
string symbol = 2;com.google.protobuf.ByteString getSymbolBytes()
The name that should be used in code to describe the resource,
in PascalCase.
If omitted, this is inferred from the name of the message.
This is required if the resource is being defined without the context
of a message (see `resource_definition`, below).
Example:
option (google.api.resource_definition) = {
pattern: "projects/{project}"
symbol: "Project"
};
string symbol = 2;