public interface ResourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()Output only. Identifier. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Output only. Identifier. The name of the resource.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public abstract Resource.State getState()Output only. Current state of the resource.
.google.cloud.designcenter.v1.Resource.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Resource.State |
The state. |
getStateValue()
public abstract int getStateValue()Output only. Current state of the resource.
.google.cloud.designcenter.v1.Resource.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getType()
public abstract String getType()Output only. The type of the resource.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()Output only. The type of the resource.
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |