Class StreamInfo.Builder (2.83.0)

public static final class StreamInfo.Builder extends GeneratedMessage.Builder<StreamInfo.Builder> implements StreamInfoOrBuilder

The Information of bi-directional stream.

Protobuf type google.cloud.apigeeconnect.v1.StreamInfo

Implements

StreamInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public StreamInfo build()
Returns
Type Description
StreamInfo

buildPartial()

public StreamInfo buildPartial()
Returns
Type Description
StreamInfo

clear()

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

clearId()

public StreamInfo.Builder clearId()

Unique identifier for the stream.

string id = 1;

Returns
Type Description
StreamInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public StreamInfo getDefaultInstanceForType()
Returns
Type Description
StreamInfo

getDescriptorForType()

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

getId()

public String getId()

Unique identifier for the stream.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique identifier for the stream.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setId(String value)

public StreamInfo.Builder setId(String value)

Unique identifier for the stream.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
StreamInfo.Builder

This builder for chaining.

setIdBytes(ByteString value)

public StreamInfo.Builder setIdBytes(ByteString value)

Unique identifier for the stream.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
StreamInfo.Builder

This builder for chaining.