Class ServiceMesh.Builder (0.83.0)

public static final class ServiceMesh.Builder extends GeneratedMessage.Builder<ServiceMesh.Builder> implements ServiceMeshOrBuilder

Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview.

Protobuf type google.cloud.run.v2.ServiceMesh

Static Methods

getDescriptor()

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

Methods

build()

public ServiceMesh build()
Returns
Type Description
ServiceMesh

buildPartial()

public ServiceMesh buildPartial()
Returns
Type Description
ServiceMesh

clear()

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

clearMesh()

public ServiceMesh.Builder clearMesh()

The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where {project} can be project id or number.

string mesh = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ServiceMesh.Builder

This builder for chaining.

getDefaultInstanceForType()

public ServiceMesh getDefaultInstanceForType()
Returns
Type Description
ServiceMesh

getDescriptorForType()

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

getMesh()

public String getMesh()

The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where {project} can be project id or number.

string mesh = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The mesh.

getMeshBytes()

public ByteString getMeshBytes()

The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where {project} can be project id or number.

string mesh = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for mesh.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceMesh other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMesh(String value)

public ServiceMesh.Builder setMesh(String value)

The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where {project} can be project id or number.

string mesh = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The mesh to set.

Returns
Type Description
ServiceMesh.Builder

This builder for chaining.

setMeshBytes(ByteString value)

public ServiceMesh.Builder setMeshBytes(ByteString value)

The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where {project} can be project id or number.

string mesh = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for mesh to set.

Returns
Type Description
ServiceMesh.Builder

This builder for chaining.