Class ListMeshesResponse.Builder (0.10.0)

public static final class ListMeshesResponse.Builder extends GeneratedMessageV3.Builder<ListMeshesResponse.Builder> implements ListMeshesResponseOrBuilder

Response returned by the ListMeshes method.

Protobuf type google.cloud.networkservices.v1.ListMeshesResponse

Static Methods

getDescriptor()

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

Methods

addAllMeshes(Iterable<? extends Mesh> values)

public ListMeshesResponse.Builder addAllMeshes(Iterable<? extends Mesh> values)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networkservices.v1.Mesh>
Returns
Type Description
ListMeshesResponse.Builder

addMeshes(Mesh value)

public ListMeshesResponse.Builder addMeshes(Mesh value)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
value Mesh
Returns
Type Description
ListMeshesResponse.Builder

addMeshes(Mesh.Builder builderForValue)

public ListMeshesResponse.Builder addMeshes(Mesh.Builder builderForValue)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
builderForValue Mesh.Builder
Returns
Type Description
ListMeshesResponse.Builder

addMeshes(int index, Mesh value)

public ListMeshesResponse.Builder addMeshes(int index, Mesh value)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameters
Name Description
index int
value Mesh
Returns
Type Description
ListMeshesResponse.Builder

addMeshes(int index, Mesh.Builder builderForValue)

public ListMeshesResponse.Builder addMeshes(int index, Mesh.Builder builderForValue)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameters
Name Description
index int
builderForValue Mesh.Builder
Returns
Type Description
ListMeshesResponse.Builder

addMeshesBuilder()

public Mesh.Builder addMeshesBuilder()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
Mesh.Builder

addMeshesBuilder(int index)

public Mesh.Builder addMeshesBuilder(int index)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
index int
Returns
Type Description
Mesh.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMeshesResponse build()
Returns
Type Description
ListMeshesResponse

buildPartial()

public ListMeshesResponse buildPartial()
Returns
Type Description
ListMeshesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMeshes()

public ListMeshesResponse.Builder clearMeshes()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
ListMeshesResponse.Builder

clearNextPageToken()

public ListMeshesResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ListMeshesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMeshesResponse getDefaultInstanceForType()
Returns
Type Description
ListMeshesResponse

getDescriptorForType()

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

getMeshes(int index)

public Mesh getMeshes(int index)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
index int
Returns
Type Description
Mesh

getMeshesBuilder(int index)

public Mesh.Builder getMeshesBuilder(int index)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
index int
Returns
Type Description
Mesh.Builder

getMeshesBuilderList()

public List<Mesh.Builder> getMeshesBuilderList()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
List<Builder>

getMeshesCount()

public int getMeshesCount()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
int

getMeshesList()

public List<Mesh> getMeshesList()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
List<Mesh>

getMeshesOrBuilder(int index)

public MeshOrBuilder getMeshesOrBuilder(int index)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
index int
Returns
Type Description
MeshOrBuilder

getMeshesOrBuilderList()

public List<? extends MeshOrBuilder> getMeshesOrBuilderList()

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1.MeshOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMeshesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMeshes(int index)

public ListMeshesResponse.Builder removeMeshes(int index)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMeshesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMeshes(int index, Mesh value)

public ListMeshesResponse.Builder setMeshes(int index, Mesh value)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameters
Name Description
index int
value Mesh
Returns
Type Description
ListMeshesResponse.Builder

setMeshes(int index, Mesh.Builder builderForValue)

public ListMeshesResponse.Builder setMeshes(int index, Mesh.Builder builderForValue)

List of Mesh resources.

repeated .google.cloud.networkservices.v1.Mesh meshes = 1;

Parameters
Name Description
index int
builderForValue Mesh.Builder
Returns
Type Description
ListMeshesResponse.Builder

setNextPageToken(String value)

public ListMeshesResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMeshesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMeshesResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListMeshesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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