Interface CreateSourceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    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

    • getParent

      String getParent()
       Required. Resource name of the new source's parent. Its format should be
       "organizations/[organization_id]".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Resource name of the new source's parent. Its format should be
       "organizations/[organization_id]".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasSource

      boolean hasSource()
       Required. The Source being created, only the display_name and description will be
       used. All other fields will be ignored.
       
      .google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the source field is set.
    • getSource

      Source getSource()
       Required. The Source being created, only the display_name and description will be
       used. All other fields will be ignored.
       
      .google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The source.
    • getSourceOrBuilder

      SourceOrBuilder getSourceOrBuilder()
       Required. The Source being created, only the display_name and description will be
       used. All other fields will be ignored.
       
      .google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];