Interface CreateHostProjectRegistrationRequestOrBuilder (0.8.0)

public interface CreateHostProjectRegistrationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostProjectRegistration()

public abstract HostProjectRegistration getHostProjectRegistration()

Required. The host project registration to register.

.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HostProjectRegistration

The hostProjectRegistration.

getHostProjectRegistrationId()

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

The hostProjectRegistrationId.

getHostProjectRegistrationIdBytes()

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

The bytes for hostProjectRegistrationId.

getHostProjectRegistrationOrBuilder()

public abstract HostProjectRegistrationOrBuilder getHostProjectRegistrationOrBuilder()

Required. The host project registration to register.

.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HostProjectRegistrationOrBuilder

getParent()

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

The parent.

getParentBytes()

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

The bytes for parent.

hasHostProjectRegistration()

public abstract boolean hasHostProjectRegistration()

Required. The host project registration to register.

.google.cloud.apihub.v1.HostProjectRegistration host_project_registration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hostProjectRegistration field is set.