Class GetConfigRequest.Builder (1.28.0)

public static final class GetConfigRequest.Builder extends GeneratedMessageV3.Builder<GetConfigRequest.Builder> implements GetConfigRequestOrBuilder

Request to get a configuration.

Protobuf type google.cloud.deploy.v1.GetConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConfigRequest build()
Returns
TypeDescription
GetConfigRequest

buildPartial()

public GetConfigRequest buildPartial()
Returns
TypeDescription
GetConfigRequest

clear()

public GetConfigRequest.Builder clear()
Returns
TypeDescription
GetConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetConfigRequest.Builder
Overrides

clearName()

public GetConfigRequest.Builder clearName()

Required. Name of requested configuration.

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

Returns
TypeDescription
GetConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetConfigRequest.Builder clone()
Returns
TypeDescription
GetConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of requested configuration.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of requested configuration.

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(GetConfigRequest other)

public GetConfigRequest.Builder mergeFrom(GetConfigRequest other)
Parameter
NameDescription
otherGetConfigRequest
Returns
TypeDescription
GetConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConfigRequest.Builder setName(String value)

Required. Name of requested configuration.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of requested configuration.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetConfigRequest.Builder

This builder for chaining.

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

public GetConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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