Class LinkMetadata (3.15.11)

public final class LinkMetadata extends GeneratedMessageV3 implements LinkMetadataOrBuilder

Metadata for long running Link operations.

Protobuf type google.logging.v2.LinkMetadata

Static Fields

public static final int CREATE_LINK_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int DELETE_LINK_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinkMetadata getDefaultInstance()
Returns
TypeDescription
LinkMetadata

getDescriptor()

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

newBuilder()

public static LinkMetadata.Builder newBuilder()
Returns
TypeDescription
LinkMetadata.Builder

newBuilder(LinkMetadata prototype)

public static LinkMetadata.Builder newBuilder(LinkMetadata prototype)
Parameter
NameDescription
prototypeLinkMetadata
Returns
TypeDescription
LinkMetadata.Builder

parseDelimitedFrom(InputStream input)

public static LinkMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LinkMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LinkMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LinkMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LinkMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LinkMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LinkMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LinkMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LinkMetadata> parser()
Returns
TypeDescription
Parser<LinkMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateLinkRequest()

public CreateLinkRequest getCreateLinkRequest()

CreateLink RPC request.

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

Returns
TypeDescription
CreateLinkRequest

The createLinkRequest.

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.

getDeleteLinkRequestOrBuilder()

public DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder()

DeleteLink RPC request.

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

Returns
TypeDescription
DeleteLinkRequestOrBuilder

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<LinkMetadata> getParserForType()
Returns
TypeDescription
Parser<LinkMetadata>
Overrides

getRequestCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The start time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LinkMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LinkMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException