Class ListLocationsRequest.Builder (2.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListLocationsRequest build()
Returns
TypeDescription
ListLocationsRequest

buildPartial()

public ListLocationsRequest buildPartial()
Returns
TypeDescription
ListLocationsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLocationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLocationsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListLocationsRequest

getDescriptorForType()

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

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLocationsRequest other)

public ListLocationsRequest.Builder mergeFrom(ListLocationsRequest other)
Parameter
NameDescription
otherListLocationsRequest
Returns
TypeDescription
ListLocationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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