Class PathOverride.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PathOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PathOverride.Builder
Overrides

build()

public PathOverride build()
Returns
TypeDescription
PathOverride

buildPartial()

public PathOverride buildPartial()
Returns
TypeDescription
PathOverride

clear()

public PathOverride.Builder clear()
Returns
TypeDescription
PathOverride.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PathOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PathOverride.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PathOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PathOverride.Builder
Overrides

clearPath()

public PathOverride.Builder clearPath()

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

string path = 1;

Returns
TypeDescription
PathOverride.Builder

This builder for chaining.

clone()

public PathOverride.Builder clone()
Returns
TypeDescription
PathOverride.Builder
Overrides

getDefaultInstanceForType()

public PathOverride getDefaultInstanceForType()
Returns
TypeDescription
PathOverride

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPath()

public String getPath()

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

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

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

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PathOverride other)

public PathOverride.Builder mergeFrom(PathOverride other)
Parameter
NameDescription
otherPathOverride
Returns
TypeDescription
PathOverride.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PathOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PathOverride.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PathOverride.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PathOverride.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PathOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PathOverride.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PathOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PathOverride.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PathOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PathOverride.Builder
Overrides