Package com.google.cloud.apihub.v1
Class SourceMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.SourceMetadata
- All Implemented Interfaces:
SourceMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SourceMetadata
extends com.google.protobuf.GeneratedMessage
implements SourceMetadataOrBuilder
SourceMetadata represents the metadata for a resource at the source.Protobuf type
google.cloud.apihub.v1.SourceMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSourceMetadata represents the metadata for a resource at the source.static final classPluginInstanceActionSource represents the plugin instance action source.static interfacestatic enumstatic enumThe possible types of the source.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SourceMetadatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.Parser<SourceMetadata>Output only.Output only.intOutput only.intOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SourceMetadata.Builderstatic SourceMetadata.BuildernewBuilder(SourceMetadata prototype) protected SourceMetadata.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SourceMetadataparseDelimitedFrom(InputStream input) static SourceMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceMetadataparseFrom(byte[] data) static SourceMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceMetadataparseFrom(com.google.protobuf.ByteString data) static SourceMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceMetadataparseFrom(com.google.protobuf.CodedInputStream input) static SourceMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceMetadataparseFrom(InputStream input) static SourceMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceMetadataparseFrom(ByteBuffer data) static SourceMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SourceMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PLUGIN_INSTANCE_ACTION_SOURCE_FIELD_NUMBER
public static final int PLUGIN_INSTANCE_ACTION_SOURCE_FIELD_NUMBER- See Also:
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER- See Also:
-
ORIGINAL_RESOURCE_ID_FIELD_NUMBER
public static final int ORIGINAL_RESOURCE_ID_FIELD_NUMBER- See Also:
-
ORIGINAL_RESOURCE_CREATE_TIME_FIELD_NUMBER
public static final int ORIGINAL_RESOURCE_CREATE_TIME_FIELD_NUMBER- See Also:
-
ORIGINAL_RESOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int ORIGINAL_RESOURCE_UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSourceCase
- Specified by:
getSourceCasein interfaceSourceMetadataOrBuilder
-
hasPluginInstanceActionSource
public boolean hasPluginInstanceActionSource()Output only. The source of the resource is a plugin instance action.
.google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPluginInstanceActionSourcein interfaceSourceMetadataOrBuilder- Returns:
- Whether the pluginInstanceActionSource field is set.
-
getPluginInstanceActionSource
Output only. The source of the resource is a plugin instance action.
.google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPluginInstanceActionSourcein interfaceSourceMetadataOrBuilder- Returns:
- The pluginInstanceActionSource.
-
getPluginInstanceActionSourceOrBuilder
Output only. The source of the resource is a plugin instance action.
.google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource plugin_instance_action_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPluginInstanceActionSourceOrBuilderin interfaceSourceMetadataOrBuilder
-
getSourceTypeValue
public int getSourceTypeValue()Output only. The type of the source.
.google.cloud.apihub.v1.SourceMetadata.SourceType source_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceTypeValuein interfaceSourceMetadataOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
Output only. The type of the source.
.google.cloud.apihub.v1.SourceMetadata.SourceType source_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourceTypein interfaceSourceMetadataOrBuilder- Returns:
- The sourceType.
-
getOriginalResourceId
Output only. The unique identifier of the resource at the source.
string original_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceIdin interfaceSourceMetadataOrBuilder- Returns:
- The originalResourceId.
-
getOriginalResourceIdBytes
public com.google.protobuf.ByteString getOriginalResourceIdBytes()Output only. The unique identifier of the resource at the source.
string original_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceIdBytesin interfaceSourceMetadataOrBuilder- Returns:
- The bytes for originalResourceId.
-
hasOriginalResourceCreateTime
public boolean hasOriginalResourceCreateTime()Output only. The time at which the resource was created at the source.
.google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasOriginalResourceCreateTimein interfaceSourceMetadataOrBuilder- Returns:
- Whether the originalResourceCreateTime field is set.
-
getOriginalResourceCreateTime
public com.google.protobuf.Timestamp getOriginalResourceCreateTime()Output only. The time at which the resource was created at the source.
.google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceCreateTimein interfaceSourceMetadataOrBuilder- Returns:
- The originalResourceCreateTime.
-
getOriginalResourceCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getOriginalResourceCreateTimeOrBuilder()Output only. The time at which the resource was created at the source.
.google.protobuf.Timestamp original_resource_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceCreateTimeOrBuilderin interfaceSourceMetadataOrBuilder
-
hasOriginalResourceUpdateTime
public boolean hasOriginalResourceUpdateTime()Output only. The time at which the resource was last updated at the source.
.google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasOriginalResourceUpdateTimein interfaceSourceMetadataOrBuilder- Returns:
- Whether the originalResourceUpdateTime field is set.
-
getOriginalResourceUpdateTime
public com.google.protobuf.Timestamp getOriginalResourceUpdateTime()Output only. The time at which the resource was last updated at the source.
.google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceUpdateTimein interfaceSourceMetadataOrBuilder- Returns:
- The originalResourceUpdateTime.
-
getOriginalResourceUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getOriginalResourceUpdateTimeOrBuilder()Output only. The time at which the resource was last updated at the source.
.google.protobuf.Timestamp original_resource_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOriginalResourceUpdateTimeOrBuilderin interfaceSourceMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SourceMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SourceMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SourceMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SourceMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SourceMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SourceMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-