public static final class CreateLiveSessionRequest.Builder extends GeneratedMessageV3.Builder<CreateLiveSessionRequest.Builder> implements CreateLiveSessionRequestOrBuilder
Request message for VideoStitcherService.createLiveSession.
Protobuf type google.cloud.video.stitcher.v1.CreateLiveSessionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateLiveSessionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateLiveSessionRequest build()
Returns
buildPartial()
public CreateLiveSessionRequest buildPartial()
Returns
clear()
public CreateLiveSessionRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateLiveSessionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLiveSession()
public CreateLiveSessionRequest.Builder clearLiveSession()
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateLiveSessionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateLiveSessionRequest.Builder clearParent()
Required. The project and location in which the live session should be created,
in the form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateLiveSessionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateLiveSessionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLiveSession()
public LiveSession getLiveSession()
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getLiveSessionBuilder()
public LiveSession.Builder getLiveSessionBuilder()
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getLiveSessionOrBuilder()
public LiveSessionOrBuilder getLiveSessionOrBuilder()
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. The project and location in which the live session should be created,
in the form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project and location in which the live session should be created,
in the form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasLiveSession()
public boolean hasLiveSession()
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the liveSession field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateLiveSessionRequest other)
public CreateLiveSessionRequest.Builder mergeFrom(CreateLiveSessionRequest other)
Parameter
Returns
public CreateLiveSessionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateLiveSessionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeLiveSession(LiveSession value)
public CreateLiveSessionRequest.Builder mergeLiveSession(LiveSession value)
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateLiveSessionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateLiveSessionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLiveSession(LiveSession value)
public CreateLiveSessionRequest.Builder setLiveSession(LiveSession value)
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setLiveSession(LiveSession.Builder builderForValue)
public CreateLiveSessionRequest.Builder setLiveSession(LiveSession.Builder builderForValue)
Required. Parameters for creating a live session.
.google.cloud.video.stitcher.v1.LiveSession live_session = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setParent(String value)
public CreateLiveSessionRequest.Builder setParent(String value)
Required. The project and location in which the live session should be created,
in the form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateLiveSessionRequest.Builder setParentBytes(ByteString value)
Required. The project and location in which the live session should be created,
in the form of projects/{project_number}/locations/{location}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateLiveSessionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateLiveSessionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides