Interface ServiceProjectAttachmentOrBuilder (0.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ServiceProjectAttachmentOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
publicabstractTimestampgetCreateTime()Output only. Create time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
publicabstractTimestampOrBuildergetCreateTimeOrBuilder()Output only. Create time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
publicabstractStringgetName() Identifier. The resource name of a ServiceProjectAttachment. Format:
"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes() Identifier. The resource name of a ServiceProjectAttachment. Format:
"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getServiceProject()
publicabstractStringgetServiceProject() Required. Immutable. Service project name in the format: "projects/abc"
or "projects/123". As input, project name with either project id or
number are accepted. As output, this field will contain project number.
string service_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceProject. |
getServiceProjectBytes()
publicabstractByteStringgetServiceProjectBytes() Required. Immutable. Service project name in the format: "projects/abc"
or "projects/123". As input, project name with either project id or
number are accepted. As output, this field will contain project number.
string service_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceProject. |
getState()
publicabstractServiceProjectAttachment.StategetState()Output only. ServiceProjectAttachment state.
.google.cloud.apphub.v1.ServiceProjectAttachment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServiceProjectAttachment.State |
The state. |
getStateValue()
publicabstractintgetStateValue()Output only. ServiceProjectAttachment state.
.google.cloud.apphub.v1.ServiceProjectAttachment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUid()
publicabstractStringgetUid() Output only. A globally unique identifier (in UUID4 format) for the
ServiceProjectAttachment.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The uid. |
getUidBytes()
publicabstractByteStringgetUidBytes() Output only. A globally unique identifier (in UUID4 format) for the
ServiceProjectAttachment.
string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uid. |
hasCreateTime()
publicabstractbooleanhasCreateTime()Output only. Create time.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |