Class ListLocationsRequest.Builder (2.54.0)

public static final class ListLocationsRequest.Builder extends GeneratedMessageV3.Builder<ListLocationsRequest.Builder> implements ListLocationsRequestOrBuilder

ListLocationsRequest is used to request the locations that offer GKE.

Protobuf type google.container.v1beta1.ListLocationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListLocationsRequest build()
Returns
Type Description
ListLocationsRequest

buildPartial()

public ListLocationsRequest buildPartial()
Returns
Type Description
ListLocationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ListLocationsRequest.Builder clearParent()

Required. Contains the name of the resource requested. Specified in the format projects/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLocationsRequest getDefaultInstanceForType()
Returns
Type Description
ListLocationsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Contains the name of the resource requested. Specified in the format projects/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Contains the name of the resource requested. Specified in the format projects/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLocationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListLocationsRequest.Builder setParent(String value)

Required. Contains the name of the resource requested. Specified in the format projects/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListLocationsRequest.Builder setParentBytes(ByteString value)

Required. Contains the name of the resource requested. Specified in the format projects/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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