Class GetDataStreamRequest.Builder (0.26.0)

public static final class GetDataStreamRequest.Builder extends GeneratedMessageV3.Builder<GetDataStreamRequest.Builder> implements GetDataStreamRequestOrBuilder

Request message for GetDataStream RPC.

Protobuf type google.analytics.admin.v1beta.GetDataStreamRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDataStreamRequest build()
Returns
TypeDescription
GetDataStreamRequest

buildPartial()

public GetDataStreamRequest buildPartial()
Returns
TypeDescription
GetDataStreamRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDataStreamRequest.Builder clearName()

Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

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

Returns
TypeDescription
GetDataStreamRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDataStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDataStreamRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

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 DataStream to get. Example format: properties/1234/dataStreams/5678

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

public GetDataStreamRequest.Builder mergeFrom(GetDataStreamRequest other)
Parameter
NameDescription
otherGetDataStreamRequest
Returns
TypeDescription
GetDataStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDataStreamRequest.Builder setName(String value)

Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetDataStreamRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataStreamRequest.Builder setNameBytes(ByteString value)

Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetDataStreamRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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