com.google.cloud.securitycenter.v2.FileOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-securitycenter-v2 Show documentation
Show all versions of proto-google-cloud-securitycenter-v2 Show documentation
Proto library for google-cloud-securitycenter
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/securitycenter/v2/file.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.securitycenter.v2;
public interface FileOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v2.File)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Absolute path of the file as a JSON encoded string.
*
*
* string path = 1;
*
* @return The path.
*/
java.lang.String getPath();
/**
*
*
*
* Absolute path of the file as a JSON encoded string.
*
*
* string path = 1;
*
* @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
/**
*
*
*
* Size of the file in bytes.
*
*
* int64 size = 2;
*
* @return The size.
*/
long getSize();
/**
*
*
*
* SHA256 hash of the first hashed_size bytes of the file encoded as a
* hex string. If hashed_size == size, sha256 represents the SHA256 hash
* of the entire file.
*
*
* string sha256 = 3;
*
* @return The sha256.
*/
java.lang.String getSha256();
/**
*
*
*
* SHA256 hash of the first hashed_size bytes of the file encoded as a
* hex string. If hashed_size == size, sha256 represents the SHA256 hash
* of the entire file.
*
*
* string sha256 = 3;
*
* @return The bytes for sha256.
*/
com.google.protobuf.ByteString getSha256Bytes();
/**
*
*
*
* The length in bytes of the file prefix that was hashed. If
* hashed_size == size, any hashes reported represent the entire
* file.
*
*
* int64 hashed_size = 4;
*
* @return The hashedSize.
*/
long getHashedSize();
/**
*
*
*
* True when the hash covers only a prefix of the file.
*
*
* bool partially_hashed = 5;
*
* @return The partiallyHashed.
*/
boolean getPartiallyHashed();
/**
*
*
*
* Prefix of the file contents as a JSON-encoded string.
*
*
* string contents = 6;
*
* @return The contents.
*/
java.lang.String getContents();
/**
*
*
*
* Prefix of the file contents as a JSON-encoded string.
*
*
* string contents = 6;
*
* @return The bytes for contents.
*/
com.google.protobuf.ByteString getContentsBytes();
/**
*
*
*
* Path of the file in terms of underlying disk/partition identifiers.
*
*
* .google.cloud.securitycenter.v2.File.DiskPath disk_path = 7;
*
* @return Whether the diskPath field is set.
*/
boolean hasDiskPath();
/**
*
*
*
* Path of the file in terms of underlying disk/partition identifiers.
*
*
* .google.cloud.securitycenter.v2.File.DiskPath disk_path = 7;
*
* @return The diskPath.
*/
com.google.cloud.securitycenter.v2.File.DiskPath getDiskPath();
/**
*
*
*
* Path of the file in terms of underlying disk/partition identifiers.
*
*
* .google.cloud.securitycenter.v2.File.DiskPath disk_path = 7;
*/
com.google.cloud.securitycenter.v2.File.DiskPathOrBuilder getDiskPathOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy