Package com.google.cloud.apihub.v1
Interface CreateHostProjectRegistrationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateHostProjectRegistrationRequest,CreateHostProjectRegistrationRequest.Builder
@Generated
public interface CreateHostProjectRegistrationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.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 host project. 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 host project. Format: `projects/{project}/locations/{location}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getHostProjectRegistrationId
String getHostProjectRegistrationId()Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.
string host_project_registration_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The hostProjectRegistrationId.
-
getHostProjectRegistrationIdBytes
com.google.protobuf.ByteString getHostProjectRegistrationIdBytes()Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.
string host_project_registration_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for hostProjectRegistrationId.
-
hasHostProjectRegistration
boolean hasHostProjectRegistration()Required. The host project registration to register.
.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the hostProjectRegistration field is set.
-
getHostProjectRegistration
HostProjectRegistration getHostProjectRegistration()Required. The host project registration to register.
.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The hostProjectRegistration.
-
getHostProjectRegistrationOrBuilder
HostProjectRegistrationOrBuilder getHostProjectRegistrationOrBuilder()Required. The host project registration to register.
.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];
-