Interface ServiceProjectAttachmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ServiceProjectAttachment, ServiceProjectAttachment.Builder

@Generated public interface ServiceProjectAttachmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    Required.
    com.google.protobuf.ByteString
    Required.
    Output only.
    int
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       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:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       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:
      The bytes for name.
    • getServiceProject

      String getServiceProject()
       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:
      The serviceProject.
    • getServiceProjectBytes

      com.google.protobuf.ByteString getServiceProjectBytes()
       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:
      The bytes for serviceProject.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Create time.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUid

      String getUid()
       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:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       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:
      The bytes for uid.
    • getStateValue

      int getStateValue()
       Output only. ServiceProjectAttachment state.
       
      .google.cloud.apphub.v1.ServiceProjectAttachment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. ServiceProjectAttachment state.
       
      .google.cloud.apphub.v1.ServiceProjectAttachment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.