public static final class InitializeHubRequest.Builder extends GeneratedMessageV3.Builder<InitializeHubRequest.Builder> implements InitializeHubRequestOrBuilder
Request message for the InitializeHub method.
Protobuf type google.cloud.gkehub.v1alpha2.InitializeHubRequest
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 InitializeHubRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InitializeHubRequest build()
buildPartial()
public InitializeHubRequest buildPartial()
clear()
public InitializeHubRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InitializeHubRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InitializeHubRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProject()
public InitializeHubRequest.Builder clearProject()
Required. The Hub to initialize, in the format
projects/*/locations/*/memberships/*
.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public InitializeHubRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InitializeHubRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProject()
public String getProject()
Required. The Hub to initialize, in the format
projects/*/locations/*/memberships/*
.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Required. The Hub to initialize, in the format
projects/*/locations/*/memberships/*
.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for project.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InitializeHubRequest other)
public InitializeHubRequest.Builder mergeFrom(InitializeHubRequest other)
public InitializeHubRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InitializeHubRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InitializeHubRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProject(String value)
public InitializeHubRequest.Builder setProject(String value)
Required. The Hub to initialize, in the format
projects/*/locations/*/memberships/*
.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The project to set.
|
setProjectBytes(ByteString value)
public InitializeHubRequest.Builder setProjectBytes(ByteString value)
Required. The Hub to initialize, in the format
projects/*/locations/*/memberships/*
.
string project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for project to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitializeHubRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InitializeHubRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides