Class ListUsableSubnetworksRequest.Builder (2.19.0)

public static final class ListUsableSubnetworksRequest.Builder extends GeneratedMessageV3.Builder<ListUsableSubnetworksRequest.Builder> implements ListUsableSubnetworksRequestOrBuilder

ListUsableSubnetworksRequest requests the list of usable subnetworks available to a user for creating clusters.

Protobuf type google.container.v1.ListUsableSubnetworksRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListUsableSubnetworksRequest build()
Returns
TypeDescription
ListUsableSubnetworksRequest

buildPartial()

public ListUsableSubnetworksRequest buildPartial()
Returns
TypeDescription
ListUsableSubnetworksRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListUsableSubnetworksRequest.Builder clearFilter()

Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where networkProjectId is the project which owns the listed subnetworks. This defaults to the parent project ID.

string filter = 2;

Returns
TypeDescription
ListUsableSubnetworksRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListUsableSubnetworksRequest.Builder clearPageSize()

The max number of results per page that should be returned. If the number of available results is larger than page_size, a next_page_token is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

int32 page_size = 3;

Returns
TypeDescription
ListUsableSubnetworksRequest.Builder

This builder for chaining.

clearPageToken()

public ListUsableSubnetworksRequest.Builder clearPageToken()

Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.

string page_token = 4;

Returns
TypeDescription
ListUsableSubnetworksRequest.Builder

This builder for chaining.

clearParent()

public ListUsableSubnetworksRequest.Builder clearParent()

The parent project where subnetworks are usable. Specified in the format projects/*.

string parent = 1;

Returns
TypeDescription
ListUsableSubnetworksRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListUsableSubnetworksRequest getDefaultInstanceForType()
Returns
TypeDescription
ListUsableSubnetworksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where networkProjectId is the project which owns the listed subnetworks. This defaults to the parent project ID.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where networkProjectId is the project which owns the listed subnetworks. This defaults to the parent project ID.

string filter = 2;

Returns
TypeDescription
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The max number of results per page that should be returned. If the number of available results is larger than page_size, a next_page_token is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

The parent project where subnetworks are usable. Specified in the format projects/*.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent project where subnetworks are usable. Specified in the format projects/*.

string parent = 1;

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

public ListUsableSubnetworksRequest.Builder mergeFrom(ListUsableSubnetworksRequest other)
Parameter
NameDescription
otherListUsableSubnetworksRequest
Returns
TypeDescription
ListUsableSubnetworksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListUsableSubnetworksRequest