- 0.77.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class StartDistributionRequest.Builder extends GeneratedMessageV3.Builder<StartDistributionRequest.Builder> implements StartDistributionRequestOrBuilder
Request message for "LivestreamService.StartDistribution".
Protobuf type google.cloud.video.livestream.v1.StartDistributionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StartDistributionRequest.BuilderImplements
StartDistributionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDistributionKeys(Iterable<String> values)
public StartDistributionRequest.Builder addAllDistributionKeys(Iterable<String> values)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The distributionKeys to add. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
addDistributionKeys(String value)
public StartDistributionRequest.Builder addDistributionKeys(String value)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The distributionKeys to add. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
addDistributionKeysBytes(ByteString value)
public StartDistributionRequest.Builder addDistributionKeysBytes(ByteString value)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the distributionKeys to add. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StartDistributionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
build()
public StartDistributionRequest build()
Returns | |
---|---|
Type | Description |
StartDistributionRequest |
buildPartial()
public StartDistributionRequest buildPartial()
Returns | |
---|---|
Type | Description |
StartDistributionRequest |
clear()
public StartDistributionRequest.Builder clear()
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
clearDistributionKeys()
public StartDistributionRequest.Builder clearDistributionKeys()
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StartDistributionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
clearName()
public StartDistributionRequest.Builder clearName()
Required. The name of the channel resource, in the form of:
projects/{project}/locations/{location}/channels/{channelId}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StartDistributionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
clearRequestId()
public StartDistributionRequest.Builder clearRequestId()
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000)
.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
clone()
public StartDistributionRequest.Builder clone()
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
getDefaultInstanceForType()
public StartDistributionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StartDistributionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistributionKeys(int index)
public String getDistributionKeys(int index)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The distributionKeys at the given index. |
getDistributionKeysBytes(int index)
public ByteString getDistributionKeysBytes(int index)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the distributionKeys at the given index. |
getDistributionKeysCount()
public int getDistributionKeysCount()
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of distributionKeys. |
getDistributionKeysList()
public ProtocolStringList getDistributionKeysList()
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the distributionKeys. |
getName()
public String getName()
Required. The name of the channel resource, in the form of:
projects/{project}/locations/{location}/channels/{channelId}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the channel resource, in the form of:
projects/{project}/locations/{location}/channels/{channelId}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRequestId()
public String getRequestId()
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000)
.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000)
.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StartDistributionRequest other)
public StartDistributionRequest.Builder mergeFrom(StartDistributionRequest other)
Parameter | |
---|---|
Name | Description |
other |
StartDistributionRequest |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StartDistributionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StartDistributionRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartDistributionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
setDistributionKeys(int index, String value)
public StartDistributionRequest.Builder setDistributionKeys(int index, String value)
Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
repeated string distribution_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The distributionKeys to set. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StartDistributionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
setName(String value)
public StartDistributionRequest.Builder setName(String value)
Required. The name of the channel resource, in the form of:
projects/{project}/locations/{location}/channels/{channelId}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public StartDistributionRequest.Builder setNameBytes(ByteString value)
Required. The name of the channel resource, in the form of:
projects/{project}/locations/{location}/channels/{channelId}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartDistributionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
setRequestId(String value)
public StartDistributionRequest.Builder setRequestId(String value)
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000)
.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public StartDistributionRequest.Builder setRequestIdBytes(ByteString value)
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000)
.
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StartDistributionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StartDistributionRequest.Builder |