Class ListLocationsRequest.Builder (2.86.0)

public static final class ListLocationsRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.