- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class ValidateExclusivityRequest.Builder extends GeneratedMessageV3.Builder<ValidateExclusivityRequest.Builder> implements ValidateExclusivityRequestOrBuilder
The request to validate the existing state of the membership CR in the cluster.
Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidateExclusivityRequest.BuilderImplements
ValidateExclusivityRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidateExclusivityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
build()
public ValidateExclusivityRequest build()
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest |
buildPartial()
public ValidateExclusivityRequest buildPartial()
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest |
clear()
public ValidateExclusivityRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
clearCrManifest()
public ValidateExclusivityRequest.Builder clearCrManifest()
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ValidateExclusivityRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
clearIntendedMembership()
public ValidateExclusivityRequest.Builder clearIntendedMembership()
Required. The intended membership name under the parent
. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidateExclusivityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
clearParent()
public ValidateExclusivityRequest.Builder clearParent()
Required. The parent (project and location) where the Memberships will be created.
Specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
clone()
public ValidateExclusivityRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
getCrManifest()
public String getCrManifest()
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The crManifest. |
getCrManifestBytes()
public ByteString getCrManifestBytes()
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for crManifest. |
getDefaultInstanceForType()
public ValidateExclusivityRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIntendedMembership()
public String getIntendedMembership()
Required. The intended membership name under the parent
. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The intendedMembership. |
getIntendedMembershipBytes()
public ByteString getIntendedMembershipBytes()
Required. The intended membership name under the parent
. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for intendedMembership. |
getParent()
public String getParent()
Required. The parent (project and location) where the Memberships will be created.
Specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent (project and location) where the Memberships will be created.
Specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ValidateExclusivityRequest other)
public ValidateExclusivityRequest.Builder mergeFrom(ValidateExclusivityRequest other)
Parameter | |
---|---|
Name | Description |
other | ValidateExclusivityRequest |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidateExclusivityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ValidateExclusivityRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidateExclusivityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
setCrManifest(String value)
public ValidateExclusivityRequest.Builder setCrManifest(String value)
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The crManifest to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setCrManifestBytes(ByteString value)
public ValidateExclusivityRequest.Builder setCrManifestBytes(ByteString value)
Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for crManifest to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ValidateExclusivityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
setIntendedMembership(String value)
public ValidateExclusivityRequest.Builder setIntendedMembership(String value)
Required. The intended membership name under the parent
. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The intendedMembership to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setIntendedMembershipBytes(ByteString value)
public ValidateExclusivityRequest.Builder setIntendedMembershipBytes(ByteString value)
Required. The intended membership name under the parent
. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for intendedMembership to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setParent(String value)
public ValidateExclusivityRequest.Builder setParent(String value)
Required. The parent (project and location) where the Memberships will be created.
Specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ValidateExclusivityRequest.Builder setParentBytes(ByteString value)
Required. The parent (project and location) where the Memberships will be created.
Specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValidateExclusivityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidateExclusivityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ValidateExclusivityRequest.Builder |