Class ServiceMesh.Builder (0.52.0)

public static final class ServiceMesh.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ServiceMesh.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceMesh.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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