Interface CreateSourceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSourceRequest
,CreateSourceRequest.Builder
public interface CreateSourceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Source
getSource()
Required.SourceOrBuilder
getSourceOrBuilder()
Required.boolean
hasSource()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1beta1.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.v1beta1.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.v1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];
-
-