Package com.google.cloud.apihub.v1
Interface CreateDependencyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDependencyRequest,CreateDependencyRequest.Builder
@Generated
public interface CreateDependencyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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. The parent resource for the dependency resource. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource for the dependency resource. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getDependencyId
String getDependencyId()Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if duplicate id is provided by the client. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are `[a-z][A-Z][0-9]-_`.
string dependency_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dependencyId.
-
getDependencyIdBytes
com.google.protobuf.ByteString getDependencyIdBytes()Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if duplicate id is provided by the client. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are `[a-z][A-Z][0-9]-_`.
string dependency_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for dependencyId.
-
hasDependency
boolean hasDependency()Required. The dependency resource to create.
.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the dependency field is set.
-
getDependency
Dependency getDependency()Required. The dependency resource to create.
.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dependency.
-
getDependencyOrBuilder
DependencyOrBuilder getDependencyOrBuilder()Required. The dependency resource to create.
.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];
-