- 0.55.0 (latest)
- 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 Pool.Builder extends GeneratedMessageV3.Builder<Pool.Builder> implements PoolOrBuilder
Pool resource defines the configuration of Live Stream pools for a specific location. Currently we support only one pool resource per project per location. After the creation of the first input, a default pool is created automatically at "projects/{project}/locations/{location}/pools/default".
Protobuf type google.cloud.video.livestream.v1.Pool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Pool.BuilderImplements
PoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Pool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Pool.Builder |
build()
public Pool build()
Returns | |
---|---|
Type | Description |
Pool |
buildPartial()
public Pool buildPartial()
Returns | |
---|---|
Type | Description |
Pool |
clear()
public Pool.Builder clear()
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearCreateTime()
public Pool.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearField(Descriptors.FieldDescriptor field)
public Pool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearLabels()
public Pool.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearName()
public Pool.Builder clearName()
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
Pool.Builder | This builder for chaining. |
clearNetworkConfig()
public Pool.Builder clearNetworkConfig()
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Pool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Pool.Builder |
clearUpdateTime()
public Pool.Builder clearUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Pool.Builder |
clone()
public Pool.Builder clone()
Returns | |
---|---|
Type | Description |
Pool.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Pool getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Pool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetworkConfig()
public Pool.NetworkConfig getNetworkConfig()
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Returns | |
---|---|
Type | Description |
Pool.NetworkConfig | The networkConfig. |
getNetworkConfigBuilder()
public Pool.NetworkConfig.Builder getNetworkConfigBuilder()
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Returns | |
---|---|
Type | Description |
Pool.NetworkConfig.Builder |
getNetworkConfigOrBuilder()
public Pool.NetworkConfigOrBuilder getNetworkConfigOrBuilder()
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Returns | |
---|---|
Type | Description |
Pool.NetworkConfigOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasNetworkConfig()
public boolean hasNetworkConfig()
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the networkConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Pool.Builder mergeCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Pool.Builder |
mergeFrom(Pool other)
public Pool.Builder mergeFrom(Pool other)
Parameter | |
---|---|
Name | Description |
other | Pool |
Returns | |
---|---|
Type | Description |
Pool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Pool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Pool.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Pool.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Pool.Builder |
mergeNetworkConfig(Pool.NetworkConfig value)
public Pool.Builder mergeNetworkConfig(Pool.NetworkConfig value)
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Parameter | |
---|---|
Name | Description |
value | Pool.NetworkConfig |
Returns | |
---|---|
Type | Description |
Pool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Pool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Pool.Builder |
mergeUpdateTime(Timestamp value)
public Pool.Builder mergeUpdateTime(Timestamp value)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Pool.Builder |
putAllLabels(Map<String,String> values)
public Pool.Builder putAllLabels(Map<String,String> values)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Pool.Builder |
putLabels(String key, String value)
public Pool.Builder putLabels(String key, String value)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Pool.Builder |
removeLabels(String key)
public Pool.Builder removeLabels(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setCreateTime(Timestamp value)
public Pool.Builder setCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Pool.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Pool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setName(String value)
public Pool.Builder setName(String value)
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Pool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Pool.Builder setNameBytes(ByteString value)
The resource name of the pool, in the form of:
projects/{project}/locations/{location}/pools/{poolId}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Pool.Builder | This builder for chaining. |
setNetworkConfig(Pool.NetworkConfig value)
public Pool.Builder setNetworkConfig(Pool.NetworkConfig value)
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Parameter | |
---|---|
Name | Description |
value | Pool.NetworkConfig |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setNetworkConfig(Pool.NetworkConfig.Builder builderForValue)
public Pool.Builder setNetworkConfig(Pool.NetworkConfig.Builder builderForValue)
Network configuration for the pool.
.google.cloud.video.livestream.v1.Pool.NetworkConfig network_config = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Pool.NetworkConfig.Builder |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Pool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Pool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setUpdateTime(Timestamp value)
public Pool.Builder setUpdateTime(Timestamp value)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Pool.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Pool.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Pool.Builder |