Class LinkMetadata.Builder (3.16.2)

public static final class LinkMetadata.Builder extends GeneratedMessageV3.Builder<LinkMetadata.Builder> implements LinkMetadataOrBuilder

Metadata for long running Link operations.

Protobuf type google.logging.v2.LinkMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LinkMetadata build()
Returns
TypeDescription
LinkMetadata

buildPartial()

public LinkMetadata buildPartial()
Returns
TypeDescription
LinkMetadata

clear()

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

clearCreateLinkRequest()

public LinkMetadata.Builder clearCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
TypeDescription
LinkMetadata.Builder

clearDeleteLinkRequest()

public LinkMetadata.Builder clearDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
TypeDescription
LinkMetadata.Builder

clearEndTime()

public LinkMetadata.Builder clearEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
LinkMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

public LinkMetadata.Builder clearRequest()
Returns
TypeDescription
LinkMetadata.Builder

clearStartTime()

public LinkMetadata.Builder clearStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
LinkMetadata.Builder

clearState()

public LinkMetadata.Builder clearState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
TypeDescription
LinkMetadata.Builder

This builder for chaining.

clone()

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

getCreateLinkRequest()

public CreateLinkRequest getCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
TypeDescription
CreateLinkRequest

The createLinkRequest.

getCreateLinkRequestBuilder()

public CreateLinkRequest.Builder getCreateLinkRequestBuilder()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
TypeDescription
CreateLinkRequest.Builder

getCreateLinkRequestOrBuilder()

public CreateLinkRequestOrBuilder getCreateLinkRequestOrBuilder()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
TypeDescription
CreateLinkRequestOrBuilder

getDefaultInstanceForType()

public LinkMetadata getDefaultInstanceForType()
Returns
TypeDescription
LinkMetadata

getDeleteLinkRequest()

public DeleteLinkRequest getDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
TypeDescription
DeleteLinkRequest

The deleteLinkRequest.

getDeleteLinkRequestBuilder()

public DeleteLinkRequest.Builder getDeleteLinkRequestBuilder()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
TypeDescription
DeleteLinkRequest.Builder

getDeleteLinkRequestOrBuilder()

public DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
TypeDescription
DeleteLinkRequestOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getRequestCase()

public LinkMetadata.RequestCase getRequestCase()
Returns
TypeDescription
LinkMetadata.RequestCase

getStartTime()

public Timestamp getStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
TypeDescription
OperationState

The state.

getStateValue()

public int getStateValue()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasCreateLinkRequest()

public boolean hasCreateLinkRequest()

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Returns
TypeDescription
boolean

Whether the createLinkRequest field is set.

hasDeleteLinkRequest()

public boolean hasDeleteLinkRequest()

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Returns
TypeDescription
boolean

Whether the deleteLinkRequest field is set.

hasEndTime()

public boolean hasEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateLinkRequest(CreateLinkRequest value)

public LinkMetadata.Builder mergeCreateLinkRequest(CreateLinkRequest value)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
NameDescription
valueCreateLinkRequest
Returns
TypeDescription
LinkMetadata.Builder

mergeDeleteLinkRequest(DeleteLinkRequest value)

public LinkMetadata.Builder mergeDeleteLinkRequest(DeleteLinkRequest value)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
NameDescription
valueDeleteLinkRequest
Returns
TypeDescription
LinkMetadata.Builder

mergeEndTime(Timestamp value)

public LinkMetadata.Builder mergeEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LinkMetadata.Builder

mergeFrom(LinkMetadata other)

public LinkMetadata.Builder mergeFrom(LinkMetadata other)
Parameter
NameDescription
otherLinkMetadata
Returns
TypeDescription
LinkMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public LinkMetadata.Builder mergeStartTime(Timestamp value)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LinkMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreateLinkRequest(CreateLinkRequest value)

public LinkMetadata.Builder setCreateLinkRequest(CreateLinkRequest value)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
NameDescription
valueCreateLinkRequest
Returns
TypeDescription
LinkMetadata.Builder

setCreateLinkRequest(CreateLinkRequest.Builder builderForValue)

public LinkMetadata.Builder setCreateLinkRequest(CreateLinkRequest.Builder builderForValue)

CreateLink RPC request.

.google.logging.v2.CreateLinkRequest create_link_request = 4;

Parameter
NameDescription
builderForValueCreateLinkRequest.Builder
Returns
TypeDescription
LinkMetadata.Builder

setDeleteLinkRequest(DeleteLinkRequest value)

public LinkMetadata.Builder setDeleteLinkRequest(DeleteLinkRequest value)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
NameDescription
valueDeleteLinkRequest
Returns
TypeDescription
LinkMetadata.Builder

setDeleteLinkRequest(DeleteLinkRequest.Builder builderForValue)

public LinkMetadata.Builder setDeleteLinkRequest(DeleteLinkRequest.Builder builderForValue)

DeleteLink RPC request.

.google.logging.v2.DeleteLinkRequest delete_link_request = 5;

Parameter
NameDescription
builderForValueDeleteLinkRequest.Builder
Returns
TypeDescription
LinkMetadata.Builder

setEndTime(Timestamp value)

public LinkMetadata.Builder setEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LinkMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public LinkMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
LinkMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public LinkMetadata.Builder setStartTime(Timestamp value)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LinkMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public LinkMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
LinkMetadata.Builder

setState(OperationState value)

public LinkMetadata.Builder setState(OperationState value)

State of an operation.

.google.logging.v2.OperationState state = 3;

Parameter
NameDescription
valueOperationState

The state to set.

Returns
TypeDescription
LinkMetadata.Builder

This builder for chaining.

setStateValue(int value)

public LinkMetadata.Builder setStateValue(int value)

State of an operation.

.google.logging.v2.OperationState state = 3;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
LinkMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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