Class CustomHttpPattern.Builder (2.26.0)

public static final class CustomHttpPattern.Builder extends GeneratedMessageV3.Builder<CustomHttpPattern.Builder> implements CustomHttpPatternOrBuilder

A custom pattern is used for defining custom HTTP verb.

Protobuf type google.api.CustomHttpPattern

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomHttpPattern build()
Returns
TypeDescription
CustomHttpPattern

buildPartial()

public CustomHttpPattern buildPartial()
Returns
TypeDescription
CustomHttpPattern

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public CustomHttpPattern.Builder clearKind()

The name of this custom HTTP verb.

string kind = 1;

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public CustomHttpPattern.Builder clearPath()

The path matched by this custom verb.

string path = 2;

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CustomHttpPattern getDefaultInstanceForType()
Returns
TypeDescription
CustomHttpPattern

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKind()

public String getKind()

The name of this custom HTTP verb.

string kind = 1;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

The name of this custom HTTP verb.

string kind = 1;

Returns
TypeDescription
ByteString

The bytes for kind.

getPath()

public String getPath()

The path matched by this custom verb.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

The path matched by this custom verb.

string path = 2;

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(CustomHttpPattern other)

public CustomHttpPattern.Builder mergeFrom(CustomHttpPattern other)
Parameter
NameDescription
otherCustomHttpPattern
Returns
TypeDescription
CustomHttpPattern.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public CustomHttpPattern.Builder setKind(String value)

The name of this custom HTTP verb.

string kind = 1;

Parameter
NameDescription
valueString

The kind to set.

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

setKindBytes(ByteString value)

public CustomHttpPattern.Builder setKindBytes(ByteString value)

The name of this custom HTTP verb.

string kind = 1;

Parameter
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

setPath(String value)

public CustomHttpPattern.Builder setPath(String value)

The path matched by this custom verb.

string path = 2;

Parameter
NameDescription
valueString

The path to set.

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

setPathBytes(ByteString value)

public CustomHttpPattern.Builder setPathBytes(ByteString value)

The path matched by this custom verb.

string path = 2;

Parameter
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
CustomHttpPattern.Builder

This builder for chaining.

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

public CustomHttpPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomHttpPattern.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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