Class WasmPlugin.UsedBy.Builder (0.39.0)

public static final class WasmPlugin.UsedBy.Builder extends GeneratedMessage.Builder<WasmPlugin.UsedBy.Builder> implements WasmPlugin.UsedByOrBuilder

Defines a resource that uses the WasmPlugin resource.

Protobuf type google.cloud.networkservices.v1.WasmPlugin.UsedBy

Static Methods

getDescriptor()

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

Methods

build()

public WasmPlugin.UsedBy build()
Returns
Type Description
WasmPlugin.UsedBy

buildPartial()

public WasmPlugin.UsedBy buildPartial()
Returns
Type Description
WasmPlugin.UsedBy

clear()

public WasmPlugin.UsedBy.Builder clear()
Returns
Type Description
WasmPlugin.UsedBy.Builder
Overrides

clearName()

public WasmPlugin.UsedBy.Builder clearName()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example //networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WasmPlugin.UsedBy.Builder

This builder for chaining.

getDefaultInstanceForType()

public WasmPlugin.UsedBy getDefaultInstanceForType()
Returns
Type Description
WasmPlugin.UsedBy

getDescriptorForType()

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

getName()

public String getName()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example //networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example //networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WasmPlugin.UsedBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public WasmPlugin.UsedBy.Builder setName(String value)

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example //networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
WasmPlugin.UsedBy.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WasmPlugin.UsedBy.Builder setNameBytes(ByteString value)

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, for example //networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
WasmPlugin.UsedBy.Builder

This builder for chaining.