Package com.google.cloud.apihub.v1
Interface CreateApiHubInstanceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateApiHubInstanceRequest,CreateApiHubInstanceRequest.Builder
@Generated
public interface CreateApiHubInstanceRequestOrBuilder
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 Api Hub instance 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 Api Hub instance resource. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getApiHubInstanceId
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][A-Z][0-9]-_/`.
string api_hub_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The apiHubInstanceId.
-
getApiHubInstanceIdBytes
com.google.protobuf.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][A-Z][0-9]-_/`.
string api_hub_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for apiHubInstanceId.
-
hasApiHubInstance
boolean hasApiHubInstance()Required. The ApiHub instance.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the apiHubInstance field is set.
-
getApiHubInstance
ApiHubInstance getApiHubInstance()Required. The ApiHub instance.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The apiHubInstance.
-
getApiHubInstanceOrBuilder
ApiHubInstanceOrBuilder getApiHubInstanceOrBuilder()Required. The ApiHub instance.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 3 [(.google.api.field_behavior) = REQUIRED];
-