Interface CreateDependencyRequestOrBuilder (0.4.0)

public interface CreateDependencyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDependency()

public abstract Dependency getDependency()

Required. The dependency resource to create.

.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dependency

The dependency.

getDependencyId()

public abstract 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[0-9]-_.

string dependency_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dependencyId.

getDependencyIdBytes()

public abstract 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[0-9]-_.

string dependency_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dependencyId.

getDependencyOrBuilder()

public abstract DependencyOrBuilder getDependencyOrBuilder()

Required. The dependency resource to create.

.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DependencyOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

hasDependency()

public abstract boolean hasDependency()

Required. The dependency resource to create.

.google.cloud.apihub.v1.Dependency dependency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dependency field is set.