Class StreamInfo.Builder (2.14.0)

public static final class StreamInfo.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamInfo build()
Returns
TypeDescription
StreamInfo

buildPartial()

public StreamInfo buildPartial()
Returns
TypeDescription
StreamInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public StreamInfo.Builder clearId()

Unique identifier for the stream.

string id = 1;

Returns
TypeDescription
StreamInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StreamInfo getDefaultInstanceForType()
Returns
TypeDescription
StreamInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

Unique identifier for the stream.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique identifier for the stream.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamInfo other)

public StreamInfo.Builder mergeFrom(StreamInfo other)
Parameter
NameDescription
otherStreamInfo
Returns
TypeDescription
StreamInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public StreamInfo.Builder setId(String value)

Unique identifier for the stream.

string id = 1;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
StreamInfo.Builder

This builder for chaining.

setIdBytes(ByteString value)

public StreamInfo.Builder setIdBytes(ByteString value)

Unique identifier for the stream.

string id = 1;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
StreamInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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