Class PathOverride.Builder (2.48.0)

public static final class PathOverride.Builder extends GeneratedMessageV3.Builder<PathOverride.Builder> implements PathOverrideOrBuilder

PathOverride.

Path message defines path override for HTTP targets.

Protobuf type google.cloud.tasks.v2beta3.PathOverride

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PathOverride build()
Returns
Type Description
PathOverride

buildPartial()

public PathOverride buildPartial()
Returns
Type Description
PathOverride

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public PathOverride.Builder clearPath()

The URI path (e.g., /users/1234). Default is an empty string.

string path = 1;

Returns
Type Description
PathOverride.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PathOverride getDefaultInstanceForType()
Returns
Type Description
PathOverride

getDescriptorForType()

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

getPath()

public String getPath()

The URI path (e.g., /users/1234). Default is an empty string.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

The URI path (e.g., /users/1234). Default is an empty string.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PathOverride other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public PathOverride.Builder setPath(String value)

The URI path (e.g., /users/1234). Default is an empty string.

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
PathOverride.Builder

This builder for chaining.

setPathBytes(ByteString value)

public PathOverride.Builder setPathBytes(ByteString value)

The URI path (e.g., /users/1234). Default is an empty string.

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
PathOverride.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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