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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListLocationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListLocationsRequest build()
Returns
buildPartial()
public ListLocationsRequest buildPartial()
Returns
clear()
public ListLocationsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListLocationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListLocationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListLocationsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListLocationsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListLocationsRequest other)
public ListLocationsRequest.Builder mergeFrom(ListLocationsRequest other)
Parameter
Returns
public ListLocationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListLocationsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListLocationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListLocationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListLocationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListLocationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides