Class GetChannelConnectionRequest.Builder (1.32.0)

public static final class GetChannelConnectionRequest.Builder extends GeneratedMessageV3.Builder<GetChannelConnectionRequest.Builder> implements GetChannelConnectionRequestOrBuilder

The request message for the GetChannelConnection method.

Protobuf type google.cloud.eventarc.v1.GetChannelConnectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetChannelConnectionRequest build()
Returns
TypeDescription
GetChannelConnectionRequest

buildPartial()

public GetChannelConnectionRequest buildPartial()
Returns
TypeDescription
GetChannelConnectionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetChannelConnectionRequest.Builder clearName()

Required. The name of the channel connection to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetChannelConnectionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetChannelConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetChannelConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the channel connection to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the channel connection to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetChannelConnectionRequest other)

public GetChannelConnectionRequest.Builder mergeFrom(GetChannelConnectionRequest other)
Parameter
NameDescription
otherGetChannelConnectionRequest
Returns
TypeDescription
GetChannelConnectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetChannelConnectionRequest.Builder setName(String value)

Required. The name of the channel connection to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetChannelConnectionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetChannelConnectionRequest.Builder setNameBytes(ByteString value)

Required. The name of the channel connection to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetChannelConnectionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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