public static final class HostProjectRegistration.Builder extends GeneratedMessageV3.Builder<HostProjectRegistration.Builder> implements HostProjectRegistrationOrBuilder
   
   Host project registration refers to the registration of a Google cloud
 project with Api Hub as a host project. This is the project where Api Hub is
 provisioned. It acts as the consumer project for the Api Hub instance
 provisioned. Multiple runtime projects can be attached to the host project
 and these attachments define the scope of Api Hub.
 Protobuf type google.cloud.apihub.v1.HostProjectRegistration
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public HostProjectRegistration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public HostProjectRegistration build()
   
  
  
  buildPartial()
  
    public HostProjectRegistration buildPartial()
   
  
  
  clear()
  
    public HostProjectRegistration.Builder clear()
   
  
  Overrides
  
  
  clearCreateTime()
  
    public HostProjectRegistration.Builder clearCreateTime()
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public HostProjectRegistration.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearGcpProject()
  
    public HostProjectRegistration.Builder clearGcpProject()
   
   Required. Immutable. Google cloud project name in the format:
 "projects/abc" or "projects/123". As input, project name with either
 project id or number are accepted. As output, this field will contain
 project number.
 
 string gcp_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
 
  
  
  clearName()
  
    public HostProjectRegistration.Builder clearName()
   
   Identifier. The name of the host project registration.
 Format:
 "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
 
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public HostProjectRegistration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clone()
  
    public HostProjectRegistration.Builder clone()
   
  
  Overrides
  
  
  getCreateTime()
  
    public Timestamp getCreateTime()
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Timestamp | 
        The createTime. 
 | 
      
    
  
  
  getCreateTimeBuilder()
  
    public Timestamp.Builder getCreateTimeBuilder()
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  getDefaultInstanceForType()
  
    public HostProjectRegistration getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getGcpProject()
  
    public String getGcpProject()
   
   Required. Immutable. Google cloud project name in the format:
 "projects/abc" or "projects/123". As input, project name with either
 project id or number are accepted. As output, this field will contain
 project number.
 
 string gcp_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The gcpProject. 
 | 
      
    
  
  
  getGcpProjectBytes()
  
    public ByteString getGcpProjectBytes()
   
   Required. Immutable. Google cloud project name in the format:
 "projects/abc" or "projects/123". As input, project name with either
 project id or number are accepted. As output, this field will contain
 project number.
 
 string gcp_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for gcpProject. 
 | 
      
    
  
  
  getName()
  
   Identifier. The name of the host project registration.
 Format:
 "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The name. 
 | 
      
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
   Identifier. The name of the host project registration.
 Format:
 "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for name. 
 | 
      
    
  
  
  hasCreateTime()
  
    public boolean hasCreateTime()
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the createTime field is set. 
 | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeCreateTime(Timestamp value)
  
    public HostProjectRegistration.Builder mergeCreateTime(Timestamp value)
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  
  mergeFrom(HostProjectRegistration other)
  
    public HostProjectRegistration.Builder mergeFrom(HostProjectRegistration other)
   
  
  
  
  
  
    public HostProjectRegistration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public HostProjectRegistration.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final HostProjectRegistration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  setCreateTime(Timestamp value)
  
    public HostProjectRegistration.Builder setCreateTime(Timestamp value)
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
  
  
  setCreateTime(Timestamp.Builder builderForValue)
  
    public HostProjectRegistration.Builder setCreateTime(Timestamp.Builder builderForValue)
   
   Output only. The time at which the host project registration was created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        builderForValue | 
        Builder
  | 
      
    
  
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public HostProjectRegistration.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setGcpProject(String value)
  
    public HostProjectRegistration.Builder setGcpProject(String value)
   
   Required. Immutable. Google cloud project name in the format:
 "projects/abc" or "projects/123". As input, project name with either
 project id or number are accepted. As output, this field will contain
 project number.
 
 string gcp_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The gcpProject to set. 
 | 
      
    
  
  
  
  setGcpProjectBytes(ByteString value)
  
    public HostProjectRegistration.Builder setGcpProjectBytes(ByteString value)
   
   Required. Immutable. Google cloud project name in the format:
 "projects/abc" or "projects/123". As input, project name with either
 project id or number are accepted. As output, this field will contain
 project number.
 
 string gcp_project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for gcpProject to set. 
 | 
      
    
  
  
  
  setName(String value)
  
    public HostProjectRegistration.Builder setName(String value)
   
   Identifier. The name of the host project registration.
 Format:
 "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The name to set. 
 | 
      
    
  
  
  
  setNameBytes(ByteString value)
  
    public HostProjectRegistration.Builder setNameBytes(ByteString value)
   
   Identifier. The name of the host project registration.
 Format:
 "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}".
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for name to set. 
 | 
      
    
  
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public HostProjectRegistration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final HostProjectRegistration.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides