Class GenerateExclusivityManifestRequest.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateExclusivityManifestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides

build()

public GenerateExclusivityManifestRequest build()
Returns
TypeDescription
GenerateExclusivityManifestRequest

buildPartial()

public GenerateExclusivityManifestRequest buildPartial()
Returns
TypeDescription
GenerateExclusivityManifestRequest

clear()

public GenerateExclusivityManifestRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateExclusivityManifestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateExclusivityManifestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides

clone()

public GenerateExclusivityManifestRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for crdManifest.

getDefaultInstanceForType()

public GenerateExclusivityManifestRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateExclusivityManifestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateExclusivityManifestRequest other)

public GenerateExclusivityManifestRequest.Builder mergeFrom(GenerateExclusivityManifestRequest other)
Parameter
NameDescription
otherGenerateExclusivityManifestRequest
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateExclusivityManifestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateExclusivityManifestRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateExclusivityManifestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The crManifest to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for crManifest to set.

Returns
TypeDescription
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
NameDescription
valueString

The crdManifest to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for crdManifest to set.

Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateExclusivityManifestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateExclusivityManifestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateExclusivityManifestRequest.Builder
Overrides