Interface CreateApiHubInstanceRequestOrBuilder (0.1.0)

public interface CreateApiHubInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiHubInstance()

public abstract ApiHubInstance getApiHubInstance()

Required. The ApiHub instance.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiHubInstance

The apiHubInstance.

getApiHubInstanceId()

public abstract String getApiHubInstanceId()

Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

This value should be 4-40 characters, and valid characters are /a-z[0-9]-_/.

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

Returns
Type Description
String

The apiHubInstanceId.

getApiHubInstanceIdBytes()

public abstract ByteString getApiHubInstanceIdBytes()

Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

This value should be 4-40 characters, and valid characters are /a-z[0-9]-_/.

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

Returns
Type Description
ByteString

The bytes for apiHubInstanceId.

getApiHubInstanceOrBuilder()

public abstract ApiHubInstanceOrBuilder getApiHubInstanceOrBuilder()

Required. The ApiHub instance.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiHubInstanceOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource for the Api Hub instance 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 Api Hub instance 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.

hasApiHubInstance()

public abstract boolean hasApiHubInstance()

Required. The ApiHub instance.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiHubInstance field is set.