Class GenerateExclusivityManifestRequest.Builder (1.43.0)

public static final class GenerateExclusivityManifestRequest.Builder extends GeneratedMessageV3.Builder<GenerateExclusivityManifestRequest.Builder> implements GenerateExclusivityManifestRequestOrBuilder

The request to generate the manifests for exclusivity artifacts.

Protobuf type google.cloud.gkehub.v1beta1.GenerateExclusivityManifestRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateExclusivityManifestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

build()

public GenerateExclusivityManifestRequest build()
Returns
Type Description
GenerateExclusivityManifestRequest

buildPartial()

public GenerateExclusivityManifestRequest buildPartial()
Returns
Type Description
GenerateExclusivityManifestRequest

clear()

public GenerateExclusivityManifestRequest.Builder clear()
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

clearCrManifest()

public GenerateExclusivityManifestRequest.Builder clearCrManifest()

Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership. Leave empty if the resource does not exist.

string cr_manifest = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

clearCrdManifest()

public GenerateExclusivityManifestRequest.Builder clearCrdManifest()

Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership. Leave empty if the resource does not exist.

string crd_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateExclusivityManifestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

clearName()

public GenerateExclusivityManifestRequest.Builder clearName()

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateExclusivityManifestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

clone()

public GenerateExclusivityManifestRequest.Builder clone()
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

getCrManifest()

public String getCrManifest()

Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership. Leave empty if the resource does not exist.

string cr_manifest = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crManifest.

getCrManifestBytes()

public ByteString getCrManifestBytes()

Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership. Leave empty if the resource does not exist.

string cr_manifest = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crManifest.

getCrdManifest()

public String getCrdManifest()

Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership. Leave empty if the resource does not exist.

string crd_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crdManifest.

getCrdManifestBytes()

public ByteString getCrdManifestBytes()

Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership. Leave empty if the resource does not exist.

string crd_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crdManifest.

getDefaultInstanceForType()

public GenerateExclusivityManifestRequest getDefaultInstanceForType()
Returns
Type Description
GenerateExclusivityManifestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateExclusivityManifestRequest other)

public GenerateExclusivityManifestRequest.Builder mergeFrom(GenerateExclusivityManifestRequest other)
Parameter
Name Description
other GenerateExclusivityManifestRequest
Returns
Type Description
GenerateExclusivityManifestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateExclusivityManifestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateExclusivityManifestRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateExclusivityManifestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

setCrManifest(String value)

public GenerateExclusivityManifestRequest.Builder setCrManifest(String value)

Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership. Leave empty if the resource does not exist.

string cr_manifest = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crManifest to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setCrManifestBytes(ByteString value)

public GenerateExclusivityManifestRequest.Builder setCrManifestBytes(ByteString value)

Optional. The YAML manifest of the membership CR retrieved by kubectl get memberships membership. Leave empty if the resource does not exist.

string cr_manifest = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crManifest to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setCrdManifest(String value)

public GenerateExclusivityManifestRequest.Builder setCrdManifest(String value)

Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership. Leave empty if the resource does not exist.

string crd_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crdManifest to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setCrdManifestBytes(ByteString value)

public GenerateExclusivityManifestRequest.Builder setCrdManifestBytes(ByteString value)

Optional. The YAML manifest of the membership CRD retrieved by kubectl get customresourcedefinitions membership. Leave empty if the resource does not exist.

string crd_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crdManifest to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateExclusivityManifestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

setName(String value)

public GenerateExclusivityManifestRequest.Builder setName(String value)

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateExclusivityManifestRequest.Builder setNameBytes(ByteString value)

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateExclusivityManifestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateExclusivityManifestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateExclusivityManifestRequest.Builder
Overrides